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

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x20
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
mov eax, dword [0x433080]
xor eax, ebp
mov dword [ebp - 8], eax
mov ecx, dword [0x43454c]
mov eax, dword [0x434548]
xor esi, esi
sub esi, 1
mov edx, ecx
add edx, esi
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
and cl, 1
mov byte [ebp - 0x16], cl
cmp eax, 0xa
setl al
and al, 1
mov byte [ebp - 0x15], al
mov dword [ebp - 0x1c], 0xb5724120
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
sub eax, 0x8774008f
je 0x409b09
jmp 0x409935
mov eax, dword [ebp - 0x24]
sub eax, 0x9fb53cdb
je 0x409abe
jmp 0x409948
mov eax, dword [ebp - 0x24]
sub eax, 0xa504fe94
je 0x409c1a
jmp 0x40995b
mov eax, dword [ebp - 0x24]
sub eax, 0xa54e3003
je 0x409bf2
jmp 0x40996e
mov eax, dword [ebp - 0x24]
sub eax, 0xb12a8824
je 0x409ade
jmp 0x409981
mov eax, dword [ebp - 0x24]
sub eax, 0xb5724120
je 0x409a44
jmp 0x409994
mov eax, dword [ebp - 0x24]
sub eax, 0xc2c5d741
je 0x409bfe
jmp 0x4099a7
mov eax, dword [ebp - 0x24]
sub eax, 0xc3b5ea39
je 0x409bb1
jmp 0x4099ba
mov eax, dword [ebp - 0x24]
sub eax, 0xc646eab0
je 0x409c0a
jmp 0x4099cd
mov eax, dword [ebp - 0x24]
sub eax, 0xf9d2f493
je 0x409b57
jmp 0x4099e0
mov eax, dword [ebp - 0x24]
sub eax, 0xb689a29
je 0x409a6a
jmp 0x4099f3
mov eax, dword [ebp - 0x24]
sub eax, 0xb90ca1f
je 0x409bd7
jmp 0x409a06
mov eax, dword [ebp - 0x24]
sub eax, 0x26077167
je 0x409c26
jmp 0x409a19
mov eax, dword [ebp - 0x24]
sub eax, 0x30f05451
je 0x409ba5
jmp 0x409a2c
mov eax, dword [ebp - 0x24]
sub eax, 0x6d748e65
je 0x409aca
jmp 0x409a3f
jmp 0x409c30
mov al, byte [ebp - 0x16]
mov cl, byte [ebp - 0x15]
mov dl, al
and dl, cl
xor al, cl
or dl, al
mov eax, 0xa504fe94
mov ecx, 0xb689a29
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1c], eax
jmp 0x409c30
push eax
mov eax, esp
mov dword [ebp - 0x14], eax
mov eax, dword [0x43454c]
mov ecx, dword [0x434548]
mov edx, eax
sub edx, 0xd0158d0a
sub edx, 1
add edx, 0xd0158d0a
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
xor al, cl
or dl, al
mov eax, 0xa504fe94
mov ecx, 0x9fb53cdb
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1c], eax
jmp 0x409c30
mov dword [ebp - 0x1c], 0x6d748e65
jmp 0x409c30
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
mov dword [eax], ecx
mov dword [ebp - 0x1c], 0xb12a8824
jmp 0x409c30
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov edx, eax
mov eax, 0xc646eab0
mov ecx, 0x8774008f
cmp edx, 0xffffffff
cmovne eax, ecx
mov dword [ebp - 0x1c], eax
jmp 0x409c30
mov eax, dword [0x43454c]
mov ecx, dword [0x434548]
mov edx, eax
add edx, 0xaeff38d8
sub edx, 1
sub edx, 0xaeff38d8
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
xor al, cl
or dl, al
mov eax, 0x26077167
mov ecx, 0xf9d2f493
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1c], eax
jmp 0x409c30
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
mov eax, dword [0x43454c]
mov ecx, dword [0x434548]
xor esi, esi
sub esi, 1
mov edx, eax
add edx, esi
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
xor al, cl
or dl, al
mov eax, 0x26077167
mov ecx, 0x30f05451
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1c], eax
jmp 0x409c30
mov dword [ebp - 0x1c], 0xc3b5ea39
jmp 0x409c30
mov eax, dword [ebp - 0x10]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp eax, 0
setne al
and al, 1
mov byte [ebp - 9], al
mov dword [ebp - 0x1c], 0xb90ca1f
jmp 0x409c30
mov dl, byte [ebp - 9]
mov eax, 0xa54e3003
mov ecx, 0xc2c5d741
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1c], eax
jmp 0x409c30
mov dword [ebp - 0x1c], 0xc646eab0
jmp 0x409c30
mov dword [ebp - 0x1c], 0xc646eab0
jmp 0x409c30
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041cad0
lea esp, [ebp - 4]
pop esi
pop ebp
ret
mov dword [ebp - 0x1c], 0xb689a29
jmp 0x409c30
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], 0xf9d2f493
jmp 0x40991f