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

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x18
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], 0x6e183dd8
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
sub eax, 0x86c2c660
je 0x40fcbc
jmp 0x40f8b7
mov eax, dword [ebp - 0x18]
sub eax, 0x8e4d2019
je 0x40fba8
jmp 0x40f8ca
mov eax, dword [ebp - 0x18]
sub eax, 0xb12bc814
je 0x40fa98
jmp 0x40f8dd
mov eax, dword [ebp - 0x18]
sub eax, 0xb2d603cd
je 0x40fbc3
jmp 0x40f8f0
mov eax, dword [ebp - 0x18]
sub eax, 0xce29218c
je 0x40fb5a
jmp 0x40f903
mov eax, dword [ebp - 0x18]
sub eax, 0xd75b657d
je 0x40fdb6
jmp 0x40f916
mov eax, dword [ebp - 0x18]
sub eax, 0xdd269aa4
je 0x40fdb0
jmp 0x40f929
mov eax, dword [ebp - 0x18]
sub eax, 0xe0fc9133
je 0x40fcef
jmp 0x40f93c
mov eax, dword [ebp - 0x18]
sub eax, 0xe7434c29
je 0x40fce3
jmp 0x40f94f
mov eax, dword [ebp - 0x18]
sub eax, 0xeddb2530
je 0x40fddd
jmp 0x40f962
mov eax, dword [ebp - 0x18]
sub eax, 0x1cbd6885
je 0x40fc96
jmp 0x40f975
mov eax, dword [ebp - 0x18]
sub eax, 0x29adaeb2
je 0x40fc36
jmp 0x40f988
mov eax, dword [ebp - 0x18]
sub eax, 0x39b64ce9
je 0x40fb0c
jmp 0x40f99b
mov eax, dword [ebp - 0x18]
sub eax, 0x43aaafde
je 0x40fdd1
jmp 0x40f9ae
mov eax, dword [ebp - 0x18]
sub eax, 0x4915ec04
je 0x40fb00
jmp 0x40f9c1
mov eax, dword [ebp - 0x18]
sub eax, 0x571d7e27
je 0x40fdf8
jmp 0x40f9d4
mov eax, dword [ebp - 0x18]
sub eax, 0x5ae0807e
je 0x40fcd7
jmp 0x40f9e7
mov eax, dword [ebp - 0x18]
sub eax, 0x5da4fd02
je 0x40fd62
jmp 0x40f9fa
mov eax, dword [ebp - 0x18]
sub eax, 0x5ed1d1d4
je 0x40fca2
jmp 0x40fa0d
mov eax, dword [ebp - 0x18]
sub eax, 0x6e183dd8
je 0x40fa25
jmp 0x40fa20
jmp 0x40fdff
mov ecx, dword [0x44052c]
mov eax, dword [0x440528]
mov edx, ecx
add edx, 0x3e67ae59
sub edx, 1
sub edx, 0x3e67ae59
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, 0xd75b657d
mov ecx, 0xb12bc814
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x14], eax
jmp 0x40fdff
mov eax, dword [ebp + 8]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
sub esp, 4
cmp eax, 0xffffffff
setne al
and al, 1
mov byte [ebp - 0xd], al
mov eax, dword [0x44052c]
mov ecx, dword [0x440528]
mov edx, eax
add edx, 0x6803e8d8
sub edx, 1
sub edx, 0x6803e8d8
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, 0xd75b657d
mov ecx, 0x4915ec04
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x14], eax
jmp 0x40fdff
mov dword [ebp - 0x14], 0x39b64ce9
jmp 0x40fdff
mov eax, dword [0x44052c]
mov ecx, dword [0x440528]
mov edx, eax
add edx, 0x4f44a673
sub edx, 1
sub edx, 0x4f44a673
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, 0x43aaafde
mov ecx, 0xce29218c
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x14], eax
jmp 0x40fdff
mov eax, dword [0x44052c]
mov ecx, dword [0x440528]
mov edx, eax
sub edx, 0x61cc558e
sub edx, 1
add edx, 0x61cc558e
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, 0x43aaafde
mov ecx, 0x8e4d2019
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x14], eax
jmp 0x40fdff
mov dl, byte [ebp - 0xd]
mov eax, 0xe0fc9133
mov ecx, 0xb2d603cd
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x14], eax
jmp 0x40fdff
mov ecx, dword [0x44052c]
mov eax, dword [0x440528]
mov edx, ecx
sub edx, 0x3f5dca7
sub edx, 1
add edx, 0x3f5dca7
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, 0xeddb2530
mov ecx, 0x29adaeb2
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x14], eax
jmp 0x40fdff
mov eax, dword [ebp + 8]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
sub esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [0x44052c]
mov ecx, dword [0x440528]
mov edx, eax
sub edx, 0xad6642ef
sub edx, 1
add edx, 0xad6642ef
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, 0xeddb2530
mov ecx, 0x1cbd6885
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x14], eax
jmp 0x40fdff
mov dword [ebp - 0x14], 0x5ed1d1d4
jmp 0x40fdff
mov eax, dword [ebp - 0xc]
cmp eax, 0
setne al
and al, 1
mov byte [ebp - 5], al
mov dword [ebp - 0x14], 0x86c2c660
jmp 0x40fdff
mov dl, byte [ebp - 5]
mov eax, 0x5ae0807e
mov ecx, 0xe7434c29
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x14], eax
jmp 0x40fdff
mov dword [ebp - 0x14], 0xe0fc9133
jmp 0x40fdff
mov dword [ebp - 0x14], 0xe0fc9133
jmp 0x40fdff
mov ecx, dword [0x44052c]
mov eax, dword [0x440528]
mov edx, ecx
sub edx, 0x59cd064c
sub edx, 1
add edx, 0x59cd064c
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, 0x571d7e27
mov ecx, 0x5da4fd02
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x14], eax
jmp 0x40fdff
mov eax, dword [0x44052c]
mov ecx, dword [0x440528]
mov edx, eax
sub edx, 0x546c4c6a
sub edx, 1
add edx, 0x546c4c6a
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, 0x571d7e27
mov ecx, 0xdd269aa4
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x14], eax
jmp 0x40fdff
add esp, 0x18
pop ebx
pop ebp
ret
mov eax, dword [ebp + 8]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
sub esp, 4
mov dword [ebp - 0x14], 0xb12bc814
jmp 0x40fdff
mov dword [ebp - 0x14], 0xce29218c
jmp 0x40fdff
mov eax, dword [ebp + 8]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
sub esp, 4
mov dword [ebp - 0x14], 0x29adaeb2
jmp 0x40fdff
mov dword [ebp - 0x14], 0x5da4fd02
jmp 0x40f8a1