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

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
sub esp, 0x24
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
mov eax, dword [0x43c080]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov ecx, dword [0x43d574]
mov eax, dword [0x43d570]
mov edx, ecx
sub edx, 0xbb31b01d
sub edx, 1
add edx, 0xbb31b01d
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
and cl, 1
mov byte [ebp - 0x1e], cl
cmp eax, 0xa
setl al
and al, 1
mov byte [ebp - 0x1d], al
mov dword [ebp - 0x24], 0xde4824fd
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
sub eax, 0x87914d2c
je 0x40cada
jmp 0x40c90e
mov eax, dword [ebp - 0x2c]
sub eax, 0x8f3665a3
je 0x40cc54
jmp 0x40c921
mov eax, dword [ebp - 0x2c]
sub eax, 0x9197ffb5
je 0x40cdfa
jmp 0x40c934
mov eax, dword [ebp - 0x2c]
sub eax, 0x93babfeb
je 0x40cbad
jmp 0x40c947
mov eax, dword [ebp - 0x2c]
sub eax, 0x977d1e52
je 0x40cd4e
jmp 0x40c95a
mov eax, dword [ebp - 0x2c]
sub eax, 0xb19b1c7b
je 0x40ce2e
jmp 0x40c96d
mov eax, dword [ebp - 0x2c]
sub eax, 0xde4824fd
je 0x40ca8f
jmp 0x40c980
mov eax, dword [ebp - 0x2c]
sub eax, 0xeac53aa2
je 0x40cc7a
jmp 0x40c993
mov eax, dword [ebp - 0x2c]
sub eax, 0xf80c6640
je 0x40cb53
jmp 0x40c9a6
mov eax, dword [ebp - 0x2c]
sub eax, 0xfd07fecf
je 0x40cb5f
jmp 0x40c9b9
mov eax, dword [ebp - 0x2c]
sub eax, 0xffabee35
je 0x40cdb4
jmp 0x40c9cc
mov eax, dword [ebp - 0x2c]
sub eax, 0x1bbcaa18
je 0x40cc17
jmp 0x40c9df
mov eax, dword [ebp - 0x2c]
sub eax, 0x2d37d622
je 0x40ce17
jmp 0x40c9f2
mov eax, dword [ebp - 0x2c]
sub eax, 0x3f1e22ca
je 0x40ce0b
jmp 0x40ca05
mov eax, dword [ebp - 0x2c]
sub eax, 0x447452dd
je 0x40cd5a
jmp 0x40ca18
mov eax, dword [ebp - 0x2c]
sub eax, 0x455c839f
je 0x40cc40
jmp 0x40ca2b
mov eax, dword [ebp - 0x2c]
sub eax, 0x4c565bf1
je 0x40ce3a
jmp 0x40ca3e
mov eax, dword [ebp - 0x2c]
sub eax, 0x4f6ed2db
je 0x40cc0b
jmp 0x40ca51
mov eax, dword [ebp - 0x2c]
sub eax, 0x6784db16
je 0x40cc95
jmp 0x40ca64
mov eax, dword [ebp - 0x2c]
sub eax, 0x6db69ad5
je 0x40cd66
jmp 0x40ca77
mov eax, dword [ebp - 0x2c]
sub eax, 0x7c220f17
je 0x40ccdb
jmp 0x40ca8a
jmp 0x40ce41
mov bl, byte [ebp - 0x1e]
mov dh, byte [ebp - 0x1d]
mov al, bl
xor al, 0xff
mov ah, dh
xor ah, 0xff
mov cl, 1
xor cl, 0
mov dl, al
and dl, 0
and bl, cl
mov ch, ah
and ch, 0
and dh, cl
or dl, bl
or ch, dh
xor dl, ch
or al, ah
xor al, 0xff
or cl, 0
and al, cl
or dl, al
mov eax, 0x3f1e22ca
mov ecx, 0x87914d2c
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x40ce41
push eax
mov eax, esp
mov dword [ebp - 0x1c], eax
mov ecx, dword [0x43d574]
mov eax, dword [0x43d570]
mov edx, ecx
sub edx, 0x1084375b
sub edx, 1
add edx, 0x1084375b
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete bl
cmp eax, 0xa
setl dh
mov al, bl
xor al, 0xff
mov ah, dh
xor ah, 0xff
mov cl, 1
xor cl, 1
mov dl, al
and dl, 0xff
and bl, cl
mov ch, ah
and ch, 0xff
and dh, cl
or dl, bl
or ch, dh
xor dl, ch
or al, ah
xor al, 0xff
or cl, 1
and al, cl
or dl, al
mov eax, 0x3f1e22ca
mov ecx, 0xf80c6640
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x40ce41
mov dword [ebp - 0x24], 0xfd07fecf
jmp 0x40ce41
mov eax, dword [0x43d574]
mov ecx, dword [0x43d570]
mov edx, eax
sub edx, 0x398c9f4c
sub edx, 1
add edx, 0x398c9f4c
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, 0x2d37d622
mov ecx, 0x93babfeb
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x40ce41
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x1c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov eax, dword [0x43d574]
mov ecx, dword [0x43d570]
mov edx, eax
sub edx, 0x6e27071
sub edx, 1
add edx, 0x6e27071
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, 0x2d37d622
mov ecx, 0x4f6ed2db
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x40ce41
mov dword [ebp - 0x24], 0x1bbcaa18
jmp 0x40ce41
mov eax, dword [ebp - 0x18]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov edx, eax
mov eax, 0x6db69ad5
mov ecx, 0x455c839f
cmp edx, 0xffffffff
cmovne eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x40ce41
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0x8f3665a3
jmp 0x40ce41
mov eax, dword [ebp - 0x14]
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 - 0xd], al
mov dword [ebp - 0x24], 0xeac53aa2
jmp 0x40ce41
mov dl, byte [ebp - 0xd]
mov eax, 0x6784db16
mov ecx, 0x447452dd
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x40ce41
mov eax, dword [0x43d574]
mov ecx, dword [0x43d570]
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, 0xb19b1c7b
mov ecx, 0x7c220f17
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x40ce41
mov ecx, dword [0x43d574]
mov eax, dword [0x43d570]
mov edx, ecx
add edx, 0xcab0e8ee
sub edx, 1
sub edx, 0xcab0e8ee
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete bl
cmp eax, 0xa
setl dh
mov al, bl
xor al, 0xff
mov ah, dh
xor ah, 0xff
mov cl, 1
xor cl, 1
mov dl, al
and dl, 0xff
and bl, cl
mov ch, ah
and ch, 0xff
and dh, cl
or dl, bl
or ch, dh
xor dl, ch
or al, ah
xor al, 0xff
or cl, 1
and al, cl
or dl, al
mov eax, 0xb19b1c7b
mov ecx, 0x977d1e52
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x40ce41
mov dword [ebp - 0x24], 0x6db69ad5
jmp 0x40ce41
mov dword [ebp - 0x24], 0x6db69ad5
jmp 0x40ce41
mov eax, dword [0x43d574]
mov ecx, dword [0x43d570]
mov edx, eax
sub edx, 0xb94a1314
sub edx, 1
add edx, 0xb94a1314
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, 0x4c565bf1
mov ecx, 0xffabee35
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x40ce41
mov eax, dword [0x43d574]
mov ecx, dword [0x43d570]
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, 0x4c565bf1
mov ecx, 0x9197ffb5
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x40ce41
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00425390
lea esp, [ebp - 8]
pop esi
pop ebx
pop ebp
ret
mov dword [ebp - 0x24], 0x87914d2c
jmp 0x40ce41
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x1c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], 0x93babfeb
jmp 0x40ce41
mov dword [ebp - 0x24], 0x7c220f17
jmp 0x40ce41
mov dword [ebp - 0x24], 0xffabee35
jmp 0x40c8f8