Function at 0x409b40
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 - 0x24], eax
mov dword [ebp - 0x20], 0x354994bd
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
sub eax, 0x8754c03b
je 0x409dcb
jmp 0x409b6b
mov eax, dword [ebp - 0x28]
sub eax, 0x89c9c115
je 0x409d23
jmp 0x409b7e
mov eax, dword [ebp - 0x28]
sub eax, 0xa46209df
je 0x409e1e
jmp 0x409b91
mov eax, dword [ebp - 0x28]
sub eax, 0xc3321b55
je 0x409db0
jmp 0x409ba4
mov eax, dword [ebp - 0x28]
sub eax, 0xca57601a
je 0x409eef
jmp 0x409bb7
mov eax, dword [ebp - 0x28]
sub eax, 0xd4147e67
je 0x409fb0
jmp 0x409bca
mov eax, dword [ebp - 0x28]
sub eax, 0xed2ecab4
je 0x409cb8
jmp 0x409bdd
mov eax, dword [ebp - 0x28]
sub eax, 0xf6167bbf
je 0x409e95
jmp 0x409bf0
mov eax, dword [ebp - 0x28]
sub eax, 0xb069904
je 0x409de9
jmp 0x409c03
mov eax, dword [ebp - 0x28]
sub eax, 0x19338639
je 0x409ee3
jmp 0x409c16
mov eax, dword [ebp - 0x28]
sub eax, 0x354994bd
je 0x409ca0
jmp 0x409c29
mov eax, dword [ebp - 0x28]
sub eax, 0x469f96bc
je 0x409fde
jmp 0x409c3c
mov eax, dword [ebp - 0x28]
sub eax, 0x5aea22a3
je 0x409f62
jmp 0x409c4f
mov eax, dword [ebp - 0x28]
sub eax, 0x689b14b9
je 0x409fd2
jmp 0x409c62
mov eax, dword [ebp - 0x28]
sub eax, 0x695398b8
je 0x409e2a
jmp 0x409c75
mov eax, dword [ebp - 0x28]
sub eax, 0x6d24d9ff
je 0x409fb7
jmp 0x409c88
mov eax, dword [ebp - 0x28]
sub eax, 0x7468ddb6
je 0x409e03
jmp 0x409c9b
jmp 0x409fe5
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], 0xed2ecab4
jmp 0x409fe5
mov ecx, dword [0x43b56c]
mov eax, dword [0x43b568]
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, 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, 0x6d24d9ff
mov ecx, 0x89c9c115
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x409fe5
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 ecx, dword [0x43b56c]
mov eax, dword [0x43b568]
mov edx, ecx
add edx, 0xa7d1028a
sub edx, 1
sub edx, 0xa7d1028a
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, 0x6d24d9ff
mov ecx, 0xc3321b55
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x409fe5
mov dl, byte [ebp - 0x11]
mov eax, 0xca57601a
mov ecx, 0x8754c03b
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x409fe5
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
sub esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0xb069904
jmp 0x409fe5
mov eax, dword [ebp - 0x10]
cmp eax, 0
setne al
and al, 1
mov byte [ebp - 9], al
mov dword [ebp - 0x20], 0x7468ddb6
jmp 0x409fe5
mov dl, byte [ebp - 9]
mov eax, 0xa46209df
mov ecx, 0x695398b8
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x409fe5
mov dword [ebp - 0x20], 0xca57601a
jmp 0x409fe5
mov ecx, dword [0x43b56c]
mov eax, dword [0x43b568]
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, 0x689b14b9
mov ecx, 0xf6167bbf
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x409fe5
mov eax, dword [0x43b56c]
mov ecx, dword [0x43b568]
mov edx, eax
sub edx, 0x73cd1262
sub edx, 1
add edx, 0x73cd1262
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, 0x689b14b9
mov ecx, 0x19338639
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x409fe5
mov dword [ebp - 0x20], 0xca57601a
jmp 0x409fe5
mov ecx, dword [0x43b56c]
mov eax, dword [0x43b568]
mov edx, ecx
add edx, 0xb5e0225f
sub edx, 1
sub edx, 0xb5e0225f
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, 0x469f96bc
mov ecx, 0x5aea22a3
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x409fe5
mov eax, dword [0x43b56c]
mov ecx, dword [0x43b568]
mov edx, eax
sub edx, 0x3a3c8120
sub edx, 1
add edx, 0x3a3c8120
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, 0x469f96bc
mov ecx, 0xd4147e67
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x409fe5
add esp, 0x24
pop esi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
sub esp, 4
mov dword [ebp - 0x20], 0x89c9c115
jmp 0x409fe5
mov dword [ebp - 0x20], 0xf6167bbf
jmp 0x409fe5
mov dword [ebp - 0x20], 0x5aea22a3
jmp 0x409b55