Function at 0x409df0
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x45a50f
mov eax, dword fs:[0]
push eax
sub esp, 0x1fc
mov eax, dword [0x473564]
xor eax, esp
mov dword [esp + 0x1f8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x473564]
xor eax, esp
push eax
lea eax, [esp + 0x210]
mov dword fs:[0], eax
mov eax, dword [esp + 0x23c]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
xor ebx, ebx
mov dword [esp + 0x218], ebx
mov ebp, 0xf
mov byte [esp + 0x17], bl
mov dword [esp + 0x208], ebp
mov dword [esp + 0x204], ebx
mov byte [esp + 0x1f4], bl
mov dword [esp + 0x17c], ebp
mov dword [esp + 0x178], ebx
mov byte [esp + 0x168], bl
lea edx, [esp + 0x164]
push edx
sub esp, 0x1c
mov ecx, esp
mov byte [esp + 0x238], 2
mov dword [esp + 0x38], esp
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x248]
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push eax
lea edi, [esp + 0x21c]
mov byte [ecx + 4], bl
call fcn.00403810
call fcn.004094a0
add esp, 0x20
cmp al, bl
jne 0x409ec3
lea esi, [ebx + 0x10]
jmp 0x40a78a
mov dword [esp + 0x198], ebp
mov dword [esp + 0x194], ebx
mov byte [esp + 0x184], bl
mov dword [esp + 0x3c], vtable.CLMVersion.0
mov dword [esp + 0x40], ebx
sub esp, 0x1c
mov ecx, esp
mov byte [esp + 0x234], 4
mov dword [esp + 0x34], esp
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x244]
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.00403810
lea edi, [esp + 0x58]
call fcn.004073f0
cmp al, bl
je 0x409f5b
lea esi, [esp + 0x68]
call fcn.00407510
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x18c]
mov byte [esp + 0x224], 5
call fcn.00403810
mov byte [esp + 0x218], 4
cmp dword [esp + 0x80], 0x10
jb 0x409f5b
mov ecx, dword [esp + 0x6c]
push ecx
call fcn.0043870c
add esp, 4
lea esi, [esp + 0x19c]
call fcn.0040bb20
mov byte [esp + 0x218], 6
mov esi, dword [esp + 0x1b0]
cmp esi, 4
mov eax, esi
jb 0x409f82
mov eax, 4
mov edi, dword [esp + 0x1b4]
cmp edi, 0x10
mov ecx, dword [esp + 0x1a0]
jae 0x409f9c
lea ecx, [esp + 0x1a0]
push ecx
mov ecx, str.win7
call fcn.00401040
add esp, 4
cmp eax, ebx
jne 0x40a15f
cmp esi, 4
jb 0x40a15f
xor eax, eax
cmp esi, 4
setne al
cmp eax, ebx
jne 0x40a15f
push 4
push str..lnk
lea ecx, [esp + 0x28]
mov dword [esp + 0x40], ebp
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
call fcn.00403c00
lea edx, [esp + 0x164]
push edx
lea eax, [esp + 0x1f4]
push eax
lea edi, [esp + 0x54]
mov byte [esp + 0x220], 7
call fcn.00404a80
lea ecx, [esp + 0x28]
push ecx
push eax
lea edi, [esp + 0x158]
mov byte [esp + 0x228], 8
call fcn.00404a80
add esp, 0x10
mov esi, 0x10
cmp dword [esp + 0x64], esi
jb 0x40a03d
mov edx, dword [esp + 0x50]
push edx
call fcn.0043870c
add esp, 4
mov dword [esp + 0x64], ebp
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
mov byte [esp + 0x218], 0xb
cmp dword [esp + 0x38], esi
jb 0x40a064
mov eax, dword [esp + 0x24]
push eax
call fcn.0043870c
add esp, 4
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x16c]
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push edx
mov dword [esp + 0x60], ebp
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
mov byte [ecx + 4], bl
call fcn.00403810
sub esp, 0x1c
mov ecx, esp
mov byte [esp + 0x250], 0xc
mov dword [esp + 0x54], esp
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x260]
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.00403810
mov byte [esp + 0x250], 0xb
call fcn.004086f0
add esp, 0x38
cmp al, bl
je 0x40a128
push str.yes0
call fcn.00401460
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x38], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x16c]
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push edx
mov byte [ecx + 4], bl
call fcn.00403810
call fcn.00408c90
add esp, 0x1c
cmp dword [esp + 0x160], esi
mov byte [esp + 0x17], al
mov eax, dword [esp + 0x14c]
jae 0x40a11f
lea eax, [esp + 0x14c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x40a135
push 0x460034
call fcn.00401460
add esp, 4
mov byte [esp + 0x218], 6
cmp dword [esp + 0x160], esi
jb 0x40a294
mov eax, dword [esp + 0x14c]
push eax
call fcn.0043870c
add esp, 4
jmp 0x40a294
cmp esi, 5
mov eax, esi
jb 0x40a16b
mov eax, 5
cmp edi, 0x10
mov ecx, dword [esp + 0x1a0]
jae 0x40a17e
lea ecx, [esp + 0x1a0]
push ecx
mov ecx, str.win10
call fcn.00401040
add esp, 4
cmp eax, ebx
jne 0x40a294
cmp esi, 5
jb 0x40a294
xor eax, eax
cmp esi, 5
setne al
cmp eax, ebx
jne 0x40a294
test byte [0x4792a4], 1
jne 0x40a1dc
or dword [0x4792a4], 1
push 0x45cdb0
mov dword [0x4792a0], ebp
mov dword [0x47929c], ebx
mov byte [0x47928c], bl
call fcn.00438b5c
add esp, 4
cmp byte [0x474b70], bl
je 0x40a22c
lea ecx, [esp + 0x68]
push ecx
mov byte [0x474b70], bl
call fcn.00409720
add esp, 4
push 0xffffffffffffffff
push ebx
push eax
mov ecx, 0x479288
mov byte [esp + 0x224], 0xd
call fcn.00403810
mov byte [esp + 0x218], 6
cmp dword [esp + 0x80], 0x10
jb 0x40a22c
mov edx, dword [esp + 0x6c]
push edx
call fcn.0043870c
add esp, 4
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x38], esp
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x244]
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.00403810
sub esp, 0x1c
mov ecx, esp
mov byte [esp + 0x250], 0xe
mov dword [esp + 0x50], esp
push 0xffffffffffffffff
push ebx
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push 0x479288
mov byte [ecx + 4], bl
call fcn.00403810
mov byte [esp + 0x250], 6
call fcn.00409ab0
add esp, 0x38
push 0x7d0
mov byte [esp + 0x1b], al
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x16c]
push ecx
lea ecx, [esp + 0x1c4]
mov dword [esp + 0x1dc], ebp
mov dword [esp + 0x1d8], ebx
mov byte [esp + 0x1c8], bl
call fcn.00403810
mov byte [esp + 0x218], 0xf
cmp dword [esp + 0x198], 0x10
mov eax, dword [esp + 0x184]
jae 0x40a2e0
lea eax, [esp + 0x184]
push eax
xor eax, eax
mov ecx, 0x45fd0b
call fcn.00401040
add esp, 4
cmp eax, ebx
jne 0x40a304
xor eax, eax
cmp dword [esp + 0x194], ebx
setne al
cmp eax, ebx
je 0x40a31b
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x188]
push edx
lea ecx, [esp + 0x1c4]
call fcn.00403810
push 4
push str..lnk
lea ecx, [esp + 0x8c]
mov dword [esp + 0xa4], ebp
mov dword [esp + 0xa0], ebx
mov byte [esp + 0x90], bl
call fcn.00403c00
mov byte [esp + 0x218], 0x10
push 1
push 0x45fd98
lea ecx, [esp + 0x28]
mov dword [esp + 0x40], ebp
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
call fcn.00403c00
lea esi, [esp + 0xd8]
mov byte [esp + 0x218], 0x11
call fcn.00408610
lea ecx, [esp + 0x20]
push ecx
push eax
lea edi, [esp + 0xc4]
mov byte [esp + 0x220], 0x12
call fcn.00404a80
lea edx, [esp + 0x1c0]
push edx
push eax
lea edi, [esp + 0xb0]
mov byte [esp + 0x228], 0x13
call fcn.00404a80
lea ecx, [esp + 0x94]
push ecx
push eax
lea edi, [esp + 0x1ec]
mov byte [esp + 0x230], 0x14
call fcn.00404a80
add esp, 0x18
cmp dword [esp + 0xb8], 0x10
jb 0x40a3ec
mov edx, dword [esp + 0xa4]
push edx
call fcn.0043870c
add esp, 4
mov dword [esp + 0xb8], ebp
mov dword [esp + 0xb4], ebx
mov byte [esp + 0xa4], bl
mov esi, 0x10
cmp dword [esp + 0xd4], esi
jb 0x40a41f
mov eax, dword [esp + 0xc0]
push eax
call fcn.0043870c
add esp, 4
mov dword [esp + 0xd4], ebp
mov dword [esp + 0xd0], ebx
mov byte [esp + 0xc0], bl
cmp dword [esp + 0xf0], esi
jb 0x40a44d
mov ecx, dword [esp + 0xdc]
push ecx
call fcn.0043870c
add esp, 4
mov dword [esp + 0xf0], ebp
mov dword [esp + 0xec], ebx
mov byte [esp + 0xdc], bl
cmp dword [esp + 0x38], esi
jb 0x40a475
mov edx, dword [esp + 0x24]
push edx
call fcn.0043870c
add esp, 4
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
mov byte [esp + 0x218], 0x1a
cmp dword [esp + 0x9c], esi
jb 0x40a4a2
mov eax, dword [esp + 0x88]
push eax
call fcn.0043870c
add esp, 4
cmp dword [esp + 0x1ec], esi
mov eax, dword [esp + 0x1d8]
mov dword [esp + 0x9c], ebp
mov dword [esp + 0x98], ebx
mov byte [esp + 0x88], bl
jae 0x40a4ce
lea eax, [esp + 0x1d8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x40a4e1
push 0x460040
jmp 0x40a4e6
push str.yes1
call fcn.00401460
add esp, 4
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x1dc]
push ecx
mov ecx, dword [esp + 0x50]
call fcn.00403810
push 4
push str..lnk
lea ecx, [esp + 0x54]
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
call fcn.00403c00
mov byte [esp + 0x218], 0x1b
push 1
push 0x45fd98
lea ecx, [esp + 0x150]
mov dword [esp + 0x168], ebp
mov dword [esp + 0x164], ebx
mov byte [esp + 0x154], bl
call fcn.00403c00
lea esi, [esp + 0x68]
mov byte [esp + 0x218], 0x1c
call fcn.00408610
lea edx, [esp + 0x148]
push edx
push eax
lea edi, [esp + 0xfc]
mov byte [esp + 0x220], 0x1d
call fcn.00404a80
lea ecx, [esp + 0x16c]
push ecx
push eax
lea edi, [esp + 0x120]
mov byte [esp + 0x228], 0x1e
call fcn.00404a80
lea edx, [esp + 0x5c]
push edx
push eax
lea edi, [esp + 0x144]
mov byte [esp + 0x230], 0x1f
call fcn.00404a80
add esp, 0x18
mov ecx, dword [esp + 0x48]
push 0xffffffffffffffff
push ebx
push eax
mov byte [esp + 0x224], 0x20
call fcn.00403810
cmp dword [esp + 0x144], 0x10
jb 0x40a5e5
mov eax, dword [esp + 0x130]
push eax
call fcn.0043870c
add esp, 4
mov esi, 0x10
cmp dword [esp + 0x128], esi
mov dword [esp + 0x144], ebp
mov dword [esp + 0x140], ebx
mov byte [esp + 0x130], bl
jb 0x40a618
mov ecx, dword [esp + 0x114]
push ecx
call fcn.0043870c
add esp, 4
cmp dword [esp + 0x10c], esi
mov dword [esp + 0x128], ebp
mov dword [esp + 0x124], ebx
mov byte [esp + 0x114], bl
jb 0x40a646
mov edx, dword [esp + 0xf8]
push edx
call fcn.0043870c
add esp, 4
cmp dword [esp + 0x80], esi
mov dword [esp + 0x10c], ebp
mov dword [esp + 0x108], ebx
mov byte [esp + 0xf8], bl
jb 0x40a671
mov eax, dword [esp + 0x6c]
push eax
call fcn.0043870c
add esp, 4
cmp dword [esp + 0x160], esi
mov dword [esp + 0x80], ebp
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x6c], bl
jb 0x40a699
mov ecx, dword [esp + 0x14c]
push ecx
call fcn.0043870c
add esp, 4
cmp dword [esp + 0x64], esi
mov dword [esp + 0x160], ebp
mov dword [esp + 0x15c], ebx
mov byte [esp + 0x14c], bl
jb 0x40a6c1
mov edx, dword [esp + 0x50]
push edx
call fcn.0043870c
add esp, 4
cmp dword [esp + 0x1ec], esi
jb 0x40a6da
mov eax, dword [esp + 0x1d8]
push eax
call fcn.0043870c
add esp, 4
cmp dword [esp + 0x1d0], esi
mov dword [esp + 0x1ec], ebp
mov dword [esp + 0x1e8], ebx
mov byte [esp + 0x1d8], bl
jb 0x40a708
mov ecx, dword [esp + 0x1bc]
push ecx
call fcn.0043870c
add esp, 4
cmp dword [esp + 0x1b4], esi
mov dword [esp + 0x1d0], ebp
mov dword [esp + 0x1cc], ebx
mov byte [esp + 0x1bc], bl
jb 0x40a736
mov edx, dword [esp + 0x1a0]
push edx
call fcn.0043870c
add esp, 4
mov eax, dword [esp + 0x40]
cmp eax, ebx
mov dword [esp + 0x1b4], ebp
mov dword [esp + 0x1b0], ebx
mov byte [esp + 0x1a0], bl
je 0x40a75c
push eax
call fcn.00439136
add esp, 4
cmp dword [esp + 0x198], esi
jb 0x40a775
mov eax, dword [esp + 0x184]
push eax
call fcn.0043870c
add esp, 4
mov dword [esp + 0x198], ebp
mov dword [esp + 0x194], ebx
mov byte [esp + 0x184], bl
cmp dword [esp + 0x17c], esi
jb 0x40a7a3
mov ecx, dword [esp + 0x168]
push ecx
call fcn.0043870c
add esp, 4
cmp dword [esp + 0x208], esi
mov byte [esp + 0x168], bl
mov dword [esp + 0x178], ebx
mov dword [esp + 0x17c], ebp
jb 0x40a7d1
mov edx, dword [esp + 0x1f4]
push edx
call fcn.0043870c
add esp, 4
cmp dword [esp + 0x238], 0x10
jb 0x40a7eb
mov eax, dword [esp + 0x224]
push eax
call fcn.0043870c
add esp, 4
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x210]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1f8]
xor ecx, esp
call fcn.00438866
add esp, 0x208
ret