Function at 0x421338
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 [0x4f9590]
xor eax, ebp
mov dword [ebp + 0x800], eax
push 0x7c
mov eax, 0x4be4a2
call fcn.00494508
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.00493f80
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 0x4213c4
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 [0x4fb63c]
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [ebp - 0x34], eax
cmp eax, edi
je 0x4215bf
push edi
push 0x80000
lea ecx, [ebp - 0x44]
push ecx
push 0x4cd9ca
push edi
lea ecx, [ebp]
push ecx
push str.POST
push eax
mov dword [ebp - 0x44], 0x4cf210
mov dword [ebp - 0x40], edi
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov dword [ebp - 0x14], eax
cmp eax, edi
je 0x4215b6
mov ecx, dword [ebp - 0x28]
call fcn.0040d513
test al, al
jne 0x42152b
mov ecx, dword [ebp - 0x10]
call fcn.0040d513
test al, al
jne 0x42152b
push 0x4cf28c
push dword [ebp - 0x28]
lea eax, [ebp - 0x4c]
push eax
call fcn.00473040
push dword [ebp - 0x10]
mov dword [ebp - 4], edi
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00472ff0
add esp, 0x18
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 2
call fcn.00472740
lea ecx, [ebp - 0x30]
call fcn.004724c0
lea ebx, [eax + eax + 1]
push ebx
mov dword [ebp - 0x10], ebx
call fcn.00491462
push ebx
mov esi, eax
push edi
push esi
call fcn.00493f80
add esp, 0x10
push 2
lea eax, [ebp - 0x10]
push eax
push esi
lea ecx, [ebp - 0x30]
call fcn.004724c0
push eax
push 1
lea ecx, [ebp - 0x30]
call fcn.004731d0
push eax
call fcn.0040d6cc
add esp, 0x14
push str.Authorization:_Basic
lea ecx, [ebp - 0x1c]
mov ebx, eax
call fcn.00472760
push esi
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.00472bc0
cmp esi, edi
je 0x4214eb
push esi
call fcn.0049407a
pop ecx
cmp ebx, edi
je 0x421513
cmp byte [ebp - 0x15], 0xff
lea esi, [ebp - 0x1c]
jne 0x4214fb
mov esi, dword [ebp - 0x1c]
push 0xa0000000
lea ecx, [ebp - 0x1c]
call fcn.004724c0
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.00472740
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00472740
push str.Content_Type:_application_x_www_form_urlencoded
lea ecx, [ebp - 0x24]
call fcn.00472760
mov esi, dword [ebp - 0x3c]
mov ecx, esi
mov dword [ebp - 4], 4
call fcn.0040d513
test al, al
jne 0x42156e
cmp byte [esi + 7], 0xff
mov edi, esi
jne 0x421557
mov edi, dword [esi]
push 0xa0000000
mov ecx, esi
call fcn.004724c0
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 0x42157b
mov edi, dword [ecx]
cmp byte [ebp - 0x1d], 0xff
lea esi, [ebp - 0x24]
jne 0x421587
mov esi, dword [ebp - 0x24]
call fcn.004724c0
push eax
push edi
lea ecx, [ebp - 0x24]
call fcn.004724c0
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.00472740
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.004944f9
add ebp, 0x804
leave
ret 0x14