Function at 0x419650
Capabilities:
Check http status code
Connect to http server
Create http request
Get http content length
Parse url
Send data
Send http request

Disassembly:
sub esp, 0x270
mov eax, dword [0x4895f0]
xor eax, esp
mov dword [esp + 0x26c], eax
mov eax, dword [esp + 0x278]
push ebx
push ebp
mov ebp, dword [esp + 0x27c]
push esi
push edi
xor ebx, ebx
push 0x103
mov esi, ecx
mov ecx, dword [esp + 0x290]
lea edx, [esp + 0x79]
push ebx
push edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x28], ebx
xor edi, edi
mov byte [esp + 0x80], bl
call fcn.0044cf00
push 0x103
lea eax, [esp + 0x189]
push ebx
push eax
mov byte [esp + 0x190], bl
call fcn.0044cf00
mov eax, dword [esi + 8]
add esp, 0x18
cmp eax, ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], 1
je 0x4196fe
mov ecx, dword [esi + 0xc]
push ecx
push 1
push ebx
push ebx
push ebx
push ebx
call eax
test eax, eax
je 0x4198fa
push 0x3c
lea edx, [esp + 0x3c]
push ebx
push edx
call fcn.0044cf00
mov eax, 1
add esp, 0xc
mov dword [esp + 0x4c], eax
mov dword [esp + 0x68], eax
lea eax, [esp + 0x38]
push eax
push ebx
push ebx
push ebp
mov dword [esp + 0x48], 0x3c
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
je 0x41994c
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
push ecx
push edx
lea eax, [esp + 0x7c]
push eax
call fcn.0044eefb
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x70]
push edx
mov byte [esp + ecx + 0x84], bl
push eax
lea ecx, [esp + 0x18c]
push ecx
call fcn.0044eefb
mov eax, dword [esi + 8]
mov edx, dword [esp + 0x80]
add esp, 0x18
cmp eax, ebx
mov byte [esp + edx + 0x178], bl
mov dword [esp + 0x14], 2
je 0x4197a3
mov ecx, dword [esi + 0xc]
push ecx
push 2
push ebx
push ebx
push ebx
push ebx
call eax
test eax, eax
je 0x4198fa
push ebx
push ebx
push ebx
push ebx
push 0x46e4a4
call dword [sym.imp.WININET.dll_InternetOpenA]
cmp eax, ebx
mov dword [esp + 0x2c], eax
je 0x41994c
mov edx, dword [esp + 0x50]
push ebx
push ebx
push 3
push ebx
push ebx
push edx
lea ecx, [esp + 0x8c]
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
mov ebp, eax
cmp ebp, ebx
mov dword [esp + 0x1c], ebp
je 0x419935
mov eax, dword [esi + 8]
cmp eax, ebx
mov dword [esp + 0x14], 3
je 0x419809
mov edx, dword [esi + 0xc]
push edx
push 3
push ebx
push ebx
push ebx
push ebx
call eax
test eax, eax
je 0x4198fa
push ebx
push SysReAllocStringLen
push ebx
push ebx
push ebx
lea eax, [esp + 0x18c]
push eax
push 0x46d8cc
push ebp
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov edi, eax
cmp edi, ebx
je 0x41992a
push ebx
push ebx
push ebx
push ebx
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x41991b
mov ebp, dword [sym.imp.WININET.dll_HttpQueryInfoA]
push ebx
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x30]
push edx
push 0x20000013
push edi
mov dword [esp + 0x24], 4
call ebp
test eax, eax
je 0x41991b
cmp dword [esp + 0x28], 0xc8
jne 0x41991b
push ebx
lea eax, [esp + 0x14]
push eax
push ebx
push 0x16
push edi
call ebp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x41991b
mov ecx, dword [esp + 0x10]
add ecx, 1
push ecx
call fcn.004282da
add esp, 4
cmp eax, ebx
mov dword [esp + 0x18], eax
je 0x41991b
push ebx
lea edx, [esp + 0x14]
push edx
push eax
push 0x16
push edi
call ebp
test eax, eax
je 0x41990a
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
push ebx
mov byte [ecx + eax], bl
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x2c]
push eax
push 0x20000005
push edi
mov dword [esp + 0x24], 4
call ebp
test eax, eax
je 0x41990a
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x24]
push ecx
push edx
push edi
call dword [esp + 0x3c]
test eax, eax
je 0x41990a
mov dword [esp + 0x14], 6
mov dword [esp + 0x20], 1
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x41991b
push eax
call fcn.004282df
add esp, 4
cmp edi, ebx
je 0x419926
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ebp, dword [esp + 0x1c]
cmp ebp, ebx
je 0x419935
push ebp
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x419944
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edi, dword [esp + 0x20]
cmp edi, ebx
jne 0x419958
or dword [esp + 0x14], 0x80000000
mov edi, dword [esp + 0x20]
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x41996e
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x14]
push ecx
push edx
push ebx
push ebx
push ebx
push ebx
call eax
mov ecx, dword [esp + 0x27c]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0044ce74
add esp, 0x270
ret 0xc