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

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
sub esp, 0x20
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0xf89070af
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
sub eax, 0xca747771
je 0x409dfa
jmp 0x409b9b
mov eax, dword [ebp - 0x24]
sub eax, 0xd665e14d
je 0x409ec6
jmp 0x409bae
mov eax, dword [ebp - 0x24]
sub eax, 0xe4ff4ee9
je 0x409eb3
jmp 0x409bc1
mov eax, dword [ebp - 0x24]
sub eax, 0xed969d75
je 0x409e65
jmp 0x409bd4
mov eax, dword [ebp - 0x24]
sub eax, 0xf89070af
je 0x409c97
jmp 0x409be7
mov eax, dword [ebp - 0x24]
sub eax, 0x47c4b8
je 0x409da9
jmp 0x409bfa
mov eax, dword [ebp - 0x24]
sub eax, 0xdf25ffd
je 0x409de2
jmp 0x409c0d
mov eax, dword [ebp - 0x24]
sub eax, 0x119d5035
je 0x409d9d
jmp 0x409c20
mov eax, dword [ebp - 0x24]
sub eax, 0x52eaf24c
je 0x409cde
jmp 0x409c33
mov eax, dword [ebp - 0x24]
sub eax, 0x5ef8b532
je 0x409eba
jmp 0x409c46
mov eax, dword [ebp - 0x24]
sub eax, 0x64cde6c8
je 0x409dc7
jmp 0x409c59
mov eax, dword [ebp - 0x24]
sub eax, 0x6786bd30
je 0x409d49
jmp 0x409c6c
mov eax, dword [ebp - 0x24]
sub eax, 0x6d0bafad
je 0x409cc3
jmp 0x409c7f
mov eax, dword [ebp - 0x24]
sub eax, 0x7096236a
je 0x409dee
jmp 0x409c92
jmp 0x409ecd
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
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 - 0x1c], 0x6d0bafad
jmp 0x409ecd
mov dl, byte [ebp - 0x11]
mov eax, 0xca747771
mov ecx, 0x52eaf24c
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1c], eax
jmp 0x409ecd
mov ecx, dword [0x43256c]
mov eax, dword [0x432568]
xor esi, esi
sub esi, 1
mov edx, ecx
add edx, esi
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, 0x5ef8b532
mov ecx, 0x6786bd30
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1c], eax
jmp 0x409ecd
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [0x43256c]
mov ecx, dword [0x432568]
mov edx, eax
add edx, 0x46ac1105
sub edx, 1
sub edx, 0x46ac1105
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, 0x5ef8b532
mov ecx, 0x119d5035
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1c], eax
jmp 0x409ecd
mov dword [ebp - 0x1c], 0x47c4b8
jmp 0x409ecd
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 - 0x1c], 0x64cde6c8
jmp 0x409ecd
mov edx, dword [ebp - 0xc]
mov eax, 0xdf25ffd
mov ecx, 0x7096236a
cmp edx, 0
cmovne eax, ecx
mov dword [ebp - 0x1c], eax
jmp 0x409ecd
mov dword [ebp - 0x1c], 0xca747771
jmp 0x409ecd
mov dword [ebp - 0x1c], 0xca747771
jmp 0x409ecd
mov ecx, dword [0x43256c]
mov eax, dword [0x432568]
xor esi, esi
sub esi, 1
mov edx, ecx
add edx, esi
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, 0xd665e14d
mov ecx, 0xed969d75
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1c], eax
jmp 0x409ecd
mov eax, dword [0x43256c]
mov ecx, dword [0x432568]
mov edx, eax
sub edx, 0xfaad1849
sub edx, 1
add edx, 0xfaad1849
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, 0xd665e14d
mov ecx, 0xe4ff4ee9
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1c], eax
jmp 0x409ecd
add esp, 0x20
pop esi
pop ebx
pop ebp
ret
mov dword [ebp - 0x1c], 0x6786bd30
jmp 0x409ecd
mov dword [ebp - 0x1c], 0xed969d75
jmp 0x409b85