Function at 0x40e1f0
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 - 0x20], eax
mov dword [ebp - 0x1c], 0x231285a7
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
sub eax, 0xa37117b2
je 0x40e543
jmp 0x40e21b
mov eax, dword [ebp - 0x24]
sub eax, 0xcbe9466d
je 0x40e3fc
jmp 0x40e22e
mov eax, dword [ebp - 0x24]
sub eax, 0xd93ef5aa
je 0x40e3ae
jmp 0x40e241
mov eax, dword [ebp - 0x24]
sub eax, 0xdcddef16
je 0x40e54a
jmp 0x40e254
mov eax, dword [ebp - 0x24]
sub eax, 0xdebed395
je 0x40e417
jmp 0x40e267
mov eax, dword [ebp - 0x24]
sub eax, 0xf35a3cdb
je 0x40e48a
jmp 0x40e27a
mov eax, dword [ebp - 0x24]
sub eax, 0xcf563ee
je 0x40e52b
jmp 0x40e28d
mov eax, dword [ebp - 0x24]
sub eax, 0x231285a7
je 0x40e317
jmp 0x40e2a0
mov eax, dword [ebp - 0x24]
sub eax, 0x32df1607
je 0x40e556
jmp 0x40e2b3
mov eax, dword [ebp - 0x24]
sub eax, 0x48bd1dc9
je 0x40e510
jmp 0x40e2c6
mov eax, dword [ebp - 0x24]
sub eax, 0x4d79844e
je 0x40e343
jmp 0x40e2d9
mov eax, dword [ebp - 0x24]
sub eax, 0x54a616f4
je 0x40e537
jmp 0x40e2ec
mov eax, dword [ebp - 0x24]
sub eax, 0x5dc0ecc8
je 0x40e4f6
jmp 0x40e2ff
mov eax, dword [ebp - 0x24]
sub eax, 0x67efd5f5
je 0x40e4ea
jmp 0x40e312
jmp 0x40e56c
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x18], eax
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 dword [ebp - 0x1c], 0x4d79844e
jmp 0x40e56c
mov ecx, dword [0x43d53c]
mov eax, dword [0x43d538]
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, 0xdcddef16
mov ecx, 0xd93ef5aa
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1c], eax
jmp 0x40e56c
mov eax, dword [0x43d53c]
mov ecx, dword [0x43d538]
mov edx, eax
add edx, 0x24a3e1b3
sub edx, 1
sub edx, 0x24a3e1b3
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, 0xdcddef16
mov ecx, 0xcbe9466d
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1c], eax
jmp 0x40e56c
mov dl, byte [ebp - 0x11]
mov eax, 0xa37117b2
mov ecx, 0xdebed395
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1c], eax
jmp 0x40e56c
mov ecx, dword [0x43d53c]
mov eax, dword [0x43d538]
mov edx, ecx
add edx, 0x4700a37e
sub edx, 1
sub edx, 0x4700a37e
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, 0x32df1607
mov ecx, 0xf35a3cdb
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1c], eax
jmp 0x40e56c
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
sub esp, 4
mov dword [ebp - 0x10], eax
mov eax, dword [0x43d53c]
mov ecx, dword [0x43d538]
mov edx, eax
add edx, 0xd7f4156e
sub edx, 1
sub edx, 0xd7f4156e
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, 0x32df1607
mov ecx, 0x67efd5f5
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1c], eax
jmp 0x40e56c
mov dword [ebp - 0x1c], 0x5dc0ecc8
jmp 0x40e56c
mov eax, dword [ebp - 0x10]
cmp eax, 0
setne al
and al, 1
mov byte [ebp - 9], al
mov dword [ebp - 0x1c], 0x48bd1dc9
jmp 0x40e56c
mov dl, byte [ebp - 9]
mov eax, 0xcf563ee
mov ecx, 0x54a616f4
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1c], eax
jmp 0x40e56c
mov dword [ebp - 0x1c], 0xa37117b2
jmp 0x40e56c
mov dword [ebp - 0x1c], 0xa37117b2
jmp 0x40e56c
add esp, 0x20
pop esi
pop ebx
pop ebp
ret
mov dword [ebp - 0x1c], 0xd93ef5aa
jmp 0x40e56c
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
sub esp, 4
mov dword [ebp - 0x1c], 0xf35a3cdb
jmp 0x40e205