Function at 0x1009addb
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b6e86
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x100e13e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x40], ecx
push dword [ebp + 8]
mov ecx, dword [ebp - 0x40]
call fcn.10093e54
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x1009ae1c
jmp 0x1009b09a
and dword [ebp - 0x1c], 0
mov dword [ebp - 0x10], 8
cmp dword [ebp + 0xc], 0
jne 0x1009af83
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x42c], 0x64
push 0
push 0x100c6574
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x10]
mov ecx, dword [ebp - 0x40]
mov ecx, dword [ecx + 0x10]
mov eax, dword [eax]
push ecx
call dword [eax + 0x18]
cmp eax, 2
jne 0x1009ae81
mov eax, dword [ebp - 0x14]
push dword [eax + 4]
mov ecx, dword [ebp - 0x40]
call fcn.10093ec7
test eax, eax
jne 0x1009ae7c
mov dword [ebp - 0x10], 7
mov dword [ebp - 0x1c], 5
jmp 0x1009af81
mov eax, dword [ebp - 0x14]
cmp dword [eax + 4], 0x186a1
je 0x1009ae99
mov eax, dword [ebp - 0x14]
cmp dword [eax + 4], 0x186a2
jne 0x1009aee3
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 - 0x40]
call fcn.1009490b
test eax, eax
jne 0x1009aede
mov eax, dword [ebp - 0x14]
add eax, 0x90
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x1009af81
mov eax, dword [ebp - 0x14]
push dword [eax + 4]
mov ecx, dword [ebp - 0x40]
call fcn.10093ec7
test eax, eax
je 0x1009af5c
mov eax, dword [ebp - 0x14]
push dword [eax + 4]
mov ecx, dword [ebp - 0x40]
call fcn.1009490b
test eax, eax
je 0x1009af5c
mov eax, dword [ebp - 0x14]
add eax, 0x90
push eax
lea ecx, [ebp - 0x20]
call fcn.100249fc
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x324], 0
je 0x1009af4e
push dword [ebp - 0x14]
lea ecx, [ebp - 0x20]
call fcn.1001106b
push eax
mov ecx, dword [ebp - 0x40]
call fcn.10096997
test eax, eax
jne 0x1009af4e
mov dword [ebp - 0x1c], 5
mov dword [ebp - 0x10], 7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.10024124
jmp 0x1009af81
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 - 0x40]
call fcn.100962f9
jmp 0x1009afa8
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 - 0x40]
call fcn.100962f9
mov eax, dword [ebp - 0x40]
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 0x1009afdb
cmp dword [ebp - 0x18], 1
jne 0x1009b03a
cmp dword [ebp + 0xc], 0
jne 0x1009b007
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x30], esp
push 0x100c2f22
call fcn.10001436
push 0
push 0
push 0
push 2
mov ecx, 0x100fd288
call fcn.100aabb3
jmp 0x1009b02f
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x34], esp
push 0x100c2f23
call fcn.10001436
push dword [ebp + 0xc]
push 0
push 0
push 0x322
mov ecx, 0x100fd288
call fcn.100aabb3
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x40]
add ecx, 0x60
call fcn.1003fa56
lea eax, [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x40]
add ecx, 0x60
call fcn.10043ee6
push eax
lea ecx, [ebp - 0x28]
call fcn.1003fc32
movzx eax, al
test eax, eax
je 0x1009b096
lea ecx, [ebp - 0x28]
call fcn.1003fc50
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x1009b08c
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
push dword [ebp - 0x2c]
call dword [eax + 0x14]
lea ecx, [ebp - 0x28]
call fcn.1003fc61
jmp 0x1009b049
xor eax, eax
jne 0x1009b03a
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret 8