Function at 0x424ce0
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 0x576d83
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1090
call fcn.0053f090
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 esi, ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x109c], ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x107c], 0
mov dword [ebp - 0x1068], ecx
mov ecx, dword [ebp + 0x18]
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
mov dword [ebp - 0x1098], esi
mov dword [ebp - 0x1084], eax
mov dword [ebp - 0x1078], eax
mov dword [ebp - 0x106c], ecx
mov byte [eax], 0
mov dword [ebp - 0x107c], 1
mov dword [ebp - 4], 1
test ebx, ebx
je 0x4250ae
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x424d84
sub ecx, edx
je 0x4250ae
mov eax, dword [esi + 0x14]
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
test eax, eax
je 0x424daa
push eax
call edi
mov dword [esi + 0x14], 0
mov eax, dword [esi + 0x10]
test eax, eax
je 0x424dbb
push eax
call edi
mov dword [esi + 0x10], 0
mov eax, dword [esi + 0xc]
test eax, eax
je 0x424dcc
push eax
call edi
mov dword [esi + 0xc], 0
push 0
push 0
push 0
push 0
push 0x5d35c4
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi + 0xc], eax
test eax, eax
jne 0x424e01
push 0x5e37b4
lea eax, [ebp - 0x108c]
mov dword [ebp - 0x108c], 1
push eax
call fcn.0053d5d3
mov dword [ebp - 0x1070], 0x50
mov dword [ebp - 0x1034], 0xf
mov dword [ebp - 0x1038], 0
mov byte [ebp - 0x1048], 0
mov dword [ebp - 0x101c], 0xf
mov dword [ebp - 0x1020], 0
mov byte [ebp - 0x1030], 0
lea eax, [ebp - 0x1070]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x1030]
mov ecx, ebx
push eax
lea edx, [ebp - 0x1048]
call fcn.004267a0
mov ecx, dword [ebp - 0x1070]
mov eax, 0x1bb
add esp, 8
cmp cx, ax
jne 0x424e77
mov byte [esi + 8], 1
cmp dword [ebp - 0x1034], 0x10
lea eax, [ebp - 0x1048]
push 0
cmovae eax, dword [ebp - 0x1048]
push 0
push 3
push 0
push 0
push ecx
push eax
push dword [esi + 0xc]
call dword [sym.imp.WININET.dll_InternetConnectA]
mov edx, eax
mov dword [esi + 0x10], edx
test edx, edx
jne 0x424ec4
push 0x5e37b4
lea eax, [ebp - 0x1094]
mov dword [ebp - 0x1094], 2
push eax
call fcn.0053d5d3
cmp byte [esi + 8], 0
mov eax, 0x80802000
push 0
mov ecx, SysReAllocString
cmovne ecx, eax
cmp dword [ebp - 0x101c], 0x10
push ecx
push 0
push 0
push 0x5d35e0
lea eax, [ebp - 0x1030]
mov ecx, 0x5d35f0
cmovae eax, dword [ebp - 0x1030]
cmp dword [ebp - 0x109c], 0
push eax
mov eax, 0x5d35ec
cmovne eax, ecx
push eax
push edx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov dword [esi + 0x14], eax
test eax, eax
jne 0x424f34
push 0x5e37b4
lea eax, [ebp - 0x1090]
mov dword [ebp - 0x1090], 1
push eax
call fcn.0053d5d3
mov eax, dword [ebp - 0x106c]
test eax, eax
jne 0x424f42
xor edi, edi
jmp 0x424f50
mov edi, eax
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x424f47
sub edi, ecx
mov eax, dword [ebp - 0x1068]
test eax, eax
jne 0x424f5e
xor ebx, ebx
jmp 0x424f6c
mov ebx, eax
lea ecx, [ebx + 1]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x424f63
sub ebx, ecx
lea eax, [ebp - 0x1060]
push eax
lea ecx, [esi + 0x18]
call fcn.00428370
mov byte [ebp - 4], 4
lea eax, [ebp - 0x1060]
cmp dword [ebp - 0x104c], 0x10
push 0xa0000000
push dword [ebp - 0x1050]
cmovae eax, dword [ebp - 0x1060]
push eax
push dword [esi + 0x14]
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
mov ecx, dword [ebp - 0x1068]
push ebx
push ecx
mov ecx, dword [ebp - 0x106c]
push edi
push ecx
push dword [esi + 0x14]
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x424fe0
push 0x5e37b4
lea eax, [ebp - 0x1074]
mov dword [ebp - 0x1074], 3
push eax
call fcn.0053d5d3
mov ecx, esi
call fcn.004261f0
mov dword [esi + 4], eax
cmp eax, 0x194
jne 0x42500c
push 0x5e37b4
lea eax, [ebp - 0x1080]
mov dword [ebp - 0x1080], 5
push eax
call fcn.0053d5d3
push 0x1000
lea eax, [ebp - 0x1017]
mov byte [ebp - 0x1018], 0
push 0
push eax
call fcn.0053f0c0
mov ebx, dword [sym.imp.WININET.dll_InternetReadFile]
add esp, 0xc
mov edi, dword [ebp - 0x1084]
mov dword [ebp - 0x1064], 0x1000
nop
lea eax, [ebp - 0x1064]
push eax
push 0x1000
lea eax, [ebp - 0x1018]
push eax
push dword [esi + 0x14]
call ebx
test eax, eax
je 0x42508b
mov eax, dword [ebp - 0x1064]
test eax, eax
je 0x42508b
cmp eax, 0x1001
jae 0x425086
push eax
mov byte [ebp + eax - 0x1018], 0
mov ecx, edi
lea eax, [ebp - 0x1018]
push eax
call fcn.00423460
jmp 0x425040
call fcn.00543338
lea ecx, [ebp - 0x1060]
call fcn.00420f60
lea ecx, [ebp - 0x1030]
call fcn.00420f60
lea ecx, [ebp - 0x1048]
call fcn.00420f60
jmp 0x4250ea
push 0x5e37b4
lea eax, [ebp - 0x1088]
mov dword [ebp - 0x1088], 0xe
push eax
call fcn.0053d5d3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [ebp - 0x1098]
mov ecx, dword [ebp - 0x10a0]
mov dword [eax + 0x78], ecx
mov eax, 0x4250e4
ret
mov eax, edi
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 0x14