Function at 0x430fd0
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:
sub esp, 0x284
mov eax, dword [0x4642d0]
xor eax, esp
mov dword [esp + 0x280], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x298]
xor ebx, ebx
push edi
mov edi, dword [esp + 0x298]
push ebx
push 2
push 0x80000000
push edi
push dword [0x464e7c]
mov dword [esp + 0x30], 0
call dword [sym.imp.WININET.dll_FtpOpenFileA]
mov ebp, eax
mov dword [esp + 0x10], ebp
test ebp, ebp
je 0x431200
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 3
jne 0x431032
mov byte [esi + 2], bl
push edi
push esi
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [esp + 0x50]
push 0x4546d0
push eax
call esi
add esp, 0x10
lea eax, [esp + 0x48]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esp + 0x24], eax
cmp eax, 0xffffffff
jne 0x431076
xor esi, esi
jmp 0x4311da
push edi
lea eax, [esp + 0x150]
push 0x455964
push eax
call esi
add esp, 0xc
lea eax, [esp + 0x14c]
push eax
push 0x849
push dword [0x4702c0]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
mov ebp, dword [sym.imp.USER32.dll_TranslateMessage]
mov dword [esp + 0x20], eax
nop dword [eax + eax]
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x14]
push 0
push 0
push eax
push esi
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test ebx, ebx
je 0x4310eb
push ebx
call fcn.004441a8
mov ecx, dword [esp + 0x18]
add esp, 4
cmp eax, ecx
jae 0x4310ff
jmp 0x4310ef
mov ecx, dword [esp + 0x14]
push ecx
push ebx
call fcn.004441db
mov ecx, dword [esp + 0x1c]
add esp, 8
mov ebx, eax
lea eax, [esp + 0x18]
push eax
push ecx
push ebx
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
mov esi, eax
test esi, esi
je 0x4311d6
cmp dword [0x464e74], 0
je 0x4311d4
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4311d6
push 0
lea ecx, [esp + 0x2c]
push ecx
push eax
push ebx
push dword [esp + 0x34]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov esi, dword [esp + 0x1c]
add esi, dword [esp + 0x18]
mov dword [esp + 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [esp + 0x20]
je 0x43117e
push dword [esp + 0x2a0]
push esi
push 0x401
push dword [0x4702c0]
call dword [sym.imp.USER32.dll_SendMessageA]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x20], eax
push 1
push 0
push 0
push 0
lea eax, [esp + 0x3c]
push eax
call edi
test eax, eax
je 0x4310c0
lea eax, [esp + 0x2c]
push eax
push dword [0x4702c0]
call dword [sym.imp.USER32.dll_IsDialogMessageA]
test eax, eax
jne 0x4311bc
lea eax, [esp + 0x2c]
push eax
call ebp
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 1
push 0
push 0
push 0
lea eax, [esp + 0x3c]
push eax
call edi
test eax, eax
jne 0x431195
jmp 0x4310c0
xor esi, esi
mov ebp, dword [esp + 0x10]
push ebp
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [esp + 0x24]
cmp eax, 0xffffffff
je 0x4311f1
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x4311fe
push ebx
call fcn.00444198
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x290]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043fe9e
add esp, 0x284
ret