Function at 0x100efe89
Capabilities:
Delete file

Disassembly:
mov eax, 0x101772bb
call fcn.10159f04
sub esp, 0x21c
mov eax, dword [0x101b7f10]
push esi
mov esi, ecx
cmp byte [esi + 0x5dc], 0
mov dword [ebp - 0x10], eax
je 0x100efea2
call fcn.100edb68
jmp 0x100f011a
push ebx
push edi
lea ecx, [ebp - 0x210]
call fcn.10152120
and dword [ebp - 4], 0
lea ecx, [ebp - 0x110]
call fcn.10152120
mov edi, 0x10a0c250
push edi
push dword [0x10a06a1c]
lea eax, [ebp - 0x210]
push str.systemSinQuickSlot__d__s.sys
push eax
mov byte [ebp - 4], 1
call fcn.10151f80
push edi
push dword [0x10a06a1c]
lea eax, [ebp - 0x110]
push str.systemQuickSlot__d__s.sys
push eax
call fcn.10151f80
add esp, 0x20
lea ecx, [ebp - 0x110]
call fcn.10151f50
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push eax
call ebx
push edi
push dword [0x10a06a1c]
lea eax, [ebp - 0x110]
push str.systemNewQuickSlot__d__s.sys
push eax
call fcn.10151f80
add esp, 0x10
lea ecx, [ebp - 0x110]
call fcn.10151f50
push eax
call ebx
push 0x1017c3f8
lea ecx, [ebp - 0x210]
mov byte [esi + 0x5dc], 1
call fcn.10151f50
push eax
call fcn.1015963b
xor ebx, ebx
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0x224], eax
je 0x100f00fa
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.1015988a
and dword [ebp - 0x214], 0
add esp, 0x10
cmp dword [ebp - 0x21c], 0
je 0x100f00ac
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.1008664a
mov ecx, dword [ebp - 0x220]
add esp, 0x14
cmp ecx, 0xffffffff
jge 0x100effea
lea eax, [ebx + edi]
shl eax, 4
add eax, esi
mov dword [ebp - 0x214], 0xfffffffe
mov dword [eax + 0x18], 0xfffffffe
jmp 0x100f0090
jne 0x100f0014
push dword [ebp - 0x21c]
mov ecx, dword [0x10a0c36c]
and dword [ebp - 0x214], 0
call fcn.100f6645
test al, al
jbe 0x100f00ac
mov ecx, dword [ebp - 0x21c]
jmp 0x100f0059
test ecx, ecx
jl 0x100f0075
cmp ecx, 0x270f
jg 0x100f0075
mov eax, dword [0x10a0c350]
mov eax, dword [eax + 0x2428]
lea edx, [ebp - 0x214]
push edx
push ecx
push 1
push eax
call fcn.100014f0
mov ecx, dword [0x10a0c370]
add esp, 0x10
push dword [ebp - 0x214]
call fcn.100b8529
mov ecx, dword [ebp - 0x21c]
cmp eax, ecx
jne 0x100f00ac
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 0x100f0099
cmp ecx, 0x2710
jl 0x100f00ac
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 0x100eff74
inc dword [ebp - 0x228]
add ebx, 0xa
cmp ebx, 0x32
jl 0x100eff72
push dword [ebp - 0x224]
lea edi, [esi + 8]
push 1
push 4
push edi
call fcn.1015988a
add esp, 0x10
push dword [edi]
mov ecx, esi
call fcn.100ee5d8
push dword [ebp - 0x224]
call fcn.101594d4
pop ecx
mov ecx, esi
call fcn.100edc65
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 0
call fcn.10152110
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x210]
call fcn.10152110
pop edi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
call fcn.1015901e
leave
ret