Function at 0x409a6f
Capabilities:
Delete file

Disassembly:
mov eax, 0x46715b
call fcn.00446518
sub esp, 0x5c
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 0x18], ebx
call fcn.00406a84
add eax, 0xcc
mov esi, 0x4af930
push 0
mov ecx, esi
mov dword [ebp - 0x20], eax
call fcn.00404975
push dword [ebx + 0x30]
mov ecx, esi
push 0
call fcn.00404927
push 2
push str.data_darkeden
call fcn.00422b00
mov eax, dword [ebx + 0x2c]
mov esi, dword [eax + 8]
cmp esi, eax
pop ecx
pop ecx
je 0x409d0d
mov edi, 0x483e84
jmp 0x409a95
mov ebx, dword [ebp - 0x18]
mov eax, dword [esi + 0x10]
push 0x4843a4
mov dword [ebp - 0x14], eax
add ebx, 0x8c
lea eax, [ebp - 0x44]
push ebx
push eax
call fcn.00403c81
add esp, 0xc
push dword [ebp - 0x14]
xor ebx, ebx
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], ebx
call fcn.00407e45
push str..dp2
lea ecx, [ebp - 0x44]
call fcn.00407e45
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
lea eax, [ebp - 0xd]
push eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 1
call fcn.00401f74
mov ebx, dword [ebp - 0x44]
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0xd]
mov byte [ebp - 4], 2
call fcn.00406a37
push eax
push ebx
lea ecx, [ebp - 0x28]
call fcn.004093bb
mov bl, al
mov eax, dword [ebp - 0x54]
neg bl
sbb bl, bl
sub eax, dword [ebp - 0x5c]
lea ecx, [ebp - 0x54]
push eax
push dword [ebp - 0x5c]
inc bl
mov byte [ebp - 4], 1
call fcn.00401499
test bl, bl
jne 0x409d23
mov eax, dword [esi + 0x1c]
cmp dword [ebp - 0x24], eax
jne 0x409d38
push dword [ebp - 0x24]
lea eax, [ebp - 0x68]
push dword [ebp - 0x28]
push eax
call fcn.00422990
push 0x20
lea eax, [esi + 0x29]
push eax
push dword [ebp - 0x68]
call fcn.00447b80
add esp, 0x18
test eax, eax
jne 0x409b5e
inc bl
mov eax, dword [ebp - 0x60]
sub eax, dword [ebp - 0x68]
lea ecx, [ebp - 0x60]
push eax
push dword [ebp - 0x68]
call fcn.00401499
test bl, bl
je 0x409d38
mov al, byte [esi + 0x28]
test al, al
mov dword [ebp - 0x1c], 4
jne 0x409b91
push dword [ebp - 0x14]
call fcn.0040291d
pop ecx
jmp 0x409ba3
cmp al, 2
mov dword [ebp - 0x1c], 0x10000004
jne 0x409ba3
mov dword [ebp - 0x1c], 0x30000004
push dword [ebp - 0x14]
mov ebx, 0x4f8780
mov ecx, ebx
call fcn.00423510
test al, al
je 0x409bc9
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push dword [ebp - 0x14]
mov ecx, ebx
call fcn.004234f0
push dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x14]
push ebx
lea ecx, [ebp - 0x38]
call fcn.004069dc
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
call fcn.00403b6d
test al, al
jne 0x409c8c
lea eax, [ebp - 0xd]
push eax
push str.taskkill__f__t__im
lea ecx, [ebp - 0x50]
call fcn.00401f74
push ebx
push 0x4837a4
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 4
call fcn.00407e45
mov ecx, eax
call fcn.00407e45
push dword [ebp - 0x50]
call fcn.00447d64
mov dword [esp], 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x30]
push ebx
call fcn.004069dc
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 5
call fcn.00403b6d
test al, al
je 0x409d56
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x409c5d
push dword [ebp - 0x24]
mov eax, dword [ecx]
push dword [ebp - 0x28]
call dword [eax + 0x20]
lea ecx, [ebp - 0x30]
call fcn.00422bf0
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
mov dword [ebp - 0x30], edi
call fcn.00422bf0
mov eax, dword [ebp - 0x48]
sub eax, dword [ebp - 0x50]
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x50]
mov byte [ebp - 4], 3
call fcn.00401499
jmp 0x409ca6
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x409c9e
push dword [ebp - 0x24]
mov eax, dword [ecx]
push dword [ebp - 0x28]
call dword [eax + 0x20]
lea ecx, [ebp - 0x38]
call fcn.00422bf0
lea ecx, [ebp - 0x28]
call fcn.00406613
push 1
mov ecx, 0x4af930
call fcn.00404997
push 0
push dword [ebp - 0x20]
push dword [0x4af1a8]
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
mov dword [ebp - 0x38], edi
call fcn.00422bf0
lea ecx, [ebp - 0x28]
call fcn.00406613
mov eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x44]
or dword [ebp - 4], 0xffffffff
push eax
push dword [ebp - 0x44]
lea ecx, [ebp - 0x3c]
call fcn.00401499
push esi
call fcn.004379d0
mov esi, eax
mov eax, dword [ebp - 0x18]
cmp esi, dword [eax + 0x2c]
pop ecx
jne 0x409a92
call fcn.00422b20
mov al, 1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
push dword [ebp - 0x44]
mov ecx, dword [ebp - 0x18]
push dword [ebp - 0x14]
push 0x4844bc
call fcn.004068b2
jmp 0x409d9b
push dword [ebp - 0x44]
mov ecx, dword [ebp - 0x18]
push dword [ebp - 0x14]
push 0x4844ac
call fcn.004068b2
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x409d9b
push dword [ebp - 0x44]
mov ecx, dword [ebp - 0x18]
push ebx
push 0x484498
call fcn.004068b2
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
mov dword [ebp - 0x30], edi
call fcn.00422bf0
mov eax, dword [ebp - 0x48]
sub eax, dword [ebp - 0x50]
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x50]
mov byte [ebp - 4], 3
call fcn.00401499
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
mov dword [ebp - 0x38], edi
call fcn.00422bf0
lea ecx, [ebp - 0x28]
call fcn.00406613
mov eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x44]
or dword [ebp - 4], 0xffffffff
push eax
push dword [ebp - 0x44]
lea ecx, [ebp - 0x3c]
call fcn.00401499
xor al, al
jmp 0x409d14