Function at 0x12ee5b10
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x130681f1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x228
push ebx
push ebp
push esi
xor esi, esi
push edi
mov ebx, ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], esi
lea eax, [ebx + 0x244]
push 1
push eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x248], esi
call fcn.12f560a0
mov ebp, dword [ebx + 0x268]
mov byte [esp + 0x240], 1
dec ebp
cmp ebp, esi
jl 0x12ee5bcb
lea esi, [ebp + ebp*2]
shl esi, 2
mov dword [esp + 0x10], esi
jmp 0x12ee5b80
mov esi, dword [esp + 0x10]
mov eax, dword [ebx + 0x264]
add esi, eax
cmp dword [esi + 8], 1
je 0x12ee5bcb
mov edi, dword [esp + 0x18]
push 0xffffffffffffffff
lea ecx, [edi + 1]
push ecx
lea ecx, [esp + 0x1c]
call fcn.12ee5d90
mov eax, dword [esp + 0x14]
lea edx, [edi + edi*2]
dec ebp
lea ecx, [eax + edx*4]
mov edx, dword [esi]
mov dword [ecx], edx
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
mov edx, dword [esi + 8]
mov dword [ecx + 8], edx
mov ecx, dword [esp + 0x10]
sub ecx, 0xc
test ebp, ebp
mov dword [esp + 0x10], ecx
jge 0x12ee5b7c
lea ecx, [esp + 0x24]
mov byte [esp + 0x240], 0
call fcn.12f56100
mov eax, dword [esp + 0x18]
dec eax
test eax, eax
jl 0x12ee5ca9
lea esi, [eax + eax*2]
lea ebp, [eax + 1]
shl esi, 2
mov ecx, dword [esp + 0x14]
xor eax, eax
lea edi, [esp + 0x32]
push 0x104
mov edx, dword [esi + ecx]
mov ecx, 0x81
mov word [esp + 0x34], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x34]
mov ecx, ebx
push eax
push edx
push 0x131911a8
call fcn.12ee53e0
lea ecx, [esp + 0x30]
push 0
push ecx
call fcn.12f7ff60
add esp, 8
test eax, eax
je 0x12ee5c93
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x30]
push eax
mov ecx, ebx
lea edi, [esi + edx]
call fcn.12ee5050
mov dword [edi + 4], eax
mov eax, dword [ebx + 0x30]
test eax, eax
jne 0x12ee5c93
lea edi, [ebx + 0x3c]
push edi
call fcn.12f5c44d
push eax
lea ecx, [esp + 0x38]
push edi
push ecx
call fcn.12f5e2b3
add esp, 0x10
test eax, eax
jne 0x12ee5c93
lea edx, [esp + 0x30]
push 0x13156ddc
push edx
call fcn.12f5c46a
add esp, 8
test eax, eax
je 0x12ee5c93
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esp + 0x14]
sub esi, 0xc
dec ebp
mov dword [esi + ecx + 0x14], 1
jne 0x12ee5bf2
lea eax, [ebx + 0x244]
push 1
push eax
lea ecx, [esp + 0x2c]
call fcn.12f560a0
mov eax, dword [esp + 0x18]
xor ebp, ebp
cmp eax, ebp
mov byte [esp + 0x240], 2
mov dword [esp + 0x10], ebp
jle 0x12ee5d2a
mov eax, dword [ebx + 0x268]
dec eax
test eax, eax
jl 0x12ee5d16
mov edx, dword [esp + 0x14]
mov esi, dword [ebx + 0x264]
mov edi, dword [edx + ebp]
lea ecx, [edx + ebp]
lea edx, [eax + eax*2]
lea edx, [esi + edx*4]
cmp dword [edx], edi
je 0x12ee5d00
dec eax
sub edx, 0xc
test eax, eax
jge 0x12ee5cf2
jmp 0x12ee5d16
lea eax, [eax + eax*2]
lea edx, [esi + eax*4]
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov ecx, dword [ecx + 8]
mov dword [edx + 8], ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
inc eax
add ebp, 0xc
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x12ee5cd1
lea ecx, [esp + 0x24]
mov byte [esp + 0x240], 0
call fcn.12f56100
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
test eax, eax
mov dword [esp + 0x234], 0xffffffff
pop ebx
je 0x12ee5d5b
push eax
call fcn.12f5bf80
add esp, 4
mov ecx, dword [esp + 0x228]
mov dword fs:[0], ecx
add esp, 0x234
ret