Function at 0x459ec2
Capabilities:
Connect to http server
Parse url
Print debug messages
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3f98
call fcn.00433a00
push ebx
push esi
push edi
xor ebx, ebx
lea eax, [ebp - 0x38b]
push 0x103
push ebx
push eax
mov esi, ecx
mov byte [ebp - 0x38c], bl
call fcn.0042a910
push 7
pop ecx
xor eax, eax
mov byte [ebp - 0x74], bl
lea edi, [ebp - 0x73]
mov byte [ebp - 0x284], bl
rep stosd dword es:[edi], eax
push 0x103
push ebx
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x283]
push eax
call fcn.0042a910
push 0xfff
lea eax, [ebp - 0x2b8b]
mov byte [ebp - 0x2b8c], bl
push ebx
push eax
call fcn.0042a910
lea eax, [ebp - 0x74]
mov dword [ebp - 0x54], 0x3c
mov dword [ebp - 0x50], eax
mov ecx, 0x104
lea eax, [ebp - 0x38c]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
add esp, 0x24
lea eax, [ebp - 0x284]
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x2b8c]
mov dword [ebp - 0x4c], 0x20
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0x1000
lea edx, [ecx + 1]
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0xc], ebx
mov al, byte [ecx]
inc ecx
test al, al
jne 0x459f87
lea eax, [ebp - 0x54]
sub ecx, edx
push eax
push ebx
push ecx
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
mov edi, 0x3ff
test eax, eax
je 0x45a20d
push ebx
push ebx
push 3
push ebx
push ebx
push dword [ebp - 0x3c]
push dword [ebp - 0x44]
push dword [esi + 0xc]
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [ebp + 8], eax
test eax, eax
je 0x45a20d
cmp dword [ebp - 0x48], 4
mov ecx, 0x840200
mov eax, 0x40200
mov byte [ebp - 0x1b8c], bl
cmove eax, ecx
push 0xfff
mov dword [ebp - 8], eax
lea eax, [ebp - 0x1b8b]
push ebx
push eax
call fcn.0042a910
push 0x103
lea eax, [ebp - 0x17b]
mov byte [ebp - 0x17c], bl
push ebx
push eax
call fcn.0042a910
mov ebx, dword [ebp + 0xc]
lea edx, [ebp - 0x17c]
add esp, 0x18
mov ecx, str.Content_Type:_application_x_www_form_urlencoded
test ebx, ebx
mov eax, 0x4a513e
cmove ecx, eax
sub edx, ecx
mov al, byte [ecx]
mov byte [edx + ecx], al
inc ecx
test al, al
jne 0x45a02d
mov ecx, dword [ebp - 0x28]
lea edx, [ebp - 0x1b8c]
sub edx, ecx
mov al, byte [ecx]
mov byte [edx + ecx], al
inc ecx
test al, al
jne 0x45a042
mov edx, dword [ebp - 0x20]
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x45a051
lea edi, [ebp - 0x1b8c]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x45a061
mov ecx, edx
xor eax, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push eax
push dword [ebp - 8]
mov ecx, edx
push eax
push eax
push eax
and ecx, 3
lea eax, [ebp - 0x1b8c]
push eax
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp + 8]
mov ecx, 0x4a5194
test ebx, ebx
mov eax, str.POST
cmove eax, ecx
push eax
push edi
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov dword [ebp - 8], eax
test eax, eax
je 0x45a1f9
push 4
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], 0x3180
push ecx
push 0x1f
push eax
call dword [sym.imp.WININET.dll_InternetSetOptionA]
test ebx, ebx
je 0x45a0d6
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45a0cb
sub ecx, edx
jmp 0x45a0d8
xor ecx, ecx
lea edx, [ebp - 0x17c]
lea esi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x45a0e1
push ecx
push ebx
sub edx, esi
lea eax, [ebp - 0x17c]
push edx
push eax
push dword [ebp - 8]
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x45a1f0
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0xc], 1
test edi, edi
je 0x45a1ed
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45a11c
sub ecx, edx
je 0x45a1ed
xor ebx, ebx
lea eax, [ebp - 0x78b]
push 0x3ff
push ebx
push eax
mov byte [ebp - 0x78c], bl
call fcn.0042a910
mov edi, dword [ebp - 8]
add esp, 0xc
mov esi, ebx
mov dword [ebp + 0xc], ebx
lea eax, [ebp + 0xc]
push eax
mov eax, 0x400
sub eax, esi
push eax
lea eax, [ebp - 0x78c]
add eax, esi
push eax
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x45a17b
add esi, dword [ebp + 0xc]
cmp dword [ebp + 0xc], 0
jne 0x45a187
jmp 0x45a184
mov byte [ebp - 0x78c], 0
xor esi, esi
mov bl, byte [ebp - 0xc]
test bl, bl
je 0x45a150
mov eax, dword [str.NEWGUID]
lea ecx, [ebp - 0x18]
mov edi, dword [ebp + 0x10]
lea edx, [ecx + 1]
mov dword [ebp - 0x18], eax
mov eax, dword [0x4a519c]
mov dword [ebp - 0x14], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45a1a4
sub ecx, edx
lea eax, [ebp - 0x18]
push ecx
push eax
lea eax, [ebp - 0x78c]
push eax
call fcn.004279bb
add esp, 0xc
test eax, eax
jne 0x45a1ed
push SysReAllocStringLen
push edi
lea ecx, [ebp - 0x3f94]
mov byte [ebp - 0x760], al
call fcn.00460acf
lea eax, [ebp - 0x784]
push eax
push 0x4a51a0
call fcn.00460a91
mov edi, dword [ebp + 8]
push dword [ebp - 8]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [ebp - 0xc], 0
jne 0x45a285
xor ebx, ebx
mov edi, 0x3ff
push edi
lea eax, [ebp - 0x78b]
mov dword [ebp + 0x10], ebx
push ebx
push eax
mov dword [ebp + 8], edi
mov byte [ebp - 0x78c], bl
call fcn.0042a910
add esp, 0xc
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x78c]
push eax
lea eax, [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetGetLastResponseInfoA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
mov esi, eax
mov byte [ebp - 0xb8c], bl
lea eax, [ebp - 0xb8b]
push ebx
push eax
call fcn.0042a910
push esi
lea eax, [ebp - 0x78c]
push eax
lea eax, [ebp - 0xb8c]
push str.ERROR:_WinInet_Last_Response____s:_GetLastError____d_n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x1c
lea eax, [ebp - 0xb8c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc