Function at 0x40f610
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], 0x4a16cd76
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
sub eax, 0x9e36841b
je 0x40f891
jmp 0x40f638
mov eax, dword [ebp - 0x1c]
sub eax, 0xa77bfe46
je 0x40f904
jmp 0x40f64b
mov eax, dword [ebp - 0x1c]
sub eax, 0xa8ca2284
je 0x40f834
jmp 0x40f65e
mov eax, dword [ebp - 0x1c]
sub eax, 0xb380b5b2
je 0x40f775
jmp 0x40f671
mov eax, dword [ebp - 0x1c]
sub eax, 0xbc48f6d6
je 0x40f885
jmp 0x40f684
mov eax, dword [ebp - 0x1c]
sub eax, 0xf1894e7a
je 0x40f840
jmp 0x40f697
mov eax, dword [ebp - 0x1c]
sub eax, 0xf5de7a6c
je 0x40f879
jmp 0x40f6aa
mov eax, dword [ebp - 0x1c]
sub eax, 0x15296adc
je 0x40f94a
jmp 0x40f6bd
mov eax, dword [ebp - 0x1c]
sub eax, 0x174e447e
je 0x40f75a
jmp 0x40f6d0
mov eax, dword [ebp - 0x1c]
sub eax, 0x2666cf70
je 0x40f7bb
jmp 0x40f6e3
mov eax, dword [ebp - 0x1c]
sub eax, 0x3bfc1298
je 0x40f951
jmp 0x40f6f6
mov eax, dword [ebp - 0x1c]
sub eax, 0x436f3e0a
je 0x40f85e
jmp 0x40f709
mov eax, dword [ebp - 0x1c]
sub eax, 0x4a16cd76
je 0x40f734
jmp 0x40f71c
mov eax, dword [ebp - 0x1c]
sub eax, 0x579eff18
je 0x40f95d
jmp 0x40f72f
jmp 0x40f964
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 - 0x11], al
mov dword [ebp - 0x18], 0x174e447e
jmp 0x40f964
mov dl, byte [ebp - 0x11]
mov eax, 0x9e36841b
mov ecx, 0xb380b5b2
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x40f964
mov eax, dword [0x44053c]
mov ecx, dword [0x440538]
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, 0x3bfc1298
mov ecx, 0x2666cf70
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x40f964
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov ecx, dword [0x44053c]
mov eax, dword [0x440538]
mov edx, ecx
add edx, 0xdc21a928
sub edx, 1
sub edx, 0xdc21a928
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, 0x3bfc1298
mov ecx, 0xa8ca2284
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x40f964
mov dword [ebp - 0x18], 0xf1894e7a
jmp 0x40f964
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
sub esp, 4
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], 0x436f3e0a
jmp 0x40f964
mov edx, dword [ebp - 0xc]
mov eax, 0xf5de7a6c
mov ecx, 0xbc48f6d6
cmp edx, 0
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x40f964
mov dword [ebp - 0x18], 0x9e36841b
jmp 0x40f964
mov dword [ebp - 0x18], 0x9e36841b
jmp 0x40f964
mov ecx, dword [0x44053c]
mov eax, dword [0x440538]
mov edx, ecx
sub edx, 0x7596703a
sub edx, 1
add edx, 0x7596703a
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, 0x579eff18
mov ecx, 0xa77bfe46
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x40f964
mov eax, dword [0x44053c]
mov ecx, dword [0x440538]
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, 0x579eff18
mov ecx, 0x15296adc
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x40f964
add esp, 0x18
pop esi
pop ebx
pop ebp
ret
mov dword [ebp - 0x18], 0x2666cf70
jmp 0x40f964
mov dword [ebp - 0x18], 0xa77bfe46
jmp 0x40f622