Function at 0x439268
Capabilities:
Initialize winhttp library
Prepare http request
Receive http response
Set http header

Disassembly:
push 0xc4
mov eax, 0x4730aa
call fcn.00471e35
mov dword [ebp - 0x18], ecx
xor edx, edx
mov ebx, edx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 4], edx
mov dword [ebp - 0x2c], edx
mov edi, edx
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x94], edx
or dword [ebp - 0x80], 0xffffffff
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x64], edx
mov dword [ebp - 0x60], edx
mov eax, edx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x4c], eax
mov esi, edx
mov dword [ebp - 0x50], esi
mov byte [ebp - 4], 0xc
cmp dword [ebp + 8], edx
jne 0x4392eb
mov eax, dword [ecx + 0x5c]
push 0x39a
push 0x40ff70
mov dword [ebp - 0x1c], 0x80070057
mov eax, dword [eax + 4]
mov ecx, eax
mov dword [ebp - 0x28], eax
call dword [0x47a4c4]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + 0x5c]
call dword [ebp - 0x28]
jmp 0x43935f
cmp dword [ebp + 0xc], 0
jne 0x43931e
mov eax, dword [ecx + 0x5c]
push 0x39b
push 0x40ff70
mov dword [ebp - 0x1c], 0x80070057
mov eax, dword [eax + 4]
mov ecx, eax
mov dword [ebp - 0x28], eax
call dword [0x47a4c4]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + 0x5c]
call dword [ebp - 0x28]
jmp 0x43935f
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
test eax, eax
je 0x43941c
test edx, edx
jne 0x439424
mov eax, dword [ecx + 0x5c]
push 0x39d
push 0x40ff70
mov dword [ebp - 0x1c], 0x80070057
mov eax, dword [eax + 4]
mov ecx, eax
mov dword [ebp - 0x20], eax
call dword [0x47a4c4]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + 0x5c]
call dword [ebp - 0x20]
mov edx, 0x80070057
mov ecx, eax
call fcn.0044b9c9
mov ecx, dword [ebp - 0x1c]
call fcn.00427547
test esi, esi
je 0x43937e
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x43938c
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x43939a
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x4393a8
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x4393b6
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x4393c4
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x4393d2
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea ecx, [ebp - 0x80]
call fcn.004230b0
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x4393e8
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test edi, edi
je 0x4393f3
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp dword [ebp - 0x2c], 0
je 0x439406
push dword [ebp - 0x2c]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
and dword [ebp - 0x2c], 0
test ebx, ebx
je 0x439411
mov ecx, ebx
call fcn.004274da
mov eax, dword [ebp - 0x1c]
call fcn.00471de9
ret 0x18
test edx, edx
jne 0x439334
cmp dword [ebp + 0x18], 0
jne 0x43945a
mov eax, dword [ecx + 0x5c]
push 0x39e
push 0x40ff70
mov dword [ebp - 0x1c], 0x80070057
mov eax, dword [eax + 4]
mov ecx, eax
mov dword [ebp - 0x28], eax
call dword [0x47a4c4]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + 0x5c]
call dword [ebp - 0x28]
jmp 0x43935f
cmp dword [ebp + 0x1c], 0
jne 0x439490
mov eax, dword [ecx + 0x5c]
push 0x39f
push 0x40ff70
mov dword [ebp - 0x1c], 0x80070057
mov eax, dword [eax + 4]
mov ecx, eax
mov dword [ebp - 0x28], eax
call dword [0x47a4c4]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + 0x5c]
call dword [ebp - 0x28]
jmp 0x43935f
push 0x3c
lea eax, [ebp - 0xd0]
push 0
push eax
call sub.msvcrt.dll_memset
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
or dword [ebp - 0xbc], 0xffffffff
add esp, 0xc
or dword [ebp - 0xa0], 0xffffffff
mov dword [ebp - 0xd0], 0x3c
mov eax, dword [eax]
push ecx
mov eax, dword [eax + 0x18]
mov ecx, eax
mov dword [ebp - 0x28], eax
call dword [0x47a4c4]
mov ecx, dword [ebp + 8]
call dword [ebp - 0x28]
mov dword [ebp - 0x1c], eax
test eax, eax
jns 0x43950e
mov eax, dword [ebp - 0x18]
push 0x3a8
push 0x40ff70
mov edx, dword [eax + 0x5c]
mov eax, dword [edx + 4]
mov ecx, eax
mov dword [ebp - 0x28], eax
call dword [0x47a4c4]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + 0x5c]
call dword [ebp - 0x28]
mov edx, dword [ebp - 0x1c]
jmp 0x439364
lea eax, [ebp - 0xd0]
push eax
push 0
push 0
push dword [ebp - 0x2c]
call dword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
test eax, eax
jne 0x43955f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.004247f6
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
push 0x3ac
push 0x40ff70
mov eax, dword [eax + 0x5c]
mov eax, dword [eax + 4]
mov ecx, eax
mov dword [ebp - 0x28], eax
call dword [0x47a4c4]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + 0x5c]
call dword [ebp - 0x28]
jmp 0x439506
xor eax, eax
cmp dword [ebp - 0xc4], 2
sete al
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x5c]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x47a4c4]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + 0x5c]
call edi
test eax, eax
je 0x4395cd
cmp dword [ebp - 0x28], 0
mov eax, 0x408ae8
jne 0x43959b
mov eax, 0x408af4
mov ecx, dword [ebp - 0x18]
push eax
movzx eax, word [ebp - 0xb8]
push eax
mov eax, dword [ecx + 0x5c]
push 0x40ffc0
push 2
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x47a4c4]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + 0x5c]
call edi
push eax
call fcn.0044ba12
add esp, 0x14
push dword [ebp - 0xbc]
push dword [ebp - 0xc0]
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
push eax
lea ecx, [ebp - 0x30]
call fcn.0042fd4f
mov edi, dword [ebp - 0x30]
test edi, edi
jne 0x439627
mov ecx, dword [ebp - 0x18]
push 0x3b6
push 0x40ff70
mov dword [ebp - 0x1c], 0x8007000e
mov eax, dword [ecx + 0x5c]
mov eax, dword [eax + 4]
mov ecx, eax
mov dword [ebp - 0x28], eax
call dword [0x47a4c4]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + 0x5c]
call dword [ebp - 0x28]
mov edx, 0x8007000e
jmp 0x439364
push dword [ebp - 0xa0]
push dword [ebp - 0xa4]
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
push eax
lea ecx, [ebp - 0x3c]
call fcn.0042fd4f
cmp dword [ebp - 0x3c], 0
jne 0x439678
mov ecx, dword [ebp - 0x18]
push 0x3b9
push 0x40ff70
mov dword [ebp - 0x1c], 0x8007000e
mov eax, dword [ecx + 0x5c]
mov eax, dword [eax + 4]
mov ecx, eax
mov dword [ebp - 0x28], eax
call dword [0x47a4c4]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + 0x5c]
call dword [ebp - 0x28]
jmp 0x43961d
mov eax, dword [ebp - 0x18]
lea ecx, [eax + 0xac]
cmp dword [ecx], 0
mov dword [ebp - 0x1c], ecx
je 0x43976a
cmp dword [eax + 0xb4], 0
je 0x439765
push 0xffffffffffffffff
push dword [eax + 0xb4]
push 0xffffffffffffffff
push edi
push 1
push 0x409
call dword [sym.imp.KERNEL32.dll_CompareStringW]
mov ecx, dword [ebp - 0x18]
dec eax
dec eax
mov eax, dword [ecx + 0x5c]
mov eax, dword [eax + 4]
mov ecx, eax
je 0x43971c
mov dword [ebp - 0x20], eax
call dword [0x47a4c4]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + 0x5c]
call dword [ebp - 0x20]
test eax, eax
je 0x439704
mov ecx, dword [ebp - 0x18]
push 0x410020
push 1
mov eax, dword [ecx + 0x5c]
mov eax, dword [eax + 4]
mov ecx, eax
mov dword [ebp - 0x20], eax
call dword [0x47a4c4]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + 0x5c]
call dword [ebp - 0x20]
push eax
call fcn.0044ba12
add esp, 0xc
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 0
je 0x43975f
push dword [eax]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov eax, dword [ebp - 0x1c]
and dword [eax], 0
jmp 0x43975f
mov dword [ebp - 0x20], eax
call dword [0x47a4c4]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + 0x5c]
call dword [ebp - 0x20]
test eax, eax
je 0x43975f
mov ecx, dword [ebp - 0x18]
push 0x410090
push 1
mov eax, dword [ecx + 0x5c]
mov eax, dword [eax + 4]
mov ecx, eax
mov dword [ebp - 0x20], eax
call dword [0x47a4c4]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + 0x5c]
call dword [ebp - 0x20]
push eax
call fcn.0044ba12
add esp, 0xc
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
cmp dword [ecx], 0
jne 0x4397d4
push 0
push 0
push 0
push 1
push 0x40e490
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov ecx, dword [ebp - 0x1c]
push eax
call fcn.0041fe61
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 0
jne 0x4397ca
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.004247f6
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
push 0x3d7
push 0x40ff70
mov eax, dword [ecx + 0x5c]
mov eax, dword [eax + 4]
mov ecx, eax
mov dword [ebp - 0x20], eax
call dword [0x47a4c4]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + 0x5c]
call dword [ebp - 0x20]
jmp 0x439506
mov eax, dword [ebp - 0x18]
and dword [eax + 0xe0], 0
cmp dword [eax + 0xe0], 0
jne 0x439bde
xor eax, eax
and dword [ebp - 0x20], 0
lea edi, [ebp - 0x5c]
stosd dword es:[edi], eax
push 6
pop ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [ebp - 0x7c]
rep stosd dword es:[edi], eax
lea edi, [ebp - 0x90]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x90]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpGetIEProxyConfigForCurrentUser]
test eax, eax
je 0x439976
cmp dword [ebp - 0x90], 0
mov ecx, dword [ebp - 0x8c]
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x48], eax
je 0x4398a2
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx + 0x5c]
mov eax, dword [eax + 4]
mov ecx, eax
mov dword [ebp - 0x20], eax
call dword [0x47a4c4]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + 0x5c]
call dword [ebp - 0x20]
test eax, eax
je 0x439888
mov ecx, dword [ebp - 0x18]
push 0x410108
push 2
mov eax, dword [ecx + 0x5c]
mov eax, dword [eax + 4]
mov ecx, eax
mov dword [ebp - 0x20], eax
call dword [0x47a4c4]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + 0x5c]
call dword [ebp - 0x20]
push eax
call fcn.0044ba12
add esp, 0xc
mov ecx, dword [ebp - 0x8c]
xor edx, edx
inc edx
mov dword [ebp - 0x78], 3
mov dword [ebp - 0x7c], edx
mov eax, edx
mov dword [ebp - 0x68], edx
jmp 0x4398a5
mov eax, dword [ebp - 0x20]
test ecx, ecx
je 0x43990b
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx + 0x5c]
mov eax, dword [eax + 4]
mov ecx, eax
mov dword [ebp - 0x20], eax
call dword [0x47a4c4]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + 0x5c]
call dword [ebp - 0x20]
test eax, eax
je 0x4398f7
mov ecx, dword [ebp - 0x18]
push 0x410168
push 2
mov eax, dword [ecx + 0x5c]
mov eax, dword [eax + 4]
mov ecx, eax
mov dword [ebp - 0x20], eax
call dword [0x47a4c4]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + 0x5c]
call dword [ebp - 0x20]
push eax
call fcn.0044ba12
add esp, 0xc
mov eax, dword [ebp - 0x40]
or dword [ebp - 0x7c], 2
mov dword [ebp - 0x74], eax
xor eax, eax
mov dword [ebp - 0x68], 1
inc eax
test eax, eax
jne 0x4399d6
test edi, edi
jne 0x4399d6
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx + 0x5c]
mov eax, dword [eax + 4]
mov ecx, eax
mov dword [ebp - 0x20], eax
call dword [0x47a4c4]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + 0x5c]
call dword [ebp - 0x20]
test eax, eax
je 0x439969
mov ecx, dword [ebp - 0x18]
push 0x4101d0
push 2
mov eax, dword [ecx + 0x5c]
mov eax, dword [eax + 4]
mov ecx, eax
mov dword [ebp - 0x20], eax
call dword [0x47a4c4]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + 0x5c]
call dword [ebp - 0x20]
push eax
call fcn.0044ba12
add esp, 0xc
xor edx, edx
inc edx
mov dword [ebp - 0x7c], edx
mov eax, edx
mov dword [ebp - 0x68], edx
jmp 0x4399cf
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx + 0x5c]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x47a4c4]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + 0x5c]
call edi
test eax, eax
je 0x4399c3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x18]
push eax
push 0x410228
push 3
mov eax, dword [ecx + 0x5c]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x47a4c4]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + 0x5c]
call edi
push eax
call fcn.0044ba12
add esp, 0x10
mov edi, dword [ebp - 0x44]
xor eax, eax
inc eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x78], 3
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0xe0], 0
jne 0x439bd1
test eax, eax
je 0x439b26
mov eax, dword [ecx + 0x5c]
mov eax, dword [eax + 4]
mov ecx, eax
mov dword [ebp - 0x20], eax
call dword [0x47a4c4]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + 0x5c]
call dword [ebp - 0x20]
test eax, eax
je 0x439a39
mov ecx, dword [ebp - 0x18]
push 0x4102b0
push 2
mov eax, dword [ecx + 0x5c]
mov eax, dword [eax + 4]
mov ecx, eax
mov dword [ebp - 0x20], eax
call dword [0x47a4c4]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + 0x5c]
call dword [ebp - 0x20]
push eax
call fcn.0044ba12
add esp, 0xc
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x7c]
push eax
mov eax, dword [ebp - 0x18]
push dword [ebp - 0x2c]
push dword [eax + 0xb0]
call dword [sym.imp.WINHTTP.dll_WinHttpGetProxyForUrl]
test eax, eax
je 0x439ace
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x5c]
push 0xc
push eax
mov eax, dword [ebp - 0x1c]
push 0x26
push dword [eax]
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x439abf
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.004247f6
push 0x437
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
push 0x40ff70
mov eax, dword [ecx + 0x5c]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x47a4c4]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + 0x5c]
call edi
mov edx, dword [ebp - 0x1c]
mov ecx, eax
call fcn.0044b9c9
mov edi, dword [ebp - 0x30]
jmp 0x43936b
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0xe0], 1
jmp 0x439b26
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx + 0x5c]
mov eax, dword [eax + 4]
mov ecx, eax
mov dword [ebp - 0x20], eax
call dword [0x47a4c4]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + 0x5c]
call dword [ebp - 0x20]
test eax, eax
je 0x439b23
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x18]
push eax
push 0x410308
push 3
mov eax, dword [ecx + 0x5c]
mov eax, dword [eax + 4]
mov ecx, eax
mov dword [ebp - 0x20], eax
call dword [0x47a4c4]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + 0x5c]
call dword [ebp - 0x20]
push eax
call fcn.0044ba12
add esp, 0x10
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0xe0], 0
jne 0x439bd1
test edi, edi
je 0x439bd1
mov eax, dword [ecx + 0x5c]
mov eax, dword [eax + 4]
mov ecx, eax
mov dword [ebp - 0x20], eax
call dword [0x47a4c4]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + 0x5c]
call dword [ebp - 0x20]
test eax, eax
je 0x439b86
mov ecx, dword [ebp - 0x18]
push 0x410398
push 2
mov eax, dword [ecx + 0x5c]
mov eax, dword [eax + 4]
mov ecx, eax
mov dword [ebp - 0x20], eax
call dword [0x47a4c4]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + 0x5c]
call dword [ebp - 0x20]
push eax
call fcn.0044ba12
add esp, 0xc
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x5c]
push 0xc
push eax
mov eax, dword [ebp - 0x1c]
push 0x26
mov dword [ebp - 0x5c], 3
mov dword [ebp - 0x58], edi
push dword [eax]
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x439bc4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.004247f6
push 0x451
jmp 0x439a8c
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0xe0], 1
mov edi, dword [ebp - 0x30]
mov dword [ecx + 0xe0], 1
mov eax, dword [ebp - 0x1c]
push 0
push dword [ebp - 0xb8]
push edi
push dword [eax]
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
push eax
lea ecx, [ebp - 0x4c]
call fcn.0041fe61
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x38], eax
test eax, eax
jne 0x439c41
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.004247f6
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
push 0x463
push 0x40ff70
mov eax, dword [ecx + 0x5c]
mov eax, dword [eax + 4]
mov ecx, eax
mov dword [ebp - 0x20], eax
call dword [0x47a4c4]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + 0x5c]
call dword [ebp - 0x20]
jmp 0x439506
mov ecx, dword [ebp - 0x28]
neg ecx
sbb ecx, ecx
and ecx, 0x800000
push ecx
xor ecx, ecx
push ecx
push ecx
push ecx
push dword [ebp - 0x3c]
push dword [ebp + 0xc]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
push eax
lea ecx, [ebp - 0x50]
call fcn.0041fe61
mov esi, dword [ebp - 0x50]
test esi, esi
jne 0x439cad
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.004247f6
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
push 0x46e
push 0x40ff70
mov eax, dword [ecx + 0x5c]
mov eax, dword [eax + 4]
mov ecx, eax
mov dword [ebp - 0x20], eax
call dword [0x47a4c4]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + 0x5c]
call dword [ebp - 0x20]
jmp 0x439506
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x439e73
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x439db2
push dword [eax + 4]
push dword [eax]
push dword [ecx + 4]
push dword [ecx]
lea ecx, [ebp - 0x24]
call fcn.0044d953
mov dword [ebp - 0x1c], eax
test eax, eax
jns 0x439d08
mov ecx, dword [ebp - 0x18]
push 0x474
push 0x40ff70
mov eax, dword [ecx + 0x5c]
mov eax, dword [eax + 4]
mov ecx, eax
mov dword [ebp - 0x20], eax
call dword [0x47a4c4]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + 0x5c]
call dword [ebp - 0x20]
jmp 0x439506
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
or eax, dword [edx + 4]
je 0x439d57
push 0
push 1
push dword [ebp - 0x20]
lea ecx, [ebp - 0x24]
push dword [ebp - 0x24]
call fcn.0044d9d5
mov dword [ebp - 0x1c], eax
test eax, eax
jns 0x439d57
mov ecx, dword [ebp - 0x18]
push 0x477
push 0x40ff70
mov eax, dword [ecx + 0x5c]
mov eax, dword [eax + 4]
mov ecx, eax
mov dword [ebp - 0x20], eax
call dword [0x47a4c4]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + 0x5c]
call dword [ebp - 0x20]
jmp 0x439506
push dword [ebp - 0x20]
mov eax, dword [ebp + 0x10]
push dword [ebp - 0x24]
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x34]
push 0x4103f8
push eax
call fcn.004255e4
add esp, 0x18
mov dword [ebp - 0x1c], eax
test eax, eax
jns 0x439dd6
push 0x47b
mov ecx, dword [ebp - 0x18]
push 0x40ff70
mov eax, dword [ecx + 0x5c]
mov ebx, dword [eax + 4]
mov ecx, ebx
call dword [0x47a4c4]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + 0x5c]
call ebx
mov edx, dword [ebp - 0x1c]
mov ecx, eax
call fcn.0044b9c9
mov ebx, dword [ebp - 0x34]
jmp 0x43936b
push dword [ecx + 4]
lea eax, [ebp - 0x34]
push dword [ecx]
push 0x41042c
push eax
call fcn.004255e4
add esp, 0x10
mov dword [ebp - 0x1c], eax
test eax, eax
jns 0x439dd6
push 0x480
jmp 0x439d82
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx + 0x5c]
mov ebx, dword [eax + 4]
mov ecx, ebx
call dword [0x47a4c4]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + 0x5c]
call ebx
mov ebx, dword [ebp - 0x34]
test eax, eax
je 0x439e24
mov ecx, dword [ebp - 0x18]
push ebx
push 0x410458
push 2
mov eax, dword [ecx + 0x5c]
mov eax, dword [eax + 4]
mov ecx, eax
mov dword [ebp - 0x20], eax
call dword [0x47a4c4]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + 0x5c]
call dword [ebp - 0x20]
push eax
call fcn.0044ba12
add esp, 0x10
push 0xa0000000
push 0xffffffffffffffff
push ebx
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
jne 0x439e73
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.004247f6
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
push 0x488
push 0x40ff70
mov eax, dword [ecx + 0x5c]
mov eax, dword [eax + 4]
mov ecx, eax
mov dword [ebp - 0x20], eax
call dword [0x47a4c4]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + 0x5c]
call dword [ebp - 0x20]
jmp 0x439506
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push eax
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
jne 0x439ec2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.004247f6
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
push 0x493
push 0x40ff70
mov eax, dword [ecx + 0x5c]
mov eax, dword [eax + 4]
mov ecx, eax
mov dword [ebp - 0x20], eax
call dword [0x47a4c4]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + 0x5c]
call dword [ebp - 0x20]
jmp 0x439506
push 0
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x439f0b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.004247f6
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
push 0x498
push 0x40ff70
mov eax, dword [ecx + 0x5c]
mov eax, dword [eax + 4]
mov ecx, eax
mov dword [ebp - 0x20], eax
call dword [0x47a4c4]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + 0x5c]
call dword [ebp - 0x20]
jmp 0x439506
mov ecx, dword [ebp - 0x18]
push esi
call fcn.00438faa
mov dword [ebp - 0x1c], eax
test eax, eax
jns 0x439f47
mov ecx, dword [ebp - 0x18]
push 0x49c
push 0x40ff70
mov eax, dword [ecx + 0x5c]
mov eax, dword [eax + 4]
mov ecx, eax
mov dword [ebp - 0x20], eax
call dword [0x47a4c4]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + 0x5c]
call dword [ebp - 0x20]
jmp 0x439506
mov eax, dword [ebp - 0x18]
add eax, 0xb4
mov dword [ebp - 0x20], eax
mov ecx, dword [eax]
test ecx, ecx
je 0x439f63
call fcn.004274da
mov eax, dword [ebp - 0x20]
and dword [eax], 0
mov edx, eax
mov ecx, edi
call fcn.004259da
mov dword [ebp - 0x1c], eax
test eax, eax
jns 0x439f9f
mov ecx, dword [ebp - 0x18]
push 0x4a1
push 0x40ff70
mov eax, dword [ecx + 0x5c]
mov eax, dword [eax + 4]
mov ecx, eax
mov dword [ebp - 0x20], eax
call dword [0x47a4c4]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + 0x5c]
call dword [ebp - 0x20]
jmp 0x439506
mov ecx, dword [ebp - 0x38]
xor eax, eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x18]
mov dword [eax], ecx
mov eax, esi
mov ecx, dword [ebp + 0x1c]
xor esi, esi
mov dword [ecx], eax
jmp 0x43936b