Function at 0x40481a
Capabilities:
Check os version
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1644
call fcn.004092d0
push ebx
push esi
push edi
mov dword [ebp - 0x204], 0
mov byte [ebp - 0x604], 0
mov eax, dword [ebp + 8]
push eax
call fcn.00403d71
add esp, 4
mov dword [ebp - 0x204], eax
cmp dword [ebp - 0x204], 0
jle 0x4048b5
mov eax, dword [ebp + 8]
push eax
call fcn.004084db
add esp, 4
mov dword [0x413b50], eax
cmp dword [0x413b50], 0
jne 0x4048b0
push 0x100
lea eax, [ebp - 0x81c]
push eax
push 0x2722
call section..text
add esp, 0xc
push 0
push 0x411010
lea eax, [ebp - 0x81c]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x405b12
jmp 0x4048fb
cmp dword [ebp - 0x204], 0
jne 0x4048ce
mov eax, dword [ebp + 8]
push eax
call fcn.00404116
add esp, 4
cmp dword [ebp - 0x204], 0xfffffffe
jne 0x4048f4
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.0040413d
add esp, 0xc
jmp 0x405b12
xor eax, eax
jmp 0x405b12
push 0x200
lea eax, [ebp - 0x604]
push eax
call fcn.00409640
add esp, 8
lea eax, [ebp - 0x604]
push eax
call fcn.00408eb0
add esp, 4
test eax, eax
je 0x40495a
lea eax, [ebp - 0x604]
push eax
call fcn.00408eb0
add esp, 4
movsx eax, byte [ebp + eax - 0x605]
cmp eax, 0x5c
je 0x40495a
push 0x411014
lea eax, [ebp - 0x604]
push eax
call fcn.00408f40
add esp, 8
lea eax, [ebp - 0x604]
push eax
call fcn.00408eb0
add esp, 4
mov dword [ebp - 0x688], eax
mov eax, dword [ebp - 0x688]
mov byte [ebp + eax - 0x604], 0
call fcn.004034d5
mov dword [ebp - 0x204], 0
mov dword [ebp - 0x71c], 0x94
lea eax, [ebp - 0x71c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x404a65
cmp dword [ebp - 0x70c], 0
je 0x4049f6
cmp dword [ebp - 0x718], 4
jb 0x4049f6
push 0x200
lea eax, [ebp - 0x200]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push str.Program_FilesWS_FTP
push 0x411030
lea eax, [ebp - 0x1fe]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x404a60
cmp dword [ebp - 0x70c], 2
jne 0x404a34
push 0x200
lea eax, [ebp - 0x200]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push str.WIN32APPWS_FTP
push 0x411048
lea eax, [ebp - 0x1fe]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x404a60
push 0x200
lea eax, [ebp - 0x200]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0x41104c
push 0x411054
lea eax, [ebp - 0x1fe]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x404a91
push 0x200
lea eax, [ebp - 0x200]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0x411058
push 0x411060
lea eax, [ebp - 0x1fe]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov byte [ebp - 0x404], 0
push 0x100
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x200]
push eax
push 0x411064
push 0x411068
call dword [sym.imp.KERNEL32.dll_GetProfileStringA]
test eax, eax
je 0x404ad9
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x200]
push eax
call fcn.00408f30
add esp, 8
push 0x411070
push 0x4132a0
call fcn.00408f30
add esp, 8
push 0x100
lea eax, [ebp - 0x81c]
push eax
push 0x2725
call section..text
add esp, 0xc
cmp dword [ebp - 0x204], 0
jne 0x404c1e
lea eax, [ebp - 0x200]
push eax
lea eax, [ebp - 0x200]
push eax
lea eax, [ebp - 0x81c]
push eax
mov eax, dword [0x413a44]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.00407249
add esp, 0x14
test eax, eax
je 0x404c1e
lea eax, [ebp - 0x604]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
dec eax
push eax
lea eax, [ebp - 0x200]
push eax
lea eax, [ebp - 0x604]
push eax
call fcn.00409220
add esp, 0xc
test eax, eax
jne 0x404ba3
push 0x800
lea eax, [ebp - 0x111c]
push eax
push 0x2726
call section..text
add esp, 0xc
push 0x10
push 0x411074
lea eax, [ebp - 0x111c]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x404c19
lea eax, [ebp - 0x200]
push eax
call fcn.004035e0
add esp, 4
test eax, eax
je 0x404bc9
mov dword [ebp - 0x204], 1
jmp 0x404c19
push 0x100
lea eax, [ebp - 0x111c]
push eax
push 0x2715
call section..text
add esp, 0xc
push 0
lea eax, [ebp - 0x200]
push eax
lea eax, [ebp - 0x111c]
push eax
lea eax, [ebp - 0x404]
push eax
call fcn.0040108e
add esp, 0x10
push 0x10
push 0x411080
lea eax, [ebp - 0x404]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x404b04
cmp dword [ebp - 0x204], 0
jne 0x404c63
push 0x100
lea eax, [ebp - 0x81c]
push eax
push 0x2727
call section..text
add esp, 0xc
push 0x10
push 0x41108c
lea eax, [ebp - 0x81c]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x405b12
call fcn.004034d5
mov dword [ebp - 0x204], 0
lea eax, [ebp - 0x200]
push eax
lea eax, [ebp - 0x91c]
push eax
call fcn.00408f30
add esp, 8
mov byte [ebp - 0x404], 0
push 0x100
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x91c]
push eax
push 0x411098
push 0x4110a0
call dword [sym.imp.KERNEL32.dll_GetProfileStringA]
test eax, eax
je 0x404cd0
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x91c]
push eax
call fcn.00408f30
add esp, 8
push 0x100
lea eax, [ebp - 0x81c]
push eax
push 0x2728
call section..text
add esp, 0xc
push 0x4110a8
push 0x4132a0
call fcn.00408f30
add esp, 8
cmp dword [ebp - 0x204], 0
jne 0x404db2
lea eax, [ebp - 0x91c]
push eax
lea eax, [ebp - 0x91c]
push eax
lea eax, [ebp - 0x81c]
push eax
mov eax, dword [0x413a44]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.00407249
add esp, 0x14
test eax, eax
je 0x404db2
lea eax, [ebp - 0x91c]
push eax
call fcn.004035e0
add esp, 4
test eax, eax
je 0x404d5d
mov dword [ebp - 0x204], 1
jmp 0x404dad
push 0x100
lea eax, [ebp - 0x111c]
push eax
push 0x2715
call section..text
add esp, 0xc
push 0
lea eax, [ebp - 0x91c]
push eax
lea eax, [ebp - 0x111c]
push eax
lea eax, [ebp - 0x404]
push eax
call fcn.0040108e
add esp, 0x10
push 0x10
push 0x4110ac
lea eax, [ebp - 0x404]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x404cfb
call fcn.004034d5
push 0
push 0x4110b8
push 0x4110c4
call dword [sym.imp.KERNEL32.dll_GetProfileIntA]
or eax, dword [ebp + 0xc]
mov dword [ebp + 0xc], eax
push 0x4110cc
lea eax, [ebp - 0x604]
push eax
push 0x4110d8
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 0
lea eax, [ebp - 0x404]
push eax
call fcn.00409190
add esp, 8
test eax, eax
je 0x404e47
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0x163c], eax
mov eax, dword [ebp - 0x163c]
mov byte [ebp + eax - 0x405], 0x5f
push 0
lea eax, [ebp - 0x404]
push eax
call fcn.00409190
add esp, 8
test eax, eax
je 0x404e47
and dword [ebp + 0x10], 6
push 0x4110e0
lea eax, [ebp - 0x604]
push eax
push 0x4110f0
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 0
lea eax, [ebp - 0x404]
push eax
call fcn.00409190
add esp, 8
test eax, eax
je 0x404ebf
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0x1640], eax
mov eax, dword [ebp - 0x1640]
mov byte [ebp + eax - 0x405], 0x5f
push 0
lea eax, [ebp - 0x404]
push eax
call fcn.00409190
add esp, 8
test eax, eax
je 0x404ebf
and dword [ebp + 0x10], 5
push 0x4110f8
lea eax, [ebp - 0x604]
push eax
push 0x411108
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 0
lea eax, [ebp - 0x404]
push eax
call fcn.00409190
add esp, 8
test eax, eax
je 0x404f37
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0x1644], eax
mov eax, dword [ebp - 0x1644]
mov byte [ebp + eax - 0x405], 0x5f
push 0
lea eax, [ebp - 0x404]
push eax
call fcn.00409190
add esp, 8
test eax, eax
je 0x404f37
and dword [ebp + 0x10], 3
mov eax, dword [ebp + 0x10]
and dword [ebp + 0xc], eax
jne 0x404f75
test byte [ebp + 0x10], 4
je 0x404f59
mov dword [ebp + 0xc], 4
jmp 0x404f75
test byte [ebp + 0x10], 2
je 0x404f6f
mov dword [ebp + 0xc], 2
jmp 0x404f75
mov eax, dword [ebp + 0x10]
mov dword [ebp + 0xc], eax
cmp dword [ebp - 0x204], 0
je 0x404fe7
cmp dword [0x4135c0], 3
jne 0x404fb1
cmp dword [0x4115c8], 0
je 0x404fb1
mov dword [ebp + 0xc], 4
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x204], eax
jmp 0x404fc1
mov dword [ebp + 0xc], 0xc
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x204], eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [0x413a44]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.00406079
add esp, 0x10
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x204], eax
call fcn.004034d5
cmp dword [ebp - 0x204], 0
je 0x40559b
push 0
push 0x403545
mov eax, dword [ebp + 8]
push eax
push str.DLG_COPY
mov eax, dword [0x413a44]
push eax
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov dword [0x4115bc], eax
mov eax, dword [ebp - 0x688]
mov byte [ebp + eax - 0x604], 0
test byte [ebp + 0xc], 1
je 0x4050d3
push 1
push 0
push 0x3ba
mov eax, dword [0x4115bc]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x200]
push eax
push 0x41111c
lea eax, [ebp - 0x604]
push eax
call fcn.00403706
add esp, 0x1c
test eax, eax
jne 0x40507c
cmp dword [0x413b54], 0
je 0x405085
and dword [ebp + 0xc], 6
jmp 0x4050d3
push 1
push 1
push 0x3ba
mov eax, dword [0x4115bc]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x200]
push eax
push str.WSFTP16.dll
lea eax, [ebp - 0x604]
push eax
call fcn.00403706
add esp, 0x1c
test eax, eax
jne 0x4050cf
cmp dword [0x413b54], 0
je 0x4050d3
and dword [ebp + 0xc], 6
mov eax, dword [ebp - 0x688]
mov byte [ebp + eax - 0x604], 0
mov dword [ebp - 0x1228], 0
push 0x411134
lea eax, [ebp - 0x132c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp dword [0x413b54], 0
jne 0x405173
cmp dword [ebp - 0x204], 0
je 0x405173
mov eax, dword [ebp - 0x688]
mov byte [ebp + eax - 0x604], 0
push 1
push 1
push 0x3ba
mov eax, dword [0x4115bc]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x200]
push eax
push 0x411140
lea eax, [ebp - 0x604]
push eax
call fcn.00403706
add esp, 0x1c
test eax, eax
jne 0x40516f
cmp dword [0x413b54], 0
je 0x405173
and dword [ebp + 0xc], 3
cmp dword [0x413b54], 0
jne 0x4051e9
cmp dword [ebp - 0x204], 0
je 0x4051e9
mov eax, dword [ebp - 0x688]
mov byte [ebp + eax - 0x604], 0
push 1
push 2
push 0x3ba
mov eax, dword [0x4115bc]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x200]
push eax
push str.WSFTP32.dll
lea eax, [ebp - 0x604]
push eax
call fcn.00403706
add esp, 0x1c
test eax, eax
jne 0x4051e5
cmp dword [0x413b54], 0
je 0x4051e9
and dword [ebp + 0xc], 5
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x204], eax
cmp dword [0x413b54], 0
jne 0x4052c1
cmp dword [ebp - 0x204], 0
je 0x4052c1
test byte [ebp + 0xc], 7
je 0x405225
mov dword [ebp - 0x1434], 0
jmp 0x40522f
mov dword [ebp - 0x1434], 1
jmp 0x40523a
inc dword [ebp - 0x1434]
cmp dword [ebp - 0x1434], 0xa
jge 0x4052c1
xor eax, eax
cmp dword [ebp - 0x1434], 5
setl al
push eax
mov eax, dword [ebp - 0x1434]
add eax, 4
push eax
push 0x3ba
mov eax, dword [0x4115bc]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x200]
push eax
mov eax, dword [ebp - 0x1434]
mov eax, dword [eax*4 + 0x4108f0]
push eax
lea eax, [ebp - 0x604]
push eax
call fcn.00403706
add esp, 0x1c
test eax, eax
jne 0x4052ad
cmp dword [0x413b54], 0
je 0x4052bc
mov dword [ebp - 0x204], 0
jmp 0x4052c1
jmp 0x405234
cmp dword [0x413b54], 0
jne 0x40532e
cmp dword [ebp - 0x204], 0
je 0x40532e
push str.remove32.exe
lea eax, [ebp - 0x200]
push eax
push 0x41116c
lea eax, [ebp - 0x1634]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x200]
push eax
push str._s_remove.exe
lea eax, [ebp - 0x1534]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x1534]
push eax
lea eax, [ebp - 0x1634]
push eax
call fcn.004091e0
add esp, 8
mov eax, dword [ebp - 0x688]
mov byte [ebp + eax - 0x604], 0
cmp dword [ebp - 0x204], 0
je 0x40548a
push 0x411184
lea eax, [ebp - 0x200]
push eax
push 0x411190
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 0x411198
lea eax, [ebp - 0x404]
push eax
call fcn.00409100
add esp, 8
mov dword [ebp - 0x1638], eax
cmp dword [ebp - 0x1638], 0
je 0x405436
mov eax, dword [ebp - 0x1638]
push eax
call fcn.00409020
add esp, 4
push 0x100
lea eax, [ebp - 0x81c]
push eax
push 0x2729
call section..text
add esp, 0xc
push 0x124
push 0x41119c
lea eax, [ebp - 0x81c]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x405431
push 1
push 0xe
push 0x3ba
mov eax, dword [0x4115bc]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x200]
push eax
push 0x4111a8
lea eax, [ebp - 0x604]
push eax
call fcn.00403706
add esp, 0x1c
test eax, eax
jne 0x405427
cmp dword [0x413b54], 0
je 0x405431
mov dword [ebp - 0x204], 0
jmp 0x40548a
push 1
push 0xe
push 0x3ba
mov eax, dword [0x4115bc]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x200]
push eax
push 0x4111b4
lea eax, [ebp - 0x604]
push eax
call fcn.00403706
add esp, 0x1c
test eax, eax
jne 0x405480
cmp dword [0x413b54], 0
je 0x40548a
mov dword [ebp - 0x204], 0
push 0x4111c0
lea eax, [ebp - 0x200]
push eax
push 0x4111cc
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
cmp dword [ebp - 0x204], 0
je 0x405530
lea eax, [ebp - 0x404]
push eax
push pe_nt_image_headers32
lea eax, [ebp - 0x684]
push eax
push str.wsftp605_
push 0x4111e0
push 0x4111ec
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 6
push str.guest_
lea eax, [ebp - 0x684]
push eax
call fcn.00409220
add esp, 0xc
test eax, eax
jne 0x405512
push str.wsftple_
lea eax, [ebp - 0x684]
push eax
call fcn.00408f30
add esp, 8
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x684]
push eax
push 0x41120c
push 0x411218
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea eax, [ebp - 0x404]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push 0x100
lea eax, [ebp - 0x81c]
push eax
push 0x272b
call section..text
add esp, 0xc
lea eax, [ebp - 0x81c]
push eax
push 0x3ba
mov eax, dword [0x4115bc]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [0x4115bc]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [0x4115bc], 0
call fcn.004034d5
cmp dword [ebp - 0x204], 0
je 0x4059c1
push 0x411224
push 0x413a50
call fcn.00408f30
add esp, 8
mov byte [ebp - 0x404], 0
push 0x100
lea eax, [ebp - 0x404]
push eax
push 0x413a50
push 0x41122c
push 0x411234
call dword [sym.imp.KERNEL32.dll_GetProfileStringA]
test eax, eax
je 0x405603
lea eax, [ebp - 0x404]
push eax
push 0x413a50
call fcn.00408f30
add esp, 8
push 0x413a50
mov eax, dword [0x413a44]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.00405c22
add esp, 0xc
test eax, eax
je 0x4059b7
push 0x413a50
call fcn.00408eb0
add esp, 4
cmp eax, 1
jae 0x40564a
push 0x41123c
push 0x413a50
call fcn.00408f30
add esp, 8
push 1
push 0x413a50
call fcn.004077ba
add esp, 8
test eax, eax
je 0x4059a8
test byte [ebp + 0xc], 1
je 0x40570e
push str.WS_FTP.exe
lea eax, [ebp - 0x200]
push eax
push 0x411250
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x91c]
push eax
push str.WS_FTP_LE
call fcn.00407520
add esp, 0x10
cmp dword [0x413b50], 1
jne 0x4056e7
push 0x411264
push 0x411270
push 0x411278
call dword [sym.imp.KERNEL32.dll_WriteProfileStringA]
push 0
push 0x411280
push 0x411288
call dword [sym.imp.KERNEL32.dll_WriteProfileStringA]
jmp 0x40570e
push 0
push 0x411290
push 0x411298
call dword [sym.imp.KERNEL32.dll_WriteProfileStringA]
push 0x413270
push 0x4112a0
push 0x4112a8
call dword [sym.imp.KERNEL32.dll_WriteProfileStringA]
test byte [ebp + 0xc], 2
je 0x4057d7
push str.WS_FTP32.exe
lea eax, [ebp - 0x200]
push eax
push 0x4112c0
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push str.WS_FTP32_LE
push 0x4112d4
lea eax, [ebp - 0x81c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x91c]
push eax
lea eax, [ebp - 0x81c]
push eax
call fcn.00407520
add esp, 0x10
cmp dword [0x413b50], 1
jne 0x4057b0
push 0x4112d8
push 0x4112e4
push 0x4112ec
call dword [sym.imp.KERNEL32.dll_WriteProfileStringA]
push 0
push 0x4112f8
push 0x411300
call dword [sym.imp.KERNEL32.dll_WriteProfileStringA]
jmp 0x4057d7
push 0
push 0x41130c
push 0x411314
call dword [sym.imp.KERNEL32.dll_WriteProfileStringA]
push 0x413270
push 0x411320
push str.WS_FTP32
call dword [sym.imp.KERNEL32.dll_WriteProfileStringA]
test byte [ebp + 0xc], 4
je 0x4058a0
push 0x411334
lea eax, [ebp - 0x200]
push eax
push 0x411344
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push str.WS_FTP95_LE
push 0x411358
lea eax, [ebp - 0x81c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x91c]
push eax
lea eax, [ebp - 0x81c]
push eax
call fcn.00407520
add esp, 0x10
cmp dword [0x413b50], 1
jne 0x405879
push 0x41135c
push 0x411368
push 0x411370
call dword [sym.imp.KERNEL32.dll_WriteProfileStringA]
push 0
push 0x41137c
push 0x411384
call dword [sym.imp.KERNEL32.dll_WriteProfileStringA]
jmp 0x4058a0
push 0
push 0x411390
push 0x411398
call dword [sym.imp.KERNEL32.dll_WriteProfileStringA]
push 0x413270
push 0x4113a4
push 0x4113ac
call dword [sym.imp.KERNEL32.dll_WriteProfileStringA]
push 0x4113b8
push str.WS_FTP.hlp
lea eax, [ebp - 0x200]
push eax
push 0x4113c8
call fcn.00407520
add esp, 0x10
push 0x4113d8
push str.whatsnew.txt
lea eax, [ebp - 0x200]
push eax
push 0x4113ec
call fcn.00407520
add esp, 0x10
push 0x411404
lea eax, [ebp - 0x200]
push eax
push 0x411410
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 0
lea eax, [ebp - 0x404]
push eax
call fcn.00409190
add esp, 8
test eax, eax
jne 0x405934
push 0x411418
push str.WS_FTP.pdf
lea eax, [ebp - 0x200]
push eax
push str.WS_FTP_LE_Manual
call fcn.00407520
add esp, 0x10
push 0x41143c
lea eax, [ebp - 0x81c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x411450
lea eax, [ebp - 0x200]
push eax
push 0x41145c
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 0x411464
push str.remove.exe
lea eax, [ebp - 0x200]
push eax
lea eax, [ebp - 0x81c]
push eax
call fcn.00407520
add esp, 0x10
call fcn.004034d5
push 0x413a50
call fcn.00407844
add esp, 4
mov dword [ebp - 0x204], 1
jmp 0x4059b2
mov dword [ebp - 0x204], 0
jmp 0x4059c1
mov dword [ebp - 0x204], 0
call fcn.004034d5
cmp dword [ebp - 0x204], 0
jne 0x405a09
push 0x100
lea eax, [ebp - 0x81c]
push eax
push 0x272c
call section..text
add esp, 0xc
push 0x10
push str.WS_FTP95
lea eax, [ebp - 0x81c]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x405b07
push str.WS_FTP.ini
lea eax, [ebp - 0x200]
push eax
push str._s_s
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x684]
push eax
push str.MAILADDR
push str._config_
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea eax, [ebp - 0x200]
push eax
push 0x4114ac
push 0x4114b0
call dword [sym.imp.KERNEL32.dll_WriteProfileStringA]
lea eax, [ebp - 0x91c]
push eax
push 0x4114b8
push 0x4114c0
call dword [sym.imp.KERNEL32.dll_WriteProfileStringA]
push 0x413a50
push str.GROUP
push 0x4114d0
call dword [sym.imp.KERNEL32.dll_WriteProfileStringA]
mov eax, dword [ebp + 0xc]
push eax
push 0x4114d8
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x404]
push eax
push 0x4114dc
push 0x4114e8
call dword [sym.imp.KERNEL32.dll_WriteProfileStringA]
push 0x100
lea eax, [ebp - 0x81c]
push eax
push 0x272d
call section..text
add esp, 0xc
push 0x800
lea eax, [ebp - 0x111c]
push eax
push 0x272e
call section..text
add esp, 0xc
push 0
lea eax, [ebp - 0x111c]
push eax
lea eax, [ebp - 0x81c]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [ebp - 0x204]
jmp 0x405b12
pop edi
pop esi
pop ebx
leave
ret