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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x10288294]
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.10055007
test al, al
je 0x10061883
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.1005549c
test al, al
je 0x100618a8
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 0x101f2cac
push dword [ebp - 0x210]
call fcn.10079ef2
pop ecx
pop ecx
test eax, eax
je 0x1006192e
call fcn.10055457
test al, al
je 0x100618d7
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.100551a5
test al, al
je 0x100618f7
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.10055091
test al, al
je 0x1006191f
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 0x10061b58
and dword [ebp - 0x214], 0
call fcn.100555b0
test al, al
je 0x10061951
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.10055526
test al, al
je 0x10061975
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.100554e1
test al, al
je 0x10061997
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.10079700
add esp, 0xc
cmp dword [ebp - 0x214], 0
jne 0x10061a45
call fcn.100550d6
test al, al
je 0x100619e1
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.10055388
test al, al
je 0x10061a06
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.100555b0
test al, al
je 0x10061a24
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 0x101f2cac
push dword [ebp - 0x210]
lea eax, [ebp - 0x20c]
push 0x101e553c
push eax
call fcn.10021d12
add esp, 0x10
jmp 0x10061a92
call fcn.100551a5
test al, al
je 0x10061a6d
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 0x101f2cac
push dword [ebp - 0x210]
push str._s_s_d
push eax
call fcn.10021d12
add esp, 0x14
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10061ad3
call fcn.10054f7d
test al, al
je 0x10061ac0
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.10055007
test al, al
je 0x10061af5
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 0x10061b15
mov eax, dword [ebp - 0x214]
cmp eax, 0xa
jge 0x10061b5e
inc eax
mov dword [ebp - 0x214], eax
jmp 0x10061997
call fcn.100555b0
test al, al
je 0x10061b39
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.1009215f
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.1005db7c
mov esp, ebp
pop ebp
ret