Function at 0x422ba5
Capabilities:
Connect to http server
Parse url
Send data
Send http request

Disassembly:
push ebp
sub esp, 0x800
lea ebp, [esp - 4]
mov eax, dword [0x4fc5b0]
xor eax, ebp
mov dword [ebp + 0x800], eax
push 0x7c
mov eax, 0x4bc6bf
call fcn.00492516
mov eax, dword [ebp + 0x810]
mov esi, dword [ebp + 0x80c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x814]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x818]
push 0x3c
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x81c]
pop ebx
push ebx
mov dword [ebp - 0x10], eax
xor edi, edi
lea eax, [ebp - 0x88]
push edi
push eax
call fcn.00491e90
lea eax, [ebp + 0x400]
mov dword [ebp - 0x78], eax
mov eax, 0x400
add esp, 0xc
cmp byte [esi + 7], 0xff
lea ecx, [ebp]
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x58], eax
jne 0x422c31
mov esi, dword [esi]
lea eax, [ebp - 0x88]
push eax
push edi
push edi
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
push edi
push edi
push 3
push edi
push edi
push 0x50
lea eax, [ebp + 0x400]
push eax
push dword [0x4fe668]
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [ebp - 0x34], eax
cmp eax, edi
je 0x422e2c
push edi
push 0x80000
lea ecx, [ebp - 0x44]
push ecx
push 0x4cfa1a
push edi
lea ecx, [ebp]
push ecx
push str.POST
push eax
mov dword [ebp - 0x44], 0x4d16e8
mov dword [ebp - 0x40], edi
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov dword [ebp - 0x14], eax
cmp eax, edi
je 0x422e23
mov ecx, dword [ebp - 0x28]
call fcn.0040d4fd
test al, al
jne 0x422d98
mov ecx, dword [ebp - 0x10]
call fcn.0040d4fd
test al, al
jne 0x422d98
push 0x4d1764
push dword [ebp - 0x28]
lea eax, [ebp - 0x4c]
push eax
call fcn.00470f60
push dword [ebp - 0x10]
mov dword [ebp - 4], edi
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00470f10
add esp, 0x18
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 2
call fcn.00470660
lea ecx, [ebp - 0x30]
call fcn.004703e0
lea ebx, [eax + eax + 1]
push ebx
mov dword [ebp - 0x10], ebx
call fcn.0048f372
push ebx
mov esi, eax
push edi
push esi
call fcn.00491e90
add esp, 0x10
push 2
lea eax, [ebp - 0x10]
push eax
push esi
lea ecx, [ebp - 0x30]
call fcn.004703e0
push eax
push 1
lea ecx, [ebp - 0x30]
call fcn.004710f0
push eax
call fcn.0040d6b5
add esp, 0x14
push str.Authorization:_Basic
lea ecx, [ebp - 0x1c]
mov ebx, eax
call fcn.00470680
push esi
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.00470ae0
cmp esi, edi
je 0x422d58
push esi
call fcn.00491f8a
pop ecx
cmp ebx, edi
je 0x422d80
cmp byte [ebp - 0x15], 0xff
lea esi, [ebp - 0x1c]
jne 0x422d68
mov esi, dword [ebp - 0x1c]
push 0xa0000000
lea ecx, [ebp - 0x1c]
call fcn.004703e0
push eax
push esi
push dword [ebp - 0x14]
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.00470660
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00470660
push str.Content_Type:_application_x_www_form_urlencoded
lea ecx, [ebp - 0x24]
call fcn.00470680
mov esi, dword [ebp - 0x3c]
mov ecx, esi
mov dword [ebp - 4], 4
call fcn.0040d4fd
test al, al
jne 0x422ddb
cmp byte [esi + 7], 0xff
mov edi, esi
jne 0x422dc4
mov edi, dword [esi]
push 0xa0000000
mov ecx, esi
call fcn.004703e0
push eax
push edi
push dword [ebp - 0x14]
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
mov ecx, dword [ebp - 0x38]
cmp byte [ecx + 7], 0xff
mov edi, ecx
jne 0x422de8
mov edi, dword [ecx]
cmp byte [ebp - 0x1d], 0xff
lea esi, [ebp - 0x24]
jne 0x422df4
mov esi, dword [ebp - 0x24]
call fcn.004703e0
push eax
push edi
lea ecx, [ebp - 0x24]
call fcn.004703e0
push eax
push esi
push dword [ebp - 0x14]
call dword [sym.imp.WININET.dll_HttpSendRequestA]
push dword [ebp - 0x14]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00470660
push dword [ebp - 0x34]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x800]
xor ecx, ebp
call fcn.00492093
add ebp, 0x804
leave
ret 0x14