Function at 0x424a93
Capabilities:
Check http status code
Connect to http server
Create http request
Parse url
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push 0xec
mov eax, 0x5b4cf6
call fcn.005870c4
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x94], ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x90], ecx
mov ecx, dword [ebp + 0x14]
push eax
mov dword [ebp - 0x98], eax
mov esi, edx
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0xa8], ebx
call fcn.004083b0
mov dword [ebp - 4], ebx
push 0x3c
pop edi
push edi
lea eax, [ebp - 0xf8]
push ebx
push eax
mov dword [ebp - 0xa8], 1
call fcn.0057e5e0
or eax, 0xffffffff
add esp, 0xc
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc0], eax
mov eax, dword [esi]
lea edx, [ebp - 0xf8]
push edx
mov dword [ebp - 0xf8], edi
mov ecx, dword [eax - 0xc]
push ebx
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x424f49
push ebx
push ebx
push ebx
xor esi, esi
inc esi
push esi
push 0x68a528
call dword [sym.imp.WININET.dll_InternetOpenW]
mov edi, eax
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0xb4], edi
mov dword [ebp - 4], esi
cmp edi, ebx
je 0x424f3b
push dword [ebp - 0xe4]
lea esi, [ebp - 0x68]
push dword [ebp - 0xe8]
call fcn.0040814e
mov byte [ebp - 4], 2
cmp dword [ebp - 0x50], 8
mov eax, dword [ebp - 0x64]
jae 0x424b84
lea eax, [ebp - 0x64]
xor ecx, ecx
cmp dword [ebp - 0xec], 4
push ebx
setne cl
push ebx
push 3
push ebx
push ebx
dec ecx
and ecx, 0x16b
add ecx, 0x50
push ecx
push eax
push edi
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0xb8], eax
mov byte [ebp - 4], 3
cmp eax, ebx
je 0x424f1d
cmp dword [ebp - 0xec], 4
mov dword [ebp - 0x88], 0x400f100
jne 0x424bde
mov dword [ebp - 0x88], 0x480f100
push dword [ebp - 0xc0]
lea esi, [ebp - 0x30]
push dword [ebp - 0xc4]
call fcn.0040814e
mov edi, eax
mov byte [ebp - 4], 4
push dword [ebp - 0xc8]
lea esi, [ebp - 0x4c]
push dword [ebp - 0xcc]
call fcn.0040814e
mov byte [ebp - 4], 5
push edi
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.0040de32
add esp, 0xc
mov byte [ebp - 4], 7
push ebx
push 1
call fcn.00409bf1
mov byte [ebp - 4], 8
push ebx
push 1
lea esi, [ebp - 0x30]
call fcn.00409bf1
cmp dword [ebp - 0x6c], 8
mov eax, dword [ebp - 0x80]
jae 0x424c48
lea eax, [ebp - 0x80]
push ebx
push dword [ebp - 0x88]
push ebx
push ebx
push ebx
push eax
push dword [ebp - 0x90]
push dword [ebp - 0xa0]
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [ebp - 0x90], eax
mov dword [ebp - 0xbc], eax
mov byte [ebp - 4], 9
cmp eax, ebx
je 0x424ee7
mov edi, dword [ebp + 0x10]
mov ebx, dword [edi + 0xc]
lea esi, [ebp - 0x8c]
call fcn.0042af4d
mov edi, dword [ebp + 0x10]
mov ebx, dword [edi + 0x10]
lea esi, [ebp - 0xb0]
call fcn.0042af4d
mov eax, dword [ebp - 0x8c]
test eax, eax
je 0x424cb1
cmp eax, dword [ebp - 0xb0]
je 0x424cb6
call fcn.0057a4ca
mov eax, dword [ebp - 0x88]
cmp eax, dword [ebp - 0xac]
je 0x424cf4
lea esi, [ebp - 0x8c]
call fcn.00414dbf
mov eax, dword [eax]
mov edi, dword [eax - 0xc]
call fcn.00414dbf
push 0xa0000000
push edi
push dword [eax]
push dword [ebp - 0x90]
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
call fcn.004285f0
jmp 0x424c8e
mov eax, dword [ebp - 0x9c]
mov ecx, dword [eax]
mov edx, dword [ecx - 0xc]
mov eax, edx
neg eax
push edx
sbb eax, eax
and eax, ecx
push eax
push 0
push 0
push dword [ebp - 0x90]
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x424ee5
mov eax, dword [ebp - 0x90]
push 0x13
lea edi, [ebp - 0x9c]
mov dword [ebp - 0x9c], eax
call fcn.0041c53b
pop ecx
mov ecx, dword [ebp - 0x94]
mov dword [ecx], eax
cmp eax, 0xc8
jne 0x424ee5
mov ebx, dword [ebp - 0x90]
push 5
lea edi, [ebp - 0x94]
mov dword [ebp - 0x94], ebx
call fcn.0041c53b
pop ecx
mov dword [ebp - 0x94], eax
test eax, eax
jle 0x424e18
mov esi, eax
lea eax, [ebp - 0x30]
call fcn.0040fdb8
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x1c]
mov eax, 0x400
xor esi, esi
mov dword [ebp - 0x88], eax
cmp ecx, eax
ja 0x424d9e
mov dword [ebp - 0x88], ecx
lea eax, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
lea ecx, [ebp - 0x30]
push 0
call fcn.0040cbe3
mov edi, dword [sym.imp.WININET.dll_InternetReadFile]
jmp 0x424de2
cmp dword [ebp - 0x88], 0
je 0x424dea
add esi, dword [ebp - 0x88]
lea eax, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
lea ecx, [ebp - 0x30]
push esi
call fcn.0040cbe3
push eax
push ebx
call edi
test eax, eax
jne 0x424dbd
cmp esi, dword [ebp - 0x94]
jne 0x424e0a
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x424dfe
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x98]
call fcn.0040847c
mov byte [ebp - 4], 9
push 0
lea ecx, [ebp - 0x30]
jmp 0x424ede
cmp eax, 0xffffffff
jne 0x424ee5
xor edi, edi
push edi
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x34], 0xf
call fcn.0040b0c2
mov byte [ebp - 4], 0xb
mov esi, 0x1000
lea eax, [ebp - 0x30]
call fcn.0040fdb8
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x88]
push eax
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x30]
push edi
mov dword [ebp - 0x88], edi
call fcn.0040cbe3
mov esi, dword [sym.imp.WININET.dll_InternetReadFile]
jmp 0x424ea2
cmp dword [ebp - 0x88], edi
je 0x424eaf
push dword [ebp - 0x88]
lea ecx, [ebp - 0x30]
push edi
call fcn.0040cbe3
push eax
lea ecx, [ebp - 0x4c]
call fcn.0040ca5f
lea eax, [ebp - 0x88]
push eax
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x30]
push edi
mov dword [ebp - 0x88], edi
call fcn.0040cbe3
push eax
push dword [ebp - 0x90]
call esi
test eax, eax
jne 0x424e69
cmp dword [ebp - 0x34], 0x10
mov eax, dword [ebp - 0x48]
jae 0x424ebb
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x98]
call fcn.0040847c
mov byte [ebp - 4], 0xb
push edi
push 1
lea ecx, [ebp - 0x30]
call fcn.00409713
mov byte [ebp - 4], 9
push edi
lea ecx, [ebp - 0x4c]
push 1
call fcn.00409713
xor ebx, ebx
mov byte [ebp - 4], 8
cmp dword [ebp - 0x90], ebx
je 0x424eff
push dword [ebp - 0x90]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov byte [ebp - 4], 3
push ebx
push 1
lea esi, [ebp - 0x84]
call fcn.00409bf1
mov eax, dword [ebp - 0xa0]
mov edi, dword [ebp - 0xa4]
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x424f2c
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov byte [ebp - 4], 1
push ebx
push 1
lea esi, [ebp - 0x68]
call fcn.00409bf1
mov byte [ebp - 4], bl
cmp edi, ebx
je 0x424f49
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x98]
call fcn.00587147
ret