Function at 0x40f6a0
Capabilities:
Initialize winhttp library
Prepare http request
Receive http response

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44e680
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x100
mov dword [ebp - 4], 2
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x94], esp
push str.WinHTTP_1.0
call fcn.00402f80
lea eax, [ebp - 0x20]
push eax
call fcn.00407800
add esp, 0x1c
mov dword [ebp - 0x98], eax
mov byte [ebp - 4], 3
push 0
push 0
push 0
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x9c], esp
lea edx, [ebp - 0x20]
push edx
call fcn.00409260
lea eax, [ebp - 0x3c]
push eax
call fcn.004075a0
add esp, 8
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x34]
call fcn.00404cc0
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x2c], edx
lea ecx, [ebp - 0x3c]
call fcn.004037d0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x28], 0
cmp dword [ebp - 0x2c], 0
je 0x40f7cf
push 0
push 0x1bb
push ecx
mov eax, esp
mov dword [ebp - 0xa0], esp
mov dword [ebp - 0x40], eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xa4], esp
push str.pcapp.store
call fcn.00402f80
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.00407800
add esp, 0x1c
mov dword [ebp - 0xa8], eax
lea edx, [ebp - 0x50]
push edx
call fcn.004075a0
add esp, 8
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
call fcn.00404cc0
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov dword [ebp - 0x4c], eax
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x18], edx
lea ecx, [ebp - 0x50]
call fcn.004037d0
jmp 0x40f80e
mov byte [ebp - 0x11], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.004037d0
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.004037d0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.004037d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.004037d0
mov al, byte [ebp - 0x11]
jmp 0x40fbf9
cmp dword [ebp - 0x18], 0
je 0x40fb2c
lea eax, [ebp - 0xec]
push eax
lea ecx, [ebp - 0xf4]
push ecx
call fcn.0040e990
add esp, 4
mov ecx, eax
call fcn.0040ff10
push eax
lea edx, [ebp - 0xe4]
push edx
call fcn.00408d20
add esp, 8
lea ecx, [ebp - 0x24]
call fcn.00402bb0
mov byte [ebp - 4], 4
push ecx
mov eax, esp
mov dword [ebp - 0xac], esp
mov dword [ebp - 0x54], eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xb0], esp
push str._pixel.gif_guid
call fcn.00402f80
mov ecx, dword [ebp - 0x54]
push ecx
call fcn.00407800
add esp, 0x1c
mov dword [ebp - 0xb4], eax
lea edx, [ebp - 0x1c]
push edx
call fcn.004075a0
add esp, 8
mov dword [ebp - 0xb8], eax
mov byte [ebp - 4], 5
push ecx
mov eax, esp
mov dword [ebp - 0xbc], esp
mov dword [ebp - 0x58], eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xc0], esp
push str._wsversion_wsevt_srcfa__wsevt_action
call fcn.00402f80
mov ecx, dword [ebp - 0x58]
push ecx
call fcn.00407800
add esp, 0x1c
mov dword [ebp - 0xc4], eax
lea edx, [ebp - 0x64]
push edx
call fcn.004075a0
add esp, 8
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x60], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x60]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.0040a4b0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x64]
call fcn.004037d0
push ecx
mov edx, esp
mov dword [ebp - 0xc8], esp
mov dword [ebp - 0x68], edx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xcc], esp
push str._ws_wseng_time_wsnocache_llu
call fcn.00402f80
mov eax, dword [ebp - 0x68]
push eax
call fcn.00407800
add esp, 0x1c
mov dword [ebp - 0xd0], eax
lea ecx, [ebp - 0x74]
push ecx
call fcn.004075a0
add esp, 8
mov dword [ebp - 0x6c], eax
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x70], edx
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x70]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040a4b0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x74]
call fcn.004037d0
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
push edx
push eax
lea ecx, [ebp - 0xe4]
call fcn.0040cb70
push edx
push eax
lea ecx, [ebp - 0x10c]
push ecx
call fcn.0040ff40
add esp, 0xc
mov dword [ebp - 0x78], eax
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x7c], edx
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x7c]
call fcn.00406b00
push eax
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [0x461cac]
push eax
push 0x461a90
lea ecx, [ebp - 0x1c]
call fcn.00404cc0
push eax
lea ecx, [ebp - 0x24]
push ecx
call fcn.0040aeb0
add esp, 0x28
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x10c]
call fcn.004038a0
push 0x800000
push 0
push 0
push 0
lea ecx, [ebp - 0x24]
call fcn.00404cc0
push eax
push ecx
mov edx, esp
mov dword [ebp - 0xd4], esp
mov dword [ebp - 0x80], edx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xd8], esp
push 0x4512ac
call fcn.00402f80
mov eax, dword [ebp - 0x80]
push eax
call fcn.00407800
add esp, 0x1c
mov dword [ebp - 0xdc], eax
lea ecx, [ebp - 0x90]
push ecx
call fcn.004075a0
add esp, 8
mov dword [ebp - 0x84], eax
mov edx, dword [ebp - 0x84]
mov dword [ebp - 0x88], edx
mov ecx, dword [ebp - 0x88]
call fcn.00404cc0
push eax
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x90]
call fcn.004037d0
cmp dword [ebp - 0x10], 0
je 0x40fb12
push 0x2710
push 0x2710
push 0x2710
push 0x2710
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
test eax, eax
jne 0x40fb12
cmp dword [ebp - 0x10], 0
je 0x40faab
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
cmp dword [ebp - 0x18], 0
je 0x40fabb
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov byte [ebp - 0x12], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.004037d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x24]
call fcn.004037d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.004037d0
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.004037d0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.004037d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.004037d0
mov al, byte [ebp - 0x12]
jmp 0x40fbf9
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.004037d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x24]
call fcn.004037d0
jmp 0x40fb6b
mov byte [ebp - 0x13], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.004037d0
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.004037d0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.004037d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.004037d0
mov al, byte [ebp - 0x13]
jmp 0x40fbf9
cmp dword [ebp - 0x10], 0
je 0x40fb8a
push 0
push 0
push 0
push 0
push 0
push 0
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x40fb9f
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x10], 0
je 0x40fbaf
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
cmp dword [ebp - 0x18], 0
je 0x40fbbf
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov byte [ebp - 0x14], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.004037d0
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.004037d0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.004037d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.004037d0
mov al, byte [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret