Function at 0x4014de
Capabilities:
Accept command line arguments
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2ac
mov eax, dword [0x445060]
xor eax, esp
mov dword [esp + 0x2a8], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [esp + 0x24], eax
xor ebx, ebx
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x10]
push esi
mov dword [esp + 0x30], eax
lea eax, [esp + 0x14]
push edi
push eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x98], 0xf
mov dword [esp + 0x10], ebx
mov dword [esp + 0x94], ebx
mov byte [esp + 0x84], bl
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edi, eax
test edi, edi
je 0x40190e
cmp dword [esp + 0x18], 4
je 0x401565
cmp dword [esp + 0x18], 5
jne 0x40190e
mov ecx, dword [edi]
push 2
pop esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, esi
cmp ax, bx
jne 0x40156d
sub ecx, edx
sar ecx, 1
lea eax, [ecx + 1]
push eax
call fcn.0040c015
pop ecx
mov ecx, dword [edi + 4]
mov dword [esp + 0x14], eax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, esi
cmp ax, bx
jne 0x40158f
sub ecx, edx
sar ecx, 1
lea eax, [ecx + 1]
push eax
call fcn.0040c015
pop ecx
mov ecx, dword [edi + 8]
mov dword [esp + 0x10], eax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, esi
cmp ax, bx
jne 0x4015b1
sub ecx, edx
sar ecx, 1
lea eax, [ecx + 1]
push eax
call fcn.0040c015
pop ecx
mov ecx, dword [edi + 0xc]
mov ebx, eax
mov dword [esp + 0x28], ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, esi
cmp ax, word [esp + 0xc]
jne 0x4015d5
sub ecx, edx
sar ecx, 1
lea eax, [ecx + 1]
push eax
call fcn.0040c015
pop ecx
mov ecx, dword [edi]
mov dword [esp + 0x1c], eax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, esi
cmp ax, word [esp + 0xc]
jne 0x4015f8
sub ecx, edx
sar ecx, 1
lea eax, [ecx + 1]
push eax
xor eax, eax
push eax
push dword [esp + 0x1c]
call fcn.00413ea0
mov ecx, dword [edi + 4]
add esp, 0xc
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, esi
cmp ax, word [esp + 0xc]
jne 0x401621
sub ecx, edx
sar ecx, 1
lea eax, [ecx + 1]
push eax
xor eax, eax
push eax
push dword [esp + 0x18]
call fcn.00413ea0
mov ecx, dword [edi + 8]
add esp, 0xc
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, esi
cmp ax, word [esp + 0xc]
jne 0x40164a
sub ecx, edx
sar ecx, 1
lea eax, [ecx + 1]
push eax
xor eax, eax
push eax
push ebx
call fcn.00413ea0
mov ecx, dword [edi + 0xc]
add esp, 0xc
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, esi
cmp ax, word [esp + 0xc]
jne 0x401670
sub ecx, edx
sar ecx, 1
lea eax, [ecx + 1]
push eax
xor eax, eax
push eax
push dword [esp + 0x24]
call fcn.00413ea0
mov edx, dword [esp + 0x20]
add esp, 0xc
mov ecx, dword [edi]
call fcn.0040a501
mov edx, dword [esp + 0x10]
mov ecx, dword [edi + 4]
call fcn.0040a501
mov ecx, dword [edi + 8]
mov edx, ebx
call fcn.0040a501
mov edx, dword [esp + 0x1c]
mov ecx, dword [edi + 0xc]
call fcn.0040a501
cmp dword [esp + 0x18], 5
jne 0x401735
mov ecx, dword [edi + 0x10]
xor ebx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, esi
cmp ax, bx
jne 0x4016cf
sub ecx, edx
sar ecx, 1
lea eax, [ecx + 1]
push eax
call fcn.0040c015
pop ecx
mov ecx, dword [edi + 0x10]
mov ebx, eax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, esi
cmp ax, word [esp + 0xc]
jne 0x4016ef
sub ecx, edx
sar ecx, 1
lea eax, [ecx + 1]
push eax
xor eax, eax
push eax
push ebx
call fcn.00413ea0
mov ecx, dword [edi + 0x10]
mov edx, ebx
call fcn.0040a501
push ebx
call fcn.00401f22
mov ecx, dword [esp + 0x34]
add esp, 0x10
push eax
push ebx
call fcn.00401ea9
push ebx
call fcn.0040c8a4
mov ebx, dword [esp + 0x2c]
pop ecx
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov edi, dword [esp + 0x14]
push edi
call fcn.00401f22
pop ecx
push eax
push edi
lea ecx, [esp + 0x88]
call fcn.00401ea9
mov edi, dword [esp + 0x10]
push edi
call fcn.00401f22
pop ecx
mov ecx, dword [esp + 0x30]
push eax
push edi
call fcn.00401ea9
push ebx
call fcn.00401f22
pop ecx
mov ecx, dword [esp + 0x20]
push eax
push ebx
call fcn.00401ea9
mov edi, dword [esp + 0x1c]
push edi
call fcn.00401f22
pop ecx
mov ecx, dword [esp + 0x2c]
push eax
push edi
call fcn.00401ea9
push dword [esp + 0x14]
call fcn.0040c8a4
push dword [esp + 0x14]
call fcn.0040c8a4
push ebx
call fcn.0040c8a4
add esp, 0xc
lea ecx, [esp + 0x50]
call fcn.0040af4f
mov ecx, dword [esp + 0x34]
push eax
call fcn.00401b7b
xor ebx, ebx
lea ecx, [esp + 0x50]
push ebx
push 1
call fcn.00402153
mov edi, str.FBAs01.exe
push edi
call fcn.00401f22
pop ecx
push eax
push ecx
push edi
lea ecx, [esp + 0x8c]
call fcn.00401ba0
cmp eax, 0xffffffff
je 0x401909
push 0xf
pop eax
lea edx, [esp + 0x38]
mov dword [esp + 0x4c], eax
lea ecx, [esp + 0x68]
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
mov dword [esp + 0x64], eax
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
call fcn.0040a57e
push eax
lea ecx, [esp + 0x54]
call fcn.00401b7b
push ebx
push 1
lea ecx, [esp + 0x70]
call fcn.00402153
xor eax, eax
push 0x1fe
mov word [esp + 0xb4], ax
lea eax, [esp + 0xb6]
push ebx
push eax
call fcn.00413ea0
mov edi, 0x42669c
lea edx, [esp + 0x44]
push edi
lea ecx, [esp + 0x78]
call fcn.00401c2d
add esp, 0x10
cmp dword [eax + 0x14], 0x10
jb 0x40186c
mov eax, dword [eax]
lea edx, [esp + 0xb0]
mov ecx, eax
call fcn.0040a52c
push ebx
push 1
lea ecx, [esp + 0x70]
call fcn.00402153
lea eax, [esp + 0xb0]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x9c]
call fcn.00401c2d
mov edi, eax
pop ecx
cmp dword [edi + 0x14], 0x10
jb 0x4018b0
mov edi, dword [edi]
push str.FBAs01.exe
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x6c]
call fcn.00401c2d
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x4018cb
mov eax, dword [eax]
push edi
push eax
call fcn.0040c8a9
pop ecx
pop ecx
push ebx
push 1
lea ecx, [esp + 0x70]
call fcn.00402153
push ebx
push 1
lea ecx, [esp + 0xa0]
call fcn.00402153
push ebx
push 1
lea ecx, [esp + 0x58]
call fcn.00402153
push ebx
push 1
lea ecx, [esp + 0x40]
call fcn.00402153
jmp 0x401910
xor esi, esi
inc esi
jmp 0x401910
mov esi, ebx
push ebx
push 1
lea ecx, [esp + 0x88]
call fcn.00402153
mov ecx, dword [esp + 0x2b4]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040c1f3
mov esp, ebp
pop ebp
ret