Function at 0x1000ff54
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x324
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x320]
xor ebx, ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0xfc]
call fcn.100020ee
lea ecx, [ebp - 0xe4]
call fcn.100020ee
lea ecx, [ebp - 0xcc]
call fcn.100020ee
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0xc], ebx
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], bl
mov byte [ebp - 5], bl
mov byte [ebp - 6], bl
call fcn.10017ce4
mov ecx, eax
call fcn.10001fae
push eax
mov dl, 0x30
lea ecx, [ebp - 0xb4]
call fcn.1000b984
pop ecx
lea ecx, [ebp - 0x24]
call fcn.10001fe0
lea ecx, [ebp - 0x24]
call fcn.10017ce4
mov ecx, eax
call fcn.10001fae
push eax
mov dl, 0x30
lea ecx, [ebp - 0x9c]
call fcn.1000b984
pop ecx
lea ecx, [ebp - 0x24]
call fcn.10001fe0
lea ecx, [ebp - 0x24]
call fcn.10017ce4
mov ecx, eax
call fcn.10001fae
push eax
mov dl, 0x30
lea ecx, [ebp - 0x84]
call fcn.1000b984
pop ecx
lea ecx, [ebp - 0x24]
call fcn.10001fe0
lea ecx, [ebp + 0x38]
call fcn.10001fae
mov esi, eax
lea ecx, [ebp - 0x6c]
push 0x100604f4
lea eax, [ebp - 0xb4]
push eax
push str.__stext__
call fcn.10004287
push eax
lea edx, [ebp - 0x320]
lea ecx, [ebp - 0x54]
call fcn.1000440d
pop ecx
mov edx, eax
lea ecx, [ebp - 0x3c]
call fcn.10004431
pop ecx
mov edx, eax
lea ecx, [ebp - 0x24]
call fcn.100030bf
pop ecx
mov ecx, eax
call fcn.10001f04
mov edx, esi
mov ecx, eax
call fcn.10014d7c
lea ecx, [ebp - 0x24]
mov byte [ebp - 1], al
call fcn.10001f09
lea ecx, [ebp - 0x3c]
call fcn.10001f09
lea ecx, [ebp - 0x54]
call fcn.10001f09
lea ecx, [ebp - 0x6c]
call fcn.10001f09
cmp byte [ebp - 1], 0
jne 0x100100aa
push 0xa
call edi
inc ebx
cmp ebx, 0xa
jl 0x1001001a
xor ebx, ebx
lea ecx, [ebp + 0x68]
call fcn.10001fae
mov esi, eax
lea ecx, [ebp - 0x24]
push 0x100604f4
lea eax, [ebp - 0x9c]
push eax
push str.__stext__
call fcn.10004287
push eax
lea edx, [ebp - 0x320]
lea ecx, [ebp - 0x3c]
call fcn.1000440d
pop ecx
mov edx, eax
lea ecx, [ebp - 0x54]
call fcn.10004431
pop ecx
mov edx, eax
lea ecx, [ebp - 0x6c]
call fcn.100030bf
pop ecx
mov ecx, eax
call fcn.10001f04
mov edx, esi
mov ecx, eax
call fcn.10014d7c
lea ecx, [ebp - 0x6c]
mov byte [ebp - 3], al
call fcn.10001f09
lea ecx, [ebp - 0x54]
call fcn.10001f09
lea ecx, [ebp - 0x3c]
call fcn.10001f09
lea ecx, [ebp - 0x24]
call fcn.10001f09
cmp byte [ebp - 3], 0
jne 0x1001013c
push 0xa
call edi
inc ebx
cmp ebx, 0xa
jl 0x100100ac
xor ebx, ebx
lea ecx, [ebp + 0x50]
call fcn.10001fae
mov esi, eax
lea ecx, [ebp - 0x24]
push 0x100604f4
lea eax, [ebp - 0x84]
push eax
push str.__stext__
call fcn.10004287
push eax
lea edx, [ebp - 0x320]
lea ecx, [ebp - 0x3c]
call fcn.1000440d
pop ecx
mov edx, eax
lea ecx, [ebp - 0x54]
call fcn.10004431
pop ecx
mov edx, eax
lea ecx, [ebp - 0x6c]
call fcn.100030bf
pop ecx
mov ecx, eax
call fcn.10001f04
mov edx, esi
mov ecx, eax
call fcn.10014d7c
lea ecx, [ebp - 0x6c]
mov byte [ebp - 2], al
call fcn.10001f09
lea ecx, [ebp - 0x54]
call fcn.10001f09
lea ecx, [ebp - 0x3c]
call fcn.10001f09
lea ecx, [ebp - 0x24]
call fcn.10001f09
cmp byte [ebp - 2], 0
jne 0x100101ce
push 0xa
call edi
inc ebx
cmp ebx, 0xa
jl 0x1001013e
xor eax, eax
cmp byte [ebp - 1], al
sete al
cmp byte [ebp - 2], 0
lea ecx, [eax + 1]
cmovne ecx, eax
cmp byte [ebp - 3], 0
lea esi, [ecx + 1]
cmovne esi, ecx
xor ebx, ebx
lea ecx, [ebp - 0xb4]
call fcn.10001f04
lea edx, [ebp - 0xfc]
mov ecx, eax
call fcn.10018603
test al, al
je 0x1001021e
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 1
call fcn.10001f04
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x84]
call fcn.10001f04
lea edx, [ebp - 0xe4]
mov ecx, eax
call fcn.10018603
test al, al
je 0x10010250
lea ecx, [ebp - 0x84]
mov byte [ebp - 5], 1
call fcn.10001f04
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x9c]
call fcn.10001f04
lea edx, [ebp - 0xcc]
mov ecx, eax
call fcn.10018603
test al, al
je 0x10010282
lea ecx, [ebp - 0x9c]
mov byte [ebp - 6], 1
call fcn.10001f04
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp byte [ebp - 4], 0
je 0x10010294
cmp byte [ebp - 5], 0
je 0x10010294
cmp byte [ebp - 6], 0
jne 0x100102a5
push 0x1f4
call edi
inc ebx
cmp ebx, 0xa
jl 0x100101ec
lea ecx, [ebp - 0xfc]
call fcn.1000629b
test al, al
je 0x1001030c
lea ecx, [ebp - 0xcc]
call fcn.1000629b
test al, al
je 0x1001030c
lea ecx, [ebp - 0xe4]
call fcn.1000629b
test al, al
je 0x1001030c
push 0x64
call edi
lea ecx, [ebp - 0x84]
call fcn.10001f09
lea ecx, [ebp - 0x9c]
call fcn.10001f09
lea ecx, [ebp - 0xb4]
call fcn.10001f09
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
push 0
pop ebx
cmp eax, 0xa
jl 0x1000ff9f
jmp 0x1001032d
lea ecx, [ebp - 0x84]
call fcn.10001f09
lea ecx, [ebp - 0x9c]
call fcn.10001f09
lea ecx, [ebp - 0xb4]
call fcn.10001f09
mov edx, 0x10060790
lea ecx, [ebp + 8]
call fcn.10005c35
test al, al
je 0x1001042c
mov edx, esi
lea ecx, [ebp - 0x114]
call fcn.10017e8c
sub esp, 0x18
lea ecx, [ebp - 0xcc]
mov esi, esp
lea edx, [ebp + 0x20]
push eax
mov eax, 0x1006ee80
push eax
push ecx
push eax
lea ecx, [ebp - 0xe4]
push ecx
push eax
lea ecx, [ebp - 0xfc]
push ecx
push eax
lea ecx, [ebp - 0x84]
call fcn.10002fd0
pop ecx
mov edx, eax
lea ecx, [ebp - 0x9c]
call fcn.10002fac
pop ecx
mov edx, eax
lea ecx, [ebp - 0xb4]
call fcn.10002fac
pop ecx
mov edx, eax
lea ecx, [ebp - 0x24]
call fcn.10002fac
pop ecx
mov edx, eax
lea ecx, [ebp - 0x3c]
call fcn.10002fac
pop ecx
mov edx, eax
lea ecx, [ebp - 0x54]
call fcn.10002fac
pop ecx
mov edx, eax
lea ecx, [ebp - 0x6c]
call fcn.10002fac
pop ecx
mov edx, eax
mov ecx, esi
call fcn.10002f36
pop ecx
push 0x69
mov ecx, 0x1006f348
call fcn.10004bc3
lea ecx, [ebp - 0x6c]
call fcn.10001fe0
lea ecx, [ebp - 0x54]
call fcn.10001fe0
lea ecx, [ebp - 0x3c]
call fcn.10001fe0
lea ecx, [ebp - 0x24]
call fcn.10001fe0
lea ecx, [ebp - 0xb4]
call fcn.10001fe0
lea ecx, [ebp - 0x9c]
call fcn.10001fe0
lea ecx, [ebp - 0x84]
call fcn.10001fe0
lea ecx, [ebp - 0x114]
jmp 0x100104c5
sub esp, 0x18
lea eax, [ebp - 0xcc]
mov esi, esp
lea ecx, [ebp - 0xe4]
lea edx, [ebp + 0x20]
push eax
mov eax, 0x1006ee80
push eax
push ecx
push eax
lea ecx, [ebp - 0xfc]
push ecx
push eax
lea ecx, [ebp - 0x24]
call fcn.10002fd0
pop ecx
mov edx, eax
lea ecx, [ebp - 0x3c]
call fcn.10002fac
pop ecx
mov edx, eax
lea ecx, [ebp - 0x54]
call fcn.10002fac
pop ecx
mov edx, eax
lea ecx, [ebp - 0x6c]
call fcn.10002fac
pop ecx
mov edx, eax
lea ecx, [ebp - 0x114]
call fcn.10002fac
pop ecx
mov edx, eax
mov ecx, esi
call fcn.10002fac
pop ecx
push 0x6a
mov ecx, 0x1006f348
call fcn.10004bc3
lea ecx, [ebp - 0x114]
call fcn.10001fe0
lea ecx, [ebp - 0x6c]
call fcn.10001fe0
lea ecx, [ebp - 0x54]
call fcn.10001fe0
lea ecx, [ebp - 0x3c]
call fcn.10001fe0
lea ecx, [ebp - 0x24]
call fcn.10001fe0
lea ecx, [ebp - 0xcc]
call fcn.10001fe0
lea ecx, [ebp - 0xe4]
call fcn.10001fe0
lea ecx, [ebp - 0xfc]
call fcn.10001fe0
lea ecx, [ebp + 8]
call fcn.10001fe0
lea ecx, [ebp + 0x20]
call fcn.10001fe0
lea ecx, [ebp + 0x38]
call fcn.10001fe0
lea ecx, [ebp + 0x50]
call fcn.10001fe0
lea ecx, [ebp + 0x68]
call fcn.10001fe0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret