Function at 0x12ee5b20
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x130682c1
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.12f56170
mov ebp, dword [ebx + 0x268]
mov byte [esp + 0x240], 1
dec ebp
cmp ebp, esi
jl 0x12ee5bdb
lea esi, [ebp + ebp*2]
shl esi, 2
mov dword [esp + 0x10], esi
jmp 0x12ee5b90
mov esi, dword [esp + 0x10]
mov eax, dword [ebx + 0x264]
add esi, eax
cmp dword [esi + 8], 1
je 0x12ee5bdb
mov edi, dword [esp + 0x18]
push 0xffffffffffffffff
lea ecx, [edi + 1]
push ecx
lea ecx, [esp + 0x1c]
call fcn.12ee5da0
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 0x12ee5b8c
lea ecx, [esp + 0x24]
mov byte [esp + 0x240], 0
call fcn.12f561d0
mov eax, dword [esp + 0x18]
dec eax
test eax, eax
jl 0x12ee5cb9
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 0x131912a8
call fcn.12ee53f0
lea ecx, [esp + 0x30]
push 0
push ecx
call fcn.12f80030
add esp, 8
test eax, eax
je 0x12ee5ca3
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x30]
push eax
mov ecx, ebx
lea edi, [esi + edx]
call fcn.12ee5060
mov dword [edi + 4], eax
mov eax, dword [ebx + 0x30]
test eax, eax
jne 0x12ee5ca3
lea edi, [ebx + 0x3c]
push edi
call fcn.12f5c51d
push eax
lea ecx, [esp + 0x38]
push edi
push ecx
call fcn.12f5e383
add esp, 0x10
test eax, eax
jne 0x12ee5ca3
lea edx, [esp + 0x30]
push str.OCularClipboardData_
push edx
call fcn.12f5c53a
add esp, 8
test eax, eax
je 0x12ee5ca3
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 0x12ee5c02
lea eax, [ebx + 0x244]
push 1
push eax
lea ecx, [esp + 0x2c]
call fcn.12f56170
mov eax, dword [esp + 0x18]
xor ebp, ebp
cmp eax, ebp
mov byte [esp + 0x240], 2
mov dword [esp + 0x10], ebp
jle 0x12ee5d3a
mov eax, dword [ebx + 0x268]
dec eax
test eax, eax
jl 0x12ee5d26
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 0x12ee5d10
dec eax
sub edx, 0xc
test eax, eax
jge 0x12ee5d02
jmp 0x12ee5d26
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 0x12ee5ce1
lea ecx, [esp + 0x24]
mov byte [esp + 0x240], 0
call fcn.12f561d0
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
test eax, eax
mov dword [esp + 0x234], 0xffffffff
pop ebx
je 0x12ee5d6b
push eax
call fcn.12f5c050
add esp, 4
mov ecx, dword [esp + 0x228]
mov dword fs:[0], ecx
add esp, 0x234
ret