Function at 0x410334
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.004020c7
lea ecx, [ebp - 0x110]
call fcn.004020c7
lea ecx, [ebp - 0xf8]
call fcn.004020c7
lea ecx, [ebp - 0x20]
call fcn.00417a83
mov ecx, eax
call fcn.00401f87
push eax
mov dl, 0x30
lea ecx, [ebp - 0xe0]
call fcn.004189ff
pop ecx
lea ecx, [ebp - 0x20]
call fcn.00401fb9
lea ecx, [ebp - 0x20]
call fcn.00417a83
mov ecx, eax
call fcn.00401f87
push eax
mov dl, 0x30
lea ecx, [ebp - 0xc8]
call fcn.004189ff
pop ecx
lea ecx, [ebp - 0x20]
call fcn.00401fb9
lea ecx, [ebp - 0x20]
call fcn.00417a83
mov ecx, eax
call fcn.00401f87
push eax
mov dl, 0x30
lea ecx, [ebp - 0xb0]
call fcn.004189ff
pop ecx
lea ecx, [ebp - 0x20]
call fcn.00401fb9
lea ecx, [ebp + 0x38]
call fcn.00401f87
mov esi, eax
lea ecx, [ebp - 0x1d0]
push 0x4604d4
lea eax, [ebp - 0xe0]
mov edi, str.__stext__
push eax
push edi
call fcn.00404260
push eax
lea edx, [ebp - 0x3d8]
lea ecx, [ebp - 0x1b8]
call fcn.004043e6
pop ecx
mov edx, eax
lea ecx, [ebp - 0x1a0]
call fcn.0040440a
pop ecx
mov edx, eax
lea ecx, [ebp - 0x188]
call fcn.00403098
pop ecx
mov ecx, eax
call fcn.00401edd
mov edx, esi
mov ecx, eax
call fcn.00414d29
mov bh, al
lea ecx, [ebp - 0x188]
call fcn.00401ee2
lea ecx, [ebp - 0x1a0]
call fcn.00401ee2
lea ecx, [ebp - 0x1b8]
call fcn.00401ee2
lea ecx, [ebp - 0x1d0]
call fcn.00401ee2
lea ecx, [ebp + 0x50]
call fcn.00401f87
mov esi, eax
lea ecx, [ebp - 0x38]
push 0x4604d4
lea eax, [ebp - 0xc8]
push eax
push edi
call fcn.00404260
push eax
lea edx, [ebp - 0x3d8]
lea ecx, [ebp - 0x170]
call fcn.004043e6
pop ecx
mov edx, eax
lea ecx, [ebp - 0x158]
call fcn.0040440a
pop ecx
mov edx, eax
lea ecx, [ebp - 0x140]
call fcn.00403098
pop ecx
mov ecx, eax
call fcn.00401edd
mov edx, esi
mov ecx, eax
call fcn.00414d29
lea ecx, [ebp - 0x140]
mov bl, al
call fcn.00401ee2
lea ecx, [ebp - 0x158]
call fcn.00401ee2
lea ecx, [ebp - 0x170]
call fcn.00401ee2
lea ecx, [ebp - 0x38]
call fcn.00401ee2
lea ecx, [ebp + 0x68]
call fcn.00401f87
mov esi, eax
lea ecx, [ebp - 0x98]
push 0x4604d4
lea eax, [ebp - 0xb0]
push eax
push edi
call fcn.00404260
push eax
lea edx, [ebp - 0x3d8]
lea ecx, [ebp - 0x80]
call fcn.004043e6
pop ecx
mov edx, eax
lea ecx, [ebp - 0x68]
call fcn.0040440a
pop ecx
mov edx, eax
lea ecx, [ebp - 0x50]
call fcn.00403098
pop ecx
mov ecx, eax
call fcn.00401edd
mov edx, esi
mov ecx, eax
call fcn.00414d29
lea ecx, [ebp - 0x50]
mov byte [ebp - 3], al
call fcn.00401ee2
lea ecx, [ebp - 0x68]
call fcn.00401ee2
lea ecx, [ebp - 0x80]
call fcn.00401ee2
lea ecx, [ebp - 0x98]
call fcn.00401ee2
xor eax, eax
mov esi, eax
xor ecx, ecx
inc ecx
test bh, bh
cmove esi, ecx
test bl, bl
jne 0x41059d
inc esi
cmp byte [ebp - 3], al
jne 0x4105a3
inc esi
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, eax
lea ecx, [ebp - 0xe0]
call fcn.00401edd
lea edx, [ebp - 0x128]
mov ecx, eax
call fcn.004183cc
test al, al
je 0x4105d9
lea ecx, [ebp - 0xe0]
mov byte [ebp - 8], 1
call fcn.00401edd
push eax
call ebx
lea ecx, [ebp - 0xc8]
call fcn.00401edd
lea edx, [ebp - 0x110]
mov ecx, eax
call fcn.004183cc
test al, al
je 0x410607
lea ecx, [ebp - 0xc8]
mov byte [ebp - 1], 1
call fcn.00401edd
push eax
call ebx
lea ecx, [ebp - 0xb0]
call fcn.00401edd
lea edx, [ebp - 0xf8]
mov ecx, eax
call fcn.004183cc
test al, al
je 0x410635
lea ecx, [ebp - 0xb0]
mov byte [ebp - 2], 1
call fcn.00401edd
push eax
call ebx
cmp byte [ebp - 8], 0
je 0x410647
cmp byte [ebp - 1], 0
je 0x410647
cmp byte [ebp - 2], 0
jne 0x41065c
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0xa
jl 0x4105ab
mov edx, 0x460770
lea ecx, [ebp + 8]
call fcn.00405c1b
test al, al
je 0x41075b
mov edx, esi
lea ecx, [ebp - 0x140]
call fcn.00417c16
sub esp, 0x18
lea ecx, [ebp - 0xf8]
mov esi, esp
lea edx, [ebp + 0x20]
push eax
mov eax, 0x46e250
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.00402fa9
pop ecx
mov edx, eax
lea ecx, [ebp - 0x170]
call fcn.00402f85
pop ecx
mov edx, eax
lea ecx, [ebp - 0x38]
call fcn.00402f85
pop ecx
mov edx, eax
lea ecx, [ebp - 0x50]
call fcn.00402f85
pop ecx
mov edx, eax
lea ecx, [ebp - 0x68]
call fcn.00402f85
pop ecx
mov edx, eax
lea ecx, [ebp - 0x80]
call fcn.00402f85
pop ecx
mov edx, eax
lea ecx, [ebp - 0x98]
call fcn.00402f85
pop ecx
mov edx, eax
mov ecx, esi
call fcn.00402f0f
pop ecx
push 0x69
mov ecx, 0x46e6e8
call fcn.00404bb7
lea ecx, [ebp - 0x98]
call fcn.00401fb9
lea ecx, [ebp - 0x80]
call fcn.00401fb9
lea ecx, [ebp - 0x68]
call fcn.00401fb9
lea ecx, [ebp - 0x50]
call fcn.00401fb9
lea ecx, [ebp - 0x38]
call fcn.00401fb9
lea ecx, [ebp - 0x170]
call fcn.00401fb9
lea ecx, [ebp - 0x158]
call fcn.00401fb9
lea ecx, [ebp - 0x140]
jmp 0x4107f4
sub esp, 0x18
lea eax, [ebp - 0xf8]
mov esi, esp
lea ecx, [ebp - 0x110]
lea edx, [ebp + 0x20]
push eax
mov eax, 0x46e250
push eax
push ecx
push eax
lea ecx, [ebp - 0x128]
push ecx
push eax
lea ecx, [ebp - 0x38]
call fcn.00402fa9
pop ecx
mov edx, eax
lea ecx, [ebp - 0x50]
call fcn.00402f85
pop ecx
mov edx, eax
lea ecx, [ebp - 0x68]
call fcn.00402f85
pop ecx
mov edx, eax
lea ecx, [ebp - 0x80]
call fcn.00402f85
pop ecx
mov edx, eax
lea ecx, [ebp - 0x98]
call fcn.00402f85
pop ecx
mov edx, eax
mov ecx, esi
call fcn.00402f85
pop ecx
push 0x6a
mov ecx, 0x46e6e8
call fcn.00404bb7
lea ecx, [ebp - 0x98]
call fcn.00401fb9
lea ecx, [ebp - 0x80]
call fcn.00401fb9
lea ecx, [ebp - 0x68]
call fcn.00401fb9
lea ecx, [ebp - 0x50]
call fcn.00401fb9
lea ecx, [ebp - 0x38]
call fcn.00401fb9
lea ecx, [ebp - 0xb0]
call fcn.00401ee2
lea ecx, [ebp - 0xc8]
call fcn.00401ee2
lea ecx, [ebp - 0xe0]
call fcn.00401ee2
lea ecx, [ebp - 0xf8]
call fcn.00401fb9
lea ecx, [ebp - 0x110]
call fcn.00401fb9
lea ecx, [ebp - 0x128]
call fcn.00401fb9
lea ecx, [ebp + 8]
call fcn.00401fb9
lea ecx, [ebp + 0x20]
call fcn.00401fb9
lea ecx, [ebp + 0x38]
call fcn.00401fb9
lea ecx, [ebp + 0x50]
call fcn.00401fb9
lea ecx, [ebp + 0x68]
call fcn.00401fb9
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret