Function at 0x4119e8
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.00419ab2
mov ecx, eax
call fcn.00401f8b
push eax
mov dl, 0x30
lea ecx, [esp + 0xac]
call fcn.0040c5ee
pop ecx
lea ecx, [esp + 0x18]
call fcn.00401fb8
lea ecx, [esp + 0x18]
call fcn.00419ab2
mov ecx, eax
call fcn.00401f8b
push eax
mov dl, 0x30
lea ecx, [esp + 0x94]
call fcn.0040c5ee
pop ecx
lea ecx, [esp + 0x18]
call fcn.00401fb8
lea ecx, [esp + 0x18]
call fcn.00419ab2
mov ecx, eax
call fcn.00401f8b
push eax
mov dl, 0x30
lea ecx, [esp + 0x7c]
call fcn.0040c5ee
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 0x462e34
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.004169e1
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 0x411b5c
push 0xa
call edi
inc ebx
cmp ebx, 0xa
jl 0x411abc
xor ebx, ebx
lea ecx, [esp + 0x390]
call fcn.00401f8b
mov esi, eax
lea ecx, [esp + 0x18]
push 0x462e34
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.004169e1
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 0x411bfe
push 0xa
call edi
inc ebx
cmp ebx, 0xa
jl 0x411b5e
xor ebx, ebx
lea ecx, [esp + 0x378]
call fcn.00401f8b
mov esi, eax
lea ecx, [esp + 0x18]
push 0x462e34
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.004169e1
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 0x411c9d
push 0xa
call edi
inc ebx
cmp ebx, 0xa
jl 0x411c00
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.0041a369
test al, al
je 0x411cf4
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.0041a369
test al, al
je 0x411d24
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.0041a369
test al, al
je 0x411d5a
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 0x411d6f
cmp byte [esp + 0x16], 0
je 0x411d6f
cmp byte [esp + 0x17], 0
jne 0x411d80
push 0x1f4
call edi
inc ebx
cmp ebx, 0xa
jl 0x411cbe
lea ecx, [esp + 0xf0]
call fcn.00406131
test al, al
je 0x411de1
lea ecx, [esp + 0xc0]
call fcn.00406131
test al, al
je 0x411de1
lea ecx, [esp + 0xd8]
call fcn.00406131
test al, al
je 0x411de1
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 0x411a33
jmp 0x411e02
lea ecx, [esp + 0x78]
call fcn.00401ee9
lea ecx, [esp + 0x90]
call fcn.00401ee9
lea ecx, [esp + 0xa8]
call fcn.00401ee9
mov edx, 0x4630d4
lea ecx, [esp + 0x330]
call fcn.00405ae5
test al, al
je 0x411f1c
mov edx, esi
lea ecx, [esp + 0x108]
call fcn.00419c70
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 0x411fc9
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