Function at 0x425bb0
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x576ea1
mov eax, dword fs:[0]
push eax
sub esp, 0x898
mov eax, dword [0x5ef2a0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x888], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x87c], edi
mov dword [ebp - 0x88c], eax
mov byte [ebp - 0x862], 0
mov dword [ebp - 0x86c], 0
mov dword [ebp - 4], 0
test ebx, ebx
je 0x425fee
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x425c23
sub ecx, edx
sar ecx, 1
je 0x425fee
mov eax, dword [edi + 0x14]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
test eax, eax
je 0x425c4f
push eax
call esi
mov dword [edi + 0x14], 0
mov eax, dword [edi + 0x10]
test eax, eax
je 0x425c60
push eax
call esi
mov dword [edi + 0x10], 0
mov eax, dword [edi + 0xc]
test eax, eax
je 0x425c71
push eax
call esi
mov dword [edi + 0xc], 0
push 0
push 0
push 0
push 0
push 0x5d35c4
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [edi + 0xc], eax
test eax, eax
jne 0x425ca6
push 0x5e37b4
lea eax, [ebp - 0x89c]
mov dword [ebp - 0x89c], 1
push eax
call fcn.0053d5d3
xor eax, eax
mov dword [ebp - 0x870], 0x50
mov dword [ebp - 0x81c], 7
mov dword [ebp - 0x820], 0
mov word [ebp - 0x830], ax
mov dword [ebp - 0x834], 7
mov dword [ebp - 0x838], eax
mov word [ebp - 0x848], ax
lea eax, [ebp - 0x870]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x848]
mov ecx, ebx
push eax
lea edx, [ebp - 0x830]
call fcn.00423cb0
mov ecx, dword [ebp - 0x870]
mov eax, 0x1bb
add esp, 8
cmp cx, ax
jne 0x425d1a
mov byte [edi + 8], 1
cmp dword [ebp - 0x81c], 8
lea eax, [ebp - 0x830]
push 0
cmovae eax, dword [ebp - 0x830]
push 0
push 3
push 0
push 0
push ecx
push eax
push dword [edi + 0xc]
call dword [sym.imp.WININET.dll_InternetConnectW]
mov edx, eax
mov dword [edi + 0x10], edx
test edx, edx
jne 0x425d67
push 0x5e37b4
lea eax, [ebp - 0x890]
mov dword [ebp - 0x890], 2
push eax
call fcn.0053d5d3
cmp byte [edi + 8], 0
mov eax, 0x80802000
push 0
mov ecx, SysReAllocString
cmovne ecx, eax
cmp dword [ebp - 0x834], 8
push ecx
push 0
push 0
push 0x5d35f8
lea eax, [ebp - 0x848]
cmovae eax, dword [ebp - 0x848]
push eax
push 0x5d360c
push edx
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [edi + 0x14], eax
test eax, eax
jne 0x425dc7
push 0x5e37b4
lea eax, [ebp - 0x898]
mov dword [ebp - 0x898], 1
push eax
call fcn.0053d5d3
lea eax, [ebp - 0x860]
push eax
lea ecx, [edi + 0x18]
call fcn.00428370
mov byte [ebp - 4], 3
lea eax, [ebp - 0x860]
cmp dword [ebp - 0x84c], 0x10
push 0xa0000000
push dword [ebp - 0x850]
cmovae eax, dword [ebp - 0x860]
push eax
push dword [edi + 0x14]
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
push 0
push 0
push 0
push 0
push dword [edi + 0x14]
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x425e33
push 0x5e37b4
lea eax, [ebp - 0x8a0]
mov dword [ebp - 0x8a0], 3
push eax
call fcn.0053d5d3
xor eax, eax
push 0x800
push eax
mov word [ebp - 0x818], ax
lea eax, [ebp - 0x816]
push eax
call fcn.0053f0c0
add esp, 0xc
mov dword [ebp - 0x868], 0x400
mov ecx, edi
call fcn.004261f0
mov dword [edi + 4], eax
cmp eax, 0x194
jne 0x425e87
push 0x5e37b4
lea eax, [ebp - 0x894]
mov dword [ebp - 0x894], 5
push eax
call fcn.0053d5d3
push 0
lea eax, [ebp - 0x868]
push eax
lea eax, [ebp - 0x818]
push eax
push 5
push dword [edi + 0x14]
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f76
setne al
mov byte [ebp - 0x861], al
test esi, esi
jne 0x425edb
test al, al
je 0x425f35
push 0x5e37b4
lea eax, [ebp - 0x874]
mov dword [ebp - 0x874], 4
push eax
call fcn.0053d5d3
test al, al
je 0x425f35
mov eax, dword [ebp - 0x868]
add eax, eax
cmp eax, 0x802
jae 0x425f30
xor ecx, ecx
mov word [ebp + eax - 0x818], cx
lea eax, [ebp - 0x818]
push eax
call fcn.0053faf3
mov esi, eax
add esp, 4
cmp esi, 0x800000
jg 0x425f15
test esi, esi
jns 0x425f3a
push 0x5e37b4
lea eax, [ebp - 0x880]
mov dword [ebp - 0x880], 0xc
push eax
call fcn.0053d5d3
call fcn.00543338
mov esi, 0x800000
push esi
call fcn.0053f188
add esp, 4
mov dword [ebp - 0x86c], eax
lea ecx, [ebp - 0x868]
xor ebx, ebx
push ecx
push esi
push eax
push dword [edi + 0x14]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x425f8b
mov eax, dword [ebp - 0x868]
test eax, eax
je 0x425f8b
add ebx, eax
lea eax, [ebp - 0x868]
push eax
mov eax, dword [ebp - 0x86c]
push esi
add eax, ebx
push eax
push dword [edi + 0x14]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x425f61
cmp byte [ebp - 0x861], 0
je 0x425fb3
cmp esi, ebx
je 0x425fb3
push 0x5e37b4
lea eax, [ebp - 0x884]
mov dword [ebp - 0x884], 8
push eax
call fcn.0053d5d3
mov ecx, dword [ebp - 0x888]
mov eax, dword [ebp - 0x86c]
mov dword [ecx], eax
lea ecx, [ebp - 0x860]
mov eax, dword [ebp - 0x88c]
mov dword [eax], ebx
mov bl, 1
call fcn.00420f60
lea ecx, [ebp - 0x848]
call fcn.00424b40
lea ecx, [ebp - 0x830]
call fcn.00424b40
jmp 0x426037
push 0x5e37b4
lea eax, [ebp - 0x878]
mov dword [ebp - 0x878], 6
push eax
call fcn.0053d5d3
mov eax, dword [ebp - 0x87c]
mov ecx, dword [ebp - 0x8a4]
mov dword [eax + 0x78], ecx
mov eax, dword [ebp - 0x86c]
test eax, eax
je 0x42602b
push eax
call fcn.0053f150
add esp, 4
mov eax, 0x426031
ret
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0053d5c4
mov esp, ebp
pop ebp
ret 0xc