Function at 0x430450
Capabilities:
Send data

Disassembly:
sub esp, 0x514
mov eax, dword [0x4642d0]
xor eax, esp
mov dword [esp + 0x510], eax
mov eax, dword [esp + 0x51c]
push ebx
push ebp
mov ebp, dword [esp + 0x520]
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 + 0x2c], 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 0x4557c8
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 + 0x1c]
push eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x94]
push eax
push ebp
call fcn.0043f8f0
push dword [esp + 0x34]
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x84]
push eax
lea eax, [esp + 0xa8]
push eax
call fcn.0042fe80
add esp, 0x28
test eax, eax
jne 0x430545
push eax
push 0x45353c
push 0x4557d4
push dword [0x464d0c]
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x430752
push esi
push 0x2f
push dword [esp + 0x14]
call fcn.004419c0
mov esi, eax
add esp, 8
test esi, esi
je 0x4305a9
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov ecx, dword [esp + 0x10]
mov eax, esi
sub eax, ecx
inc eax
push eax
push ecx
lea eax, [esp + 0x190]
push eax
call ebp
lea eax, [esp + 0x188]
push eax
push dword [0x464e7c]
call dword [sym.imp.WININET.dll_FtpSetCurrentDirectoryA]
test eax, eax
je 0x4305e6
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 0x430560
mov ebp, dword [esp + 0x14]
push 0
push 2
push 0x40000000
push dword [esp + 0x1c]
push dword [0x464e7c]
call dword [sym.imp.WININET.dll_FtpOpenFileA]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x430603
push eax
push 0x45353c
push 0x455804
push dword [0x464d0c]
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x43074c
push 0
push 0x45353c
push 0x45571c
push dword [0x464d0c]
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x43074c
lea eax, [esp + 0x28c]
push eax
push ebp
call fcn.0043ec80
lea eax, [esp + 0x294]
push eax
lea eax, [esp + 0x39c]
push 0x45539c
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
lea eax, [esp + 0x390]
push eax
push 0x849
push edi
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov eax, dword [esp + 0x1c]
push eax
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, eax
mov edx, 0x2710
cmp ecx, edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x28], ecx
cmova eax, edx
test eax, eax
je 0x43073d
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
mov ebp, dword [sym.imp.USER32.dll_IsDialogMessageA]
nop word [eax + eax]
lea ecx, [esp + 0x24]
push ecx
push eax
push dword [esp + 0x18]
push dword [esp + 0x20]
call dword [sym.imp.WININET.dll_InternetWriteFile]
mov ebx, eax
test ebx, ebx
je 0x430785
cmp dword [0x464e74], 0
je 0x430781
mov ecx, dword [esp + 0x10]
add ecx, dword [esp + 0x24]
push dword [esp + 0x28]
mov ebx, dword [esp + 0x1c]
sub ebx, dword [esp + 0x28]
mov dword [esp + 0x14], ecx
sub ecx, dword [esp + 0x20]
push ecx
push 0x401
push edi
mov dword [esp + 0x28], ebx
call dword [sym.imp.USER32.dll_SendMessageA]
push 1
push 0
push 0
push 0
lea eax, [esp + 0x3c]
push eax
call esi
test eax, eax
je 0x430725
nop dword [eax + eax]
lea eax, [esp + 0x2c]
push eax
push edi
call ebp
test eax, eax
jne 0x430712
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
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 esi
test eax, eax
jne 0x4306f0
cmp ebx, 0x2710
mov eax, ebx
mov ecx, 0x2710
cmova eax, ecx
test eax, eax
jne 0x430680
mov ebx, 1
push dword [esp + 0x14]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
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]
mov ecx, dword [esp + 0x51c]
mov eax, ebx
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043fe9e
add esp, 0x514
ret
xor ebx, ebx
jmp 0x430742
push 0
push 0x45353c
push 0x455840
push dword [0x464d0c]
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x430742