Function at 0x411eb4
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.004020bf
lea ecx, [esp + 0xe0]
call fcn.004020bf
lea ecx, [esp + 0xc8]
call fcn.004020bf
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.0041a0c5
mov ecx, eax
call fcn.00401f8b
push eax
mov dl, 0x30
lea ecx, [esp + 0xb4]
call fcn.0040ce2e
pop ecx
lea ecx, [esp + 0x1c]
call fcn.00401fb8
lea ecx, [esp + 0x1c]
call fcn.0041a0c5
mov ecx, eax
call fcn.00401f8b
push eax
mov dl, 0x30
lea ecx, [esp + 0x9c]
call fcn.0040ce2e
pop ecx
lea ecx, [esp + 0x1c]
call fcn.00401fb8
lea ecx, [esp + 0x1c]
call fcn.0041a0c5
mov ecx, eax
call fcn.00401f8b
push eax
mov dl, 0x30
lea ecx, [esp + 0x84]
call fcn.0040ce2e
pop ecx
lea ecx, [esp + 0x1c]
call fcn.00401fb8
xor ebx, ebx
lea ecx, [esp + 0x3c8]
call fcn.00401f8b
mov esi, eax
lea ecx, [esp + 0x38]
push 0x463e44
lea eax, [esp + 0xb4]
push eax
push str.__stext__
call fcn.0040415e
push eax
lea edx, [esp + 0x194]
lea ecx, [esp + 0x74]
call fcn.004042dc
pop ecx
mov edx, eax
lea ecx, [esp + 0x58]
call fcn.004042fd
pop ecx
mov edx, eax
lea ecx, [esp + 0x20]
call fcn.00402ff4
pop ecx
mov ecx, eax
call fcn.00401ee4
mov edx, esi
mov ecx, eax
call fcn.00417048
lea ecx, [esp + 0x1c]
mov byte [esp + 0x16], al
call fcn.00401ee9
lea ecx, [esp + 0x50]
call fcn.00401ee9
lea ecx, [esp + 0x68]
call fcn.00401ee9
lea ecx, [esp + 0x38]
call fcn.00401ee9
cmp byte [esp + 0x16], 0
jne 0x41202b
push 0xa
call edi
inc ebx
cmp ebx, 0xa
jl 0x411f8b
xor ebx, ebx
lea ecx, [esp + 0x3f8]
call fcn.00401f8b
mov esi, eax
lea ecx, [esp + 0x1c]
push 0x463e44
lea eax, [esp + 0x9c]
push eax
push str.__stext__
call fcn.0040415e
push eax
lea edx, [esp + 0x194]
lea ecx, [esp + 0x5c]
call fcn.004042dc
pop ecx
mov edx, eax
lea ecx, [esp + 0x70]
call fcn.004042fd
pop ecx
mov edx, eax
lea ecx, [esp + 0x3c]
call fcn.00402ff4
pop ecx
mov ecx, eax
call fcn.00401ee4
mov edx, esi
mov ecx, eax
call fcn.00417048
lea ecx, [esp + 0x38]
mov byte [esp + 0x18], al
call fcn.00401ee9
lea ecx, [esp + 0x68]
call fcn.00401ee9
lea ecx, [esp + 0x50]
call fcn.00401ee9
lea ecx, [esp + 0x1c]
call fcn.00401ee9
cmp byte [esp + 0x18], 0
jne 0x4120cd
push 0xa
call edi
inc ebx
cmp ebx, 0xa
jl 0x41202d
xor ebx, ebx
lea ecx, [esp + 0x3e0]
call fcn.00401f8b
mov esi, eax
lea ecx, [esp + 0x1c]
push 0x463e44
lea eax, [esp + 0x84]
push eax
push str.__stext__
call fcn.0040415e
push eax
lea edx, [esp + 0x194]
lea ecx, [esp + 0x5c]
call fcn.004042dc
pop ecx
mov edx, eax
lea ecx, [esp + 0x70]
call fcn.004042fd
pop ecx
mov edx, eax
lea ecx, [esp + 0x3c]
call fcn.00402ff4
pop ecx
mov ecx, eax
call fcn.00401ee4
mov edx, esi
mov ecx, eax
call fcn.00417048
lea ecx, [esp + 0x38]
mov byte [esp + 0x17], al
call fcn.00401ee9
lea ecx, [esp + 0x68]
call fcn.00401ee9
lea ecx, [esp + 0x50]
call fcn.00401ee9
lea ecx, [esp + 0x1c]
call fcn.00401ee9
cmp byte [esp + 0x17], 0
jne 0x41216f
push 0xa
call edi
inc ebx
cmp ebx, 0xa
jl 0x4120cf
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.00401ee4
lea edx, [esp + 0xf8]
mov ecx, eax
call fcn.0041a97c
test al, al
je 0x4121cb
lea ecx, [esp + 0xb0]
mov bl, 1
call fcn.00401ee4
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
lea ecx, [esp + 0x80]
call fcn.00401ee4
lea edx, [esp + 0xe0]
mov ecx, eax
call fcn.0041a97c
test al, al
je 0x412204
mov bh, 1
lea ecx, [esp + 0x80]
mov byte [esp + 0x19], bh
call fcn.00401ee4
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
jmp 0x412208
mov bh, byte [esp + 0x19]
lea ecx, [esp + 0x98]
call fcn.00401ee4
lea edx, [esp + 0xc8]
mov ecx, eax
call fcn.0041a97c
test al, al
je 0x41223e
lea ecx, [esp + 0x98]
mov byte [esp + 0x1a], 1
call fcn.00401ee4
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
test bl, bl
je 0x41224d
test bh, bh
je 0x41224d
cmp byte [esp + 0x1a], 0
jne 0x41225e
push 0x1f4
call edi
inc esi
cmp esi, 0xa
jl 0x412198
lea ecx, [esp + 0xf8]
call fcn.0040619c
mov ebx, dword [esp + 0x34]
test al, al
je 0x4122c6
lea ecx, [esp + 0xc8]
call fcn.0040619c
test al, al
je 0x4122c6
lea ecx, [esp + 0xe0]
call fcn.0040619c
test al, al
je 0x4122c6
push 0x64
call edi
lea ecx, [esp + 0x80]
call fcn.00401ee9
lea ecx, [esp + 0x98]
call fcn.00401ee9
lea ecx, [esp + 0xb0]
call fcn.00401ee9
inc ebp
cmp ebp, 0xa
jl 0x411eff
jmp 0x4122ea
lea ecx, [esp + 0x80]
call fcn.00401ee9
lea ecx, [esp + 0x98]
call fcn.00401ee9
lea ecx, [esp + 0xb0]
call fcn.00401ee9
push 0
push 0x2710
lea ecx, [esp + 0x118]
call fcn.0040adcf
lea ecx, [esp + 0x110]
call fcn.00401ee4
sub esp, 0x18
mov esi, eax
lea eax, [esp + 0x428]
mov ecx, esp
push eax
call fcn.004020d6
mov edx, esi
lea ecx, [esp + 0x50]
call fcn.0041262d
add esp, 0x18
lea ecx, [esp + 0x38]
call fcn.00401ee9
mov edx, 0x4640ec
lea ecx, [esp + 0x398]
call fcn.00405ae5
lea edx, [esp + 0x110]
test al, al
je 0x4124a8
lea ecx, [esp + 0x170]
call fcn.0041a3f7
sub esp, 0x18
lea ecx, [esp + 0x170]
mov esi, esp
mov edi, 0x472ec0
mov edx, ebx
push eax
push edi
call fcn.0041a283
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.00402f11
pop ecx
mov edx, eax
lea ecx, [esp + 0x164]
call fcn.00402ef0
pop ecx
mov edx, eax
lea ecx, [esp + 0xb8]
call fcn.00402ef0
pop ecx
mov edx, eax
lea ecx, [esp + 0xcc]
call fcn.00402ef0
pop ecx
mov edx, eax
lea ecx, [esp + 0xe0]
call fcn.00402ef0
pop ecx
mov edx, eax
lea ecx, [esp + 0x48]
call fcn.00402ef0
pop ecx
mov edx, eax
lea ecx, [esp + 0x78]
call fcn.00402ef0
pop ecx
mov edx, eax
lea ecx, [esp + 0x8c]
call fcn.00402e81
pop ecx
mov edx, eax
lea ecx, [esp + 0x58]
call fcn.00402ef0
pop ecx
mov edx, eax
mov ecx, esi
call fcn.00402e81
pop ecx
push 0x69
mov ecx, 0x473380
call fcn.00404a81
lea ecx, [esp + 0x38]
call fcn.00401fb8
lea ecx, [esp + 0x68]
call fcn.00401fb8
lea ecx, [esp + 0x50]
call fcn.00401fb8
lea ecx, [esp + 0x1c]
call fcn.00401fb8
lea ecx, [esp + 0xb0]
call fcn.00401fb8
lea ecx, [esp + 0x98]
call fcn.00401fb8
lea ecx, [esp + 0x80]
call fcn.00401fb8
lea ecx, [esp + 0x128]
call fcn.00401fb8
lea ecx, [esp + 0x140]
call fcn.00401fb8
lea ecx, [esp + 0x158]
call fcn.00401fb8
lea ecx, [esp + 0x170]
jmp 0x4125a5
lea ecx, [esp + 0x1c]
call fcn.0041a3f7
sub esp, 0x18
lea edx, [esp + 0x3c8]
mov esi, esp
lea ecx, [esp + 0x68]
mov edi, 0x472ec0
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.00402f11
pop ecx
mov edx, eax
lea ecx, [esp + 0x9c]
call fcn.00402ef0
pop ecx
mov edx, eax
lea ecx, [esp + 0x68]
call fcn.00402ef0
pop ecx
mov edx, eax
lea ecx, [esp + 0x154]
call fcn.00402ef0
pop ecx
mov edx, eax
lea ecx, [esp + 0x168]
call fcn.00402ef0
pop ecx
mov edx, eax
lea ecx, [esp + 0x17c]
call fcn.00402ef0
pop ecx
mov edx, eax
lea ecx, [esp + 0x190]
call fcn.00402ef0
pop ecx
mov edx, eax
mov ecx, esi
call fcn.00402e81
pop ecx
push 0x6a
mov ecx, 0x473380
call fcn.00404a81
lea ecx, [esp + 0x170]
call fcn.00401fb8
lea ecx, [esp + 0x158]
call fcn.00401fb8
lea ecx, [esp + 0x140]
call fcn.00401fb8
lea ecx, [esp + 0x128]
call fcn.00401fb8
lea ecx, [esp + 0x38]
call fcn.00401fb8
lea ecx, [esp + 0x68]
call fcn.00401fb8
lea ecx, [esp + 0x50]
call fcn.00401fb8
lea ecx, [esp + 0x1c]
call fcn.00401fb8
lea ecx, [esp + 0x110]
call fcn.00401ee9
lea ecx, [esp + 0xc8]
call fcn.00401fb8
lea ecx, [esp + 0xe0]
call fcn.00401fb8
lea ecx, [esp + 0xf8]
call fcn.00401fb8
lea ecx, [esp + 0x398]
call fcn.00401fb8
lea ecx, [esp + 0x3b0]
call fcn.00401fb8
lea ecx, [esp + 0x3c8]
call fcn.00401fb8
lea ecx, [esp + 0x3e0]
call fcn.00401fb8
lea ecx, [esp + 0x3f8]
call fcn.00401fb8
lea ecx, [esp + 0x410]
call fcn.00401fb8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x384
ret