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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x284
mov eax, dword [0x500ef0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x218], eax
mov esi, ecx
mov eax, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x20c], eax
mov eax, dword [ebp + 0x18]
push 0x200
mov dword [ebp - 0x210], eax
lea eax, [ebp - 0x204]
push 0
push eax
call fcn.0047bc10
push 0x3c
lea eax, [ebp - 0x284]
push 0
push eax
call fcn.0047bc10
add esp, 0x18
mov dword [ebp - 0x284], 0x3c
lea eax, [ebp - 0x204]
mov dword [ebp - 0x270], 0xff
mov dword [ebp - 0x274], eax
lea eax, [ebp - 0x284]
mov dword [ebp - 0x254], 1
push eax
mov eax, dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0
push dword [ebp - 0x20c]
mov dword [ebp - 0x214], eax
call eax
push eax
push dword [ebp - 0x20c]
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x427952
push 1
mov ecx, esi
call fcn.004277e6
xor eax, eax
jmp 0x427af1
push str.https:
push dword [ebp - 0x20c]
call fcn.00427cfb
mov byte [ebp - 0x205], al
pop ecx
pop ecx
push 1
test al, al
je 0x42799e
xor eax, eax
push eax
push 3
push eax
push eax
push 0x1bb
push dword [ebp - 0x274]
push dword [esi]
call dword [sym.imp.WININET.dll_InternetConnectW]
xor edx, edx
mov ecx, eax
cmp byte [ebp - 0x205], dl
mov eax, 0x80cc8200
cmove eax, edx
jmp 0x4279bd
xor eax, eax
push eax
push 3
push eax
push eax
push dword [ebp - 0x26c]
push dword [ebp - 0x274]
push dword [esi]
call dword [sym.imp.WININET.dll_InternetConnectW]
mov ecx, eax
xor eax, eax
mov edx, dword [ebp - 0x218]
mov dword [edx], ecx
test ecx, ecx
jne 0x4279d0
push 2
jmp 0x427944
push 1
or eax, 0x84000001
mov dword [ebp - 0x220], 0x4bef0c
push eax
xor edx, edx
lea eax, [ebp - 0x220]
push eax
push edx
push str.HTTP_1.1
push dword [ebp - 0x258]
mov dword [ebp - 0x21c], edx
cmp dword [ebp - 0x210], edx
je 0x427a0c
push str.POST
jmp 0x427a11
push 0x4bef34
push ecx
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [ebx], eax
test eax, eax
jne 0x427a25
push 3
jmp 0x427944
cmp dword [ebp - 0x210], 0
je 0x427ac8
and dword [ebp - 0x23c], 0
xorps xmm0, xmm0
and dword [ebp - 0x244], 0
movlpd qword [ebp - 0x228], xmm0
mov dword [ebp - 0x248], 0x28
mov dword [ebp - 0x240], edi
test edi, edi
je 0x427a6a
push edi
call dword [ebp - 0x214]
xor edi, edi
jmp 0x427a6e
xor edi, edi
mov eax, edi
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x238], eax
mov eax, dword [ebp - 0x210]
push edi
mov dword [ebp - 0x234], eax
mov eax, dword [ebp + 0x1c]
push edi
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x22c], eax
lea eax, [ebp - 0x248]
push edi
push eax
push dword [ebx]
call dword [sym.imp.WININET.dll_HttpSendRequestExW]
test eax, eax
jne 0x427ab2
push 4
jmp 0x427944
push edi
push edi
push edi
push dword [ebx]
call dword [sym.imp.WININET.dll_HttpEndRequestW]
test eax, eax
jne 0x427aee
push 5
jmp 0x427944
xor eax, eax
test edi, edi
je 0x427ad5
push edi
call dword [ebp - 0x214]
push 0
push 0
push eax
push edi
push dword [ebx]
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x427aee
push 6
jmp 0x427944
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047a65d
leave
ret 0x18