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

Disassembly:
mov eax, 0x419a66
call fcn.004107f0
mov eax, 0x102c
call fcn.004110f0
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 0x180], ebx
je 0x405f65
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x28], al
call fcn.00403899
mov edi, dword [ebp + 8]
push edi
call fcn.00410840
pop ecx
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.00403ecb
lea eax, [ebp - 0x28]
mov dword [ebp - 4], ebx
mov ebx, dword [esi + 0x188]
push eax
lea eax, [ebp - 0x18]
lea ecx, [esi + 0x184]
push eax
call fcn.00406615
cmp dword [ebp - 0x18], ebx
push 1
pop ebx
lea ecx, [ebp - 0x28]
sete byte [ebp - 0xd]
or dword [ebp - 4], 0xffffffff
push ebx
call fcn.00403899
cmp byte [ebp - 0xd], 0
jne 0x405f65
push edi
push 0x17
mov ecx, esi
call fcn.00406dc5
push eax
lea eax, [esi + 0x10]
push eax
call fcn.00401668
add esp, 0xc
push 0
push 0x4000002
push 0x80000000
push edi
push dword [esi + 0x180]
call dword [sym.imp.WININET.dll_FtpOpenFileA]
test eax, eax
mov dword [ebp - 0x18], eax
je 0x405f65
mov al, byte [ebp + 0xb]
and dword [ebp - 0x14], 0
push 0
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x28], al
call fcn.00403899
push edi
call fcn.00410840
pop ecx
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.00403ecb
lea eax, [ebp - 0x28]
lea ecx, [esi + 0x184]
push eax
mov dword [ebp - 4], ebx
call fcn.0040658a
mov ebx, dword [eax]
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x28]
call fcn.00403899
push 0x4c
call fcn.004109b0
mov edi, eax
pop ecx
mov dword [ebp - 0x30], edi
test edi, edi
mov dword [ebp - 4], 2
je 0x405e79
mov ecx, edi
call fcn.00405f78
mov dword [edi], 0x41a52c
lea ecx, [edi + 0x38]
mov byte [ebp - 4], 3
call fcn.0040607d
mov dword [edi], 0x41a528
jmp 0x405e7b
xor edi, edi
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1038]
push 0x1000
push eax
push dword [ebp - 0x18]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x405f0d
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x405f0d
add dword [ebp - 0x14], eax
lea eax, [ebp + eax - 0x1038]
push eax
lea eax, [ebp - 0x1038]
push eax
lea ecx, [edi + 0x3c]
push dword [edi + 0x44]
call fcn.00403679
push ebx
lea eax, [esi + 0x10]
push dword [ebp - 0x14]
push dword [ebp + 8]
push str._s____d__d
push eax
call fcn.00401668
mov eax, dword [ebp - 0x14]
and dword [ebp - 0x34], 0
mov dword [ebp - 0x38], eax
and dword [ebp - 0x1c], 0
fild qword [ebp - 0x38]
mov dword [ebp - 0x20], ebx
add esp, 0x14
fmul dword [0x41a524]
push 0x3e8
fidiv dword [ebp - 0x20]
call fcn.004110c8
push eax
lea ecx, [esi + 0x48]
call fcn.00401698
jmp 0x405e7f
push dword [ebp - 0x18]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [ebp - 0x14], ebx
jne 0x405f59
lea eax, [edi + 0x38]
mov ecx, edi
push eax
call fcn.00401748
test al, al
je 0x405f59
mov eax, dword [esi + 0x1dc]
lea ecx, [esi + 0x1d8]
mov dword [ebp + 8], edi
lea edx, [ebp + 8]
mov eax, dword [eax]
push edx
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00403a63
push edi
lea ecx, [esi + 0x1e4]
call fcn.00402871
mov al, 1
jmp 0x405f67
test edi, edi
je 0x405f65
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4