Function at 0x40ecb0
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 [0x440080]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov ecx, dword [0x441574]
mov eax, dword [0x441570]
mov edx, ecx
add edx, 0xa2b581aa
sub edx, 1
sub edx, 0xa2b581aa
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], 0x9e543237
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
sub eax, 0x9cb4b1b9
je 0x40f015
jmp 0x40ed1e
mov eax, dword [ebp - 0x2c]
sub eax, 0x9e543237
je 0x40ee2d
jmp 0x40ed31
mov eax, dword [ebp - 0x2c]
sub eax, 0xa651f9e9
je 0x40f056
jmp 0x40ed44
mov eax, dword [ebp - 0x2c]
sub eax, 0xb4ff56f0
je 0x40f001
jmp 0x40ed57
mov eax, dword [ebp - 0x2c]
sub eax, 0xd9e7c960
je 0x40eec4
jmp 0x40ed6a
mov eax, dword [ebp - 0x2c]
sub eax, 0xe59dff45
je 0x40f062
jmp 0x40ed7d
mov eax, dword [ebp - 0x2c]
sub eax, 0xf52a2f24
je 0x40ee78
jmp 0x40ed90
mov eax, dword [ebp - 0x2c]
sub eax, 0x9da3984
je 0x40f03b
jmp 0x40eda3
mov eax, dword [ebp - 0x2c]
sub eax, 0x1e2ca422
je 0x40f08b
jmp 0x40edb6
mov eax, dword [ebp - 0x2c]
sub eax, 0x318a20b9
je 0x40efe6
jmp 0x40edc9
mov eax, dword [ebp - 0x2c]
sub eax, 0x40a61f02
je 0x40f06e
jmp 0x40eddc
mov eax, dword [ebp - 0x2c]
sub eax, 0x5a3b316f
je 0x40eee4
jmp 0x40edef
mov eax, dword [ebp - 0x2c]
sub eax, 0x64529440
je 0x40eed0
jmp 0x40ee02
mov eax, dword [ebp - 0x2c]
sub eax, 0x67aece4d
je 0x40f07f
jmp 0x40ee15
mov eax, dword [ebp - 0x2c]
sub eax, 0x727e2866
je 0x40ef57
jmp 0x40ee28
jmp 0x40f0a3
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, 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, 0x67aece4d
mov ecx, 0xf52a2f24
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x40f0a3
push eax
mov eax, esp
mov dword [ebp - 0x1c], eax
mov eax, dword [0x441574]
mov ecx, dword [0x441570]
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, 0x67aece4d
mov ecx, 0xd9e7c960
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x40f0a3
mov dword [ebp - 0x24], 0x64529440
jmp 0x40f0a3
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x1c]
mov dword [eax], ecx
mov dword [ebp - 0x24], 0x5a3b316f
jmp 0x40f0a3
mov ecx, dword [0x441574]
mov eax, dword [0x441570]
mov edx, ecx
add edx, 0xb14d1303
sub edx, 1
sub edx, 0xb14d1303
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, 0x1e2ca422
mov ecx, 0x727e2866
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x40f0a3
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
setne al
and al, 1
mov byte [ebp - 0x15], al
mov ecx, dword [0x441574]
mov eax, dword [0x441570]
mov edx, ecx
add edx, 0x768ae52c
sub edx, 1
sub edx, 0x768ae52c
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, 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, 0x1e2ca422
mov ecx, 0x318a20b9
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x40f0a3
mov dl, byte [ebp - 0x15]
mov eax, 0x40a61f02
mov ecx, 0xb4ff56f0
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x40f0a3
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0x9cb4b1b9
jmp 0x40f0a3
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], 0x9da3984
jmp 0x40f0a3
mov dl, byte [ebp - 0xd]
mov eax, 0xa651f9e9
mov ecx, 0xe59dff45
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x40f0a3
mov dword [ebp - 0x24], 0x40a61f02
jmp 0x40f0a3
mov dword [ebp - 0x24], 0x40a61f02
jmp 0x40f0a3
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00429290
lea esp, [ebp - 8]
pop esi
pop ebx
pop ebp
ret
mov dword [ebp - 0x24], 0xf52a2f24
jmp 0x40f0a3
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x24], 0x727e2866
jmp 0x40ed08