Function at 0xa1899
Capabilities:
Delete file
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x31c
lea eax, [esp + 0x110]
push ebx
push ebp
push esi
push edi
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 0xf0]
call fcn.000920bf
lea ecx, [esp + 0xd8]
call fcn.000920bf
lea ecx, [esp + 0xc0]
call fcn.000920bf
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
xor ebp, ebp
lea ecx, [esp + 0x18]
mov byte [esp + 0x15], 0
mov byte [esp + 0x16], 0
mov byte [esp + 0x17], 0
call fcn.000a9959
mov ecx, eax
call fcn.00091f8b
push eax
mov dl, 0x30
lea ecx, [esp + 0xac]
call fcn.0009c5a1
pop ecx
lea ecx, [esp + 0x18]
call fcn.00091fb8
lea ecx, [esp + 0x18]
call fcn.000a9959
mov ecx, eax
call fcn.00091f8b
push eax
mov dl, 0x30
lea ecx, [esp + 0x94]
call fcn.0009c5a1
pop ecx
lea ecx, [esp + 0x18]
call fcn.00091fb8
lea ecx, [esp + 0x18]
call fcn.000a9959
mov ecx, eax
call fcn.00091f8b
push eax
mov dl, 0x30
lea ecx, [esp + 0x7c]
call fcn.0009c5a1
pop ecx
lea ecx, [esp + 0x18]
call fcn.00091fb8
xor ebx, ebx
lea ecx, [esp + 0x360]
call fcn.00091f8b
mov esi, eax
lea ecx, [esp + 0x60]
push 0xf2e24
lea eax, [esp + 0xac]
push eax
push str.__stext__
call fcn.0009415e
push eax
lea edx, [esp + 0x12c]
lea ecx, [esp + 0x54]
call fcn.000942dc
pop ecx
mov edx, eax
lea ecx, [esp + 0x38]
call fcn.000942fd
pop ecx
mov edx, eax
lea ecx, [esp + 0x1c]
call fcn.00092ff4
pop ecx
mov ecx, eax
call fcn.00091ee4
mov edx, esi
mov ecx, eax
call fcn.000a68a6
lea ecx, [esp + 0x18]
mov byte [esp + 0x12], al
call fcn.00091ee9
lea ecx, [esp + 0x30]
call fcn.00091ee9
lea ecx, [esp + 0x48]
call fcn.00091ee9
lea ecx, [esp + 0x60]
call fcn.00091ee9
cmp byte [esp + 0x12], 0
jne 0xa1a0d
push 0xa
call edi
inc ebx
cmp ebx, 0xa
jl 0xa196d
xor ebx, ebx
lea ecx, [esp + 0x390]
call fcn.00091f8b
mov esi, eax
lea ecx, [esp + 0x18]
push 0xf2e24
lea eax, [esp + 0x94]
push eax
push str.__stext__
call fcn.0009415e
push eax
lea edx, [esp + 0x12c]
lea ecx, [esp + 0x3c]
call fcn.000942dc
pop ecx
mov edx, eax
lea ecx, [esp + 0x50]
call fcn.000942fd
pop ecx
mov edx, eax
lea ecx, [esp + 0x64]
call fcn.00092ff4
pop ecx
mov ecx, eax
call fcn.00091ee4
mov edx, esi
mov ecx, eax
call fcn.000a68a6
lea ecx, [esp + 0x60]
mov byte [esp + 0x14], al
call fcn.00091ee9
lea ecx, [esp + 0x48]
call fcn.00091ee9
lea ecx, [esp + 0x30]
call fcn.00091ee9
lea ecx, [esp + 0x18]
call fcn.00091ee9
cmp byte [esp + 0x14], 0
jne 0xa1aaf
push 0xa
call edi
inc ebx
cmp ebx, 0xa
jl 0xa1a0f
xor ebx, ebx
lea ecx, [esp + 0x378]
call fcn.00091f8b
mov esi, eax
lea ecx, [esp + 0x18]
push 0xf2e24
lea eax, [esp + 0x7c]
push eax
push str.__stext__
call fcn.0009415e
push eax
lea edx, [esp + 0x12c]
lea ecx, [esp + 0x3c]
call fcn.000942dc
pop ecx
mov edx, eax
lea ecx, [esp + 0x50]
call fcn.000942fd
pop ecx
mov edx, eax
lea ecx, [esp + 0x64]
call fcn.00092ff4
pop ecx
mov ecx, eax
call fcn.00091ee4
mov edx, esi
mov ecx, eax
call fcn.000a68a6
lea ecx, [esp + 0x60]
mov byte [esp + 0x13], al
call fcn.00091ee9
lea ecx, [esp + 0x48]
call fcn.00091ee9
lea ecx, [esp + 0x30]
call fcn.00091ee9
lea ecx, [esp + 0x18]
call fcn.00091ee9
cmp byte [esp + 0x13], 0
jne 0xa1b4e
push 0xa
call edi
inc ebx
cmp ebx, 0xa
jl 0xa1ab1
xor eax, eax
cmp byte [esp + 0x12], al
sete al
cmp byte [esp + 0x13], 0
lea ecx, [eax + 1]
cmovne ecx, eax
cmp byte [esp + 0x14], 0
lea esi, [ecx + 1]
cmovne esi, ecx
xor ebx, ebx
lea ecx, [esp + 0xa8]
call fcn.00091ee4
lea edx, [esp + 0xf0]
mov ecx, eax
call fcn.000aa20f
test al, al
je 0xa1ba5
lea ecx, [esp + 0xa8]
mov byte [esp + 0x15], 1
call fcn.00091ee4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0x78]
call fcn.00091ee4
lea edx, [esp + 0xd8]
mov ecx, eax
call fcn.000aa20f
test al, al
je 0xa1bd5
lea ecx, [esp + 0x78]
mov byte [esp + 0x16], 1
call fcn.00091ee4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0x90]
call fcn.00091ee4
lea edx, [esp + 0xc0]
mov ecx, eax
call fcn.000aa20f
test al, al
je 0xa1c0b
lea ecx, [esp + 0x90]
mov byte [esp + 0x17], 1
call fcn.00091ee4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp byte [esp + 0x15], 0
je 0xa1c20
cmp byte [esp + 0x16], 0
je 0xa1c20
cmp byte [esp + 0x17], 0
jne 0xa1c31
push 0x1f4
call edi
inc ebx
cmp ebx, 0xa
jl 0xa1b6f
lea ecx, [esp + 0xf0]
call fcn.00096131
test al, al
je 0xa1c92
lea ecx, [esp + 0xc0]
call fcn.00096131
test al, al
je 0xa1c92
lea ecx, [esp + 0xd8]
call fcn.00096131
test al, al
je 0xa1c92
push 0x64
call edi
lea ecx, [esp + 0x78]
call fcn.00091ee9
lea ecx, [esp + 0x90]
call fcn.00091ee9
lea ecx, [esp + 0xa8]
call fcn.00091ee9
inc ebp
cmp ebp, 0xa
jl 0xa18e4
jmp 0xa1cb3
lea ecx, [esp + 0x78]
call fcn.00091ee9
lea ecx, [esp + 0x90]
call fcn.00091ee9
lea ecx, [esp + 0xa8]
call fcn.00091ee9
mov edx, 0xf30c0
lea ecx, [esp + 0x330]
call fcn.00095ae5
test al, al
je 0xa1dcd
mov edx, esi
lea ecx, [esp + 0x108]
call fcn.000a9b16
sub esp, 0x18
lea ecx, [esp + 0xd8]
mov esi, esp
lea edx, [esp + 0x360]
push eax
mov eax, 0x101e78
push eax
push ecx
push eax
lea ecx, [esp + 0x100]
push ecx
push eax
lea ecx, [esp + 0x120]
push ecx
push eax
lea ecx, [esp + 0xb0]
call fcn.00092f11
pop ecx
mov edx, eax
lea ecx, [esp + 0xc4]
call fcn.00092ef0
pop ecx
mov edx, eax
lea ecx, [esp + 0xd8]
call fcn.00092ef0
pop ecx
mov edx, eax
lea ecx, [esp + 0x44]
call fcn.00092ef0
pop ecx
mov edx, eax
lea ecx, [esp + 0x58]
call fcn.00092ef0
pop ecx
mov edx, eax
lea ecx, [esp + 0x6c]
call fcn.00092ef0
pop ecx
mov edx, eax
lea ecx, [esp + 0x80]
call fcn.00092ef0
pop ecx
mov edx, eax
mov ecx, esi
call fcn.00092e81
pop ecx
push 0x69
mov ecx, 0x102340
call fcn.00094a81
lea ecx, [esp + 0x60]
call fcn.00091fb8
lea ecx, [esp + 0x48]
call fcn.00091fb8
lea ecx, [esp + 0x30]
call fcn.00091fb8
lea ecx, [esp + 0x18]
call fcn.00091fb8
lea ecx, [esp + 0xa8]
call fcn.00091fb8
lea ecx, [esp + 0x90]
call fcn.00091fb8
lea ecx, [esp + 0x78]
call fcn.00091fb8
lea ecx, [esp + 0x108]
jmp 0xa1e7a
sub esp, 0x18
lea eax, [esp + 0xd8]
mov esi, esp
lea ecx, [esp + 0xf0]
lea edx, [esp + 0x360]
push eax
mov eax, 0x101e78
push eax
push ecx
push eax
lea ecx, [esp + 0x118]
push ecx
push eax
lea ecx, [esp + 0x48]
call fcn.00092f11
pop ecx
mov edx, eax
lea ecx, [esp + 0x5c]
call fcn.00092ef0
pop ecx
mov edx, eax
lea ecx, [esp + 0x70]
call fcn.00092ef0
pop ecx
mov edx, eax
lea ecx, [esp + 0x84]
call fcn.00092ef0
pop ecx
mov edx, eax
lea ecx, [esp + 0x128]
call fcn.00092ef0
pop ecx
mov edx, eax
mov ecx, esi
call fcn.00092ef0
pop ecx
push 0x6a
mov ecx, 0x102340
call fcn.00094a81
lea ecx, [esp + 0x108]
call fcn.00091fb8
lea ecx, [esp + 0x60]
call fcn.00091fb8
lea ecx, [esp + 0x48]
call fcn.00091fb8
lea ecx, [esp + 0x30]
call fcn.00091fb8
lea ecx, [esp + 0x18]
call fcn.00091fb8
lea ecx, [esp + 0xc0]
call fcn.00091fb8
lea ecx, [esp + 0xd8]
call fcn.00091fb8
lea ecx, [esp + 0xf0]
call fcn.00091fb8
lea ecx, [esp + 0x330]
call fcn.00091fb8
lea ecx, [esp + 0x348]
call fcn.00091fb8
lea ecx, [esp + 0x360]
call fcn.00091fb8
lea ecx, [esp + 0x378]
call fcn.00091fb8
lea ecx, [esp + 0x390]
call fcn.00091fb8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x31c
ret