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

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
sub esp, 0x18
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], 0x38ed3faf
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
sub eax, 0x8d3a6a71
je 0x40f430
jmp 0x40f208
mov eax, dword [ebp - 0x1c]
sub eax, 0xb9978f1f
je 0x40f457
jmp 0x40f21b
mov eax, dword [ebp - 0x1c]
sub eax, 0xf4a31448
je 0x40f53d
jmp 0x40f22e
mov eax, dword [ebp - 0x1c]
sub eax, 0x181f4011
je 0x40f4ca
jmp 0x40f241
mov eax, dword [ebp - 0x1c]
sub eax, 0x1abbf43c
je 0x40f549
jmp 0x40f254
mov eax, dword [ebp - 0x1c]
sub eax, 0x38ed3faf
je 0x40f304
jmp 0x40f267
mov eax, dword [ebp - 0x1c]
sub eax, 0x40447abb
je 0x40f416
jmp 0x40f27a
mov eax, dword [ebp - 0x1c]
sub eax, 0x51f457bf
je 0x40f550
jmp 0x40f28d
mov eax, dword [ebp - 0x1c]
sub eax, 0x5c5b5698
je 0x40f33f
jmp 0x40f2a0
mov eax, dword [ebp - 0x1c]
sub eax, 0x630e3344
je 0x40f56b
jmp 0x40f2b3
mov eax, dword [ebp - 0x1c]
sub eax, 0x696cdaf8
je 0x40f44b
jmp 0x40f2c6
mov eax, dword [ebp - 0x1c]
sub eax, 0x6be93e60
je 0x40f316
jmp 0x40f2d9
mov eax, dword [ebp - 0x1c]
sub eax, 0x7322b48e
je 0x40f385
jmp 0x40f2ec
mov eax, dword [ebp - 0x1c]
sub eax, 0x736001a8
je 0x40f40a
jmp 0x40f2ff
jmp 0x40f572
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0x6be93e60
jmp 0x40f572
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
sub esp, 4
mov edx, eax
mov eax, 0x1abbf43c
mov ecx, 0x5c5b5698
cmp edx, 0xffffffff
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x40f572
mov eax, dword [0x43f53c]
mov ecx, dword [0x43f538]
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, 0x51f457bf
mov ecx, 0x7322b48e
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x40f572
mov eax, dword [ebp + 8]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
sub esp, 4
mov dword [ebp - 0x10], eax
mov ecx, dword [0x43f53c]
mov eax, dword [0x43f538]
mov edx, ecx
add edx, 0x514fd7fa
sub edx, 1
sub edx, 0x514fd7fa
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, 0x51f457bf
mov ecx, 0x736001a8
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x40f572
mov dword [ebp - 0x18], 0x40447abb
jmp 0x40f572
mov eax, dword [ebp - 0x10]
cmp eax, 0
setne al
and al, 1
mov byte [ebp - 9], al
mov dword [ebp - 0x18], 0x8d3a6a71
jmp 0x40f572
mov dl, byte [ebp - 9]
mov eax, 0x696cdaf8
mov ecx, 0xb9978f1f
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x40f572
mov dword [ebp - 0x18], 0x1abbf43c
jmp 0x40f572
mov ecx, dword [0x43f53c]
mov eax, dword [0x43f538]
mov edx, ecx
add edx, 0x6bb30487
sub edx, 1
sub edx, 0x6bb30487
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, 0x630e3344
mov ecx, 0x181f4011
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x40f572
mov ecx, dword [0x43f53c]
mov eax, dword [0x43f538]
mov edx, ecx
sub edx, 0x1a51774b
sub edx, 1
add edx, 0x1a51774b
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, 0x630e3344
mov ecx, 0xf4a31448
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x40f572
mov dword [ebp - 0x18], 0x1abbf43c
jmp 0x40f572
add esp, 0x18
pop esi
pop ebx
pop ebp
ret
mov eax, dword [ebp + 8]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
sub esp, 4
mov dword [ebp - 0x18], 0x7322b48e
jmp 0x40f572
mov dword [ebp - 0x18], 0x181f4011
jmp 0x40f1f2