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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcb4
mov eax, dword [0x430afc]
xor eax, ebp
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
push 0x7f02
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
push 0x28
push 0
lea eax, [ebp - 0x28]
push eax
call fcn.00417360
add esp, 0xc
push 0
push 0
lea ecx, [ebp - 0x34]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
jne 0x413119
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x41310f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error__d_encountered_by_InternetQueryDataAvailable
lea eax, [ebp - 0xe0]
push eax
call fcn.00414fc0
add esp, 0xc
lea ecx, [ebp - 0xe0]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x30]
push ecx
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
jmp 0x413345
cmp dword [ebp - 0x34], 0
jne 0x413124
jmp 0x413345
mov edx, dword [ebp - 0x34]
add edx, 1
push edx
call fcn.00416d9e
add esp, 4
mov dword [ebp - 0xca4], eax
mov eax, dword [ebp - 0xca4]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x28], 0x28
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 8]
push eax
push 0
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call dword [sym.imp.WININET.dll_InternetReadFileExW]
test eax, eax
jne 0x4131f1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x4131e2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error__d_encountered_by_InternetReadFile
lea eax, [ebp - 0xe0]
push eax
call fcn.00414fc0
add esp, 0xc
lea ecx, [ebp - 0xe0]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x30]
push ecx
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0xca8], edx
mov eax, dword [ebp - 0xca8]
push eax
call fcn.0041734a
add esp, 4
jmp 0x413345
push 0xffffffffffffffff
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jne 0x413202
jmp 0x413345
mov ecx, dword [ebp - 0x38]
add ecx, dword [ebp - 0x3c]
mov byte [ecx], 0
mov byte [ebp - 0x4d0], 0
push 0x3e7
push 0
lea edx, [ebp - 0x4cf]
push edx
call fcn.00417360
add esp, 0xc
xor eax, eax
mov word [ebp - 0xca0], ax
push 0x7ce
push 0
lea ecx, [ebp - 0xc9e]
push ecx
call fcn.00417360
add esp, 0xc
push 0x3e8
lea edx, [ebp - 0xca0]
push edx
push 0xffffffffffffffff
mov eax, dword [ebp - 0x38]
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0
push 0x3e8
lea ecx, [ebp - 0x4d0]
push ecx
push 0xffffffffffffffff
lea edx, [ebp - 0xca0]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp - 0x4d0]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x50
call fcn.00414b30
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x30]
lea eax, [edx + ecx + 1]
push eax
call fcn.00416d9e
add esp, 4
mov dword [ebp - 0xcac], eax
mov ecx, dword [ebp - 0xcac]
mov dword [ebp - 0xe4], ecx
cmp dword [ebp - 0x30], 0
je 0x4132d4
mov edx, dword [ebp - 0xe4]
add edx, dword [ebp - 0x30]
mov byte [edx], 0
jmp 0x4132dd
mov eax, dword [ebp - 0xe4]
mov byte [eax], 0
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0xe4]
push edx
call fcn.00418950
add esp, 8
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0xcb0], eax
mov ecx, dword [ebp - 0xcb0]
push ecx
call fcn.0041734a
add esp, 4
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0xcb4], edx
mov eax, dword [ebp - 0xcb4]
push eax
call fcn.0041734a
add esp, 4
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x30]
lea eax, [edx + ecx + 1]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x3c], 0
jne 0x413338
jmp 0x413345
mov ecx, 1
test ecx, ecx
jne 0x413095
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov eax, 1
mov ecx, dword [ebp - 0x40]
xor ecx, ebp
call fcn.0041733b
mov esp, ebp
pop ebp
ret 0xc