Function at 0x1001f381
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10067b19
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1001f3bb
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x34], eax
push 1
push dword [ebp - 0x34]
call fcn.1001f5d2
pop ecx
pop ecx
jmp 0x1001f5c4
lea eax, [ebp + 8]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax]
test eax, eax
je 0x1001f3d8
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x1001f5c4
mov dword [ebp - 0x3c], 0x1841
cmp dword [ebp - 0x3c], 0x11fb
jge 0x1001f5ab
lea eax, [ebp - 0x20]
push eax
push 0x1000784c
call fcn.1004f8bb
pop ecx
pop ecx
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x20]
dec eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x40], 0
je 0x1001f5ab
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x10007ca4
call fcn.1004f8bb
add esp, 0xc
mov eax, dword [ebp - 0x14]
inc eax
push eax
lea ecx, [ebp - 0x68]
call fcn.1000ecc1
and dword [ebp - 4], 0
mov dword [ebp - 0x18], 1
jmp 0x1001f449
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x14]
jg 0x1001f46b
push dword [ebp - 0x18]
lea ecx, [ebp - 0x68]
call fcn.1000ed9f
push eax
push 0x1000784c
call fcn.1004f8bb
pop ecx
pop ecx
jmp 0x1001f442
mov eax, dword [ebp - 0x14]
inc eax
push eax
lea ecx, [ebp - 0x5c]
call fcn.1000ecc1
mov byte [ebp - 4], 1
mov dword [ebp - 0x1c], 1
jmp 0x1001f48c
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x14]
jg 0x1001f4ae
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x5c]
call fcn.1000ed9f
push eax
push 0x1000784c
call fcn.1004f8bb
pop ecx
pop ecx
jmp 0x1001f485
mov byte [ebp - 0xe], 0
lea eax, [ebp - 0xe]
push eax
mov eax, dword [ebp - 0x14]
inc eax
push eax
lea ecx, [ebp - 0x78]
call fcn.10032f58
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
inc eax
push eax
lea ecx, [ebp - 0x50]
call fcn.1003300f
mov byte [ebp - 4], 3
mov dword [ebp - 0x24], 1
jmp 0x1001f4e8
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x14]
jge 0x1001f533
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x28]
push eax
push 0x10007ca4
call fcn.1004f8bb
add esp, 0xc
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x28]
lea ecx, [ebp - 0x50]
call fcn.1003307b
mov ecx, eax
call fcn.10032ceb
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x50]
call fcn.1003307b
mov ecx, eax
call fcn.10032ceb
jmp 0x1001f4e1
mov byte [ebp - 0xd], 1
lea eax, [ebp - 0xd]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x50]
push eax
push 1
call fcn.1001f1b8
add esp, 0x18
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x1001f566
mov dword [ebp - 0x30], 0x1000787c
jmp 0x1001f56d
mov dword [ebp - 0x30], 0x10007880
push dword [ebp - 0x30]
call fcn.1004fca6
pop ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x50]
call fcn.10033076
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x78]
call fcn.10032f96
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call fcn.1000ed74
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.1000ed74
jmp 0x1001f3fc
push 0x197f
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_SetLayout]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret