Function at 0x409900
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 - 0x28], eax
mov eax, dword [0x438080]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov ecx, dword [0x43953c]
mov eax, dword [0x439538]
mov edx, ecx
sub edx, 0xd59edce7
sub edx, 1
add edx, 0xd59edce7
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
and cl, 1
mov byte [ebp - 0x1e], cl
cmp eax, 0xa
setl al
and al, 1
mov byte [ebp - 0x1d], al
mov dword [ebp - 0x24], 0xbf05b92
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
sub eax, 0x89578423
je 0x409d57
jmp 0x40996e
mov eax, dword [ebp - 0x2c]
sub eax, 0x915ec4d0
je 0x409dfc
jmp 0x409981
mov eax, dword [ebp - 0x2c]
sub eax, 0xbd62f3f2
je 0x409b9a
jmp 0x409994
mov eax, dword [ebp - 0x2c]
sub eax, 0xc06d47ee
je 0x409e7d
jmp 0x4099a7
mov eax, dword [ebp - 0x2c]
sub eax, 0xc448fb13
je 0x409d63
jmp 0x4099ba
mov eax, dword [ebp - 0x2c]
sub eax, 0xc5643ab5
je 0x409d89
jmp 0x4099cd
mov eax, dword [ebp - 0x2c]
sub eax, 0xc928f2c3
je 0x409c7b
jmp 0x4099e0
mov eax, dword [ebp - 0x2c]
sub eax, 0xd0a3b92a
je 0x409ec6
jmp 0x4099f3
mov eax, dword [ebp - 0x2c]
sub eax, 0xd3251b1b
je 0x409b3a
jmp 0x409a06
mov eax, dword [ebp - 0x2c]
sub eax, 0xe5f42410
je 0x409bf4
jmp 0x409a19
mov eax, dword [ebp - 0x2c]
sub eax, 0xf733ad63
je 0x409e9a
jmp 0x409a2c
mov eax, dword [ebp - 0x2c]
sub eax, 0xfeb075d0
je 0x409eb7
jmp 0x409a3f
mov eax, dword [ebp - 0x2c]
sub eax, 0x7c5bb4
je 0x409e71
jmp 0x409a52
mov eax, dword [ebp - 0x2c]
sub eax, 0xbf05b92
je 0x409aef
jmp 0x409a65
mov eax, dword [ebp - 0x2c]
sub eax, 0x1404c00b
je 0x409e4a
jmp 0x409a78
mov eax, dword [ebp - 0x2c]
sub eax, 0x4bc5385b
je 0x409e65
jmp 0x409a8b
mov eax, dword [ebp - 0x2c]
sub eax, 0x4bd1389c
je 0x409e8e
jmp 0x409a9e
mov eax, dword [ebp - 0x2c]
sub eax, 0x4f8e4ee3
je 0x409bae
jmp 0x409ab1
mov eax, dword [ebp - 0x2c]
sub eax, 0x52eae9c8
je 0x409b8e
jmp 0x409ac4
mov eax, dword [ebp - 0x2c]
sub eax, 0x54ac8139
je 0x409c96
jmp 0x409ad7
mov eax, dword [ebp - 0x2c]
sub eax, 0x655f09e8
je 0x409ce4
jmp 0x409aea
jmp 0x409ecd
mov bl, byte [ebp - 0x1e]
mov dh, byte [ebp - 0x1d]
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, 0x4bd1389c
mov ecx, 0xd3251b1b
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x409ecd
push eax
mov eax, esp
mov dword [ebp - 0x1c], eax
mov eax, dword [0x43953c]
mov ecx, dword [0x439538]
mov edx, eax
sub edx, 0xa4c07432
sub edx, 1
add edx, 0xa4c07432
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, 0x4bd1389c
mov ecx, 0x52eae9c8
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x409ecd
mov dword [ebp - 0x24], 0xbd62f3f2
jmp 0x409ecd
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x1c]
mov dword [eax], ecx
mov dword [ebp - 0x24], 0x4f8e4ee3
jmp 0x409ecd
mov eax, dword [0x43953c]
mov ecx, dword [0x439538]
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, 0xf733ad63
mov ecx, 0xe5f42410
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x409ecd
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
setne al
and al, 1
mov byte [ebp - 0x15], al
mov ecx, dword [0x43953c]
mov eax, dword [0x439538]
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, 0xf733ad63
mov ecx, 0xc928f2c3
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x409ecd
mov dl, byte [ebp - 0x15]
mov eax, 0xc06d47ee
mov ecx, 0x54ac8139
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x409ecd
mov eax, dword [0x43953c]
mov ecx, dword [0x439538]
mov edx, eax
add edx, 0x1d56f67a
sub edx, 1
sub edx, 0x1d56f67a
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, 0xfeb075d0
mov ecx, 0x655f09e8
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x409ecd
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov ecx, dword [0x43953c]
mov eax, dword [0x439538]
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, 0xfeb075d0
mov ecx, 0x89578423
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x409ecd
mov dword [ebp - 0x24], 0xc448fb13
jmp 0x409ecd
mov eax, dword [ebp - 0x14]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp eax, 0
setne al
and al, 1
mov byte [ebp - 0xd], al
mov dword [ebp - 0x24], 0xc5643ab5
jmp 0x409ecd
mov ecx, dword [0x43953c]
mov eax, dword [0x439538]
mov edx, ecx
sub edx, 0x897efe32
sub edx, 1
add edx, 0x897efe32
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, 0xd0a3b92a
mov ecx, 0x915ec4d0
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x409ecd
mov eax, dword [0x43953c]
mov ecx, dword [0x439538]
mov edx, eax
add edx, 0x2fada94
sub edx, 1
sub edx, 0x2fada94
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, 0xd0a3b92a
mov ecx, 0x1404c00b
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x409ecd
mov dl, byte [ebp - 0xd]
mov eax, 0x4bc5385b
mov ecx, 0x7c5bb4
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x409ecd
mov dword [ebp - 0x24], 0xc06d47ee
jmp 0x409ecd
mov dword [ebp - 0x24], 0xc06d47ee
jmp 0x409ecd
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00421e20
lea esp, [ebp - 8]
pop esi
pop ebx
pop ebp
ret
mov dword [ebp - 0x24], 0xd3251b1b
jmp 0x409ecd
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x24], 0xe5f42410
jmp 0x409ecd
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], 0x655f09e8
jmp 0x409ecd
mov dword [ebp - 0x24], 0x915ec4d0
jmp 0x409958