Function at 0x10010f08
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x384
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x380]
xor ebx, ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x100]
call fcn.1000210e
lea ecx, [ebp - 0xe8]
call fcn.1000210e
lea ecx, [ebp - 0xd0]
call fcn.1000210e
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0xc], ebx
jmp 0x10010f57
xor ebx, ebx
lea ecx, [ebp - 0x24]
mov byte [ebp - 6], bl
mov byte [ebp - 4], bl
mov byte [ebp - 5], bl
call fcn.10019b58
mov ecx, eax
call fcn.10001fce
push eax
mov dl, 0x30
lea ecx, [ebp - 0xb8]
call fcn.1000cadf
pop ecx
lea ecx, [ebp - 0x24]
call fcn.10002000
lea ecx, [ebp - 0x24]
call fcn.10019b58
mov ecx, eax
call fcn.10001fce
push eax
mov dl, 0x30
lea ecx, [ebp - 0xa0]
call fcn.1000cadf
pop ecx
lea ecx, [ebp - 0x24]
call fcn.10002000
lea ecx, [ebp - 0x24]
call fcn.10019b58
mov ecx, eax
call fcn.10001fce
push eax
mov dl, 0x30
lea ecx, [ebp - 0x88]
call fcn.1000cadf
pop ecx
lea ecx, [ebp - 0x24]
call fcn.10002000
lea ecx, [ebp + 0x38]
call fcn.10001fce
mov esi, eax
lea ecx, [ebp - 0x40]
push 0x10062544
lea eax, [ebp - 0xb8]
push eax
push str.__stext__
call fcn.100042a7
push eax
lea edx, [ebp - 0x380]
lea ecx, [ebp - 0x70]
call fcn.1000442d
pop ecx
mov edx, eax
lea ecx, [ebp - 0x58]
call fcn.10004451
pop ecx
mov edx, eax
lea ecx, [ebp - 0x24]
call fcn.100030df
pop ecx
mov ecx, eax
call fcn.10001f24
mov edx, esi
mov ecx, eax
call fcn.1001689b
lea ecx, [ebp - 0x24]
mov byte [ebp - 1], al
call fcn.10001f29
lea ecx, [ebp - 0x58]
call fcn.10001f29
lea ecx, [ebp - 0x70]
call fcn.10001f29
lea ecx, [ebp - 0x40]
call fcn.10001f29
cmp byte [ebp - 1], 0
jne 0x10011062
push 0xa
call edi
inc ebx
cmp ebx, 0xa
jl 0x10010fd2
xor ebx, ebx
lea ecx, [ebp + 0x68]
call fcn.10001fce
mov esi, eax
lea ecx, [ebp - 0x24]
push 0x10062544
lea eax, [ebp - 0xa0]
push eax
push str.__stext__
call fcn.100042a7
push eax
lea edx, [ebp - 0x380]
lea ecx, [ebp - 0x58]
call fcn.1000442d
pop ecx
mov edx, eax
lea ecx, [ebp - 0x70]
call fcn.10004451
pop ecx
mov edx, eax
lea ecx, [ebp - 0x40]
call fcn.100030df
pop ecx
mov ecx, eax
call fcn.10001f24
mov edx, esi
mov ecx, eax
call fcn.1001689b
lea ecx, [ebp - 0x40]
mov byte [ebp - 3], al
call fcn.10001f29
lea ecx, [ebp - 0x70]
call fcn.10001f29
lea ecx, [ebp - 0x58]
call fcn.10001f29
lea ecx, [ebp - 0x24]
call fcn.10001f29
cmp byte [ebp - 3], 0
jne 0x100110f4
push 0xa
call edi
inc ebx
cmp ebx, 0xa
jl 0x10011064
xor ebx, ebx
lea ecx, [ebp + 0x50]
call fcn.10001fce
mov esi, eax
lea ecx, [ebp - 0x24]
push 0x10062544
lea eax, [ebp - 0x88]
push eax
push str.__stext__
call fcn.100042a7
push eax
lea edx, [ebp - 0x380]
lea ecx, [ebp - 0x58]
call fcn.1000442d
pop ecx
mov edx, eax
lea ecx, [ebp - 0x70]
call fcn.10004451
pop ecx
mov edx, eax
lea ecx, [ebp - 0x40]
call fcn.100030df
pop ecx
mov ecx, eax
call fcn.10001f24
mov edx, esi
mov ecx, eax
call fcn.1001689b
lea ecx, [ebp - 0x40]
mov byte [ebp - 2], al
call fcn.10001f29
lea ecx, [ebp - 0x70]
call fcn.10001f29
lea ecx, [ebp - 0x58]
call fcn.10001f29
lea ecx, [ebp - 0x24]
call fcn.10001f29
cmp byte [ebp - 2], 0
jne 0x10011186
push 0xa
call edi
inc ebx
cmp ebx, 0xa
jl 0x100110f6
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 ebx, [ecx + 1]
cmovne ebx, ecx
xor esi, esi
mov dword [ebp - 0x28], ebx
mov bl, byte [ebp - 6]
lea ecx, [ebp - 0xb8]
call fcn.10001f24
lea edx, [ebp - 0x100]
mov ecx, eax
call fcn.1001a6ef
test al, al
je 0x100111da
lea ecx, [ebp - 0xb8]
mov bl, 1
call fcn.10001f24
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x88]
call fcn.10001f24
lea edx, [ebp - 0xe8]
mov ecx, eax
call fcn.1001a6ef
test al, al
je 0x1001120f
mov bh, 1
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], bh
call fcn.10001f24
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x10011212
mov bh, byte [ebp - 4]
lea ecx, [ebp - 0xa0]
call fcn.10001f24
lea edx, [ebp - 0xd0]
mov ecx, eax
call fcn.1001a6ef
test al, al
je 0x10011244
lea ecx, [ebp - 0xa0]
mov byte [ebp - 5], 1
call fcn.10001f24
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test bl, bl
je 0x10011252
test bh, bh
je 0x10011252
cmp byte [ebp - 5], 0
jne 0x10011263
push 0x1f4
call edi
inc esi
cmp esi, 0xa
jl 0x100111aa
lea ecx, [ebp - 0x100]
call fcn.10006bc4
mov ebx, dword [ebp - 0x28]
test al, al
je 0x100112ca
lea ecx, [ebp - 0xd0]
call fcn.10006bc4
test al, al
je 0x100112ca
lea ecx, [ebp - 0xe8]
call fcn.10006bc4
test al, al
je 0x100112ca
push 0x64
call edi
lea ecx, [ebp - 0x88]
call fcn.10001f29
lea ecx, [ebp - 0xa0]
call fcn.10001f29
lea ecx, [ebp - 0xb8]
call fcn.10001f29
mov esi, dword [ebp - 0xc]
inc esi
mov dword [ebp - 0xc], esi
cmp esi, 0xa
jl 0x10010f55
jmp 0x100112eb
lea ecx, [ebp - 0x88]
call fcn.10001f29
lea ecx, [ebp - 0xa0]
call fcn.10001f29
lea ecx, [ebp - 0xb8]
call fcn.10001f29
push 0
push 0x2710
lea ecx, [ebp - 0x118]
call fcn.1000b4b6
lea ecx, [ebp - 0x118]
call fcn.10001f24
sub esp, 0x18
mov esi, eax
lea eax, [ebp + 0x80]
mov ecx, esp
push eax
call fcn.10002125
mov edx, esi
lea ecx, [ebp - 0x40]
call fcn.100115cd
add esp, 0x18
lea ecx, [ebp - 0x40]
call fcn.10001f29
mov edx, 0x100627ec
lea ecx, [ebp + 8]
call fcn.10005c55
lea edx, [ebp - 0x118]
test al, al
je 0x1001147f
lea ecx, [ebp - 0x178]
call fcn.10019eeb
sub esp, 0x18
lea ecx, [ebp - 0x160]
mov esi, esp
mov edi, 0x10071ec0
mov edx, ebx
push eax
push edi
call fcn.10019d59
push eax
push edi
lea eax, [ebp - 0xd0]
push eax
push edi
lea eax, [ebp - 0xe8]
push eax
push edi
lea eax, [ebp - 0x100]
push eax
push edi
lea edx, [ebp + 0x20]
lea ecx, [ebp - 0x148]
call fcn.10002ff0
pop ecx
mov edx, eax
lea ecx, [ebp - 0x130]
call fcn.10002fcc
pop ecx
mov edx, eax
lea ecx, [ebp - 0x88]
call fcn.10002fcc
pop ecx
mov edx, eax
lea ecx, [ebp - 0xa0]
call fcn.10002fcc
pop ecx
mov edx, eax
lea ecx, [ebp - 0xb8]
call fcn.10002fcc
pop ecx
mov edx, eax
lea ecx, [ebp - 0x24]
call fcn.10002fcc
pop ecx
mov edx, eax
lea ecx, [ebp - 0x58]
call fcn.10002fcc
pop ecx
mov edx, eax
lea ecx, [ebp - 0x70]
call fcn.10002f56
pop ecx
mov edx, eax
lea ecx, [ebp - 0x40]
call fcn.10002fcc
pop ecx
mov edx, eax
mov ecx, esi
call fcn.10002f56
pop ecx
push 0x69
mov ecx, 0x10072408
call fcn.10004be3
lea ecx, [ebp - 0x40]
call fcn.10002000
lea ecx, [ebp - 0x70]
call fcn.10002000
lea ecx, [ebp - 0x58]
call fcn.10002000
lea ecx, [ebp - 0x24]
call fcn.10002000
lea ecx, [ebp - 0xb8]
call fcn.10002000
lea ecx, [ebp - 0xa0]
call fcn.10002000
lea ecx, [ebp - 0x88]
call fcn.10002000
lea ecx, [ebp - 0x130]
call fcn.10002000
lea ecx, [ebp - 0x148]
call fcn.10002000
lea ecx, [ebp - 0x160]
call fcn.10002000
lea ecx, [ebp - 0x178]
jmp 0x10011562
lea ecx, [ebp - 0x24]
call fcn.10019eeb
sub esp, 0x18
lea edx, [ebp + 0x20]
mov esi, esp
lea ecx, [ebp - 0x58]
mov edi, 0x10071ec0
push eax
push edi
lea eax, [ebp - 0xd0]
push eax
push edi
lea eax, [ebp - 0xe8]
push eax
push edi
lea eax, [ebp - 0x100]
push eax
push edi
call fcn.10002ff0
pop ecx
mov edx, eax
lea ecx, [ebp - 0x70]
call fcn.10002fcc
pop ecx
mov edx, eax
lea ecx, [ebp - 0x40]
call fcn.10002fcc
pop ecx
mov edx, eax
lea ecx, [ebp - 0x130]
call fcn.10002fcc
pop ecx
mov edx, eax
lea ecx, [ebp - 0x148]
call fcn.10002fcc
pop ecx
mov edx, eax
lea ecx, [ebp - 0x160]
call fcn.10002fcc
pop ecx
mov edx, eax
lea ecx, [ebp - 0x178]
call fcn.10002fcc
pop ecx
mov edx, eax
mov ecx, esi
call fcn.10002f56
pop ecx
push 0x6a
mov ecx, 0x10072408
call fcn.10004be3
lea ecx, [ebp - 0x178]
call fcn.10002000
lea ecx, [ebp - 0x160]
call fcn.10002000
lea ecx, [ebp - 0x148]
call fcn.10002000
lea ecx, [ebp - 0x130]
call fcn.10002000
lea ecx, [ebp - 0x40]
call fcn.10002000
lea ecx, [ebp - 0x70]
call fcn.10002000
lea ecx, [ebp - 0x58]
call fcn.10002000
lea ecx, [ebp - 0x24]
call fcn.10002000
lea ecx, [ebp - 0x118]
call fcn.10001f29
lea ecx, [ebp - 0xd0]
call fcn.10002000
lea ecx, [ebp - 0xe8]
call fcn.10002000
lea ecx, [ebp - 0x100]
call fcn.10002000
lea ecx, [ebp + 8]
call fcn.10002000
lea ecx, [ebp + 0x20]
call fcn.10002000
lea ecx, [ebp + 0x38]
call fcn.10002000
lea ecx, [ebp + 0x50]
call fcn.10002000
lea ecx, [ebp + 0x68]
call fcn.10002000
lea ecx, [ebp + 0x80]
call fcn.10002000
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret