Function at 0x1009ef3d
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bffae
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x100ed3e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4c], ecx
push dword [ebp + 8]
mov ecx, dword [ebp - 0x4c]
call fcn.100976d0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x1009ef7e
jmp 0x1009f287
and dword [ebp - 0x1c], 0
mov dword [ebp - 0x10], 8
cmp dword [ebp + 0xc], 0
jne 0x1009f0e5
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x42c], 0x64
push 0
push 0x100cffcc
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x10]
mov ecx, dword [ebp - 0x4c]
mov ecx, dword [ecx + 0x10]
mov eax, dword [eax]
push ecx
call dword [eax + 0x18]
cmp eax, 2
jne 0x1009efe3
mov eax, dword [ebp - 0x14]
push dword [eax + 4]
mov ecx, dword [ebp - 0x4c]
call fcn.10097743
test eax, eax
jne 0x1009efde
mov dword [ebp - 0x10], 7
mov dword [ebp - 0x1c], 5
jmp 0x1009f0e3
mov eax, dword [ebp - 0x14]
cmp dword [eax + 4], 0x186a1
je 0x1009effb
mov eax, dword [ebp - 0x14]
cmp dword [eax + 4], 0x186a2
jne 0x1009f045
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x430], 0x64
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x42c], 0x64
mov eax, dword [ebp - 0x14]
mov dword [eax + 8], 0xb
mov eax, dword [ebp - 0x14]
push dword [eax + 4]
mov ecx, dword [ebp - 0x4c]
call fcn.100983b2
test eax, eax
jne 0x1009f040
mov eax, dword [ebp - 0x14]
add eax, 0x90
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x1009f0e3
mov eax, dword [ebp - 0x14]
push dword [eax + 4]
mov ecx, dword [ebp - 0x4c]
call fcn.10097743
test eax, eax
je 0x1009f0be
mov eax, dword [ebp - 0x14]
push dword [eax + 4]
mov ecx, dword [ebp - 0x4c]
call fcn.100983b2
test eax, eax
je 0x1009f0be
mov eax, dword [ebp - 0x14]
add eax, 0x90
push eax
lea ecx, [ebp - 0x20]
call fcn.10024f73
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x324], 0
je 0x1009f0b0
push dword [ebp - 0x14]
lea ecx, [ebp - 0x20]
call fcn.100317eb
push eax
mov ecx, dword [ebp - 0x4c]
call fcn.1009b3cd
test eax, eax
jne 0x1009f0b0
mov dword [ebp - 0x1c], 5
mov dword [ebp - 0x10], 7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.1002467f
jmp 0x1009f0e3
mov dword [ebp - 0x1c], 5
mov dword [ebp - 0x10], 6
mov eax, dword [ebp - 0x14]
push dword [eax + 0x320]
mov eax, dword [ebp - 0x14]
push dword [eax + 4]
mov ecx, dword [ebp - 0x4c]
call fcn.1009aa7c
jmp 0x1009f10a
mov dword [ebp - 0x10], 7
mov dword [ebp - 0x1c], 4
mov eax, dword [ebp - 0x14]
push dword [eax + 0x320]
mov eax, dword [ebp - 0x14]
push dword [eax + 4]
mov ecx, dword [ebp - 0x4c]
call fcn.1009aa7c
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 0xc4], ecx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov dword [eax + 8], ecx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 0xc], ecx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
je 0x1009f141
cmp dword [ebp - 0x18], 1
jne 0x1009f227
cmp dword [ebp + 0xc], 0
jne 0x1009f1f4
lea ecx, [ebp - 0x24]
call fcn.10003c5a
mov dword [ebp - 4], 1
push 0
push 0x100cffd4
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x10]
mov ecx, dword [ebp - 0x4c]
mov ecx, dword [ecx + 0x10]
mov eax, dword [eax]
push ecx
call dword [eax + 0x18]
mov dword [ebp - 0x28], eax
push dword [ebp - 0x28]
push 0x100cffe4
lea eax, [ebp - 0x24]
push eax
call fcn.100160e3
add esp, 0xc
lea ecx, [ebp - 0x24]
call fcn.10010b64
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x38], esp
push eax
call fcn.1000142c
push 0
push 0x64
push 0
push 2
mov ecx, 0x10109348
call fcn.100b389f
call fcn.100b1636
test eax, eax
je 0x1009f1e6
lea ecx, [ebp - 0x24]
call fcn.10010b64
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x3c], esp
push eax
call fcn.1000142c
push 0
push 0x64
push 0
push 0xfa02
mov ecx, 0x10109348
call fcn.100b389f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.100106f6
jmp 0x1009f21c
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x40], esp
push 0x100cd7fa
call fcn.1000142c
push dword [ebp + 0xc]
push 0
push 0
push 0x322
mov ecx, 0x10109348
call fcn.100b389f
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x4c]
add ecx, 0x60
call fcn.10041e0d
lea eax, [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x4c]
add ecx, 0x60
call fcn.10041e2c
push eax
lea ecx, [ebp - 0x30]
call fcn.100420b8
movzx eax, al
test eax, eax
je 0x1009f283
lea ecx, [ebp - 0x30]
call fcn.1004200a
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x1009f279
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
push dword [ebp - 0x34]
call dword [eax + 0x14]
lea ecx, [ebp - 0x30]
call fcn.10041ff6
jmp 0x1009f236
xor eax, eax
jne 0x1009f227
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret 8