Function at 0x41b536
Capabilities:
Move file

Disassembly:
push 0x218
mov eax, 0x46bcbc
call fcn.0042dc0b
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 0x21c]
mov esi, dword [ebp + 0xc]
xor ebx, ebx
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x224], eax
mov byte [ebp - 0x21d], bl
call fcn.0040699e
mov dword [ebp - 4], ebx
test esi, esi
jne 0x41b57a
push 5
push str.IN_Operations::moveOp_:_parameter_szSource_is_NULL__return_false
jmp 0x41b7b5
test edi, edi
jne 0x41b58a
push 5
push str.IN_Operations::moveOp_:_parameter_szDestination_is_NULL__return_false
jmp 0x41b7b5
push 1
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.0041618b
add esp, 0xc
mov esi, 0x493f4c
test al, al
je 0x41b7ca
lea eax, [ebp - 0x218]
push eax
call fcn.00414fad
pop ecx
test al, al
je 0x41b7ca
push 1
lea eax, [ebp - 0x114]
mov byte [ebp - 0x21d], 1
push eax
push edi
call fcn.0041618b
add esp, 0xc
test al, al
lea eax, [ebp - 0x114]
je 0x41b64d
push dword [ebp - 0x224]
push 0x104
push eax
call fcn.004366e6
add esp, 0xc
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x41b7ca
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x21c]
push str.MoveFile___failed._Error:__d
push eax
call fcn.00406b1a
mov eax, dword [ebp - 0x21c]
add esp, 0xc
cmp dword [eax - 4], 1
jle 0x41b646
push dword [eax - 0xc]
lea ecx, [ebp - 0x21c]
call fcn.00406aae
push 7
jmp 0x41b7af
push ebx
push eax
push edi
call fcn.0041618b
add esp, 0xc
test al, al
je 0x41b77e
lea eax, [ebp - 0x114]
push eax
push edi
lea eax, [ebp - 0x21c]
push str.IN_Operations::moveOp_:__s_interpreted_as__s
push eax
call fcn.00406b1a
mov eax, dword [ebp - 0x21c]
add esp, 0x10
cmp dword [eax - 4], 1
jle 0x41b69c
push dword [eax - 0xc]
lea ecx, [ebp - 0x21c]
call fcn.00406aae
mov eax, dword [ebp - 0x21c]
push 4
push eax
mov ecx, esi
call fcn.0040c5b8
lea eax, [ebp - 0x114]
push eax
call fcn.0041519c
pop ecx
test eax, eax
je 0x41b6f3
push eax
push str.Directory_creation_failed._Error:__d
lea eax, [ebp - 0x21c]
push eax
call fcn.00406b1a
mov eax, dword [ebp - 0x21c]
add esp, 0xc
cmp dword [eax - 4], 1
jle 0x41b6e6
push dword [eax - 0xc]
lea ecx, [ebp - 0x21c]
call fcn.00406aae
push 7
push dword [ebp - 0x21c]
jmp 0x41b7ba
push dword [ebp - 0x224]
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.004366e6
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x21c]
push str.IN_Operations::moveOp_:_Moving__s_to__s
push eax
call fcn.00406b1a
mov eax, dword [ebp - 0x21c]
add esp, 0x1c
cmp dword [eax - 4], 1
jle 0x41b746
push dword [eax - 0xc]
lea ecx, [ebp - 0x21c]
call fcn.00406aae
push 4
push dword [ebp - 0x21c]
mov ecx, esi
call fcn.0040c5b8
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x41b7ca
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.MoveFile___failed._Error:__d
jmp 0x41b6bd
push edi
lea eax, [ebp - 0x21c]
push str.Unable_to_interpret_destination_path__s
push eax
call fcn.00406b1a
mov eax, dword [ebp - 0x21c]
add esp, 0xc
cmp dword [eax - 4], 1
jle 0x41b7ad
push dword [eax - 0xc]
lea ecx, [ebp - 0x21c]
call fcn.00406aae
push 4
push dword [ebp - 0x21c]
mov esi, 0x493f4c
mov ecx, esi
call fcn.0040c5b8
mov eax, str.Moved_file_unsuccessfully
push 3
jmp 0x41b7e2
cmp byte [ebp - 0x21d], 0
mov eax, str.No_file_to_move
mov ecx, str.Moved_file_successfully
mov bl, 1
cmovne eax, ecx
push 2
pop ecx
push ecx
push eax
mov ecx, esi
call fcn.0040c5b8
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
call fcn.00406c57
mov al, bl
call fcn.0042dbb5
ret