Function at 0x4f13f2
Capabilities:
Move file

Disassembly:
mov eax, 0x574127
call fcn.00524444
mov eax, 0x1eb0
call fcn.00524e70
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0xeb8]
call fcn.00415975
lea eax, [ebp - 0x530]
xor edi, edi
push 0x400
push eax
lea ecx, [esi + 0x1c8]
mov dword [ebp - 4], edi
call fcn.00543cfc
lea eax, [ebp - 0x530]
lea ecx, [ebp - 0xeb8]
push eax
call fcn.00414370
test al, al
je 0x4f147c
lea eax, [ebp - 0x530]
push eax
lea eax, [ebp - 0x10]
push 0x5c9ecc
push eax
call fcn.0041f785
add esp, 0xc
mov ebx, 0xc2
push dword [eax]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push ebx
push dword [esi + 0x1a8]
call edi
lea ecx, [ebp - 0x10]
jmp 0x4f14ae
lea eax, [ebp - 0x950]
push eax
lea eax, [ebp - 0x10]
push 0x5c9ec0
push eax
call fcn.0041f785
add esp, 0xc
mov ebx, 0xc2
push dword [eax]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push ebx
push dword [esi + 0x1a8]
call edi
lea ecx, [ebp - 0x10]
call fcn.0053eb4f
lea ecx, [ebp - 0xeb8]
call fcn.00414a08
test al, al
je 0x4f1787
cmp dword [esi + 0x230], 0
je 0x4f14e4
push 0x5c8aa4
lea ecx, [ebp - 0xeb8]
call fcn.00415517
mov dword [ebp - 0x10], eax
jmp 0x4f14e8
and dword [ebp - 0x10], 0
lea eax, [ebp - 0xf8]
push 0
push eax
lea ecx, [ebp - 0xeb8]
call fcn.00414a4e
test eax, eax
je 0x4f15b4
cmp dword [esi + 0x22c], 0
lea ecx, [ebp - 0xeb8]
setne al
push eax
lea eax, [ebp - 0xf8]
push eax
call fcn.004153fc
test eax, eax
je 0x4f14e8
push eax
mov ecx, esi
call fcn.004f17d2
test eax, eax
mov dword [ebp - 0x1c], eax
je 0x4f14e8
push dword [ebp - 0xf0]
lea ecx, [ebp - 0xeb8]
call fcn.004154d7
push eax
lea eax, [ebp - 0x14]
push dword [ebp - 0x1c]
push str._s:___s__ok._n
push eax
call fcn.0041f785
add esp, 0x10
push dword [eax]
push 0
push ebx
push dword [esi + 0x1a8]
call edi
lea ecx, [ebp - 0x14]
call fcn.0053eb4f
mov eax, dword [ebp - 0x10]
cmp dword [esi + 0x204], 0
mov dword [ebp - 0xf0], eax
je 0x4f1590
test byte [ebp - 0xf5], 2
je 0x4f1590
mov dword [ebp - 0x94], eax
push 0xffffffffffffffff
lea ecx, [ebp - 0xeb8]
call fcn.00414a70
lea eax, [ebp - 0xf8]
lea ecx, [ebp - 0xeb8]
push eax
call fcn.00414a60
jmp 0x4f14e8
lea ecx, [ebp - 0xeb8]
call fcn.00414b65
cmp dword [esi + 0x228], 0
je 0x4f15fe
push 0x17
lea ecx, [ebp - 0xeb8]
call fcn.0041531f
test al, al
je 0x4f15fe
lea eax, [ebp - 0x14]
push 0x5c9e94
push eax
call fcn.0041f785
pop ecx
pop ecx
push dword [eax]
push 0
push ebx
push dword [esi + 0x1a8]
call edi
lea ecx, [ebp - 0x14]
call fcn.0053eb4f
cmp dword [esi + 0x224], 0
je 0x4f163d
push 0x14
lea ecx, [ebp - 0xeb8]
call fcn.0041531f
test al, al
je 0x4f163d
lea eax, [ebp - 0x14]
push 0x5c9e94
push eax
call fcn.0041f785
pop ecx
pop ecx
push dword [eax]
push 0
push ebx
push dword [esi + 0x1a8]
call edi
lea ecx, [ebp - 0x14]
call fcn.0053eb4f
cmp dword [esi + 0x238], 0
je 0x4f1747
lea eax, [ebp - 0x530]
lea ecx, [ebp - 0x1ebc]
push eax
call fcn.00404989
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x1ebc]
push eax
call fcn.00407702
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x1ebc]
push eax
mov byte [ebp - 4], 1
call fcn.00404a99
push dword [ebp - 0x14]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0053ed7e
push str..bak
push eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 3
push eax
call fcn.0053ede4
push dword [eax]
lea eax, [ebp - 0x530]
push eax
call fcn.005254b0
pop ecx
pop ecx
lea ecx, [ebp - 0x1c]
call fcn.0053eb4f
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.0053eb4f
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.0053eb4f
and byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.0053eb4f
lea eax, [ebp - 0x530]
lea ecx, [ebp - 0x130]
push eax
call fcn.0040207d
push 0
lea ecx, [ebp - 0x130]
call fcn.004020bb
test eax, eax
je 0x4f171d
push 0
push 0
push 0x5c9e6c
mov ecx, esi
call fcn.0054239a
cmp eax, 7
je 0x4f17b4
mov eax, dword [esi + 0x234]
lea ecx, [ebp - 0x530]
push 1
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
push dword [esi + 0x234]
lea eax, [ebp - 0x530]
push eax
call fcn.005254b0
pop ecx
pop ecx
lea eax, [ebp - 0x530]
lea ecx, [ebp - 0xeb8]
push eax
call fcn.00414511
test al, al
jne 0x4f17b4
lea eax, [ebp - 0x950]
push eax
lea eax, [ebp - 0x18]
push 0x5c9ec0
push eax
call fcn.0041f785
add esp, 0xc
push dword [eax]
push 0
push ebx
push dword [esi + 0x1a8]
call edi
lea ecx, [ebp - 0x18]
jmp 0x4f17af
lea eax, [ebp - 0x950]
push eax
lea eax, [ebp - 0x18]
push 0x5c9ec0
push eax
call fcn.0041f785
add esp, 0xc
push dword [eax]
push 0
push ebx
push dword [esi + 0x1a8]
call edi
lea ecx, [ebp - 0x18]
call fcn.0053eb4f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xeb8]
call fcn.00415a34
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret