Function at 0x10061756
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x10285294]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x210], eax
call fcn.10054dec
test al, al
je 0x1006179e
push edx
push esp
pop esp
push edx
push eax
push eax
push ebx
push edi
push ecx
push ecx
pop esp
pop edx
pop ebx
push ebx
pop ecx
pop eax
pop eax
pop eax
push ebx
pop ebx
pop esi
push esi
push edx
pop ebp
push esi
pop ebx
pop ebx
pop esp
pop edx
pop edx
pop eax
push ebp
call fcn.10055281
test al, al
je 0x100617c3
pop esi
push esp
pop ebx
push edx
push eax
pop edi
pop ecx
push ecx
push esi
push ecx
pop ebp
push esi
push ebx
push ecx
push ecx
pop esi
pop esp
pop edi
pop edx
push edi
push edx
pop esp
pop eax
push edx
pop esi
pop ecx
push ebp
pop ebx
push 0x101f0b50
push dword [ebp - 0x210]
call fcn.10078f22
pop ecx
pop ecx
test eax, eax
je 0x10061849
call fcn.1005523c
test al, al
je 0x100617f2
push esi
pop edx
push ecx
push ecx
pop ebx
push ebp
pop esp
push ebx
push ecx
pop ecx
push edx
pop eax
pop esp
push esi
push eax
push ebx
call fcn.10054f8a
test al, al
je 0x10061812
push ebx
pop esp
push edx
pop esi
push esi
pop ebx
pop eax
push eax
push edi
push esi
push ebp
push ebp
pop ebp
push edx
push eax
pop esp
push edx
push ebp
pop esp
pop ecx
push ebx
push edi
pop ebx
call fcn.10054e76
test al, al
je 0x1006183a
push esp
push edx
pop esi
pop edx
push ecx
push ecx
push esi
pop ecx
pop edi
pop edi
pop ebp
push edx
pop esp
pop ecx
push ebp
push ebx
push edi
pop esi
push eax
push ecx
pop ebp
pop eax
pop esp
push edi
push esp
push ebx
pop edi
push eax
push ecx
push ebp
pop ebx
push 5
push 0
push dword [ebp - 0x210]
jmp 0x10061a73
and dword [ebp - 0x214], 0
call fcn.10055395
test al, al
je 0x1006186c
pop esi
push ebx
pop ecx
pop esi
pop ebx
pop edi
pop esi
push esp
push edx
push edx
pop ebp
push eax
push ebx
pop ecx
pop esp
pop ebx
pop esp
pop esp
push esp
call fcn.1005530b
test al, al
je 0x10061890
push edx
push esi
pop ecx
pop esp
pop edx
pop ecx
push edx
push eax
push ebp
pop esi
pop edi
push ebx
pop esp
pop ecx
pop ecx
pop ecx
pop edi
push esp
pop edi
pop ebp
pop ecx
push ecx
pop eax
push edx
pop eax
pop ebx
push ebx
call fcn.100552c6
test al, al
je 0x100618b2
pop ebx
pop edx
pop edi
push ebx
pop ecx
pop edx
pop ebx
push ebp
push ecx
pop ebx
push ebp
pop ebx
push edx
push esi
push ecx
push ecx
push ecx
push eax
pop esi
push esp
pop edx
pop edx
pop edi
push ecx
push edi
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x218], 1
push 0
push eax
call fcn.10078730
add esp, 0xc
cmp dword [ebp - 0x214], 0
jne 0x10061960
call fcn.10054ebb
test al, al
je 0x100618fc
push ebp
push eax
pop ecx
push edx
pop ecx
pop ebx
pop ecx
pop ebp
push esp
push edi
pop ebx
pop esi
pop ebp
pop edx
push esp
push ebp
push edx
pop edi
pop eax
push esi
call fcn.1005516d
test al, al
je 0x10061921
pop edi
push edi
pop esp
pop edi
push ebp
push edi
push ebx
pop esi
pop esi
pop edi
pop ebp
push ecx
push edx
pop ebx
pop ebx
pop eax
push ebp
pop esi
push edx
pop esi
pop edi
push esi
push ebp
pop ebp
push eax
pop edi
pop edx
push edi
call fcn.10055395
test al, al
je 0x1006193f
push esp
pop edx
push edi
pop ebp
pop eax
push ebp
push ecx
pop esi
push esp
pop edi
pop ecx
pop edx
push edx
pop ecx
push esp
push ebx
pop edx
pop edi
push edx
push edi
push ebp
push 0x101f0b50
push dword [ebp - 0x210]
lea eax, [ebp - 0x20c]
push 0x101e34fc
push eax
call fcn.10021c56
add esp, 0x10
jmp 0x100619ad
call fcn.10054f8a
test al, al
je 0x10061988
push edi
pop esi
push ebp
pop eax
pop ebp
pop edx
pop edi
push ebx
push ebx
pop esi
pop eax
push esi
push esp
pop edx
push esi
push eax
pop ecx
pop ebx
pop esi
pop ebp
pop ecx
pop eax
push esp
pop eax
push edi
pop edx
pop ebp
pop edi
pop edx
pop ebx
pop ebx
push dword [ebp - 0x214]
lea eax, [ebp - 0x20c]
push 0x101f0b50
push dword [ebp - 0x210]
push str._s_s_d
push eax
call fcn.10021c56
add esp, 0x14
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100619ee
call fcn.10054d62
test al, al
je 0x100619db
pop ebp
push esp
pop ecx
pop ebx
push ebp
pop ebp
push eax
pop edx
push edx
pop edi
pop edi
pop ebp
pop ebp
push esp
pop esp
push eax
pop eax
pop ebx
push esp
pop ebp
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x218], eax
call fcn.10054dec
test al, al
je 0x10061a10
pop esp
push ecx
pop ebx
push ecx
pop ecx
pop edi
pop ecx
pop esi
push ebx
pop esp
pop ecx
push esi
push edx
push edx
push ebx
push edi
push ebx
push esi
pop esp
pop edx
push ebp
pop eax
push ebx
push edx
push ebp
cmp dword [ebp - 0x218], 0
jne 0x10061a30
mov eax, dword [ebp - 0x214]
cmp eax, 0xa
jge 0x10061a79
inc eax
mov dword [ebp - 0x214], eax
jmp 0x100618b2
call fcn.10055395
test al, al
je 0x10061a54
pop edx
push ecx
pop edi
push esi
pop ebp
push ebp
push esp
pop ebp
push ebx
push ecx
push ecx
pop esi
push ebp
push ebp
pop esp
push eax
pop edi
push esp
push ebx
push ebp
push eax
pop ecx
pop ebx
pop edi
pop esp
pop esi
pop ebx
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x210]
call fcn.100910f3
pop ecx
pop ecx
push 5
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1005d874
mov esp, ebp
pop ebp
ret