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

Disassembly:
mov eax, 0x4671a2
call fcn.00452544
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 0x4258ab
push dword [ebx + 0x1c]
call dword [sym.imp.KERNEL32.DLL_ResetEvent]
mov dword [ebp - 4], esi
mov eax, dword [ebx + 0x24]
dec eax
je 0x42580a
dec eax
je 0x4257db
dec eax
jne 0x425899
mov eax, dword [ebx + 0x3c]
cmp eax, esi
mov dword [ebp - 0x14], esi
je 0x4256c7
cmp dword [ebx + 0x38], eax
jae 0x425720
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 0x42571b
push 0x471e5a
lea ecx, [ebp - 0x78]
call fcn.0041be0b
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.0042fe1c
mov byte [ebp - 4], 2
push dword [ebx + 0x28]
push str.InternetQueryDataAvailable_failed__err_d
jmp 0x4257a8
cmp dword [ebp - 0x14], esi
jne 0x425729
mov byte [ebx + 0x2c], 0
jmp 0x425899
mov eax, 0x1000
cmp dword [ebp - 0x14], eax
jae 0x425736
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x3c]
cmp eax, esi
jbe 0x425748
sub eax, dword [ebx + 0x38]
cmp dword [ebp - 0x14], eax
jbe 0x425748
mov dword [ebp - 0x14], eax
mov edi, dword [ebp - 0x14]
mov esi, dword [ebx + 0x34]
call fcn.00425299
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 0x4257b8
push 0x471e5a
lea ecx, [ebp - 0x5c]
call fcn.0041be0b
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.0042fe1c
mov byte [ebp - 4], 4
push dword [ebx + 0x28]
push str.InternetReadFile_failed__err_d
push eax
call fcn.0041b692
add esp, 0xc
mov ecx, eax
call fcn.0041be69
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [ebp - 0x14]
je 0x4257ce
mov eax, dword [ebx + 0x34]
cmp ecx, dword [eax + 4]
jae 0x4257ce
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x18]
test ecx, ecx
seta al
mov byte [ebx + 0x2c], al
jmp 0x425899
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 0x425801
cmp dword [ebp - 0x14], esi
ja 0x4257de
mov byte [ebx + 0x2c], 1
jmp 0x425899
mov eax, dword [ebx + 0x30]
cmp eax, esi
je 0x425839
cmp dword [eax + 0x18], 0x10
mov edx, dword [eax + 0x14]
jb 0x42581f
mov eax, dword [eax + 4]
jmp 0x425822
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 0x425839
xor eax, eax
inc eax
jmp 0x42583b
xor eax, eax
test al, al
mov byte [ebx + 0x2c], al
jne 0x425899
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.HttpSendRequest_failed:_err_d
push esi
mov dword [ebx + 0x28], eax
call fcn.00441366
add esp, 0xc
jmp 0x425899
or dword [ebp - 4], 0xffffffff
push dword [ebx + 0x20]
call dword [sym.imp.KERNEL32.DLL_SetEvent]
jmp 0x42566f
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4