Function at 0x40a400
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 [0x433080]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov ecx, dword [0x43456c]
mov eax, dword [0x434568]
xor esi, esi
sub esi, 1
mov edx, ecx
add edx, esi
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], 0xcfe3c92c
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
sub eax, 0x8a7df488
je 0x40a793
jmp 0x40a466
mov eax, dword [ebp - 0x2c]
sub eax, 0xa30feec9
je 0x40a675
jmp 0x40a479
mov eax, dword [ebp - 0x2c]
sub eax, 0xa5dbd8b7
je 0x40a869
jmp 0x40a48c
mov eax, dword [ebp - 0x2c]
sub eax, 0xabcf903d
je 0x40a875
jmp 0x40a49f
mov eax, dword [ebp - 0x2c]
sub eax, 0xaefee108
je 0x40a890
jmp 0x40a4b2
mov eax, dword [ebp - 0x2c]
sub eax, 0xbb0e3912
je 0x40a858
jmp 0x40a4c5
mov eax, dword [ebp - 0x2c]
sub eax, 0xc791b29b
je 0x40a700
jmp 0x40a4d8
mov eax, dword [ebp - 0x2c]
sub eax, 0xcfe3c92c
je 0x40a5ae
jmp 0x40a4eb
mov eax, dword [ebp - 0x2c]
sub eax, 0xd5ff40d4
je 0x40a76c
jmp 0x40a4fe
mov eax, dword [ebp - 0x2c]
sub eax, 0xdb25d23b
je 0x40a5d4
jmp 0x40a511
mov eax, dword [ebp - 0x2c]
sub eax, 0xe1de06df
je 0x40a69e
jmp 0x40a524
mov eax, dword [ebp - 0x2c]
sub eax, 0xec4ad051
je 0x40a787
jmp 0x40a537
mov eax, dword [ebp - 0x2c]
sub eax, 0x1ab3179d
je 0x40a760
jmp 0x40a54a
mov eax, dword [ebp - 0x2c]
sub eax, 0x1c2aefe2
je 0x40a659
jmp 0x40a55d
mov eax, dword [ebp - 0x2c]
sub eax, 0x2090d62d
je 0x40a80a
jmp 0x40a570
mov eax, dword [ebp - 0x2c]
sub eax, 0x3c7328c0
je 0x40a64d
jmp 0x40a583
mov eax, dword [ebp - 0x2c]
sub eax, 0x657449ed
je 0x40a79f
jmp 0x40a596
mov eax, dword [ebp - 0x2c]
sub eax, 0x712ba2ae
je 0x40a6b2
jmp 0x40a5a9
jmp 0x40a897
mov al, byte [ebp - 0x1e]
mov cl, byte [ebp - 0x1d]
mov dl, al
and dl, cl
xor al, cl
or dl, al
mov eax, 0xa5dbd8b7
mov ecx, 0xdb25d23b
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x40a897
push eax
mov eax, esp
mov dword [ebp - 0x1c], eax
mov ecx, dword [0x43456c]
mov eax, dword [0x434568]
mov edx, ecx
add edx, 0x8f692dd1
sub edx, 1
sub edx, 0x8f692dd1
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, 0xa5dbd8b7
mov ecx, 0x3c7328c0
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x40a897
mov dword [ebp - 0x24], 0x1c2aefe2
jmp 0x40a897
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x1c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x24], 0xa30feec9
jmp 0x40a897
mov eax, dword [ebp - 0x18]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov edx, eax
mov eax, 0x657449ed
mov ecx, 0xe1de06df
cmp edx, 0xffffffff
cmovne eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x40a897
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0x712ba2ae
jmp 0x40a897
mov eax, dword [0x43456c]
mov ecx, dword [0x434568]
mov edx, eax
add edx, 0x642a06f7
sub edx, 1
sub edx, 0x642a06f7
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, 0xabcf903d
mov ecx, 0xc791b29b
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x40a897
mov eax, dword [ebp - 0x14]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 0x10], eax
mov eax, dword [0x43456c]
mov ecx, dword [0x434568]
mov edx, eax
sub edx, 0xf1c0b0a0
sub edx, 1
add edx, 0xf1c0b0a0
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, 0xabcf903d
mov ecx, 0x1ab3179d
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x40a897
mov dword [ebp - 0x24], 0xd5ff40d4
jmp 0x40a897
mov edx, dword [ebp - 0x10]
mov eax, 0xec4ad051
mov ecx, 0x8a7df488
cmp edx, 0
cmovne eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x40a897
mov dword [ebp - 0x24], 0x657449ed
jmp 0x40a897
mov dword [ebp - 0x24], 0x657449ed
jmp 0x40a897
mov ecx, dword [0x43456c]
mov eax, dword [0x434568]
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, 0xaefee108
mov ecx, 0x2090d62d
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x40a897
mov eax, dword [0x43456c]
mov ecx, dword [0x434568]
mov edx, eax
add edx, 0xe013a9e5
sub edx, 1
sub edx, 0xe013a9e5
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, 0xaefee108
mov ecx, 0xbb0e3912
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x40a897
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0041cbe0
lea esp, [ebp - 8]
pop esi
pop ebx
pop ebp
ret
mov dword [ebp - 0x24], 0xdb25d23b
jmp 0x40a897
mov eax, dword [ebp - 0x14]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 0x24], 0xc791b29b
jmp 0x40a897
mov dword [ebp - 0x24], 0x2090d62d
jmp 0x40a450