Function at 0x425703
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, 0x5ae71d
call fcn.00580ed4
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.004083f9
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.005783f0
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 0x425ba9
push ebx
push ebx
push ebx
xor esi, esi
inc esi
push esi
push 0x670fd0
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 0x425b9b
push dword [ebp - 0xe0]
lea esi, [ebp - 0x64]
push dword [ebp - 0xe4]
call fcn.00408197
mov byte [ebp - 4], 2
cmp dword [ebp - 0x4c], 8
mov eax, dword [ebp - 0x60]
jae 0x4257eb
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 0x425b7d
cmp dword [ebp - 0xe8], 4
mov dword [ebp - 0x84], 0x400f100
jne 0x425845
mov dword [ebp - 0x84], 0x480f100
push dword [ebp - 0xbc]
lea esi, [ebp - 0x2c]
push dword [ebp - 0xc0]
call fcn.00408197
mov edi, eax
mov byte [ebp - 4], 4
push dword [ebp - 0xc4]
lea esi, [ebp - 0x48]
push dword [ebp - 0xc8]
call fcn.00408197
mov byte [ebp - 4], 5
push edi
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.0040ddaf
add esp, 0xc
mov byte [ebp - 4], 7
push ebx
push 1
call fcn.00409c0f
mov byte [ebp - 4], 8
push ebx
push 1
lea esi, [ebp - 0x2c]
call fcn.00409c0f
cmp dword [ebp - 0x68], 8
mov eax, dword [ebp - 0x7c]
jae 0x4258ac
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 0x425b4a
mov edi, dword [ebp + 0xc]
mov ebx, dword [edi + 0xc]
lea esi, [ebp - 0x88]
call fcn.00416c53
mov edi, dword [ebp + 0xc]
mov ebx, dword [edi + 0x10]
lea esi, [ebp - 0xac]
call fcn.00416c53
mov eax, dword [ebp - 0x88]
test eax, eax
je 0x425914
cmp eax, dword [ebp - 0xac]
je 0x425919
call fcn.0057451a
mov eax, dword [ebp - 0x84]
cmp eax, dword [ebp - 0xa8]
je 0x425957
lea esi, [ebp - 0x88]
call fcn.0043c532
mov eax, dword [eax]
mov edi, dword [eax - 0xc]
call fcn.0043c532
push 0xa0000000
push edi
push dword [eax]
push dword [ebp - 0x8c]
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
call fcn.004284fe
jmp 0x4258f1
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 0x425b48
mov eax, dword [ebp - 0x8c]
push 0x13
lea edi, [ebp - 0x98]
mov dword [ebp - 0x98], eax
call fcn.0041c7ba
pop ecx
mov ecx, dword [ebp - 0x90]
mov dword [ecx], eax
cmp eax, 0xc8
jne 0x425b48
mov ebx, dword [ebp - 0x8c]
push 5
lea edi, [ebp - 0x90]
mov dword [ebp - 0x90], ebx
call fcn.0041c7ba
pop ecx
mov dword [ebp - 0x90], eax
test eax, eax
jle 0x425a7b
mov esi, eax
lea eax, [ebp - 0x2c]
call fcn.0040fd33
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 0x425a01
mov dword [ebp - 0x84], ecx
lea eax, [ebp - 0x84]
push eax
push dword [ebp - 0x84]
lea ecx, [ebp - 0x2c]
push 0
call fcn.0042ced6
mov edi, dword [sym.imp.WININET.dll_InternetReadFile]
jmp 0x425a45
cmp dword [ebp - 0x84], 0
je 0x425a4d
add esi, dword [ebp - 0x84]
lea eax, [ebp - 0x84]
push eax
push dword [ebp - 0x84]
lea ecx, [ebp - 0x2c]
push esi
call fcn.0042ced6
push eax
push ebx
call edi
test eax, eax
jne 0x425a20
cmp esi, dword [ebp - 0x90]
jne 0x425a6d
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x425a61
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x94]
call fcn.004084c5
mov byte [ebp - 4], 9
push 0
lea ecx, [ebp - 0x2c]
jmp 0x425b41
cmp eax, 0xffffffff
jne 0x425b48
xor edi, edi
push edi
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x30], 0xf
call fcn.0040b052
mov byte [ebp - 4], 0xb
mov esi, 0x1000
lea eax, [ebp - 0x2c]
call fcn.0040fd33
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.0042ced6
mov esi, dword [sym.imp.WININET.dll_InternetReadFile]
jmp 0x425b05
cmp dword [ebp - 0x84], edi
je 0x425b12
push dword [ebp - 0x84]
lea ecx, [ebp - 0x2c]
push edi
call fcn.0042ced6
push eax
lea ecx, [ebp - 0x48]
call fcn.0040c9a2
lea eax, [ebp - 0x84]
push eax
push dword [ebp - 0x18]
lea ecx, [ebp - 0x2c]
push edi
mov dword [ebp - 0x84], edi
call fcn.0042ced6
push eax
push dword [ebp - 0x8c]
call esi
test eax, eax
jne 0x425acc
cmp dword [ebp - 0x30], 0x10
mov eax, dword [ebp - 0x44]
jae 0x425b1e
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x94]
call fcn.004084c5
mov byte [ebp - 4], 0xb
push edi
push 1
lea ecx, [ebp - 0x2c]
call fcn.00409746
mov byte [ebp - 4], 9
push edi
lea ecx, [ebp - 0x48]
push 1
call fcn.00409746
xor ebx, ebx
mov byte [ebp - 4], 8
cmp dword [ebp - 0x8c], ebx
je 0x425b62
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.00409c0f
mov eax, dword [ebp - 0x9c]
mov edi, dword [ebp - 0xa0]
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x425b8c
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov byte [ebp - 4], 1
push ebx
push 1
lea esi, [ebp - 0x64]
call fcn.00409c0f
mov byte [ebp - 4], bl
cmp edi, ebx
je 0x425ba9
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x94]
call fcn.00580f57
ret