Function at 0x100458b0
Capabilities:
Delete file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1007dea0
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebp
push edi
mov edi, dword [esp + 0x24]
mov ebp, ecx
mov eax, dword [ebp + 0x1c]
push edi
push eax
call fcn.10068d19
add esp, 8
test eax, eax
je 0x10045ad2
mov eax, dword [0x10098a04]
mov ecx, 0x10098a04
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x20], 0
call fcn.1001f420
add esp, 4
push edi
mov ecx, ebp
call fcn.100423b0
test eax, eax
jne 0x10045957
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov dword [esp + 0x1c], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10045ad2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop edi
pop ebp
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret 4
mov ecx, dword [esp + 0x24]
push esi
lea esi, [eax + 0x68]
mov eax, dword [esi]
push ecx
push eax
call fcn.10068d19
add esp, 8
test eax, eax
jne 0x10045990
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov dword [esp + 0x20], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x10045ac7
lea eax, [esp + 0x28]
push eax
mov ecx, esi
call fcn.10004aa0
lea ecx, [esp + 0xc]
push 0x10084910
push ecx
call fcn.1001f310
add esp, 8
mov edx, dword [0x10098a04]
mov ecx, 0x10098a04
mov byte [esp + 0x20], 1
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x10], esi
mov eax, dword [0x10098a04]
mov ecx, 0x10098a04
mov byte [esp + 0x20], 2
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
push 0
push 0x2bf
mov byte [esp + 0x28], 3
call fcn.10001450
add esp, 8
test eax, eax
je 0x10045a0c
push 0x2bf
push eax
lea ecx, [esp + 0x18]
call fcn.10004800
mov esi, dword [esp + 0x10]
push edi
lea ecx, [esp + 0x18]
push esi
push ecx
call fcn.10004e20
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
push 0x1388
push 1
push 1
push edx
push edi
call fcn.10021df0
mov eax, dword [esp + 0x2c]
add esp, 0x20
push eax
mov ecx, ebp
call fcn.10045180
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [edi - 0x10]
mov byte [esp + 0x20], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10045a69
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [esi - 0x10]
mov byte [esp + 0x20], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10045a88
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x20], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10045aab
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov dword [esp + 0x20], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10045ad1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop esi
mov ecx, dword [esp + 0x14]
pop edi
pop ebp
mov dword fs:[0], ecx
add esp, 0x18
ret 4