Function at 0x1000e960
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100ee520
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x1012d034]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push esi
push edi
mov eax, dword [0x1012d034]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x1c], ebx
mov esi, dword [ebx + 0x50]
mov edi, dword [ebx + 0x54]
mov eax, dword [ebp + 8]
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], edi
cmp esi, edi
je 0x1000eba0
lea ebx, [ebx]
xor eax, eax
mov dword [esp + 0x4c], 7
push 0xffffffffffffffff
push eax
push esi
lea ecx, [esp + 0x44]
mov dword [esp + 0x54], 0
mov word [esp + 0x44], ax
call fcn.10001a70
lea ecx, [esp + 0x38]
mov dword [esp + 0x60], 0
lea eax, [ebx + 0x34]
cmp eax, ecx
je 0x1000ea03
push 0xffffffffffffffff
push 0
push ecx
mov ecx, eax
call fcn.10001a70
mov eax, dword [ebx]
lea ecx, [esp + 0x2c]
xorps xmm0, xmm0
mov dword [esp + 0x34], 0
push ecx
mov ecx, ebx
movq qword [esp + 0x30], xmm0
call dword [eax + 0x14]
xor ecx, ecx
mov byte [esp + 0x60], 1
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
mov ecx, eax
sub ecx, ebx
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1000eb0a
xor esi, esi
cmp dword [esi + ebx + 0x14], 8
lea edx, [esi + ebx]
jb 0x1000ea60
mov edx, dword [edx]
sub esp, 0x18
xor eax, eax
mov ebx, esp
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
mov word [ebx], ax
cmp word [edx], ax
je 0x1000ea91
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1000ea82
sub eax, edi
sar eax, 1
push eax
push edx
mov ecx, ebx
call fcn.10001e10
mov edi, dword [esp + 0x34]
mov ecx, edi
call fcn.1000e510
mov ebx, eax
test ebx, ebx
je 0x1000ead0
push dword [esp + 0x28]
push ebx
call fcn.1000f1e0
xor edx, edx
mov ecx, ebx
call fcn.100b3690
cmp dword [edi + 0x30], 8
lea eax, [edi + 0x1c]
jb 0x1000eac9
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, dword [esp + 0x30]
mov eax, 0x2aaaaaab
mov ebx, dword [esp + 0x2c]
mov ecx, edi
inc dword [esp + 0x18]
sub ecx, ebx
imul ecx
add esi, 0x18
mov dword [esp + 0x14], edi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x18], eax
jb 0x1000ea54
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
test ebx, ebx
je 0x1000eb6f
mov eax, dword [esp + 0x14]
cmp ebx, eax
je 0x1000eb49
cmp dword [ebx + 0x14], 8
jb 0x1000eb2b
push dword [ebx]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
mov eax, dword [esp + 0x18]
add esp, 4
xor ecx, ecx
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
mov word [ebx], cx
add ebx, 0x18
cmp ebx, eax
jne 0x1000eb16
mov ebx, dword [esp + 0x2c]
push ebx
mov ebx, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
call ebx
add esp, 4
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
jmp 0x1000eb75
mov ebx, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
mov dword [esp + 0x60], 0xffffffff
cmp dword [esp + 0x4c], 8
jb 0x1000eb8d
push dword [esp + 0x38]
call ebx
add esp, 4
mov ebx, dword [esp + 0x1c]
add esi, 0x18
mov dword [esp + 0x20], esi
cmp esi, edi
jne 0x1000e9c0
mov al, 1
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.100ebd7b
mov esp, ebp
pop ebp
ret 4