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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1306358b
push eax
mov dword fs:[0], esp
sub esp, 0xa4
push edi
mov edi, ecx
cmp dword [edi], 0
jne 0x12e9ef7a
xor eax, eax
jmp 0x12e9f2bc
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.12f4cba0
lea ecx, [esp + 0x40]
mov dword [esp + 0xbc], ebx
call fcn.12f4cba0
lea ecx, [esp + 0x60]
mov byte [esp + 0xbc], 1
call fcn.12f4cba0
lea ecx, [esp + 0x50]
mov byte [esp + 0xbc], 2
call fcn.12f4cba0
lea eax, [edi + 8]
push 1
push eax
lea ecx, [esp + 0x78]
mov byte [esp + 0xc4], 3
call fcn.12f560a0
mov eax, dword [edi + 0x2c]
mov byte [esp + 0xbc], 4
test eax, eax
jle 0x12e9f03b
lea ecx, [edi + 0x28]
push ecx
lea ecx, [esp + 0x34]
call fcn.12f4cdf0
mov eax, dword [edi + 0x3c]
test eax, eax
jle 0x12e9f04f
lea edx, [edi + 0x38]
lea ecx, [esp + 0x40]
push edx
call fcn.12f4cdf0
mov eax, dword [edi + 0x4c]
test eax, eax
jle 0x12e9f063
lea eax, [edi + 0x48]
lea ecx, [esp + 0x60]
push eax
call fcn.12f4cdf0
mov eax, dword [edi + 0x5c]
test eax, eax
jle 0x12e9f077
lea ecx, [edi + 0x58]
push ecx
lea ecx, [esp + 0x54]
call fcn.12f4cdf0
lea ecx, [esp + 0x70]
mov byte [esp + 0xbc], 3
call fcn.12f56100
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 0x12e9f0af
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 0x12e9f1a8
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x12e9f1a8
push 0x2e
push eax
call fcn.12f5c8b4
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x12e9f1a8
lea edx, [esp + 0x60]
push 0
push edx
push ebp
mov ecx, edi
call fcn.12e9ec20
test eax, eax
je 0x12e9f1a8
push esi
mov ecx, edi
call fcn.12e9ecb0
test eax, eax
jne 0x12e9f1cc
push eax
lea eax, [esp + 0x54]
push eax
push ebp
mov ecx, edi
call fcn.12e9ec20
test eax, eax
je 0x12e9f13c
mov eax, dword [esp + 0x44]
test eax, eax
je 0x12e9f1d8
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x40]
push 1
push ecx
push edx
mov ecx, edi
call fcn.12e9ec20
test eax, eax
jne 0x12e9f1d8
mov eax, dword [esp + 0x34]
test eax, eax
je 0x12e9f15b
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x30]
push 1
push eax
push ecx
mov ecx, edi
call fcn.12e9ec20
test eax, eax
je 0x12e9f16a
mov ebx, 1
mov dword [esp + 0x10], 4
jmp 0x12e9f16e
test ebx, ebx
je 0x12e9f1b8
mov eax, dword [edi + 0x68]
test eax, eax
je 0x12e9f1a8
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x12e9f1a8
cmp dword [esp + 0x14], 1
jne 0x12e9f1a8
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [0x13198f68]
test eax, eax
je 0x12e9f1a8
push 0x1312e4cc
push 0x1312e15c
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0xc
test ebx, ebx
je 0x12e9f1b8
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 0x12e9f09a
jmp 0x12e9f1e2
xor ebx, ebx
mov dword [esp + 0x10], 1
jmp 0x12e9f1e2
xor ebx, ebx
mov dword [esp + 0x10], 3
mov eax, dword [0x13198f68]
test eax, eax
je 0x12e9f214
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 0x1312e45c
push 0x1312e15c
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x20
test ebx, ebx
je 0x12e9f270
mov ecx, 0xd
xor eax, eax
lea edi, [esp + 0x80]
mov dword [esp + 0x7c], 0
rep stosd dword es:[edi], eax
mov eax, dword [0x131be534]
mov dword [esp + 0x90], 2
test eax, eax
je 0x12e9f260
mov ecx, 0x131be530
mov dword [esp + 0x90], 0x22
call fcn.12e9f380
mov dword [esp + 0x94], eax
lea ecx, [esp + 0x7c]
push esi
push ecx
mov ecx, 0x131bec28
call fcn.12ea8940
lea ecx, [esp + 0x50]
mov byte [esp + 0xbc], 2
call fcn.12f4cbb0
lea ecx, [esp + 0x60]
mov byte [esp + 0xbc], 1
call fcn.12f4cbb0
lea ecx, [esp + 0x40]
mov byte [esp + 0xbc], 0
call fcn.12f4cbb0
lea ecx, [esp + 0x30]
mov dword [esp + 0xbc], 0xffffffff
call fcn.12f4cbb0
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