Function at 0x100efe87
Capabilities:
Delete file

Disassembly:
mov eax, 0x1018413b
call fcn.10166ba4
sub esp, 0x21c
mov eax, dword [0x101cb280]
push esi
mov esi, ecx
cmp byte [esi + 0x5dc], 0
mov dword [ebp - 0x10], eax
je 0x100efea0
call fcn.100edb66
jmp 0x100f0118
push ebx
push edi
lea ecx, [ebp - 0x210]
call fcn.101521d0
and dword [ebp - 4], 0
lea ecx, [ebp - 0x110]
call fcn.101521d0
mov edi, 0x10a1f5b0
push edi
push dword [0x10a19d7c]
lea eax, [ebp - 0x210]
push str.systemSinQuickSlot__d__s.sys
push eax
mov byte [ebp - 4], 1
call fcn.10152030
push edi
push dword [0x10a19d7c]
lea eax, [ebp - 0x110]
push str.systemQuickSlot__d__s.sys
push eax
call fcn.10152030
add esp, 0x20
lea ecx, [ebp - 0x110]
call fcn.10152000
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push eax
call ebx
push edi
push dword [0x10a19d7c]
lea eax, [ebp - 0x110]
push str.systemNewQuickSlot__d__s.sys
push eax
call fcn.10152030
add esp, 0x10
lea ecx, [ebp - 0x110]
call fcn.10152000
push eax
call ebx
push 0x10189448
lea ecx, [ebp - 0x210]
mov byte [esi + 0x5dc], 1
call fcn.10152000
push eax
call fcn.101662db
xor ebx, ebx
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0x224], eax
je 0x100f00f8
mov dword [ebp - 0x214], ebx
mov dword [ebp - 0x228], ebx
xor edi, edi
push dword [ebp - 0x224]
lea eax, [ebp - 0x220]
push 1
push 0xc
push eax
call fcn.1016652a
and dword [ebp - 0x214], 0
add esp, 0x10
cmp dword [ebp - 0x21c], 0
je 0x100f00aa
push dword [ebp - 0x220]
push dword [ebp - 0x21c]
push edi
push dword [ebp - 0x228]
push str.HT_vQuickSlot_Load_:___d___d__d__d_n
call fcn.10086684
mov ecx, dword [ebp - 0x220]
add esp, 0x14
cmp ecx, 0xffffffff
jge 0x100effe8
lea eax, [ebx + edi]
shl eax, 4
add eax, esi
mov dword [ebp - 0x214], 0xfffffffe
mov dword [eax + 0x18], 0xfffffffe
jmp 0x100f008e
jne 0x100f0012
push dword [ebp - 0x21c]
mov ecx, dword [0x10a1f6cc]
and dword [ebp - 0x214], 0
call fcn.100f6640
test al, al
jbe 0x100f00aa
mov ecx, dword [ebp - 0x21c]
jmp 0x100f0057
test ecx, ecx
jl 0x100f0073
cmp ecx, 0x270f
jg 0x100f0073
mov eax, dword [0x10a1f6b0]
mov eax, dword [eax + 0x2428]
lea edx, [ebp - 0x214]
push edx
push ecx
push 1
push eax
call fcn.100014f0
mov ecx, dword [0x10a1f6d0]
add esp, 0x10
push dword [ebp - 0x214]
call fcn.100b854e
mov ecx, dword [ebp - 0x21c]
cmp eax, ecx
jne 0x100f00aa
lea eax, [ebx + edi]
shl eax, 4
add eax, esi
mov dword [eax + 0x14], ecx
mov ecx, dword [ebp - 0x214]
mov dword [eax + 0x18], ecx
mov ecx, dword [ebp - 0x220]
jmp 0x100f0097
cmp ecx, 0x2710
jl 0x100f00aa
or dword [ebp - 0x214], 0xffffffff
lea eax, [ebx + edi]
shl eax, 4
add eax, esi
or dword [eax + 0x18], 0xffffffff
mov edx, dword [ebp - 0x21c]
mov dword [eax + 0x14], edx
mov dword [eax + 0x1c], ecx
mov ecx, dword [ebp - 0x218]
lea eax, [ebx + edi + 2]
shl eax, 4
mov dword [eax + esi], ecx
inc edi
cmp edi, 0xa
jl 0x100eff72
inc dword [ebp - 0x228]
add ebx, 0xa
cmp ebx, 0x32
jl 0x100eff70
push dword [ebp - 0x224]
lea edi, [esi + 8]
push 1
push 4
push edi
call fcn.1016652a
add esp, 0x10
push dword [edi]
mov ecx, esi
call fcn.100ee5d6
push dword [ebp - 0x224]
call fcn.10166174
pop ecx
mov ecx, esi
call fcn.100edc63
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 0
call fcn.101521c0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x210]
call fcn.101521c0
pop edi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
call fcn.10165cbe
leave
ret