Function at 0x4082f0
Capabilities:
Read data from internet
Receive data

Disassembly:
push 0xffffffffffffffff
push 0x437846
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x848
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x18]
call fcn.0042f121
mov ecx, dword [0x448128]
xor eax, eax
mov dword [esp + 0x860], eax
mov dword [esp + 0x10], ecx
mov ebp, dword [esi + 0x70]
mov ecx, dword [esi + 0x78]
neg ebp
sbb ebp, ebp
mov byte [esp + 0x860], 1
and ebp, 0xffffffce
add ebp, 0x64
cmp ecx, 1
jne 0x40834f
mov ebp, 0x64
cmp dword [esp + 0x870], eax
je 0x40850c
mov ebx, dword [esp + 0x868]
mov dword [esi + 0x3faa0], eax
mov edi, 0x63
mov edx, dword [esi + 0x3f918]
push 0
push 0x84000002
push closesocket
push ebx
push edx
call dword [sym.imp.WININET.dll_FtpOpenFileA]
test eax, eax
mov dword [esi + 0x3f91c], eax
jne 0x4083b1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0x14]
call fcn.0043073d
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, edi
dec edi
test eax, eax
jne 0x40836e
cmp edi, 1
jge 0x4083dd
push 0x7d
mov ecx, 0x44c0d8
call dword [sym.imp.mumsg.dll_public:_char____thiscall_CMsg::Get_int_]
push eax
mov ecx, esi
call fcn.00406a90
mov ecx, dword [esi + 0x3f91c]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x40850c
mov edx, dword [0x46c134]
push edx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [esp + 0x86c]
xor ebx, ebx
push ebx
push 0x1001
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x20], ebx
call fcn.0042f233
test eax, eax
je 0x408540
cmp dword [esp + 0x870], ebx
jbe 0x408535
xor edi, edi
mov eax, dword [0x46c134]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x408535
mov eax, dword [esi + 0x3f91c]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x58]
push 0x800
push edx
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x408535
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x54]
push ecx
push edx
lea ecx, [esp + 0x20]
call fcn.0042f38a
mov edx, dword [esp + 0x14]
mov dword [esp + 0x34], ebx
add edi, edx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], ebx
fild qword [esp + 0x30]
fild qword [esp + 0x28]
fmulp st(1)
fidiv dword [esp + 0x870]
call fcn.0041a8bc
push eax
lea ecx, [esi + 0x43e20]
call fcn.0040c650
mov ecx, esi
call fcn.004056b0
push 1
push ebx
push ebx
lea eax, [esp + 0x44]
push ebx
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x4084d3
lea ecx, [esp + 0x38]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [esp + 0x38]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageA]
cmp edi, dword [esp + 0x870]
jae 0x408535
cmp dword [esi + 0x3faa0], 1
jne 0x40841e
mov eax, dword [esi + 0x3f91c]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
lea ecx, [esp + 0x18]
call fcn.0042f44e
mov ecx, dword [esp + 0x86c]
push ecx
call fcn.0042f55f
lea ecx, [esp + 0x10]
mov byte [esp + 0x860], 0
call fcn.0042edf5
lea ecx, [esp + 0x18]
mov dword [esp + 0x860], 0xffffffff
call fcn.0042f176
xor eax, eax
jmp 0x408595
lea ecx, [esp + 0x18]
call fcn.0042f44e
jmp 0x408558
push 0x89
mov ecx, 0x44c0d8
call dword [sym.imp.mumsg.dll_public:_char____thiscall_CMsg::Get_int_]
push eax
mov ecx, esi
call fcn.00406a90
mov edx, dword [esi + 0x3f91c]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
lea ecx, [esp + 0x10]
mov dword [esi + 0x3faa0], ebx
mov byte [esp + 0x860], 0
call fcn.0042edf5
lea ecx, [esp + 0x18]
mov dword [esp + 0x860], 0xffffffff
call fcn.0042f176
mov eax, 1
mov ecx, dword [esp + 0x858]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x854
ret 0xc