Function at 0x1000cfd0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100dee90
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x10115034]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push esi
push edi
mov eax, dword [0x10115034]
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 0x1000d210
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.10001a60
lea ecx, [esp + 0x38]
mov dword [esp + 0x60], 0
lea eax, [ebx + 0x34]
cmp eax, ecx
je 0x1000d073
push 0xffffffffffffffff
push 0
push ecx
mov ecx, eax
call fcn.10001a60
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 + 0x10]
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 0x1000d17a
xor esi, esi
cmp dword [esi + ebx + 0x14], 8
lea edx, [esi + ebx]
jb 0x1000d0d0
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 0x1000d101
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1000d0f2
sub eax, edi
sar eax, 1
push eax
push edx
mov ecx, ebx
call fcn.10001df0
mov edi, dword [esp + 0x34]
mov ecx, edi
call fcn.1000cb80
mov ebx, eax
test ebx, ebx
je 0x1000d140
push dword [esp + 0x28]
push ebx
call fcn.1000d770
xor edx, edx
mov ecx, ebx
call fcn.100a7d10
cmp dword [edi + 0x30], 8
lea eax, [edi + 0x1c]
jb 0x1000d139
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 0x1000d0c4
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
test ebx, ebx
je 0x1000d1df
mov eax, dword [esp + 0x14]
cmp ebx, eax
je 0x1000d1b9
cmp dword [ebx + 0x14], 8
jb 0x1000d19b
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 0x1000d186
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 0x1000d1e5
mov ebx, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
mov dword [esp + 0x60], 0xffffffff
cmp dword [esp + 0x4c], 8
jb 0x1000d1fd
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 0x1000d030
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.100dc8fb
mov esp, ebp
pop ebp
ret 4