Function at 0x40a1f0
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 [0x434080]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov ecx, dword [0x43557c]
mov eax, dword [0x435578]
mov edx, ecx
add edx, 0xd9693d5
sub edx, 1
sub edx, 0xd9693d5
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], 0x3b4bd079
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
sub eax, 0xc2ecdf9c
je 0x40a57b
jmp 0x40a25e
mov eax, dword [ebp - 0x2c]
sub eax, 0xcb5e7122
je 0x40a56f
jmp 0x40a271
mov eax, dword [ebp - 0x2c]
sub eax, 0xcfd29a54
je 0x40a598
jmp 0x40a284
mov eax, dword [ebp - 0x2c]
sub eax, 0xd02aeb0b
je 0x40a548
jmp 0x40a297
mov eax, dword [ebp - 0x2c]
sub eax, 0xd0a8f77d
je 0x40a53c
jmp 0x40a2aa
mov eax, dword [ebp - 0x2c]
sub eax, 0xe6bf45a4
je 0x40a43d
jmp 0x40a2bd
mov eax, dword [ebp - 0x2c]
sub eax, 0xf13b6340
je 0x40a459
jmp 0x40a2d0
mov eax, dword [ebp - 0x2c]
sub eax, 0xb1ae4b9
je 0x40a482
jmp 0x40a2e3
mov eax, dword [ebp - 0x2c]
sub eax, 0x229a9a0f
je 0x40a431
jmp 0x40a2f6
mov eax, dword [ebp - 0x2c]
sub eax, 0x24ed801f
je 0x40a4e4
jmp 0x40a309
mov eax, dword [ebp - 0x2c]
sub eax, 0x27c07b33
je 0x40a563
jmp 0x40a31c
mov eax, dword [ebp - 0x2c]
sub eax, 0x378908cc
je 0x40a496
jmp 0x40a32f
mov eax, dword [ebp - 0x2c]
sub eax, 0x3b4bd079
je 0x40a36d
jmp 0x40a342
mov eax, dword [ebp - 0x2c]
sub eax, 0x71c6ef54
je 0x40a3b8
jmp 0x40a355
mov eax, dword [ebp - 0x2c]
sub eax, 0x77cf101e
je 0x40a58c
jmp 0x40a368
jmp 0x40a5ae
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, 0x77cf101e
mov ecx, 0x71c6ef54
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x40a5ae
push eax
mov eax, esp
mov dword [ebp - 0x1c], eax
mov ecx, dword [0x43557c]
mov eax, dword [0x435578]
mov edx, ecx
sub edx, 0xaed48175
sub edx, 1
add edx, 0xaed48175
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, 0x77cf101e
mov ecx, 0x229a9a0f
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x40a5ae
mov dword [ebp - 0x24], 0xe6bf45a4
jmp 0x40a5ae
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], 0xf13b6340
jmp 0x40a5ae
mov eax, dword [ebp - 0x18]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov edx, eax
mov eax, 0xc2ecdf9c
mov ecx, 0xb1ae4b9
cmp edx, 0xffffffff
cmovne eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x40a5ae
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0x378908cc
jmp 0x40a5ae
mov eax, dword [0x43557c]
mov ecx, dword [0x435578]
mov edx, eax
add edx, 0x14038638
sub edx, 1
sub edx, 0x14038638
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, 0xcfd29a54
mov ecx, 0x24ed801f
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x40a5ae
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 [0x43557c]
mov ecx, dword [0x435578]
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, 0xcfd29a54
mov ecx, 0xd0a8f77d
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x40a5ae
mov dword [ebp - 0x24], 0xd02aeb0b
jmp 0x40a5ae
mov edx, dword [ebp - 0x10]
mov eax, 0x27c07b33
mov ecx, 0xcb5e7122
cmp edx, 0
cmovne eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x40a5ae
mov dword [ebp - 0x24], 0xc2ecdf9c
jmp 0x40a5ae
mov dword [ebp - 0x24], 0xc2ecdf9c
jmp 0x40a5ae
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0041e2e0
lea esp, [ebp - 8]
pop esi
pop ebx
pop ebp
ret
mov dword [ebp - 0x24], 0x71c6ef54
jmp 0x40a5ae
mov eax, dword [ebp - 0x14]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 0x24], 0x24ed801f
jmp 0x40a248