Function at 0x40ecc0
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 - 0x24], eax
mov eax, dword [0x43e080]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov ecx, dword [0x43f54c]
mov eax, dword [0x43f548]
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 - 0x1a], cl
cmp eax, 0xa
setl al
and al, 1
mov byte [ebp - 0x19], al
mov dword [ebp - 0x20], 0x95449059
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
sub eax, 0x95449059
je 0x40ee35
jmp 0x40ed26
mov eax, dword [ebp - 0x28]
sub eax, 0x9c9ee7bd
je 0x40f03d
jmp 0x40ed39
mov eax, dword [ebp - 0x28]
sub eax, 0xb75e29bd
je 0x40eebb
jmp 0x40ed4c
mov eax, dword [ebp - 0x28]
sub eax, 0xbb630169
je 0x40f020
jmp 0x40ed5f
mov eax, dword [ebp - 0x28]
sub eax, 0xc6fd5536
je 0x40efed
jmp 0x40ed72
mov eax, dword [ebp - 0x28]
sub eax, 0xe13f761f
je 0x40efcf
jmp 0x40ed85
mov eax, dword [ebp - 0x28]
sub eax, 0xfbe19f10
je 0x40eeaf
jmp 0x40ed98
mov eax, dword [ebp - 0x28]
sub eax, 0x8704219
je 0x40ef90
jmp 0x40edab
mov eax, dword [ebp - 0x28]
sub eax, 0x1767a347
je 0x40ef09
jmp 0x40edbe
mov eax, dword [ebp - 0x28]
sub eax, 0x1e97a485
je 0x40ee5b
jmp 0x40edd1
mov eax, dword [ebp - 0x28]
sub eax, 0x23a0012d
je 0x40f031
jmp 0x40ede4
mov eax, dword [ebp - 0x28]
sub eax, 0x2b555c2a
je 0x40efbb
jmp 0x40edf7
mov eax, dword [ebp - 0x28]
sub eax, 0x432bbff6
je 0x40ef84
jmp 0x40ee0a
mov eax, dword [ebp - 0x28]
sub eax, 0x60ad364b
je 0x40f014
jmp 0x40ee1d
mov eax, dword [ebp - 0x28]
sub eax, 0x6bd73668
je 0x40f008
jmp 0x40ee30
jmp 0x40f04c
mov al, byte [ebp - 0x1a]
mov cl, byte [ebp - 0x19]
mov dl, al
and dl, cl
xor al, cl
or dl, al
mov eax, 0x23a0012d
mov ecx, 0x1e97a485
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x40f04c
push eax
mov eax, esp
mov dword [ebp - 0x18], eax
mov eax, dword [0x43f54c]
mov ecx, dword [0x43f548]
mov edx, eax
sub edx, 0xfe32d85
sub edx, 1
add edx, 0xfe32d85
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, 0x23a0012d
mov ecx, 0xfbe19f10
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x40f04c
mov dword [ebp - 0x20], 0xb75e29bd
jmp 0x40f04c
mov eax, dword [0x43f54c]
mov ecx, dword [0x43f548]
mov edx, eax
add edx, 0xdb43f585
sub edx, 1
sub edx, 0xdb43f585
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, 0x9c9ee7bd
mov ecx, 0x1767a347
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x40f04c
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x18]
mov dword [eax], ecx
mov ecx, dword [0x43f54c]
mov eax, dword [0x43f548]
mov edx, ecx
add edx, 0x628bb261
sub edx, 1
sub edx, 0x628bb261
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, 0x9c9ee7bd
mov ecx, 0x432bbff6
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x40f04c
mov dword [ebp - 0x20], 0x8704219
jmp 0x40f04c
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov edx, eax
mov eax, 0xbb630169
mov ecx, 0x2b555c2a
cmp edx, 0xffffffff
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x40f04c
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], 0xe13f761f
jmp 0x40f04c
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 dword [ebp - 0x20], 0xc6fd5536
jmp 0x40f04c
mov edx, dword [ebp - 0x10]
mov eax, 0x6bd73668
mov ecx, 0x60ad364b
cmp edx, 0
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x40f04c
mov dword [ebp - 0x20], 0xbb630169
jmp 0x40f04c
mov dword [ebp - 0x20], 0xbb630169
jmp 0x40f04c
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004271b0
lea esp, [ebp - 8]
pop esi
pop ebx
pop ebp
ret
mov dword [ebp - 0x20], 0x1e97a485
jmp 0x40f04c
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x18]
mov dword [eax], ecx
mov dword [ebp - 0x20], 0x1767a347
jmp 0x40ed10