Function at 0x43eb10
Capabilities:
Initialize winhttp library
Prepare http request
Read http header
Receive http response
Send data
Send http request
Set http header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4efb15
mov eax, dword fs:[0]
push eax
mov eax, 0x255c
call fcn.0045c6a0
mov eax, dword [0x53e01c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov dword [ebp - 0x2528], ebx
mov esi, ecx
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
test ebx, ebx
je 0x43eb8e
lea edi, [ebx + 0xc]
mov dword [ebp - 0x251c], edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebx + 4]
mov dword [ebx + 0x58], eax
mov dword [ebx + 0x54], 0
test ecx, ecx
je 0x43eb82
mov edx, dword [ecx]
push eax
push 1
push 0
push dword [ebx + 8]
call dword [edx]
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
push 0
call edi
jmp 0x43ebce
mov eax, dword [0x5552a0]
test al, 1
jne 0x43ebc4
or eax, 1
mov dword [0x5552a0], eax
mov ecx, 0x5552a8
mov dword [ebp - 4], 0
call fcn.0043bd60
push 0x4f1fe0
call fcn.0045b82b
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x251c], 0x5552a8
lea ecx, [ebp - 0x2508]
call fcn.0043e8e0
push 4
push dword [0x530538]
mov eax, 0x50
mov dword [ebp - 0xb8], 2
mov word [ebp - 0xbc], ax
mov eax, ecx
push 0x21
push eax
mov dword [ebp - 0xb4], 4
call fcn.004c1f2e
push eax
call fcn.004062c0
add esp, 0x14
cmp dword [esi + 0x14], 8
jb 0x43ec1c
mov esi, dword [esi]
lea ecx, [ebp - 0x2508]
call fcn.0043e8e0
push esi
call fcn.0043e130
mov esi, eax
test ebx, ebx
je 0x43ec59
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebx + 4]
mov dword [ebx + 0x58], eax
mov dword [ebx + 0x54], 1
test ecx, ecx
je 0x43ec55
mov edx, dword [ecx]
push eax
push esi
push 1
push dword [ebx + 8]
call dword [edx]
push 0
call edi
test esi, esi
je 0x43f963
xor eax, eax
mov dword [ebp - 0x98], 0
lea ecx, [ebp - 0x24c6]
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 7
lea edx, [ecx + 2]
mov word [ebp - 0x98], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43ec91
sub ecx, edx
lea eax, [ebp - 0x24c6]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x98]
call fcn.00407890
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x20c0]
xor eax, eax
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x58], 0
lea edx, [ecx + 2]
mov dword [ebp - 0x54], 7
mov word [ebp - 0x68], ax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43ece0
sub ecx, edx
lea eax, [ebp - 0x20c0]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x68]
call fcn.00407890
lea ecx, [ebp - 0x10be]
mov byte [ebp - 4], 2
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43ed10
sub ecx, edx
lea eax, [ebp - 0x10be]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x68]
call fcn.00404090
cmp dword [ebp - 0xb8], 3
mov ecx, 0x800100
movzx edi, word [ebp - 0xbc]
mov eax, 0x100
push 0
push 0
push 0
push 0
cmove eax, ecx
push str.QQBrowser
mov dword [ebp - 0x2524], eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov esi, eax
mov dword [ebp - 0x2538], esi
xor eax, eax
mov byte [ebp - 4], 3
test esi, esi
setne al
mov dword [ebp - 0x250c], eax
test ebx, ebx
je 0x43edb5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebx + 4]
mov dword [ebx + 0x58], eax
mov dword [ebx + 0x54], 2
test ecx, ecx
je 0x43eda7
mov edx, dword [ecx]
push eax
push dword [ebp - 0x250c]
push 2
push dword [ebx + 8]
call dword [edx]
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0x250c]
test eax, eax
jne 0x43ee61
test esi, esi
je 0x43edc8
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov edx, dword [ebp - 0x54]
cmp edx, 8
jb 0x43ee02
mov ecx, dword [ebp - 0x68]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43edf8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43ff49
push edx
push ecx
call fcn.0045b5e1
add esp, 8
mov edx, dword [ebp - 0x84]
xor eax, eax
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 7
mov word [ebp - 0x68], ax
cmp edx, 8
jb 0x43ee56
mov ecx, dword [ebp - 0x98]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43ee4c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43ff49
push edx
push ecx
call fcn.0045b5e1
add esp, 8
mov eax, dword [ebp - 0x250c]
jmp 0x43f965
cmp dword [ebp - 0x84], 8
lea eax, [ebp - 0x98]
push 0
cmovae eax, dword [ebp - 0x98]
push edi
push eax
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov edi, eax
mov dword [ebp - 0x2520], edi
xor eax, eax
mov byte [ebp - 4], 4
test edi, edi
setne al
mov dword [ebp - 0x250c], eax
test ebx, ebx
je 0x43eed2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebx + 4]
mov dword [ebx + 0x58], eax
mov dword [ebx + 0x54], 3
test ecx, ecx
je 0x43eec4
mov edx, dword [ecx]
push eax
push dword [ebp - 0x250c]
push 3
push dword [ebx + 8]
call dword [edx]
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0x250c]
test eax, eax
jne 0x43ef8b
mov ebx, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
test edi, edi
je 0x43eee7
push edi
call ebx
test esi, esi
je 0x43eeee
push esi
call ebx
mov edx, dword [ebp - 0x54]
cmp edx, 8
jb 0x43ef28
mov ecx, dword [ebp - 0x68]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43ef1e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43ff49
push edx
push ecx
call fcn.0045b5e1
add esp, 8
mov edx, dword [ebp - 0x84]
xor eax, eax
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 7
mov word [ebp - 0x68], ax
cmp edx, 8
jb 0x43ee56
mov ecx, dword [ebp - 0x98]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43ef76
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43ff49
push edx
push ecx
call fcn.0045b5e1
mov eax, dword [ebp - 0x250c]
add esp, 8
jmp 0x43f965
xor eax, eax
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 7
mov word [ebp - 0x80], ax
mov eax, dword [ebp - 0x251c]
mov byte [ebp - 4], 5
mov eax, dword [eax + 0x44]
sub eax, 0
je 0x43efda
sub eax, 1
je 0x43efce
mov ecx, 3
sub eax, 1
jne 0x43efdf
mov eax, 0x530504
jmp 0x43efe4
mov eax, str.POST
mov ecx, 4
jmp 0x43efe4
mov ecx, 3
mov eax, 0x5304f0
push ecx
push eax
lea ecx, [ebp - 0x80]
call fcn.00407890
push dword [ebp - 0x2524]
cmp dword [ebp - 0x54], 8
lea ecx, [ebp - 0x68]
push 0
cmovae ecx, dword [ebp - 0x68]
lea eax, [ebp - 0x80]
cmp dword [ebp - 0x6c], 8
push 0
cmovae eax, dword [ebp - 0x80]
push str.HTTP_1.1
push ecx
push eax
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov edi, eax
mov dword [ebp - 0x2564], edi
xor eax, eax
mov byte [ebp - 4], 6
test edi, edi
setne al
mov dword [ebp - 0x250c], eax
test ebx, ebx
je 0x43f06e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebx + 4]
mov dword [ebx + 0x58], eax
mov dword [ebx + 0x54], 4
test ecx, ecx
je 0x43f060
mov edx, dword [ecx]
push eax
push dword [ebp - 0x250c]
push 4
push dword [ebx + 8]
call dword [edx]
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0x250c]
test eax, eax
jne 0x43f182
mov ebx, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
test edi, edi
je 0x43f083
push edi
call ebx
mov edx, dword [ebp - 0x6c]
cmp edx, 8
jb 0x43f0bd
mov ecx, dword [ebp - 0x80]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43f0b3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43ff49
push edx
push ecx
call fcn.0045b5e1
add esp, 8
xor eax, eax
mov dword [ebp - 0x70], 0
mov word [ebp - 0x80], ax
mov eax, dword [ebp - 0x2520]
mov dword [ebp - 0x6c], 7
test eax, eax
je 0x43f0de
push eax
call ebx
test esi, esi
je 0x43f0e5
push esi
call ebx
mov edx, dword [ebp - 0x54]
cmp edx, 8
jb 0x43f11f
mov ecx, dword [ebp - 0x68]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43f115
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43ff49
push edx
push ecx
call fcn.0045b5e1
add esp, 8
mov edx, dword [ebp - 0x84]
xor eax, eax
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 7
mov word [ebp - 0x68], ax
cmp edx, 8
jb 0x43ee56
mov ecx, dword [ebp - 0x98]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43f16d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43ff49
push edx
push ecx
call fcn.0045b5e1
mov eax, dword [ebp - 0x250c]
add esp, 8
jmp 0x43f965
mov ecx, dword [ebp - 0x251c]
cmp dword [ecx + 0x1c], 0
je 0x43f26d
cmp dword [ecx + 0x20], 8
lea eax, [ecx + 0xc]
jb 0x43f19d
mov eax, dword [eax]
push 0x20000000
push 0xffffffffffffffff
push eax
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
mov dword [ebp - 0x2514], eax
test ebx, ebx
je 0x43f1eb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebx + 4]
mov dword [ebx + 0x58], eax
mov dword [ebx + 0x54], 5
test ecx, ecx
je 0x43f1dd
mov edx, dword [ecx]
push eax
push dword [ebp - 0x2514]
push 5
push dword [ebx + 8]
call dword [edx]
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0x2514]
test eax, eax
jne 0x43f267
mov ebx, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
test edi, edi
je 0x43f1fc
push edi
call ebx
mov edx, dword [ebp - 0x6c]
cmp edx, 8
jb 0x43f236
mov ecx, dword [ebp - 0x80]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43f22c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43ff49
push edx
push ecx
call fcn.0045b5e1
add esp, 8
xor eax, eax
mov dword [ebp - 0x70], 0
mov word [ebp - 0x80], ax
mov eax, dword [ebp - 0x2520]
mov dword [ebp - 0x6c], 7
test eax, eax
je 0x43f257
push eax
call ebx
test esi, esi
je 0x43f8d9
push esi
call ebx
jmp 0x43f8d9
mov ecx, dword [ebp - 0x251c]
xor eax, eax
cmp dword [ecx + 0x44], 1
mov dword [ebp - 0x250c], eax
jne 0x43f284
mov eax, dword [ecx + 0x34]
mov dword [ebp - 0x250c], eax
push 0
push eax
push 0
push 0
push 0
push 0
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
mov dword [ebp - 0x2514], eax
test ebx, ebx
je 0x43f2d5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebx + 4]
mov dword [ebx + 0x58], eax
mov dword [ebx + 0x54], 6
test ecx, ecx
je 0x43f2c7
mov edx, dword [ecx]
push eax
push dword [ebp - 0x2514]
push 6
push dword [ebx + 8]
call dword [edx]
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0x2514]
test eax, eax
jne 0x43f351
mov ebx, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
test edi, edi
je 0x43f2e6
push edi
call ebx
mov edx, dword [ebp - 0x6c]
cmp edx, 8
jb 0x43f320
mov ecx, dword [ebp - 0x80]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43f316
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43ff49
push edx
push ecx
call fcn.0045b5e1
add esp, 8
xor eax, eax
mov dword [ebp - 0x70], 0
mov word [ebp - 0x80], ax
mov eax, dword [ebp - 0x2520]
mov dword [ebp - 0x6c], 7
test eax, eax
je 0x43f341
push eax
call ebx
test esi, esi
je 0x43f8d9
push esi
call ebx
jmp 0x43f8d9
mov eax, dword [ebp - 0x251c]
cmp dword [eax + 0x44], 1
jne 0x43f4dc
cmp dword [eax + 0x34], 0
je 0x43f4dc
add eax, 0x24
mov dword [ebp - 0x2524], 0
cmp dword [eax + 0x14], 0x10
jb 0x43f380
mov eax, dword [eax]
lea ecx, [ebp - 0x2524]
push ecx
push dword [ebp - 0x250c]
push eax
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpWriteData]
mov dword [ebp - 0x2514], eax
test ebx, ebx
je 0x43f3d4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebx + 4]
mov dword [ebx + 0x58], eax
mov dword [ebx + 0x54], 7
test ecx, ecx
je 0x43f3c6
mov edx, dword [ecx]
push eax
push dword [ebp - 0x2514]
push 7
push dword [ebx + 8]
call dword [edx]
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0x2514]
test eax, eax
jne 0x43f4dc
mov ebx, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
test edi, edi
je 0x43f3e9
push edi
call ebx
mov edx, dword [ebp - 0x6c]
cmp edx, 8
jb 0x43f423
mov ecx, dword [ebp - 0x80]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43f419
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43ff44
push edx
push ecx
call fcn.0045b5e1
add esp, 8
xor eax, eax
mov dword [ebp - 0x70], 0
mov word [ebp - 0x80], ax
mov eax, dword [ebp - 0x2520]
mov dword [ebp - 0x6c], 7
test eax, eax
je 0x43f444
push eax
call ebx
test esi, esi
je 0x43f44b
push esi
call ebx
mov edx, dword [ebp - 0x54]
cmp edx, 8
jb 0x43f485
mov ecx, dword [ebp - 0x68]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43f47b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43ff44
push edx
push ecx
call fcn.0045b5e1
add esp, 8
mov edx, dword [ebp - 0x84]
xor eax, eax
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 7
mov word [ebp - 0x68], ax
cmp edx, 8
jb 0x43f963
mov ecx, dword [ebp - 0x98]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43f959
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43ff44
jmp 0x43f959
push 0
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov dword [ebp - 0x2514], eax
test ebx, ebx
je 0x43f524
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebx + 4]
mov dword [ebx + 0x58], eax
mov dword [ebx + 0x54], 8
test ecx, ecx
je 0x43f516
mov edx, dword [ecx]
push eax
push dword [ebp - 0x2514]
push 8
push dword [ebx + 8]
call dword [edx]
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0x2514]
test eax, eax
jne 0x43f5a0
mov ebx, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
test edi, edi
je 0x43f535
push edi
call ebx
mov edx, dword [ebp - 0x6c]
cmp edx, 8
jb 0x43f56f
mov ecx, dword [ebp - 0x80]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43f565
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43ff49
push edx
push ecx
call fcn.0045b5e1
add esp, 8
xor eax, eax
mov dword [ebp - 0x70], 0
mov word [ebp - 0x80], ax
mov eax, dword [ebp - 0x2520]
mov dword [ebp - 0x6c], 7
test eax, eax
je 0x43f590
push eax
call ebx
test esi, esi
je 0x43f8d9
push esi
call ebx
jmp 0x43f8d9
xor eax, eax
mov dword [ebp - 0x253c], 0
mov dword [ebp - 0x2530], eax
mov dword [ebp - 0x2554], eax
mov dword [ebp - 0x2550], eax
mov dword [ebp - 0x252c], eax
mov dword [ebp - 0x254c], eax
mov eax, dword [ebp - 0x251c]
mov byte [ebp - 4], 7
mov edx, dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov esi, dword [eax + 0x3c]
mov esi, dword [esi]
cmp byte [esi + 0xd], 0
jne 0x43f74e
xor ebx, ebx
nop dword [eax + eax]
mov dword [ebp - 0x253c], 0x64
lea ecx, [esi + 0x10]
cmp dword [esi + 0x24], 8
jb 0x43f606
mov ecx, dword [esi + 0x10]
push 0
lea eax, [ebp - 0x253c]
push eax
push 0
push ecx
push 0xffff
push edi
call edx
mov ecx, dword [ebp - 0x253c]
test ecx, ecx
je 0x43f6eb
mov edx, dword [ebp - 0x2550]
add ecx, 2
sub edx, ebx
mov byte [ebp - 0x250d], 0
cmp ecx, edx
jae 0x43f649
lea eax, [ecx + ebx]
mov dword [ebp - 0x2550], eax
jmp 0x43f6a9
jbe 0x43f6a9
mov eax, dword [ebp - 0x252c]
sub eax, ebx
cmp ecx, eax
jbe 0x43f67e
lea eax, [ebp - 0x250d]
push eax
push ecx
lea ecx, [ebp - 0x2554]
call fcn.00423276
mov eax, dword [ebp - 0x254c]
mov ebx, dword [ebp - 0x2554]
mov dword [ebp - 0x252c], eax
jmp 0x43f6a9
sub ecx, edx
push ecx
push 0
push dword [ebp - 0x2550]
mov dword [ebp - 0x2524], ecx
call fcn.004beec0
mov edx, dword [ebp - 0x2550]
add esp, 0xc
add edx, dword [ebp - 0x2524]
mov dword [ebp - 0x2550], edx
cmp dword [esi + 0x24], 8
lea ecx, [esi + 0x10]
jb 0x43f6b5
mov ecx, dword [esi + 0x10]
push 0
lea eax, [ebp - 0x253c]
push eax
mov eax, dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
push ebx
push ecx
push 0xffff
push edi
call eax
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43f6d2
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [esi + 0x28]
call fcn.00407890
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x43f714
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x43f710
nop dword [eax]
cmp esi, dword [eax + 8]
jne 0x43f710
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x43f700
mov esi, eax
jmp 0x43f72c
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x43f72c
nop
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x43f720
cmp byte [esi + 0xd], 0
mov edx, dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
je 0x43f5f0
mov eax, dword [ebp - 0x251c]
mov dword [ebp - 0x2530], ebx
mov ebx, dword [ebp - 0x2528]
lea ecx, [ebp - 0x2558]
mov dword [eax + 4], 0
push ecx
lea ecx, [ebp - 0x255c]
mov dword [ebp - 0x2558], 0
push ecx
add eax, 4
mov dword [ebp - 0x255c], 4
push eax
push 0
push 0x20000005
push edi
call edx
mov esi, eax
test ebx, ebx
je 0x43f7b5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebx + 4]
mov dword [ebx + 0x58], eax
mov dword [ebx + 0x54], 9
test ecx, ecx
je 0x43f7ad
mov edx, dword [ecx]
push eax
push esi
push 9
push dword [ebx + 8]
call dword [edx]
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
test esi, esi
je 0x43f82a
push 0x40
lea eax, [ebp - 0x50]
push 0
push eax
call fcn.004beec0
add esp, 0xc
mov dword [ebp - 0x2560], 0x40
lea eax, [ebp - 0x2560]
push 0
push eax
lea eax, [ebp - 0x50]
push eax
mov eax, dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
push 0
push 0x13
push edi
call eax
mov esi, eax
mov dword [ebp - 0x2524], esi
test ebx, ebx
je 0x43f822
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebx + 4]
mov dword [ebx + 0x58], eax
mov dword [ebx + 0x54], 9
test ecx, ecx
je 0x43f81a
mov edx, dword [ecx]
push eax
push esi
push 9
push dword [ebx + 8]
call dword [edx]
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
test esi, esi
jne 0x43f981
mov ecx, dword [ebp - 0x2530]
test ecx, ecx
je 0x43f864
mov edx, dword [ebp - 0x252c]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x43f85a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43ff49
push edx
push ecx
call fcn.0045b5e1
add esp, 8
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
test edi, edi
je 0x43f871
push edi
call esi
mov edx, dword [ebp - 0x6c]
cmp edx, 8
jb 0x43f8ab
mov ecx, dword [ebp - 0x80]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43f8a1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43ff49
push edx
push ecx
call fcn.0045b5e1
add esp, 8
xor eax, eax
mov dword [ebp - 0x70], 0
mov word [ebp - 0x80], ax
mov eax, dword [ebp - 0x2520]
mov dword [ebp - 0x6c], 7
test eax, eax
je 0x43f8cc
push eax
call esi
mov eax, dword [ebp - 0x2538]
test eax, eax
je 0x43f8d9
push eax
call esi
mov edx, dword [ebp - 0x54]
cmp edx, 8
jb 0x43f913
mov ecx, dword [ebp - 0x68]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43f909
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43ff49
push edx
push ecx
call fcn.0045b5e1
add esp, 8
mov edx, dword [ebp - 0x84]
xor eax, eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], 7
mov word [ebp - 0x68], ax
cmp edx, 8
jb 0x43f963
mov ecx, dword [ebp - 0x98]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43f959
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43ff49
push edx
push ecx
call fcn.0045b5e1
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045b5b0
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x50]
push eax
call fcn.004c359f
mov ecx, dword [ebp - 0x251c]
add esp, 4
cmp dword [ecx], 0
mov dword [ecx + 8], eax
je 0x43fae7
mov ecx, dword [ebp - 0x2530]
test ecx, ecx
je 0x43f9d9
mov edx, dword [ebp - 0x252c]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x43f9cf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43ff49
push edx
push ecx
call fcn.0045b5e1
add esp, 8
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
test edi, edi
je 0x43f9e6
push edi
call esi
mov edx, dword [ebp - 0x6c]
cmp edx, 8
jb 0x43fa20
mov ecx, dword [ebp - 0x80]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43fa16
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43ff49
push edx
push ecx
call fcn.0045b5e1
add esp, 8
xor eax, eax
mov dword [ebp - 0x70], 0
mov word [ebp - 0x80], ax
mov eax, dword [ebp - 0x2520]
mov dword [ebp - 0x6c], 7
test eax, eax
je 0x43fa41
push eax
call esi
mov eax, dword [ebp - 0x2538]
test eax, eax
je 0x43fa4e
push eax
call esi
mov edx, dword [ebp - 0x54]
cmp edx, 8
jb 0x43fa88
mov ecx, dword [ebp - 0x68]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43fa7e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43ff49
push edx
push ecx
call fcn.0045b5e1
add esp, 8
mov edx, dword [ebp - 0x84]
xor eax, eax
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 7
mov word [ebp - 0x68], ax
cmp edx, 8
jb 0x43fadc
mov ecx, dword [ebp - 0x98]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43fad2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43ff49
push edx
push ecx
call fcn.0045b5e1
add esp, 8
mov eax, dword [ebp - 0x2524]
jmp 0x43f965
test ebx, ebx
je 0x43faf4
mov eax, dword [ebx]
push dword [ecx + 4]
mov ecx, ebx
call dword [eax]
xor esi, esi
mov dword [ebp - 0x2514], 0
xor eax, eax
mov dword [ebp - 0x2528], esi
mov dword [ebp - 0x2548], esi
mov dword [ebp - 0x2544], eax
mov dword [ebp - 0x250c], eax
mov dword [ebp - 0x2540], eax
mov byte [ebp - 4], 8
nop dword [eax]
nop dword [eax + eax]
lea eax, [ebp - 0x2534]
mov dword [ebp - 0x2534], 0
push eax
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
mov dword [ebp - 0x2518], eax
test ebx, ebx
je 0x43fb87
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebx + 4]
mov dword [ebx + 0x58], eax
mov dword [ebx + 0x54], 9
test ecx, ecx
je 0x43fb79
mov edx, dword [ecx]
push eax
push dword [ebp - 0x2518]
push 9
push dword [ebx + 8]
call dword [edx]
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0x2518]
test eax, eax
je 0x43fd45
xor eax, eax
cmp eax, dword [ebp - 0x2534]
sbb eax, eax
neg eax
mov dword [ebp - 0x2518], eax
test ebx, ebx
je 0x43fbda
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebx + 4]
mov dword [ebx + 0x58], eax
mov dword [ebx + 0x54], 0xb
test ecx, ecx
je 0x43fbcc
mov edx, dword [ecx]
push eax
push dword [ebp - 0x2518]
push 0xb
push dword [ebx + 8]
call dword [edx]
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0x2518]
test eax, eax
je 0x43fd45
mov eax, dword [ebp - 0x2544]
mov edx, eax
mov esi, dword [ebp - 0x2534]
mov ecx, dword [ebp - 0x2528]
inc esi
sub edx, ecx
mov byte [ebp - 0x250d], 0
cmp esi, edx
jae 0x43fc09
lea eax, [ecx + esi]
jmp 0x43fc66
jbe 0x43fc6c
mov eax, dword [ebp - 0x250c]
sub eax, ecx
cmp esi, eax
jbe 0x43fc4a
lea eax, [ebp - 0x250d]
push eax
push esi
lea ecx, [ebp - 0x2548]
call fcn.00423276
mov eax, dword [ebp - 0x2540]
mov esi, dword [ebp - 0x2548]
mov dword [ebp - 0x250c], eax
mov eax, dword [ebp - 0x2544]
mov dword [ebp - 0x2528], esi
jmp 0x43fc72
mov eax, dword [ebp - 0x2544]
sub esi, edx
push esi
push 0
push eax
call fcn.004beec0
mov eax, dword [ebp - 0x2544]
add esp, 0xc
add eax, esi
mov dword [ebp - 0x2544], eax
mov esi, dword [ebp - 0x2528]
sub eax, esi
je 0x43fd3f
lea eax, [ebp - 0x2524]
mov dword [ebp - 0x2524], 0
push eax
push dword [ebp - 0x2534]
push esi
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
mov dword [ebp - 0x2518], eax
test ebx, ebx
je 0x43fcd8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebx + 4]
mov dword [ebx + 0x58], eax
mov dword [ebx + 0x54], 0xc
test ecx, ecx
je 0x43fcca
mov edx, dword [ecx]
push eax
push dword [ebp - 0x2518]
push 0xc
push dword [ebx + 8]
call dword [edx]
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0x2518]
test eax, eax
je 0x43fd45
test ebx, ebx
je 0x43fd03
mov ecx, dword [ebp - 0x251c]
mov eax, dword [ebx]
push dword [ecx + 4]
mov ecx, ebx
push dword [ebp - 0x2524]
push dword [ebp - 0x2514]
push esi
call dword [eax + 4]
mov eax, dword [ebp - 0x2518]
mov esi, dword [ebp - 0x251c]
mov edx, dword [ebp - 0x2514]
mov ecx, dword [ebp - 0x2534]
add edx, ecx
mov dword [ebp - 0x2514], edx
cmp dword [esi + 4], edx
mov esi, dword [ebp - 0x2528]
je 0x43fd32
test ecx, ecx
jne 0x43fb30
jmp 0x43fd45
mov eax, 1
mov dword [ebp - 0x2518], eax
jmp 0x43fd45
mov eax, dword [ebp - 0x2518]
mov ecx, dword [ebp - 0x251c]
test eax, eax
mov edx, dword [ebx]
setne al
movzx eax, al
push dword [ecx + 4]
mov ecx, ebx
push eax
call dword [edx + 8]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebx + 4]
mov dword [ebx + 0x58], eax
mov dword [ebx + 0x54], 0xd
test ecx, ecx
je 0x43fd85
mov edx, dword [ecx]
push eax
push dword [ebp - 0x2518]
push 0xd
push dword [ebx + 8]
call dword [edx]
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, dword [ebp - 0x2518]
test ebx, ebx
jne 0x43fdd4
test esi, esi
je 0x43f82a
mov ecx, dword [ebp - 0x250c]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x43fdc5
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43ff49
push ecx
push esi
call fcn.0045b5e1
add esp, 8
jmp 0x43f82a
test esi, esi
je 0x43fe08
mov ecx, dword [ebp - 0x250c]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x43fdfe
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43ff49
push ecx
push esi
call fcn.0045b5e1
add esp, 8
mov ecx, dword [ebp - 0x2530]
test ecx, ecx
je 0x43fe42
mov edx, dword [ebp - 0x252c]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x43fe38
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43ff49
push edx
push ecx
call fcn.0045b5e1
add esp, 8
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
test edi, edi
je 0x43fe4f
push edi
call esi
mov edx, dword [ebp - 0x6c]
cmp edx, 8
jb 0x43fe89
mov ecx, dword [ebp - 0x80]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43fe7f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43ff49
push edx
push ecx
call fcn.0045b5e1
add esp, 8
xor eax, eax
mov dword [ebp - 0x70], 0
mov word [ebp - 0x80], ax
mov eax, dword [ebp - 0x2520]
mov dword [ebp - 0x6c], 7
test eax, eax
je 0x43feaa
push eax
call esi
mov eax, dword [ebp - 0x2538]
test eax, eax
je 0x43feb7
push eax
call esi
mov edx, dword [ebp - 0x54]
cmp edx, 8
jb 0x43feed
mov ecx, dword [ebp - 0x68]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43fee3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43ff49
push edx
push ecx
call fcn.0045b5e1
add esp, 8
mov edx, dword [ebp - 0x84]
xor eax, eax
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 7
mov word [ebp - 0x68], ax
cmp edx, 8
jb 0x43ff3d
mov ecx, dword [ebp - 0x98]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43ff33
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43ff49
push edx
push ecx
call fcn.0045b5e1
add esp, 8
mov eax, ebx
jmp 0x43f965
call fcn.004c1e0f
call fcn.004c1e0f
int3