Function at 0x42a09a
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 0xe8
mov eax, 0x5bd3f3
call fcn.0058ec94
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x90], ecx
mov ecx, dword [ebp + 0x10]
push eax
mov dword [ebp - 0x94], eax
mov esi, edx
mov dword [ebp - 0x98], ecx
mov dword [ebp - 0xa4], ebx
call fcn.0040844d
mov dword [ebp - 4], ebx
push 0x3c
pop edi
push edi
lea eax, [ebp - 0xf4]
push ebx
push eax
mov dword [ebp - 0xa4], 1
call fcn.00586790
or eax, 0xffffffff
add esp, 0xc
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xec], eax
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xbc], eax
mov eax, dword [esi]
lea edx, [ebp - 0xf4]
push edx
mov dword [ebp - 0xf4], edi
mov ecx, dword [eax - 0xc]
push ebx
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x42a540
push ebx
push ebx
push ebx
xor esi, esi
inc esi
push esi
push 0x6810b8
call dword [sym.imp.WININET.dll_InternetOpenW]
mov edi, eax
mov dword [ebp - 0xa0], edi
mov dword [ebp - 0xb0], edi
mov dword [ebp - 4], esi
cmp edi, ebx
je 0x42a532
push dword [ebp - 0xe0]
lea esi, [ebp - 0x64]
push dword [ebp - 0xe4]
call fcn.004081eb
mov byte [ebp - 4], 2
cmp dword [ebp - 0x4c], 8
mov eax, dword [ebp - 0x60]
jae 0x42a182
lea eax, [ebp - 0x60]
xor ecx, ecx
cmp dword [ebp - 0xe8], 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 - 0x9c], eax
mov dword [ebp - 0xb4], eax
mov byte [ebp - 4], 3
cmp eax, ebx
je 0x42a514
cmp dword [ebp - 0xe8], 4
mov dword [ebp - 0x84], 0x400f100
jne 0x42a1dc
mov dword [ebp - 0x84], 0x480f100
push dword [ebp - 0xbc]
lea esi, [ebp - 0x2c]
push dword [ebp - 0xc0]
call fcn.004081eb
mov edi, eax
mov byte [ebp - 4], 4
push dword [ebp - 0xc4]
lea esi, [ebp - 0x48]
push dword [ebp - 0xc8]
call fcn.004081eb
mov byte [ebp - 4], 5
push edi
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.0040dbd7
add esp, 0xc
mov byte [ebp - 4], 7
push ebx
push 1
call fcn.00409da6
mov byte [ebp - 4], 8
push ebx
push 1
lea esi, [ebp - 0x2c]
call fcn.00409da6
cmp dword [ebp - 0x68], 8
mov eax, dword [ebp - 0x7c]
jae 0x42a243
lea eax, [ebp - 0x7c]
push ebx
push dword [ebp - 0x84]
push ebx
push ebx
push ebx
push eax
push str.POST
push dword [ebp - 0x9c]
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0xb8], eax
mov byte [ebp - 4], 9
cmp eax, ebx
je 0x42a4e1
mov edi, dword [ebp + 0xc]
mov ebx, dword [edi + 0xc]
lea esi, [ebp - 0x88]
call fcn.0048069e
mov edi, dword [ebp + 0xc]
mov ebx, dword [edi + 0x10]
lea esi, [ebp - 0xac]
call fcn.0048069e
mov eax, dword [ebp - 0x88]
test eax, eax
je 0x42a2ab
cmp eax, dword [ebp - 0xac]
je 0x42a2b0
call fcn.0058204a
mov eax, dword [ebp - 0x84]
cmp eax, dword [ebp - 0xa8]
je 0x42a2ee
lea esi, [ebp - 0x88]
call fcn.00450a94
mov eax, dword [eax]
mov edi, dword [eax - 0xc]
call fcn.00450a94
push 0xa0000000
push edi
push dword [eax]
push dword [ebp - 0x8c]
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
call fcn.0042e21f
jmp 0x42a288
mov eax, dword [ebp - 0x98]
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 - 0x8c]
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x42a4df
mov eax, dword [ebp - 0x8c]
push 0x13
lea edi, [ebp - 0x98]
mov dword [ebp - 0x98], eax
call fcn.004214d1
pop ecx
mov ecx, dword [ebp - 0x90]
mov dword [ecx], eax
cmp eax, 0xc8
jne 0x42a4df
mov ebx, dword [ebp - 0x8c]
push 5
lea edi, [ebp - 0x90]
mov dword [ebp - 0x90], ebx
call fcn.004214d1
pop ecx
mov dword [ebp - 0x90], eax
test eax, eax
jle 0x42a412
mov esi, eax
lea eax, [ebp - 0x2c]
call fcn.004117ca
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x18]
mov eax, 0x400
xor esi, esi
mov dword [ebp - 0x84], eax
cmp ecx, eax
ja 0x42a398
mov dword [ebp - 0x84], ecx
lea eax, [ebp - 0x84]
push eax
push dword [ebp - 0x84]
lea ecx, [ebp - 0x2c]
push 0
call fcn.00407d97
mov edi, dword [sym.imp.WININET.dll_InternetReadFile]
jmp 0x42a3dc
cmp dword [ebp - 0x84], 0
je 0x42a3e4
add esi, dword [ebp - 0x84]
lea eax, [ebp - 0x84]
push eax
push dword [ebp - 0x84]
lea ecx, [ebp - 0x2c]
push esi
call fcn.00407d97
push eax
push ebx
call edi
test eax, eax
jne 0x42a3b7
cmp esi, dword [ebp - 0x90]
jne 0x42a404
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x42a3f8
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x94]
call fcn.00408519
mov byte [ebp - 4], 9
push 0
lea ecx, [ebp - 0x2c]
jmp 0x42a4d8
cmp eax, 0xffffffff
jne 0x42a4df
xor edi, edi
push edi
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x30], 0xf
call fcn.0040986b
mov byte [ebp - 4], 0xb
mov esi, 0x1000
lea eax, [ebp - 0x2c]
call fcn.004117ca
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x84]
push eax
push dword [ebp - 0x18]
lea ecx, [ebp - 0x2c]
push edi
mov dword [ebp - 0x84], edi
call fcn.00407d97
mov esi, dword [sym.imp.WININET.dll_InternetReadFile]
jmp 0x42a49c
cmp dword [ebp - 0x84], edi
je 0x42a4a9
push dword [ebp - 0x84]
lea ecx, [ebp - 0x2c]
push edi
call fcn.00407d97
push eax
lea ecx, [ebp - 0x48]
call fcn.0040b0b8
lea eax, [ebp - 0x84]
push eax
push dword [ebp - 0x18]
lea ecx, [ebp - 0x2c]
push edi
mov dword [ebp - 0x84], edi
call fcn.00407d97
push eax
push dword [ebp - 0x8c]
call esi
test eax, eax
jne 0x42a463
cmp dword [ebp - 0x30], 0x10
mov eax, dword [ebp - 0x44]
jae 0x42a4b5
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x94]
call fcn.00408519
mov byte [ebp - 4], 0xb
push edi
push 1
lea ecx, [ebp - 0x2c]
call fcn.004098e5
mov byte [ebp - 4], 9
push edi
lea ecx, [ebp - 0x48]
push 1
call fcn.004098e5
xor ebx, ebx
mov byte [ebp - 4], 8
cmp dword [ebp - 0x8c], ebx
je 0x42a4f9
push dword [ebp - 0x8c]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov byte [ebp - 4], 3
push ebx
push 1
lea esi, [ebp - 0x80]
call fcn.00409da6
mov eax, dword [ebp - 0x9c]
mov edi, dword [ebp - 0xa0]
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x42a523
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov byte [ebp - 4], 1
push ebx
push 1
lea esi, [ebp - 0x64]
call fcn.00409da6
mov byte [ebp - 4], bl
cmp edi, ebx
je 0x42a540
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x94]
call fcn.0058ed17
ret