Function at 0x4128bd
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.0041b40d
mov ecx, eax
call fcn.00401fab
push eax
mov dl, 0x30
lea ecx, [esp + 0xb4]
call fcn.0040d7f1
pop ecx
lea ecx, [esp + 0x1c]
call fcn.00401fd8
lea ecx, [esp + 0x1c]
call fcn.0041b40d
mov ecx, eax
call fcn.00401fab
push eax
mov dl, 0x30
lea ecx, [esp + 0x9c]
call fcn.0040d7f1
pop ecx
lea ecx, [esp + 0x1c]
call fcn.00401fd8
lea ecx, [esp + 0x1c]
call fcn.0041b40d
mov ecx, eax
call fcn.00401fab
push eax
mov dl, 0x30
lea ecx, [esp + 0x84]
call fcn.0040d7f1
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 0x464e64
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.00417ffd
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 0x412a34
push 0xa
call edi
inc ebx
cmp ebx, 0xa
jl 0x412994
xor ebx, ebx
lea ecx, [esp + 0x3f8]
call fcn.00401fab
mov esi, eax
lea ecx, [esp + 0x1c]
push 0x464e64
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.00417ffd
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 0x412ad6
push 0xa
call edi
inc ebx
cmp ebx, 0xa
jl 0x412a36
xor ebx, ebx
lea ecx, [esp + 0x3e0]
call fcn.00401fab
mov esi, eax
lea ecx, [esp + 0x1c]
push 0x464e64
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.00417ffd
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 0x412b78
push 0xa
call edi
inc ebx
cmp ebx, 0xa
jl 0x412ad8
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.0041bf1a
test al, al
je 0x412bd4
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.0041bf1a
test al, al
je 0x412c0d
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 0x412c11
mov bh, byte [esp + 0x19]
lea ecx, [esp + 0x98]
call fcn.00401f04
lea edx, [esp + 0xc8]
mov ecx, eax
call fcn.0041bf1a
test al, al
je 0x412c47
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 0x412c56
test bh, bh
je 0x412c56
cmp byte [esp + 0x1a], 0
jne 0x412c67
push 0x1f4
call edi
inc esi
cmp esi, 0xa
jl 0x412ba1
lea ecx, [esp + 0xf8]
call fcn.00406a4f
mov ebx, dword [esp + 0x34]
test al, al
je 0x412ccf
lea ecx, [esp + 0xc8]
call fcn.00406a4f
test al, al
je 0x412ccf
lea ecx, [esp + 0xe0]
call fcn.00406a4f
test al, al
je 0x412ccf
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 0x412908
jmp 0x412cf3
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.0040b779
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.00413036
add esp, 0x18
lea ecx, [esp + 0x38]
call fcn.00401f09
mov edx, 0x46510c
lea ecx, [esp + 0x398]
call fcn.00405b05
lea edx, [esp + 0x110]
test al, al
je 0x412eb1
lea ecx, [esp + 0x170]
call fcn.0041b7b3
sub esp, 0x18
lea ecx, [esp + 0x170]
mov esi, esp
mov edi, 0x473ec8
mov edx, ebx
push eax
push edi
call fcn.0041b623
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, 0x474418
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 0x412fae
lea ecx, [esp + 0x1c]
call fcn.0041b7b3
sub esp, 0x18
lea edx, [esp + 0x3c8]
mov esi, esp
lea ecx, [esp + 0x68]
mov edi, 0x473ec8
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, 0x474418
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