Function at 0x4253cd
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, 0x5ae389
call fcn.00580bb4
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.004083c5
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.005780d0
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 0x425873
push ebx
push ebx
push ebx
xor esi, esi
inc esi
push esi
push 0x682be8
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 0x425865
push dword [ebp - 0xe0]
lea esi, [ebp - 0x64]
push dword [ebp - 0xe4]
call fcn.00408163
mov byte [ebp - 4], 2
cmp dword [ebp - 0x4c], 8
mov eax, dword [ebp - 0x60]
jae 0x4254b5
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 0x425847
cmp dword [ebp - 0xe8], 4
mov dword [ebp - 0x84], 0x400f100
jne 0x42550f
mov dword [ebp - 0x84], 0x480f100
push dword [ebp - 0xbc]
lea esi, [ebp - 0x2c]
push dword [ebp - 0xc0]
call fcn.00408163
mov edi, eax
mov byte [ebp - 4], 4
push dword [ebp - 0xc4]
lea esi, [ebp - 0x48]
push dword [ebp - 0xc8]
call fcn.00408163
mov byte [ebp - 4], 5
push edi
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.0040dd70
add esp, 0xc
mov byte [ebp - 4], 7
push ebx
push 1
call fcn.00409bbf
mov byte [ebp - 4], 8
push ebx
push 1
lea esi, [ebp - 0x2c]
call fcn.00409bbf
cmp dword [ebp - 0x68], 8
mov eax, dword [ebp - 0x7c]
jae 0x425576
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 0x425814
mov edi, dword [ebp + 0xc]
mov ebx, dword [edi + 0xc]
lea esi, [ebp - 0x88]
call fcn.00428350
mov edi, dword [ebp + 0xc]
mov ebx, dword [edi + 0x10]
lea esi, [ebp - 0xac]
call fcn.00428350
mov eax, dword [ebp - 0x88]
test eax, eax
je 0x4255de
cmp eax, dword [ebp - 0xac]
je 0x4255e3
call fcn.005741fa
mov eax, dword [ebp - 0x84]
cmp eax, dword [ebp - 0xa8]
je 0x425621
lea esi, [ebp - 0x88]
call fcn.00426a4e
mov eax, dword [eax]
mov edi, dword [eax - 0xc]
call fcn.00426a4e
push 0xa0000000
push edi
push dword [eax]
push dword [ebp - 0x8c]
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
call fcn.00428370
jmp 0x4255bb
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 0x425812
mov eax, dword [ebp - 0x8c]
push 0x13
lea edi, [ebp - 0x98]
mov dword [ebp - 0x98], eax
call fcn.0041c44d
pop ecx
mov ecx, dword [ebp - 0x90]
mov dword [ecx], eax
cmp eax, 0xc8
jne 0x425812
mov ebx, dword [ebp - 0x8c]
push 5
lea edi, [ebp - 0x90]
mov dword [ebp - 0x90], ebx
call fcn.0041c44d
pop ecx
mov dword [ebp - 0x90], eax
test eax, eax
jle 0x425745
mov esi, eax
lea eax, [ebp - 0x2c]
call fcn.0040fcea
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 0x4256cb
mov dword [ebp - 0x84], ecx
lea eax, [ebp - 0x84]
push eax
push dword [ebp - 0x84]
lea ecx, [ebp - 0x2c]
push 0
call fcn.0042d1b9
mov edi, dword [sym.imp.WININET.dll_InternetReadFile]
jmp 0x42570f
cmp dword [ebp - 0x84], 0
je 0x425717
add esi, dword [ebp - 0x84]
lea eax, [ebp - 0x84]
push eax
push dword [ebp - 0x84]
lea ecx, [ebp - 0x2c]
push esi
call fcn.0042d1b9
push eax
push ebx
call edi
test eax, eax
jne 0x4256ea
cmp esi, dword [ebp - 0x90]
jne 0x425737
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x42572b
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x94]
call fcn.00408491
mov byte [ebp - 4], 9
push 0
lea ecx, [ebp - 0x2c]
jmp 0x42580b
cmp eax, 0xffffffff
jne 0x425812
xor edi, edi
push edi
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x30], 0xf
call fcn.0040ae52
mov byte [ebp - 4], 0xb
mov esi, 0x1000
lea eax, [ebp - 0x2c]
call fcn.0040fcea
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.0042d1b9
mov esi, dword [sym.imp.WININET.dll_InternetReadFile]
jmp 0x4257cf
cmp dword [ebp - 0x84], edi
je 0x4257dc
push dword [ebp - 0x84]
lea ecx, [ebp - 0x2c]
push edi
call fcn.0042d1b9
push eax
lea ecx, [ebp - 0x48]
call fcn.0040c93a
lea eax, [ebp - 0x84]
push eax
push dword [ebp - 0x18]
lea ecx, [ebp - 0x2c]
push edi
mov dword [ebp - 0x84], edi
call fcn.0042d1b9
push eax
push dword [ebp - 0x8c]
call esi
test eax, eax
jne 0x425796
cmp dword [ebp - 0x30], 0x10
mov eax, dword [ebp - 0x44]
jae 0x4257e8
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x94]
call fcn.00408491
mov byte [ebp - 4], 0xb
push edi
push 1
lea ecx, [ebp - 0x2c]
call fcn.004096f9
mov byte [ebp - 4], 9
push edi
lea ecx, [ebp - 0x48]
push 1
call fcn.004096f9
xor ebx, ebx
mov byte [ebp - 4], 8
cmp dword [ebp - 0x8c], ebx
je 0x42582c
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.00409bbf
mov eax, dword [ebp - 0x9c]
mov edi, dword [ebp - 0xa0]
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x425856
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov byte [ebp - 4], 1
push ebx
push 1
lea esi, [ebp - 0x64]
call fcn.00409bbf
mov byte [ebp - 4], bl
cmp edi, ebx
je 0x425873
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x94]
call fcn.00580c37
ret