Function at 0x4120fa
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
xor edi, edi
mov esi, ecx
push edi
push edi
lea ecx, [ebp - 8]
call fcn.00404256
push edi
push edi
lea ecx, [ebp - 4]
call fcn.00404256
push edi
lea ecx, [ebp - 8]
push dword [ebp + 8]
call fcn.0040427b
test al, al
jne 0x412190
lea eax, [ebp - 0x44]
push eax
call fcn.00406ef2
pop ecx
push dword [eax]
push dword [ebp + 8]
push 0x14a
call fcn.00420134
pop ecx
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.004063c4
mov edi, dword [eax]
add esp, 0x10
push 0x24
push 0xfa
call fcn.00420134
pop ecx
push eax
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [ebp - 0x38]
mov edi, eax
call fcn.00402fbc
lea ecx, [ebp - 0x44]
call fcn.00402fbc
cmp edi, 7
jne 0x41236e
and byte [esi + 0x1c], 0
jmp 0x41236e
push dword [ebp + 8]
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
call fcn.00411a8f
mov edi, dword [ebp - 0x14]
push 0x5c
lea ecx, [ebp - 0x14]
call fcn.00403092
push eax
push edi
lea ecx, [ebp - 0x2c]
call fcn.00402efe
push dword [ebp - 0x2c]
mov ecx, esi
call fcn.00412651
test al, al
jne 0x412228
lea eax, [ebp - 0x38]
push eax
call fcn.00406ef2
pop ecx
push dword [eax]
push dword [ebp - 0x2c]
push 0x14f
call fcn.00420134
pop ecx
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.004063c4
mov edi, dword [eax]
add esp, 0x10
push 0x24
push 0x14d
call fcn.00420134
pop ecx
push eax
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [ebp - 0x44]
mov edi, eax
call fcn.00402fbc
lea ecx, [ebp - 0x38]
call fcn.00402fbc
cmp edi, 7
jne 0x41235e
and byte [esi + 0x1c], 0
jmp 0x41235e
push dword [ebp - 0x14]
mov ecx, esi
call fcn.00412077
mov bl, al
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x20]
call fcn.00402f56
test bl, bl
je 0x412251
push 0x440648
lea ecx, [ebp - 0x20]
call fcn.004034ca
push 1
lea ecx, [ebp - 4]
push dword [ebp - 0x20]
call fcn.0040427b
test al, al
jne 0x4122b5
lea eax, [ebp - 0x38]
push eax
call fcn.00406ef2
pop ecx
push dword [eax]
push dword [ebp - 0x20]
push 0x14e
call fcn.00420134
pop ecx
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.004063c4
mov edi, dword [eax]
add esp, 0x10
push 0x24
push 0x14d
call fcn.00420134
pop ecx
push eax
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [ebp - 0x44]
mov edi, eax
call fcn.00402fbc
lea ecx, [ebp - 0x38]
jmp 0x412348
push dword [ebp + 0x10]
lea eax, [ebp - 4]
mov ecx, esi
push dword [ebp + 0xc]
push eax
lea eax, [ebp - 8]
push eax
call fcn.004123b3
lea ecx, [ebp - 8]
call fcn.004042c6
lea ecx, [ebp - 4]
call fcn.004042c6
test bl, bl
je 0x412382
push dword [ebp - 0x14]
mov ecx, esi
call fcn.00412077
neg al
sbb eax, eax
inc eax
test al, al
je 0x41230b
push dword [ebp - 0x14]
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_MoveFileA]
neg eax
sbb eax, eax
neg eax
test al, al
jne 0x412382
push dword [ebp - 0x14]
push dword [ebp - 0x20]
push 0x151
call fcn.00420134
pop ecx
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.004063c4
mov edi, dword [eax]
add esp, 0x10
push 0x24
push 0x14d
call fcn.00420134
pop ecx
push eax
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_MessageBoxA]
mov edi, eax
lea ecx, [ebp - 0x44]
call fcn.00402fbc
cmp edi, 7
jne 0x412356
and byte [esi + 0x1c], 0
lea ecx, [ebp - 0x20]
call fcn.00402fbc
lea ecx, [ebp - 0x2c]
call fcn.00402fbc
lea ecx, [ebp - 0x14]
call fcn.00402fbc
lea ecx, [ebp - 4]
call fcn.00404276
lea ecx, [ebp - 8]
call fcn.00404276
xor al, al
jmp 0x4123ac
lea ecx, [ebp - 0x20]
call fcn.00402fbc
lea ecx, [ebp - 0x2c]
call fcn.00402fbc
lea ecx, [ebp - 0x14]
call fcn.00402fbc
lea ecx, [ebp - 4]
call fcn.00404276
lea ecx, [ebp - 8]
call fcn.00404276
mov al, 1
pop edi
pop esi
pop ebx
leave
ret 0x10