Function at 0x40f360
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x434b80
mov eax, dword fs:[0]
push eax
mov eax, 0x19474
call fcn.0041aad0
mov eax, dword [0x44d080]
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, ecx
mov dword [ebp - 0x1947c], ebx
mov dword [ebp - 0x1947c], ebx
push 0
push 0
push 0
push 1
push 0x447338
mov dword [ebp - 4], 1
call dword [sym.imp.WININET.dll_InternetOpenW]
cmp dword [ebp + 0x1c], 8
mov ecx, eax
push 0
push 0
push 3
push 0
push 0
lea eax, [ebp + 8]
mov dword [ebp - 0x1947c], ecx
cmovae eax, dword [ebp + 8]
push 0x50
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetConnectW]
cmp dword [ebp + 0x34], 8
mov ecx, eax
push 0
push SysReAllocStringLen
push 0
push 0
push 0
lea eax, [ebp + 0x20]
mov dword [ebp - 0x19480], ecx
cmovae eax, dword [ebp + 0x20]
push eax
push 0x447344
push ecx
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
push 0x400
mov esi, eax
lea eax, [ebp - 0x410]
push 0
push eax
call fcn.0041bd40
lea ecx, [ebp - 0x410]
add esp, 0xc
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40f430
sub ecx, edx
lea eax, [ebp - 0x410]
push ecx
push eax
push 0x31
push str.Content_Type:_text_html_nKhsopeyrkdmva:_hoemckleka
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x40f459
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x19064
lea eax, [ebp - 0x19474]
push 0
push eax
call fcn.0041bd40
mov edi, dword [sym.imp.WININET.dll_InternetReadFile]
lea eax, [ebp - 0x19478]
add esp, 0xc
mov dword [ebp - 0x19478], 0
push eax
push 0x19063
lea eax, [ebp - 0x19474]
push eax
push esi
call edi
test eax, eax
je 0x40f4e1
nop dword [eax]
mov eax, dword [ebp - 0x19478]
test eax, eax
je 0x40f4e1
cmp eax, 0x19064
jae 0x40f5e5
mov byte [ebp + eax - 0x19474], 0
lea eax, [ebp - 0x19478]
push eax
push 0x19063
lea eax, [ebp - 0x19474]
mov dword [ebp - 0x19478], 0
push eax
push esi
call edi
test eax, eax
jne 0x40f4a0
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x19480]
call esi
push dword [ebp - 0x1947c]
call esi
sub esp, 0x18
lea ecx, [ebp - 0x19474]
mov edx, esp
lea esi, [ecx + 1]
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
mov byte [edx], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40f520
sub ecx, esi
lea eax, [ebp - 0x19474]
push ecx
push eax
mov ecx, edx
call fcn.0040bbb0
mov ecx, ebx
call fcn.0040f280
mov edx, dword [ebp + 0x1c]
add esp, 0x18
cmp edx, 8
jb 0x40f578
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40f56e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f5e0
push edx
push ecx
call fcn.00419f4a
add esp, 8
mov edx, dword [ebp + 0x34]
xor eax, eax
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
cmp edx, 8
jb 0x40f5c2
mov ecx, dword [ebp + 0x20]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40f5b8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f5ea
push edx
push ecx
call fcn.00419f4a
add esp, 8
mov eax, ebx
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.00419c6a
mov esp, ebp
pop ebp
ret
call fcn.0042045f
call fcn.0041a09e
call fcn.0042045f
int3