Function at 0x42c0b0
Capabilities:
Download and write a file
Query remote server for available data
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a52e0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5564a4]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [0x55865c]
push 0
mov dword [esp + 0x30], 3
call fcn.0043f4a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x40]
call eax
test eax, eax
jne 0x42c438
mov ecx, esi
call fcn.00428b90
test eax, eax
je 0x42c1ac
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
mov byte [esp + 0x2c], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c133
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x2c], 1
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c158
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x2c], 0
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c17d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c1a5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x42c4cf
mov edi, dword [esp + 0x40]
push edi
mov ecx, esi
call fcn.00429320
test eax, eax
jne 0x42c25d
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, esi
call fcn.00428b90
test eax, eax
jne 0x42c232
mov ecx, dword [0x560a8c]
mov ebx, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ecx
call ebx
mov edx, dword [0x560a88]
push edx
call ebx
push ecx
lea eax, [esp + 0x40]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.004026a0
push 0x560a8c
push 0x560a88
mov ecx, esi
call fcn.00429f50
test eax, eax
je 0x42c232
push edi
mov ecx, esi
call fcn.00429320
test eax, eax
jne 0x42c263
mov ecx, dword [0x560a8c]
push ecx
call ebx
mov edx, dword [0x560a88]
push edx
call ebx
lea ecx, [esp + 0x3c]
call fcn.00401640
lea ecx, [esp + 0x40]
call fcn.00401640
lea ecx, [esp + 0x44]
call fcn.00401640
lea ecx, [esp + 0x48]
call fcn.00401640
xor eax, eax
jmp 0x42c4cf
mov ebx, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [0x560a90]
push 0
push eax
call dword [sym.imp.WININET.dll_FtpGetFileSize]
mov ecx, esi
mov dword [esp + 0x20], eax
call fcn.00428b90
test eax, eax
je 0x42c2ad
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
mov byte [esp + 0x2c], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c2a5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
jmp 0x42c13a
mov ecx, dword [esp + 0x44]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
xor edi, edi
mov ecx, esi
mov ebp, eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], edi
call fcn.00428b90
test eax, eax
jne 0x42c390
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
nop
mov eax, dword [0x560a90]
push 0
push 0
lea edx, [esp + 0x1c]
push edx
push eax
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
je 0x42c3cb
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0x50]
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [0x560a90]
push edx
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x42c3e1
cmp eax, 1
mov eax, dword [esp + 0x18]
jne 0x42c341
test eax, eax
je 0x42c3f6
push 0
lea edx, [esp + 0x20]
push edx
push eax
mov eax, dword [esi + 0x50]
push eax
push ebp
call ebx
add edi, dword [esp + 0x1c]
cmp dword [esi + 0x3c], 0
jne 0x42c37b
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x20]
push 0
push ecx
mov edx, edi
shr edx, 0xa
push edx
shr eax, 0xa
push eax
call fcn.00420900
mov ecx, eax
call fcn.0042bce0
mov ecx, esi
call fcn.00428b90
test eax, eax
je 0x42c2f0
mov ebx, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [0x560a90]
push ecx
call ebx
lea ecx, [esp + 0x3c]
call fcn.00401640
lea ecx, [esp + 0x40]
call fcn.00401640
lea ecx, [esp + 0x44]
call fcn.00401640
lea ecx, [esp + 0x48]
call fcn.00401640
xor eax, eax
jmp 0x42c4cf
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [0x560a90]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x42c3a0
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x560a90]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x42c3a0
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [0x560a90]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
lea ecx, [esp + 0x3c]
call fcn.00401640
lea ecx, [esp + 0x40]
call fcn.00401640
lea ecx, [esp + 0x44]
call fcn.00401640
lea ecx, [esp + 0x48]
call fcn.00401640
mov eax, 1
jmp 0x42c4cf
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
mov byte [esp + 0x2c], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42c45d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
mov byte [esp + 0x2c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c482
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
mov byte [esp + 0x2c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c4a7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c4cf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 0x18