Function at 0x40fcf5
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3dc
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x3d8]
xor ebx, ebx
push eax
push ebx
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x128]
mov byte [ebp - 1], bl
mov byte [ebp - 2], bl
call fcn.004020b5
lea ecx, [ebp - 0x110]
call fcn.004020b5
lea ecx, [ebp - 0xf8]
call fcn.004020b5
lea ecx, [ebp - 0x20]
call fcn.004169eb
mov ecx, eax
call fcn.00401f75
push eax
mov dl, 0x30
lea ecx, [ebp - 0xe0]
call fcn.00417967
pop ecx
lea ecx, [ebp - 0x20]
call fcn.00401fa7
lea ecx, [ebp - 0x20]
call fcn.004169eb
mov ecx, eax
call fcn.00401f75
push eax
mov dl, 0x30
lea ecx, [ebp - 0xc8]
call fcn.00417967
pop ecx
lea ecx, [ebp - 0x20]
call fcn.00401fa7
lea ecx, [ebp - 0x20]
call fcn.004169eb
mov ecx, eax
call fcn.00401f75
push eax
mov dl, 0x30
lea ecx, [ebp - 0xb0]
call fcn.00417967
pop ecx
lea ecx, [ebp - 0x20]
call fcn.00401fa7
lea ecx, [ebp + 0x38]
call fcn.00401f75
mov esi, eax
lea ecx, [ebp - 0x1d0]
push 0x45f454
lea eax, [ebp - 0xe0]
mov edi, str.__stext__
push eax
push edi
call fcn.0040425f
push eax
lea edx, [ebp - 0x3d8]
lea ecx, [ebp - 0x1b8]
call fcn.004043e5
pop ecx
mov edx, eax
lea ecx, [ebp - 0x1a0]
call fcn.00404409
pop ecx
mov edx, eax
lea ecx, [ebp - 0x188]
call fcn.00403086
pop ecx
mov ecx, eax
call fcn.00401ecb
mov edx, esi
mov ecx, eax
call fcn.00413cca
mov bh, al
lea ecx, [ebp - 0x188]
call fcn.00401ed0
lea ecx, [ebp - 0x1a0]
call fcn.00401ed0
lea ecx, [ebp - 0x1b8]
call fcn.00401ed0
lea ecx, [ebp - 0x1d0]
call fcn.00401ed0
lea ecx, [ebp + 0x50]
call fcn.00401f75
mov esi, eax
lea ecx, [ebp - 0x38]
push 0x45f454
lea eax, [ebp - 0xc8]
push eax
push edi
call fcn.0040425f
push eax
lea edx, [ebp - 0x3d8]
lea ecx, [ebp - 0x170]
call fcn.004043e5
pop ecx
mov edx, eax
lea ecx, [ebp - 0x158]
call fcn.00404409
pop ecx
mov edx, eax
lea ecx, [ebp - 0x140]
call fcn.00403086
pop ecx
mov ecx, eax
call fcn.00401ecb
mov edx, esi
mov ecx, eax
call fcn.00413cca
lea ecx, [ebp - 0x140]
mov bl, al
call fcn.00401ed0
lea ecx, [ebp - 0x158]
call fcn.00401ed0
lea ecx, [ebp - 0x170]
call fcn.00401ed0
lea ecx, [ebp - 0x38]
call fcn.00401ed0
lea ecx, [ebp + 0x68]
call fcn.00401f75
mov esi, eax
lea ecx, [ebp - 0x98]
push 0x45f454
lea eax, [ebp - 0xb0]
push eax
push edi
call fcn.0040425f
push eax
lea edx, [ebp - 0x3d8]
lea ecx, [ebp - 0x80]
call fcn.004043e5
pop ecx
mov edx, eax
lea ecx, [ebp - 0x68]
call fcn.00404409
pop ecx
mov edx, eax
lea ecx, [ebp - 0x50]
call fcn.00403086
pop ecx
mov ecx, eax
call fcn.00401ecb
mov edx, esi
mov ecx, eax
call fcn.00413cca
lea ecx, [ebp - 0x50]
mov byte [ebp - 3], al
call fcn.00401ed0
lea ecx, [ebp - 0x68]
call fcn.00401ed0
lea ecx, [ebp - 0x80]
call fcn.00401ed0
lea ecx, [ebp - 0x98]
call fcn.00401ed0
xor eax, eax
mov esi, eax
xor ecx, ecx
inc ecx
test bh, bh
cmove esi, ecx
test bl, bl
jne 0x40ff5e
inc esi
cmp byte [ebp - 3], al
jne 0x40ff64
inc esi
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, eax
lea ecx, [ebp - 0xe0]
call fcn.00401ecb
lea edx, [ebp - 0x128]
mov ecx, eax
call fcn.00417334
test al, al
je 0x40ff9a
lea ecx, [ebp - 0xe0]
mov byte [ebp - 8], 1
call fcn.00401ecb
push eax
call ebx
lea ecx, [ebp - 0xc8]
call fcn.00401ecb
lea edx, [ebp - 0x110]
mov ecx, eax
call fcn.00417334
test al, al
je 0x40ffc8
lea ecx, [ebp - 0xc8]
mov byte [ebp - 1], 1
call fcn.00401ecb
push eax
call ebx
lea ecx, [ebp - 0xb0]
call fcn.00401ecb
lea edx, [ebp - 0xf8]
mov ecx, eax
call fcn.00417334
test al, al
je 0x40fff6
lea ecx, [ebp - 0xb0]
mov byte [ebp - 2], 1
call fcn.00401ecb
push eax
call ebx
cmp byte [ebp - 8], 0
je 0x410008
cmp byte [ebp - 1], 0
je 0x410008
cmp byte [ebp - 2], 0
jne 0x41001d
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0xa
jl 0x40ff6c
mov edx, 0x45f6e8
lea ecx, [ebp + 8]
call fcn.00405a22
test al, al
je 0x41011c
mov edx, esi
lea ecx, [ebp - 0x140]
call fcn.00416b7e
sub esp, 0x18
lea ecx, [ebp - 0xf8]
mov esi, esp
lea edx, [ebp + 0x20]
push eax
mov eax, 0x46c238
push eax
push ecx
push eax
lea ecx, [ebp - 0x110]
push ecx
push eax
lea ecx, [ebp - 0x128]
push ecx
push eax
lea ecx, [ebp - 0x158]
call fcn.00402f97
pop ecx
mov edx, eax
lea ecx, [ebp - 0x170]
call fcn.00402f73
pop ecx
mov edx, eax
lea ecx, [ebp - 0x38]
call fcn.00402f73
pop ecx
mov edx, eax
lea ecx, [ebp - 0x50]
call fcn.00402f73
pop ecx
mov edx, eax
lea ecx, [ebp - 0x68]
call fcn.00402f73
pop ecx
mov edx, eax
lea ecx, [ebp - 0x80]
call fcn.00402f73
pop ecx
mov edx, eax
lea ecx, [ebp - 0x98]
call fcn.00402f73
pop ecx
mov edx, eax
mov ecx, esi
call fcn.00402efd
pop ecx
push 0x69
mov ecx, 0x46c638
call fcn.00404a6e
lea ecx, [ebp - 0x98]
call fcn.00401fa7
lea ecx, [ebp - 0x80]
call fcn.00401fa7
lea ecx, [ebp - 0x68]
call fcn.00401fa7
lea ecx, [ebp - 0x50]
call fcn.00401fa7
lea ecx, [ebp - 0x38]
call fcn.00401fa7
lea ecx, [ebp - 0x170]
call fcn.00401fa7
lea ecx, [ebp - 0x158]
call fcn.00401fa7
lea ecx, [ebp - 0x140]
jmp 0x4101b5
sub esp, 0x18
lea eax, [ebp - 0xf8]
mov esi, esp
lea ecx, [ebp - 0x110]
lea edx, [ebp + 0x20]
push eax
mov eax, 0x46c238
push eax
push ecx
push eax
lea ecx, [ebp - 0x128]
push ecx
push eax
lea ecx, [ebp - 0x38]
call fcn.00402f97
pop ecx
mov edx, eax
lea ecx, [ebp - 0x50]
call fcn.00402f73
pop ecx
mov edx, eax
lea ecx, [ebp - 0x68]
call fcn.00402f73
pop ecx
mov edx, eax
lea ecx, [ebp - 0x80]
call fcn.00402f73
pop ecx
mov edx, eax
lea ecx, [ebp - 0x98]
call fcn.00402f73
pop ecx
mov edx, eax
mov ecx, esi
call fcn.00402f73
pop ecx
push 0x6a
mov ecx, 0x46c638
call fcn.00404a6e
lea ecx, [ebp - 0x98]
call fcn.00401fa7
lea ecx, [ebp - 0x80]
call fcn.00401fa7
lea ecx, [ebp - 0x68]
call fcn.00401fa7
lea ecx, [ebp - 0x50]
call fcn.00401fa7
lea ecx, [ebp - 0x38]
call fcn.00401fa7
lea ecx, [ebp - 0xb0]
call fcn.00401ed0
lea ecx, [ebp - 0xc8]
call fcn.00401ed0
lea ecx, [ebp - 0xe0]
call fcn.00401ed0
lea ecx, [ebp - 0xf8]
call fcn.00401fa7
lea ecx, [ebp - 0x110]
call fcn.00401fa7
lea ecx, [ebp - 0x128]
call fcn.00401fa7
lea ecx, [ebp + 8]
call fcn.00401fa7
lea ecx, [ebp + 0x20]
call fcn.00401fa7
lea ecx, [ebp + 0x38]
call fcn.00401fa7
lea ecx, [ebp + 0x50]
call fcn.00401fa7
lea ecx, [ebp + 0x68]
call fcn.00401fa7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret