Function at 0x445e61
Capabilities:
Check internet connectivity via wininet
Connect to http server
Create http request
Parse url
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x5f2c
call fcn.004e07c0
mov eax, dword [0x547240]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x5ecc], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x5ef0], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x5ee4], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x5ed8], eax
mov eax, dword [ebp + 0x28]
push ebx
push esi
mov esi, dword [ebp + 0x24]
mov dword [ebp - 0x5ee8], eax
mov eax, dword [ebp + 0x2c]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x5ed0], eax
mov eax, dword [ebp + 0x30]
xor ebx, ebx
push 0x3c
mov dword [ebp - 0x5ed4], eax
lea eax, [ebp - 0x5f2c]
push ebx
push eax
mov dword [ebp - 0x5ec8], ecx
mov dword [ebp - 0x5edc], ebx
call fcn.004de430
lea eax, [ebp - 0xab4]
mov dword [ebp - 0x5f28], eax
lea eax, [ebp - 0x49c]
mov dword [ebp - 0x5f1c], eax
lea eax, [ebp - 0x6a4]
mov dword [ebp - 0x5f10], eax
lea eax, [ebp - 0x8ac]
mov dword [ebp - 0x5f08], eax
lea eax, [ebp - 0xec4]
mov dword [ebp - 0x5f00], eax
lea eax, [ebp - 0xcbc]
mov dword [ebp - 0x5ef8], eax
mov eax, 0x104
add esp, 0xc
mov dword [ebp - 0x5f0c], eax
mov dword [ebp - 0x5efc], eax
mov dword [ebp - 0x5f24], eax
mov dword [ebp - 0x5f04], eax
mov dword [ebp - 0x5f18], eax
mov dword [ebp - 0x5ef4], eax
lea eax, [ebp - 0x5f2c]
push eax
push ebx
push ebx
push edi
mov dword [ebp - 0x5f2c], 0x3c
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x4462ce
push ebx
call dword [sym.imp.WININET.dll_InternetAttemptConnect]
test eax, eax
jne 0x4462ce
cmp dword [ebp - 0x5f20], 4
mov edi, dword [ebp - 0x5ec8]
sete al
mov dword [ebp - 0x5ee0], eax
mov eax, dword [edi]
cmp eax, ebx
je 0x445fb8
add eax, 4
push eax
call fcn.004df380
pop ecx
test eax, eax
je 0x445fb8
mov eax, dword [edi]
push ebx
push ebx
add eax, 4
push eax
push 3
jmp 0x445fbd
push ebx
push ebx
push ebx
push 1
push dword [ebp - 0x5ecc]
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi], eax
cmp eax, ebx
je 0x4462ce
mov edi, dword [sym.imp.WININET.dll_InternetSetOptionExW]
push ebx
push 4
lea ecx, [ebp - 0x5ecc]
push ecx
push 2
push eax
mov dword [ebp - 0x5ecc], 0x7530
call edi
push ebx
push 4
lea eax, [ebp - 0x5ecc]
push eax
push 5
push dword [esi]
call edi
push ebx
push 4
lea eax, [ebp - 0x5ecc]
push eax
push 6
push dword [esi]
call edi
push dword [ebp - 0x5ec8]
mov eax, dword [ebp - 0x5ee0]
neg eax
sbb eax, eax
and eax, 0x800000
push eax
push 3
push dword [ebp - 0x5f08]
push dword [ebp - 0x5f10]
push dword [ebp - 0x5f14]
push dword [ebp - 0x5f1c]
push dword [esi]
call dword [sym.imp.WININET.dll_InternetConnectW]
mov esi, dword [ebp - 0x5ee8]
mov dword [esi], eax
cmp eax, ebx
je 0x4462ce
xor eax, eax
push 0x4ffe
mov word [ebp - 0x5ec4], ax
lea eax, [ebp - 0x5ec2]
push ebx
push eax
call fcn.004de430
push dword [ebp - 0x5f00]
lea eax, [ebp - 0x5ec4]
push eax
call fcn.004e081c
push dword [ebp - 0x5ee4]
call fcn.004df380
add esp, 0x18
test eax, eax
je 0x4460bf
lea eax, [ebp - 0x5ec4]
push 0x517dcc
push eax
call fcn.004e07eb
push dword [ebp - 0x5ee4]
lea eax, [ebp - 0x5ec4]
push eax
call fcn.004e07eb
add esp, 0x10
mov dword [ebp - 0x5eec], 0x517aa8
mov dword [ebp - 0x5ee8], ebx
mov edi, 0x84280000
cmp dword [ebp - 0x5ee0], ebx
je 0x4460f5
mov ecx, dword [ebp - 0x5ec8]
mov edi, 0x84a80000
call fcn.00445e2c
test al, al
je 0x4460f5
mov edi, 0x84ac3000
push dword [ebp - 0x5ec8]
lea eax, [ebp - 0x5eec]
push edi
push eax
push ebx
push ebx
lea eax, [ebp - 0x5ec4]
push eax
push dword [ebp - 0x5ef0]
push dword [esi]
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov edi, dword [ebp - 0x5ed0]
mov dword [edi], eax
cmp eax, ebx
je 0x4462ce
push 0xa0000000
mov esi, 0x517a8c
push esi
call fcn.004df380
pop ecx
push eax
push esi
push dword [edi]
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
test eax, eax
je 0x4462ce
push 0x14
pop ecx
mov esi, str.Content_Type:_application_octet_stream_r_n
lea edi, [ebp - 0x8c]
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x8c]
push 0xa0000000
push eax
movsw word es:[edi], word [esi]
call fcn.004df380
mov esi, dword [ebp - 0x5ed0]
mov edi, dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
pop ecx
push eax
lea eax, [ebp - 0x8c]
push eax
push dword [esi]
call edi
test eax, eax
je 0x4462ce
cmp dword [ebp - 0x5ed4], ebx
je 0x4461bd
push 0xa0000000
push dword [ebp - 0x5ed4]
call fcn.004df380
pop ecx
push eax
push dword [ebp - 0x5ed4]
push dword [esi]
call edi
test eax, eax
je 0x4462ce
xor eax, eax
push 0x206
mov word [ebp - 0x294], ax
lea eax, [ebp - 0x292]
push ebx
push eax
call fcn.004de430
push dword [ebp + 0x20]
lea eax, [ebp - 0x294]
push str.Content_Length:__d_r_n
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
lea eax, [ebp - 0x294]
push 0xa0000000
push eax
call fcn.004df380
pop ecx
push eax
lea eax, [ebp - 0x294]
push eax
push dword [esi]
call edi
test eax, eax
je 0x4462ce
push dword [ebp + 0x20]
mov edi, dword [sym.imp.WININET.dll_HttpSendRequestW]
push dword [ebp - 0x5ed8]
push ebx
push ebx
push dword [esi]
call edi
test eax, eax
je 0x4462ce
push dword [esi]
mov ecx, dword [ebp - 0x5ec8]
call fcn.00445be4
cmp eax, 0x197
jne 0x4462b0
mov ecx, dword [ebp - 0x5ec8]
push esi
call fcn.00445c44
test eax, eax
je 0x4462b0
push 0x32
lea eax, [ebp - 0x37]
push ebx
push eax
mov byte [ebp - 0x38], bl
call fcn.004de430
add esp, 0xc
mov dword [ebp - 0x5ed0], ebx
lea eax, [ebp - 0x5ed0]
push eax
push 0x32
lea eax, [ebp - 0x38]
push eax
push dword [esi]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x446290
cmp dword [ebp - 0x5ed0], ebx
jne 0x44626f
push dword [ebp + 0x20]
push dword [ebp - 0x5ed8]
push ebx
push ebx
push dword [esi]
call edi
test eax, eax
je 0x4462ce
push dword [esi]
mov ecx, dword [ebp - 0x5ec8]
call fcn.00445be4
push dword [esi]
mov ecx, dword [ebp - 0x5ec8]
call fcn.00445be4
cmp eax, 0x12c
jae 0x4462ce
mov dword [ebp - 0x5edc], 1
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x5edc]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004dea60
leave
ret 0x2c