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

Disassembly:
sub esp, 0x384
lea eax, [esp + 0x178]
push ebx
push ebp
push esi
push edi
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 0xf8]
call fcn.004020df
lea ecx, [esp + 0xe0]
call fcn.004020df
lea ecx, [esp + 0xc8]
call fcn.004020df
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
xor ebp, ebp
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1b], 0
mov byte [esp + 0x19], 0
mov byte [esp + 0x1a], 0
call fcn.0041b978
mov ecx, eax
call fcn.00401fab
push eax
mov dl, 0x30
lea ecx, [esp + 0xb4]
call fcn.0040d9e8
pop ecx
lea ecx, [esp + 0x1c]
call fcn.00401fd8
lea ecx, [esp + 0x1c]
call fcn.0041b978
mov ecx, eax
call fcn.00401fab
push eax
mov dl, 0x30
lea ecx, [esp + 0x9c]
call fcn.0040d9e8
pop ecx
lea ecx, [esp + 0x1c]
call fcn.00401fd8
lea ecx, [esp + 0x1c]
call fcn.0041b978
mov ecx, eax
call fcn.00401fab
push eax
mov dl, 0x30
lea ecx, [esp + 0x84]
call fcn.0040d9e8
pop ecx
lea ecx, [esp + 0x1c]
call fcn.00401fd8
xor ebx, ebx
lea ecx, [esp + 0x3c8]
call fcn.00401fab
mov esi, eax
lea ecx, [esp + 0x38]
push 0x465e74
lea eax, [esp + 0xb4]
push eax
push str.__stext__
call fcn.0040417e
push eax
lea edx, [esp + 0x194]
lea ecx, [esp + 0x74]
call fcn.004042fc
pop ecx
mov edx, eax
lea ecx, [esp + 0x58]
call fcn.0040431d
pop ecx
mov edx, eax
lea ecx, [esp + 0x20]
call fcn.00403014
pop ecx
mov ecx, eax
call fcn.00401f04
mov edx, esi
mov ecx, eax
call fcn.00418568
lea ecx, [esp + 0x1c]
mov byte [esp + 0x16], al
call fcn.00401f09
lea ecx, [esp + 0x50]
call fcn.00401f09
lea ecx, [esp + 0x68]
call fcn.00401f09
lea ecx, [esp + 0x38]
call fcn.00401f09
cmp byte [esp + 0x16], 0
jne 0x412c2b
push 0xa
call edi
inc ebx
cmp ebx, 0xa
jl 0x412b8b
xor ebx, ebx
lea ecx, [esp + 0x3f8]
call fcn.00401fab
mov esi, eax
lea ecx, [esp + 0x1c]
push 0x465e74
lea eax, [esp + 0x9c]
push eax
push str.__stext__
call fcn.0040417e
push eax
lea edx, [esp + 0x194]
lea ecx, [esp + 0x5c]
call fcn.004042fc
pop ecx
mov edx, eax
lea ecx, [esp + 0x70]
call fcn.0040431d
pop ecx
mov edx, eax
lea ecx, [esp + 0x3c]
call fcn.00403014
pop ecx
mov ecx, eax
call fcn.00401f04
mov edx, esi
mov ecx, eax
call fcn.00418568
lea ecx, [esp + 0x38]
mov byte [esp + 0x18], al
call fcn.00401f09
lea ecx, [esp + 0x68]
call fcn.00401f09
lea ecx, [esp + 0x50]
call fcn.00401f09
lea ecx, [esp + 0x1c]
call fcn.00401f09
cmp byte [esp + 0x18], 0
jne 0x412ccd
push 0xa
call edi
inc ebx
cmp ebx, 0xa
jl 0x412c2d
xor ebx, ebx
lea ecx, [esp + 0x3e0]
call fcn.00401fab
mov esi, eax
lea ecx, [esp + 0x1c]
push 0x465e74
lea eax, [esp + 0x84]
push eax
push str.__stext__
call fcn.0040417e
push eax
lea edx, [esp + 0x194]
lea ecx, [esp + 0x5c]
call fcn.004042fc
pop ecx
mov edx, eax
lea ecx, [esp + 0x70]
call fcn.0040431d
pop ecx
mov edx, eax
lea ecx, [esp + 0x3c]
call fcn.00403014
pop ecx
mov ecx, eax
call fcn.00401f04
mov edx, esi
mov ecx, eax
call fcn.00418568
lea ecx, [esp + 0x38]
mov byte [esp + 0x17], al
call fcn.00401f09
lea ecx, [esp + 0x68]
call fcn.00401f09
lea ecx, [esp + 0x50]
call fcn.00401f09
lea ecx, [esp + 0x1c]
call fcn.00401f09
cmp byte [esp + 0x17], 0
jne 0x412d6f
push 0xa
call edi
inc ebx
cmp ebx, 0xa
jl 0x412ccf
xor eax, eax
cmp byte [esp + 0x16], al
sete al
cmp byte [esp + 0x17], 0
lea ecx, [eax + 1]
cmovne ecx, eax
cmp byte [esp + 0x18], 0
lea ebx, [ecx + 1]
cmovne ebx, ecx
xor esi, esi
mov dword [esp + 0x34], ebx
mov bl, byte [esp + 0x1b]
lea ecx, [esp + 0xb0]
call fcn.00401f04
lea edx, [esp + 0xf8]
mov ecx, eax
call fcn.0041c485
test al, al
je 0x412dcb
lea ecx, [esp + 0xb0]
mov bl, 1
call fcn.00401f04
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0x80]
call fcn.00401f04
lea edx, [esp + 0xe0]
mov ecx, eax
call fcn.0041c485
test al, al
je 0x412e04
mov bh, 1
lea ecx, [esp + 0x80]
mov byte [esp + 0x19], bh
call fcn.00401f04
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x412e08
mov bh, byte [esp + 0x19]
lea ecx, [esp + 0x98]
call fcn.00401f04
lea edx, [esp + 0xc8]
mov ecx, eax
call fcn.0041c485
test al, al
je 0x412e3e
lea ecx, [esp + 0x98]
mov byte [esp + 0x1a], 1
call fcn.00401f04
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test bl, bl
je 0x412e4d
test bh, bh
je 0x412e4d
cmp byte [esp + 0x1a], 0
jne 0x412e5e
push 0x1f4
call edi
inc esi
cmp esi, 0xa
jl 0x412d98
lea ecx, [esp + 0xf8]
call fcn.00406b28
mov ebx, dword [esp + 0x34]
test al, al
je 0x412ec6
lea ecx, [esp + 0xc8]
call fcn.00406b28
test al, al
je 0x412ec6
lea ecx, [esp + 0xe0]
call fcn.00406b28
test al, al
je 0x412ec6
push 0x64
call edi
lea ecx, [esp + 0x80]
call fcn.00401f09
lea ecx, [esp + 0x98]
call fcn.00401f09
lea ecx, [esp + 0xb0]
call fcn.00401f09
inc ebp
cmp ebp, 0xa
jl 0x412aff
jmp 0x412eea
lea ecx, [esp + 0x80]
call fcn.00401f09
lea ecx, [esp + 0x98]
call fcn.00401f09
lea ecx, [esp + 0xb0]
call fcn.00401f09
push 0
push 0x2710
lea ecx, [esp + 0x118]
call fcn.0040b904
lea ecx, [esp + 0x110]
call fcn.00401f04
sub esp, 0x18
mov esi, eax
lea eax, [esp + 0x428]
mov ecx, esp
push eax
call fcn.004020f6
mov edx, esi
lea ecx, [esp + 0x50]
call fcn.0041322d
add esp, 0x18
lea ecx, [esp + 0x38]
call fcn.00401f09
mov edx, 0x46611c
lea ecx, [esp + 0x398]
call fcn.00405b05
lea edx, [esp + 0x110]
test al, al
je 0x4130a8
lea ecx, [esp + 0x170]
call fcn.0041bd1e
sub esp, 0x18
lea ecx, [esp + 0x170]
mov esi, esp
mov edi, 0x474ee0
mov edx, ebx
push eax
push edi
call fcn.0041bb8e
push eax
push edi
lea eax, [esp + 0xf0]
push eax
push edi
lea eax, [esp + 0x110]
push eax
push edi
lea eax, [esp + 0x130]
push eax
push edi
lea edx, [esp + 0x3f0]
lea ecx, [esp + 0x180]
call fcn.00402f31
pop ecx
mov edx, eax
lea ecx, [esp + 0x164]
call fcn.00402f10
pop ecx
mov edx, eax
lea ecx, [esp + 0xb8]
call fcn.00402f10
pop ecx
mov edx, eax
lea ecx, [esp + 0xcc]
call fcn.00402f10
pop ecx
mov edx, eax
lea ecx, [esp + 0xe0]
call fcn.00402f10
pop ecx
mov edx, eax
lea ecx, [esp + 0x48]
call fcn.00402f10
pop ecx
mov edx, eax
lea ecx, [esp + 0x78]
call fcn.00402f10
pop ecx
mov edx, eax
lea ecx, [esp + 0x8c]
call fcn.00402ea1
pop ecx
mov edx, eax
lea ecx, [esp + 0x58]
call fcn.00402f10
pop ecx
mov edx, eax
mov ecx, esi
call fcn.00402ea1
pop ecx
push 0x69
mov ecx, 0x475430
call fcn.00404aa1
lea ecx, [esp + 0x38]
call fcn.00401fd8
lea ecx, [esp + 0x68]
call fcn.00401fd8
lea ecx, [esp + 0x50]
call fcn.00401fd8
lea ecx, [esp + 0x1c]
call fcn.00401fd8
lea ecx, [esp + 0xb0]
call fcn.00401fd8
lea ecx, [esp + 0x98]
call fcn.00401fd8
lea ecx, [esp + 0x80]
call fcn.00401fd8
lea ecx, [esp + 0x128]
call fcn.00401fd8
lea ecx, [esp + 0x140]
call fcn.00401fd8
lea ecx, [esp + 0x158]
call fcn.00401fd8
lea ecx, [esp + 0x170]
jmp 0x4131a5
lea ecx, [esp + 0x1c]
call fcn.0041bd1e
sub esp, 0x18
lea edx, [esp + 0x3c8]
mov esi, esp
lea ecx, [esp + 0x68]
mov edi, 0x474ee0
push eax
push edi
lea eax, [esp + 0xe8]
push eax
push edi
lea eax, [esp + 0x108]
push eax
push edi
lea eax, [esp + 0x128]
push eax
push edi
call fcn.00402f31
pop ecx
mov edx, eax
lea ecx, [esp + 0x9c]
call fcn.00402f10
pop ecx
mov edx, eax
lea ecx, [esp + 0x68]
call fcn.00402f10
pop ecx
mov edx, eax
lea ecx, [esp + 0x154]
call fcn.00402f10
pop ecx
mov edx, eax
lea ecx, [esp + 0x168]
call fcn.00402f10
pop ecx
mov edx, eax
lea ecx, [esp + 0x17c]
call fcn.00402f10
pop ecx
mov edx, eax
lea ecx, [esp + 0x190]
call fcn.00402f10
pop ecx
mov edx, eax
mov ecx, esi
call fcn.00402ea1
pop ecx
push 0x6a
mov ecx, 0x475430
call fcn.00404aa1
lea ecx, [esp + 0x170]
call fcn.00401fd8
lea ecx, [esp + 0x158]
call fcn.00401fd8
lea ecx, [esp + 0x140]
call fcn.00401fd8
lea ecx, [esp + 0x128]
call fcn.00401fd8
lea ecx, [esp + 0x38]
call fcn.00401fd8
lea ecx, [esp + 0x68]
call fcn.00401fd8
lea ecx, [esp + 0x50]
call fcn.00401fd8
lea ecx, [esp + 0x1c]
call fcn.00401fd8
lea ecx, [esp + 0x110]
call fcn.00401f09
lea ecx, [esp + 0xc8]
call fcn.00401fd8
lea ecx, [esp + 0xe0]
call fcn.00401fd8
lea ecx, [esp + 0xf8]
call fcn.00401fd8
lea ecx, [esp + 0x398]
call fcn.00401fd8
lea ecx, [esp + 0x3b0]
call fcn.00401fd8
lea ecx, [esp + 0x3c8]
call fcn.00401fd8
lea ecx, [esp + 0x3e0]
call fcn.00401fd8
lea ecx, [esp + 0x3f8]
call fcn.00401fd8
lea ecx, [esp + 0x410]
call fcn.00401fd8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x384
ret