Function at 0x411899
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.004020bf
lea ecx, [esp + 0xd8]
call fcn.004020bf
lea ecx, [esp + 0xc0]
call fcn.004020bf
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.00419959
mov ecx, eax
call fcn.00401f8b
push eax
mov dl, 0x30
lea ecx, [esp + 0xac]
call fcn.0040c5a1
pop ecx
lea ecx, [esp + 0x18]
call fcn.00401fb8
lea ecx, [esp + 0x18]
call fcn.00419959
mov ecx, eax
call fcn.00401f8b
push eax
mov dl, 0x30
lea ecx, [esp + 0x94]
call fcn.0040c5a1
pop ecx
lea ecx, [esp + 0x18]
call fcn.00401fb8
lea ecx, [esp + 0x18]
call fcn.00419959
mov ecx, eax
call fcn.00401f8b
push eax
mov dl, 0x30
lea ecx, [esp + 0x7c]
call fcn.0040c5a1
pop ecx
lea ecx, [esp + 0x18]
call fcn.00401fb8
xor ebx, ebx
lea ecx, [esp + 0x360]
call fcn.00401f8b
mov esi, eax
lea ecx, [esp + 0x60]
push 0x462e24
lea eax, [esp + 0xac]
push eax
push str.__stext__
call fcn.0040415e
push eax
lea edx, [esp + 0x12c]
lea ecx, [esp + 0x54]
call fcn.004042dc
pop ecx
mov edx, eax
lea ecx, [esp + 0x38]
call fcn.004042fd
pop ecx
mov edx, eax
lea ecx, [esp + 0x1c]
call fcn.00402ff4
pop ecx
mov ecx, eax
call fcn.00401ee4
mov edx, esi
mov ecx, eax
call fcn.004168a6
lea ecx, [esp + 0x18]
mov byte [esp + 0x12], al
call fcn.00401ee9
lea ecx, [esp + 0x30]
call fcn.00401ee9
lea ecx, [esp + 0x48]
call fcn.00401ee9
lea ecx, [esp + 0x60]
call fcn.00401ee9
cmp byte [esp + 0x12], 0
jne 0x411a0d
push 0xa
call edi
inc ebx
cmp ebx, 0xa
jl 0x41196d
xor ebx, ebx
lea ecx, [esp + 0x390]
call fcn.00401f8b
mov esi, eax
lea ecx, [esp + 0x18]
push 0x462e24
lea eax, [esp + 0x94]
push eax
push str.__stext__
call fcn.0040415e
push eax
lea edx, [esp + 0x12c]
lea ecx, [esp + 0x3c]
call fcn.004042dc
pop ecx
mov edx, eax
lea ecx, [esp + 0x50]
call fcn.004042fd
pop ecx
mov edx, eax
lea ecx, [esp + 0x64]
call fcn.00402ff4
pop ecx
mov ecx, eax
call fcn.00401ee4
mov edx, esi
mov ecx, eax
call fcn.004168a6
lea ecx, [esp + 0x60]
mov byte [esp + 0x14], al
call fcn.00401ee9
lea ecx, [esp + 0x48]
call fcn.00401ee9
lea ecx, [esp + 0x30]
call fcn.00401ee9
lea ecx, [esp + 0x18]
call fcn.00401ee9
cmp byte [esp + 0x14], 0
jne 0x411aaf
push 0xa
call edi
inc ebx
cmp ebx, 0xa
jl 0x411a0f
xor ebx, ebx
lea ecx, [esp + 0x378]
call fcn.00401f8b
mov esi, eax
lea ecx, [esp + 0x18]
push 0x462e24
lea eax, [esp + 0x7c]
push eax
push str.__stext__
call fcn.0040415e
push eax
lea edx, [esp + 0x12c]
lea ecx, [esp + 0x3c]
call fcn.004042dc
pop ecx
mov edx, eax
lea ecx, [esp + 0x50]
call fcn.004042fd
pop ecx
mov edx, eax
lea ecx, [esp + 0x64]
call fcn.00402ff4
pop ecx
mov ecx, eax
call fcn.00401ee4
mov edx, esi
mov ecx, eax
call fcn.004168a6
lea ecx, [esp + 0x60]
mov byte [esp + 0x13], al
call fcn.00401ee9
lea ecx, [esp + 0x48]
call fcn.00401ee9
lea ecx, [esp + 0x30]
call fcn.00401ee9
lea ecx, [esp + 0x18]
call fcn.00401ee9
cmp byte [esp + 0x13], 0
jne 0x411b4e
push 0xa
call edi
inc ebx
cmp ebx, 0xa
jl 0x411ab1
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.00401ee4
lea edx, [esp + 0xf0]
mov ecx, eax
call fcn.0041a20f
test al, al
je 0x411ba5
lea ecx, [esp + 0xa8]
mov byte [esp + 0x15], 1
call fcn.00401ee4
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
lea ecx, [esp + 0x78]
call fcn.00401ee4
lea edx, [esp + 0xd8]
mov ecx, eax
call fcn.0041a20f
test al, al
je 0x411bd5
lea ecx, [esp + 0x78]
mov byte [esp + 0x16], 1
call fcn.00401ee4
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
lea ecx, [esp + 0x90]
call fcn.00401ee4
lea edx, [esp + 0xc0]
mov ecx, eax
call fcn.0041a20f
test al, al
je 0x411c0b
lea ecx, [esp + 0x90]
mov byte [esp + 0x17], 1
call fcn.00401ee4
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
cmp byte [esp + 0x15], 0
je 0x411c20
cmp byte [esp + 0x16], 0
je 0x411c20
cmp byte [esp + 0x17], 0
jne 0x411c31
push 0x1f4
call edi
inc ebx
cmp ebx, 0xa
jl 0x411b6f
lea ecx, [esp + 0xf0]
call fcn.00406131
test al, al
je 0x411c92
lea ecx, [esp + 0xc0]
call fcn.00406131
test al, al
je 0x411c92
lea ecx, [esp + 0xd8]
call fcn.00406131
test al, al
je 0x411c92
push 0x64
call edi
lea ecx, [esp + 0x78]
call fcn.00401ee9
lea ecx, [esp + 0x90]
call fcn.00401ee9
lea ecx, [esp + 0xa8]
call fcn.00401ee9
inc ebp
cmp ebp, 0xa
jl 0x4118e4
jmp 0x411cb3
lea ecx, [esp + 0x78]
call fcn.00401ee9
lea ecx, [esp + 0x90]
call fcn.00401ee9
lea ecx, [esp + 0xa8]
call fcn.00401ee9
mov edx, 0x4630c0
lea ecx, [esp + 0x330]
call fcn.00405ae5
test al, al
je 0x411dcd
mov edx, esi
lea ecx, [esp + 0x108]
call fcn.00419b16
sub esp, 0x18
lea ecx, [esp + 0xd8]
mov esi, esp
lea edx, [esp + 0x360]
push eax
mov eax, 0x471e78
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.00402f11
pop ecx
mov edx, eax
lea ecx, [esp + 0xc4]
call fcn.00402ef0
pop ecx
mov edx, eax
lea ecx, [esp + 0xd8]
call fcn.00402ef0
pop ecx
mov edx, eax
lea ecx, [esp + 0x44]
call fcn.00402ef0
pop ecx
mov edx, eax
lea ecx, [esp + 0x58]
call fcn.00402ef0
pop ecx
mov edx, eax
lea ecx, [esp + 0x6c]
call fcn.00402ef0
pop ecx
mov edx, eax
lea ecx, [esp + 0x80]
call fcn.00402ef0
pop ecx
mov edx, eax
mov ecx, esi
call fcn.00402e81
pop ecx
push 0x69
mov ecx, 0x472340
call fcn.00404a81
lea ecx, [esp + 0x60]
call fcn.00401fb8
lea ecx, [esp + 0x48]
call fcn.00401fb8
lea ecx, [esp + 0x30]
call fcn.00401fb8
lea ecx, [esp + 0x18]
call fcn.00401fb8
lea ecx, [esp + 0xa8]
call fcn.00401fb8
lea ecx, [esp + 0x90]
call fcn.00401fb8
lea ecx, [esp + 0x78]
call fcn.00401fb8
lea ecx, [esp + 0x108]
jmp 0x411e7a
sub esp, 0x18
lea eax, [esp + 0xd8]
mov esi, esp
lea ecx, [esp + 0xf0]
lea edx, [esp + 0x360]
push eax
mov eax, 0x471e78
push eax
push ecx
push eax
lea ecx, [esp + 0x118]
push ecx
push eax
lea ecx, [esp + 0x48]
call fcn.00402f11
pop ecx
mov edx, eax
lea ecx, [esp + 0x5c]
call fcn.00402ef0
pop ecx
mov edx, eax
lea ecx, [esp + 0x70]
call fcn.00402ef0
pop ecx
mov edx, eax
lea ecx, [esp + 0x84]
call fcn.00402ef0
pop ecx
mov edx, eax
lea ecx, [esp + 0x128]
call fcn.00402ef0
pop ecx
mov edx, eax
mov ecx, esi
call fcn.00402ef0
pop ecx
push 0x6a
mov ecx, 0x472340
call fcn.00404a81
lea ecx, [esp + 0x108]
call fcn.00401fb8
lea ecx, [esp + 0x60]
call fcn.00401fb8
lea ecx, [esp + 0x48]
call fcn.00401fb8
lea ecx, [esp + 0x30]
call fcn.00401fb8
lea ecx, [esp + 0x18]
call fcn.00401fb8
lea ecx, [esp + 0xc0]
call fcn.00401fb8
lea ecx, [esp + 0xd8]
call fcn.00401fb8
lea ecx, [esp + 0xf0]
call fcn.00401fb8
lea ecx, [esp + 0x330]
call fcn.00401fb8
lea ecx, [esp + 0x348]
call fcn.00401fb8
lea ecx, [esp + 0x360]
call fcn.00401fb8
lea ecx, [esp + 0x378]
call fcn.00401fb8
lea ecx, [esp + 0x390]
call fcn.00401fb8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x31c
ret