Function at 0x12e9ef60
Capabilities:
Delete file
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1306365b
push eax
mov dword fs:[0], esp
sub esp, 0xa4
push edi
mov edi, ecx
cmp dword [edi], 0
jne 0x12e9ef8a
xor eax, eax
jmp 0x12e9f2cc
push ebx
push ebp
push esi
mov esi, dword [esp + 0xc4]
mov ecx, esi
xor ebx, ebx
call fcn.12e024c0
mov ecx, esi
call fcn.12e02640
mov ecx, esi
call fcn.12e02870
mov ecx, esi
mov ebp, eax
call fcn.12e029d0
mov ecx, esi
mov dword [esp + 0x28], eax
call fcn.12e02880
mov ecx, esi
mov dword [esp + 0x1c], eax
call fcn.12e029e0
mov ecx, esi
mov dword [esp + 0x24], eax
call fcn.12e022d0
lea ecx, [esp + 0x30]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x10], ebx
call fcn.12f4cc70
lea ecx, [esp + 0x40]
mov dword [esp + 0xbc], ebx
call fcn.12f4cc70
lea ecx, [esp + 0x60]
mov byte [esp + 0xbc], 1
call fcn.12f4cc70
lea ecx, [esp + 0x50]
mov byte [esp + 0xbc], 2
call fcn.12f4cc70
lea eax, [edi + 8]
push 1
push eax
lea ecx, [esp + 0x78]
mov byte [esp + 0xc4], 3
call fcn.12f56170
mov eax, dword [edi + 0x2c]
mov byte [esp + 0xbc], 4
test eax, eax
jle 0x12e9f04b
lea ecx, [edi + 0x28]
push ecx
lea ecx, [esp + 0x34]
call fcn.12f4cec0
mov eax, dword [edi + 0x3c]
test eax, eax
jle 0x12e9f05f
lea edx, [edi + 0x38]
lea ecx, [esp + 0x40]
push edx
call fcn.12f4cec0
mov eax, dword [edi + 0x4c]
test eax, eax
jle 0x12e9f073
lea eax, [edi + 0x48]
lea ecx, [esp + 0x60]
push eax
call fcn.12f4cec0
mov eax, dword [edi + 0x5c]
test eax, eax
jle 0x12e9f087
lea ecx, [edi + 0x58]
push ecx
lea ecx, [esp + 0x54]
call fcn.12f4cec0
lea ecx, [esp + 0x70]
mov byte [esp + 0xbc], 3
call fcn.12f561d0
mov edx, dword [esp + 0x1c]
xor eax, eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x14], eax
cmp eax, 1
jne 0x12e9f0bf
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x20]
test eax, eax
je 0x12e9f1b8
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x12e9f1b8
push 0x2e
push eax
call fcn.12f5c984
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x12e9f1b8
lea edx, [esp + 0x60]
push 0
push edx
push ebp
mov ecx, edi
call fcn.12e9ec30
test eax, eax
je 0x12e9f1b8
push esi
mov ecx, edi
call fcn.12e9ecc0
test eax, eax
jne 0x12e9f1dc
push eax
lea eax, [esp + 0x54]
push eax
push ebp
mov ecx, edi
call fcn.12e9ec30
test eax, eax
je 0x12e9f14c
mov eax, dword [esp + 0x44]
test eax, eax
je 0x12e9f1e8
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x40]
push 1
push ecx
push edx
mov ecx, edi
call fcn.12e9ec30
test eax, eax
jne 0x12e9f1e8
mov eax, dword [esp + 0x34]
test eax, eax
je 0x12e9f16b
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x30]
push 1
push eax
push ecx
mov ecx, edi
call fcn.12e9ec30
test eax, eax
je 0x12e9f17a
mov ebx, 1
mov dword [esp + 0x10], 4
jmp 0x12e9f17e
test ebx, ebx
je 0x12e9f1c8
mov eax, dword [edi + 0x68]
test eax, eax
je 0x12e9f1b8
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x12e9f1b8
cmp dword [esp + 0x14], 1
jne 0x12e9f1b8
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [0x13199068]
test eax, eax
je 0x12e9f1b8
push str.IsForbid_DeleteFile
push str.DocCtrlExt
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0xc
test ebx, ebx
je 0x12e9f1c8
mov edx, dword [esp + 0x14]
mov ecx, esi
push edx
call fcn.12e02b90
mov eax, dword [esp + 0x14]
inc eax
cmp eax, 2
mov dword [esp + 0x14], eax
jl 0x12e9f0aa
jmp 0x12e9f1f2
xor ebx, ebx
mov dword [esp + 0x10], 1
jmp 0x12e9f1f2
xor ebx, ebx
mov dword [esp + 0x10], 3
mov eax, dword [0x13199068]
test eax, eax
je 0x12e9f224
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x14]
push ecx
push edx
push eax
push ebx
push str.IsForbid__bRet:_d__Step:_d__OpType:_d__Src:_s__Dst:_s_
push str.DocCtrlExt
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x20
test ebx, ebx
je 0x12e9f280
mov ecx, 0xd
xor eax, eax
lea edi, [esp + 0x80]
mov dword [esp + 0x7c], 0
rep stosd dword es:[edi], eax
mov eax, dword [0x131be634]
mov dword [esp + 0x90], 2
test eax, eax
je 0x12e9f270
mov ecx, 0x131be630
mov dword [esp + 0x90], 0x22
call fcn.12e9f390
mov dword [esp + 0x94], eax
lea ecx, [esp + 0x7c]
push esi
push ecx
mov ecx, 0x131bed28
call fcn.12ea8950
lea ecx, [esp + 0x50]
mov byte [esp + 0xbc], 2
call fcn.12f4cc80
lea ecx, [esp + 0x60]
mov byte [esp + 0xbc], 1
call fcn.12f4cc80
lea ecx, [esp + 0x40]
mov byte [esp + 0xbc], 0
call fcn.12f4cc80
lea ecx, [esp + 0x30]
mov dword [esp + 0xbc], 0xffffffff
call fcn.12f4cc80
pop esi
mov eax, ebx
pop ebp
pop ebx
mov ecx, dword [esp + 0xa8]
pop edi
mov dword fs:[0], ecx
add esp, 0xb0
ret 4