Function at 0x100efb4b
Capabilities:
Delete file

Disassembly:
mov eax, 0x1017647a
call fcn.101590a4
sub esp, 0x21c
mov eax, dword [0x101b6f10]
push esi
mov esi, ecx
cmp byte [esi + 0x5dc], 0
mov dword [ebp - 0x10], eax
je 0x100efb79
call fcn.100ed83f
jmp 0x100efdf1
push ebx
push edi
lea ecx, [ebp - 0x210]
call fcn.101512c0
and dword [ebp - 4], 0
lea ecx, [ebp - 0x110]
call fcn.101512c0
mov edi, 0x10a0b250
push edi
push dword [0x10a05a1c]
lea eax, [ebp - 0x210]
push str.systemSinQuickSlot__d__s.sys
push eax
mov byte [ebp - 4], 1
call fcn.10151120
push edi
push dword [0x10a05a1c]
lea eax, [ebp - 0x110]
push str.systemQuickSlot__d__s.sys
push eax
call fcn.10151120
add esp, 0x20
lea ecx, [ebp - 0x110]
call fcn.101510f0
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push eax
call ebx
push edi
push dword [0x10a05a1c]
lea eax, [ebp - 0x110]
push str.systemNewQuickSlot__d__s.sys
push eax
call fcn.10151120
add esp, 0x10
lea ecx, [ebp - 0x110]
call fcn.101510f0
push eax
call ebx
push 0x1017b3f8
lea ecx, [ebp - 0x210]
mov byte [esi + 0x5dc], 1
call fcn.101510f0
push eax
call fcn.101587db
xor ebx, ebx
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0x224], eax
je 0x100efdd1
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.10158a2a
and dword [ebp - 0x214], 0
add esp, 0x10
cmp dword [ebp - 0x21c], 0
je 0x100efd83
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.10086127
mov ecx, dword [ebp - 0x220]
add esp, 0x14
cmp ecx, 0xffffffff
jge 0x100efcc1
lea eax, [ebx + edi]
shl eax, 4
add eax, esi
mov dword [ebp - 0x214], 0xfffffffe
mov dword [eax + 0x18], 0xfffffffe
jmp 0x100efd67
jne 0x100efceb
push dword [ebp - 0x21c]
mov ecx, dword [0x10a0b36c]
and dword [ebp - 0x214], 0
call fcn.100f6316
test al, al
jbe 0x100efd83
mov ecx, dword [ebp - 0x21c]
jmp 0x100efd30
test ecx, ecx
jl 0x100efd4c
cmp ecx, 0x270f
jg 0x100efd4c
mov eax, dword [0x10a0b350]
mov eax, dword [eax + 0x2428]
lea edx, [ebp - 0x214]
push edx
push ecx
push 1
push eax
call fcn.100014f0
mov ecx, dword [0x10a0b370]
add esp, 0x10
push dword [ebp - 0x214]
call fcn.100b8010
mov ecx, dword [ebp - 0x21c]
cmp eax, ecx
jne 0x100efd83
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 0x100efd70
cmp ecx, 0x2710
jl 0x100efd83
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 0x100efc4b
inc dword [ebp - 0x228]
add ebx, 0xa
cmp ebx, 0x32
jl 0x100efc49
push dword [ebp - 0x224]
lea edi, [esi + 8]
push 1
push 4
push edi
call fcn.10158a2a
add esp, 0x10
push dword [edi]
mov ecx, esi
call fcn.100ee2af
push dword [ebp - 0x224]
call fcn.10158674
pop ecx
mov ecx, esi
call fcn.100ed93c
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 0
call fcn.101512b0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x210]
call fcn.101512b0
pop edi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
call fcn.101581be
leave
ret