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

Disassembly:
sub esp, 0x658
mov eax, dword [0x4642d0]
xor eax, esp
mov dword [esp + 0x654], eax
mov eax, dword [esp + 0x660]
push ebx
push ebp
mov ebp, dword [esp + 0x664]
xor ebx, ebx
push edi
push ebx
push 0x42eb80
push dword [0x464d0c]
mov dword [esp + 0x1c], ebp
push 0xe1
push dword [0x464d08]
mov dword [esp + 0x34], eax
mov dword [0x464e74], 1
call dword [sym.imp.USER32.dll_CreateDialogParamA]
push 0x455344
mov edi, eax
push 0x849
push edi
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push 0x4556dc
push edi
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 5
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
call dword [sym.imp.USER32.dll_UpdateWindow]
push ebx
push dword [0x464d0c]
call dword [sym.imp.USER32.dll_EnableWindow]
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x190]
push eax
lea eax, [esp + 0x1b4]
push eax
lea eax, [esp + 0x1d8]
push eax
push ebp
call fcn.0043f8f0
push dword [esp + 0x40]
lea eax, [esp + 0x1a4]
push eax
lea eax, [esp + 0x1c8]
push eax
lea eax, [esp + 0x1ec]
push eax
call fcn.0042fe80
add esp, 0x28
test eax, eax
jne 0x42fff2
push eax
push 0x45353c
push 0x4556ec
push dword [0x464d0c]
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ebp, dword [esp + 0x14]
jmp 0x4302ad
push esi
push 0x2f
push dword [esp + 0x14]
call fcn.004419c0
mov esi, eax
add esp, 8
test esi, esi
je 0x430059
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcpynA]
nop dword [eax]
mov ecx, dword [esp + 0x10]
mov eax, esi
sub eax, ecx
inc eax
push eax
push ecx
lea eax, [esp + 0x2d4]
push eax
call ebp
lea eax, [esp + 0x2cc]
push eax
push dword [0x464e7c]
call dword [sym.imp.WININET.dll_FtpSetCurrentDirectoryA]
test eax, eax
je 0x4300c6
lea eax, [esi + 1]
push 0x2f
push eax
mov dword [esp + 0x18], eax
call fcn.004419c0
mov esi, eax
add esp, 8
test esi, esi
jne 0x430010
push 0
push 0
lea eax, [esp + 0x54]
push eax
push dword [esp + 0x1c]
push dword [0x464e7c]
call dword [sym.imp.WININET.dll_FtpFindFirstFileA]
test eax, eax
je 0x4302a3
mov ebp, dword [esp + 0x6c]
push eax
mov dword [esp + 0x1c], ebp
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push 0
push 2
push 0x80000000
push dword [esp + 0x1c]
push dword [0x464e7c]
call dword [sym.imp.WININET.dll_FtpOpenFileA]
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x4300e3
push eax
push 0x45353c
push 0x455748
push dword [0x464d0c]
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x4302a7
push 0
push 0x45353c
push 0x45571c
push dword [0x464d0c]
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x4302a3
cmp ebp, 0x1e00000
jbe 0x430108
push 0
push 0x45353c
push 0x45577c
push dword [0x464d0c]
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x4302a7
lea eax, [esp + 0x3d0]
push eax
push dword [esp + 0x18]
call fcn.0043ec80
lea eax, [esp + 0x3d8]
push eax
lea eax, [esp + 0x4e0]
push 0x45539c
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
lea eax, [esp + 0x4d4]
push eax
push 0x849
push edi
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
lea esi, [ebp + 2]
push esi
call fcn.0044419d
mov ebx, dword [esp + 0x28]
push esi
push 0
push eax
mov dword [ebx], eax
call fcn.004421e0
mov eax, dword [ebx]
add esp, 0x10
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x20]
push 0
push 0
push eax
push ebx
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x24]
push dword [esp + 0x18]
push ebx
call dword [sym.imp.WININET.dll_InternetReadFile]
mov ebx, eax
mov dword [esp + 0x14], ebx
test ebx, ebx
je 0x43027b
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
mov ebx, dword [sym.imp.USER32.dll_IsDialogMessageA]
mov ebp, dword [sym.imp.USER32.dll_TranslateMessage]
nop dword [eax]
nop dword [eax + eax]
cmp dword [0x464e74], 0
je 0x430295
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x430295
mov eax, dword [esp + 0x10]
push dword [esp + 0x18]
add eax, ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x14], eax
sub eax, dword [ecx]
push eax
push 0x401
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
push 1
push 0
push 0
push 0
lea eax, [esp + 0x40]
push eax
call esi
test eax, eax
je 0x430241
nop dword [eax]
lea eax, [esp + 0x30]
push eax
push edi
call ebx
test eax, eax
jne 0x43022e
lea eax, [esp + 0x30]
push eax
call ebp
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 1
push 0
push 0
push 0
lea eax, [esp + 0x40]
push eax
call esi
test eax, eax
jne 0x430210
push 0
push 0
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x28]
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x24]
push dword [esp + 0x18]
push dword [esp + 0x28]
call dword [sym.imp.WININET.dll_InternetReadFile]
mov ecx, eax
mov dword [esp + 0x14], ecx
test ecx, ecx
jne 0x4301c0
mov ebx, eax
push 0
push 0x45353c
push 0x4557a4
push dword [0x464d0c]
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x430299
mov ebx, dword [esp + 0x14]
push dword [esp + 0x1c]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ebp, dword [esp + 0x18]
call fcn.00430420
pop esi
push 1
push dword [0x464d0c]
call dword [sym.imp.USER32.dll_EnableWindow]
push edi
call dword [sym.imp.USER32.dll_DestroyWindow]
cmp ebx, 1
jne 0x4302e9
cmp dword [0x464e74], ebx
jne 0x4302e9
pop edi
mov eax, ebp
pop ebp
pop ebx
mov ecx, dword [esp + 0x654]
xor ecx, esp
call fcn.0043fe9e
add esp, 0x658
ret
mov ecx, dword [esp + 0x660]
or eax, 0xffffffff
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043fe9e
add esp, 0x658
ret