Function at 0x424c4d
Capabilities:
Query remote server for available data
Read data from internet
Receive data

Disassembly:
mov eax, 0x465dab
call fcn.00451324
sub esp, 0x494
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x10], esp
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x18]
push 0xffffffffffffffff
mov dword [ebp - 0x1c], eax
xor esi, esi
push esi
lea eax, [ebp - 0x20]
push eax
push 2
call dword [sym.imp.KERNEL32.DLL_WaitForMultipleObjects]
cmp eax, esi
jne 0x424ea2
push dword [ebx + 0x1c]
call dword [sym.imp.KERNEL32.DLL_ResetEvent]
mov dword [ebp - 4], esi
mov eax, dword [ebx + 0x24]
dec eax
je 0x424e01
dec eax
je 0x424dd2
dec eax
jne 0x424e90
mov eax, dword [ebx + 0x3c]
cmp eax, esi
mov dword [ebp - 0x14], esi
je 0x424cbe
cmp dword [ebx + 0x38], eax
jae 0x424d17
mov eax, dword [ebx + 8]
push esi
push esi
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
cmp eax, esi
jne 0x424d12
push 0x470e4a
lea ecx, [ebp - 0x78]
call fcn.0041b5d0
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push 0xc353
mov dword [ebx + 0x28], eax
push 1
lea eax, [ebp - 0x78]
lea esi, [ebp - 0x8c]
call fcn.0042ebc6
mov byte [ebp - 4], 2
push dword [ebx + 0x28]
push str.InternetQueryDataAvailable_failed__err_d
jmp 0x424d9f
cmp dword [ebp - 0x14], esi
jne 0x424d20
mov byte [ebx + 0x2c], 0
jmp 0x424e90
mov eax, 0x1000
cmp dword [ebp - 0x14], eax
jae 0x424d2d
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x3c]
cmp eax, esi
jbe 0x424d3f
sub eax, dword [ebx + 0x38]
cmp dword [ebp - 0x14], eax
jbe 0x424d3f
mov dword [ebp - 0x14], eax
mov edi, dword [ebp - 0x14]
mov esi, dword [ebx + 0x34]
call fcn.00424890
mov ecx, dword [ebx + 8]
and dword [ebp - 0x18], 0
lea edx, [ebp - 0x18]
push edx
push dword [ebp - 0x14]
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x424daf
push 0x470e4a
lea ecx, [ebp - 0x5c]
call fcn.0041b5d0
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push 0xc353
mov dword [ebx + 0x28], eax
push 1
lea eax, [ebp - 0x5c]
lea esi, [ebp - 0xa0]
call fcn.0042ebc6
mov byte [ebp - 4], 4
push dword [ebx + 0x28]
push str.InternetReadFile_failed__err_d
push eax
call fcn.0041aecf
add esp, 0xc
mov ecx, eax
call fcn.0041b62e
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [ebp - 0x14]
je 0x424dc5
mov eax, dword [ebx + 0x34]
cmp ecx, dword [eax + 4]
jae 0x424dc5
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x18]
test ecx, ecx
seta al
mov byte [ebx + 0x2c], al
jmp 0x424e90
mov dword [ebp - 0x14], esi
mov eax, dword [ebx + 8]
lea ecx, [ebp - 0x14]
push ecx
push 0x400
lea ecx, [ebp - 0x4a0]
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x424df8
cmp dword [ebp - 0x14], esi
ja 0x424dd5
mov byte [ebx + 0x2c], 1
jmp 0x424e90
mov eax, dword [ebx + 0x30]
cmp eax, esi
je 0x424e30
cmp dword [eax + 0x18], 0x10
mov edx, dword [eax + 0x14]
jb 0x424e16
mov eax, dword [eax + 4]
jmp 0x424e19
add eax, 4
mov ecx, dword [ebx + 8]
push edx
push eax
push esi
push esi
push ecx
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x424e30
xor eax, eax
inc eax
jmp 0x424e32
xor eax, eax
test al, al
mov byte [ebx + 0x2c], al
jne 0x424e90
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.HttpSendRequest_failed:_err_d
push esi
mov dword [ebx + 0x28], eax
call fcn.0043fb8a
add esp, 0xc
jmp 0x424e90
or dword [ebp - 4], 0xffffffff
push dword [ebx + 0x20]
call dword [sym.imp.KERNEL32.DLL_SetEvent]
jmp 0x424c66
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4