Function at 0x40e470
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], 0x66bf0b2d
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
sub eax, 0x8fad2b88
je 0x40e916
jmp 0x40e49b
mov eax, dword [ebp - 0x24]
sub eax, 0xa919b6e5
je 0x40e8fe
jmp 0x40e4ae
mov eax, dword [ebp - 0x24]
sub eax, 0xe39b3f72
je 0x40e66f
jmp 0x40e4c1
mov eax, dword [ebp - 0x24]
sub eax, 0xe5575153
je 0x40e707
jmp 0x40e4d4
mov eax, dword [ebp - 0x24]
sub eax, 0xe6646213
je 0x40e6f5
jmp 0x40e4e7
mov eax, dword [ebp - 0x24]
sub eax, 0xed8a5619
je 0x40e884
jmp 0x40e4fa
mov eax, dword [ebp - 0x24]
sub eax, 0xe717413
je 0x40e805
jmp 0x40e50d
mov eax, dword [ebp - 0x24]
sub eax, 0x204e3174
je 0x40e90a
jmp 0x40e520
mov eax, dword [ebp - 0x24]
sub eax, 0x33524015
je 0x40e5fc
jmp 0x40e533
mov eax, dword [ebp - 0x24]
sub eax, 0x3a256736
je 0x40e725
jmp 0x40e546
mov eax, dword [ebp - 0x24]
sub eax, 0x626816d6
je 0x40e8f7
jmp 0x40e559
mov eax, dword [ebp - 0x24]
sub eax, 0x63031490
je 0x40e7b3
jmp 0x40e56c
mov eax, dword [ebp - 0x24]
sub eax, 0x66bf0b2d
je 0x40e5d0
jmp 0x40e57f
mov eax, dword [ebp - 0x24]
sub eax, 0x7135d56f
je 0x40e6da
jmp 0x40e592
mov eax, dword [ebp - 0x24]
sub eax, 0x723d43c2
je 0x40e7f9
jmp 0x40e5a5
mov eax, dword [ebp - 0x24]
sub eax, 0x77691068
je 0x40e740
jmp 0x40e5b8
mov eax, dword [ebp - 0x24]
sub eax, 0x7c6e9e87
je 0x40e811
jmp 0x40e5cb
jmp 0x40e91d
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], 0x33524015
jmp 0x40e91d
mov ecx, dword [0x44056c]
mov eax, dword [0x440568]
mov edx, ecx
sub edx, 0x922f4376
sub edx, 1
add edx, 0x922f4376
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, 0xa919b6e5
mov ecx, 0xe39b3f72
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1c], eax
jmp 0x40e91d
mov ecx, dword [0x44056c]
mov eax, dword [0x440568]
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, 0xa919b6e5
mov ecx, 0x7135d56f
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1c], eax
jmp 0x40e91d
mov dl, byte [ebp - 0x11]
mov eax, 0x7c6e9e87
mov ecx, 0xe6646213
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1c], eax
jmp 0x40e91d
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1c], 0xe5575153
jmp 0x40e91d
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
sub esp, 4
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0x3a256736
jmp 0x40e91d
mov edx, dword [ebp - 0xc]
mov eax, 0x77691068
mov ecx, 0xe717413
cmp edx, 0
cmovne eax, ecx
mov dword [ebp - 0x1c], eax
jmp 0x40e91d
mov ecx, dword [0x44056c]
mov eax, dword [0x440568]
mov edx, ecx
add edx, 0xf0fe5e1
sub edx, 1
sub edx, 0xf0fe5e1
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, 0x204e3174
mov ecx, 0x63031490
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1c], eax
jmp 0x40e91d
mov eax, dword [0x44056c]
mov ecx, dword [0x440568]
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, 0x204e3174
mov ecx, 0x723d43c2
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1c], eax
jmp 0x40e91d
mov dword [ebp - 0x1c], 0x7c6e9e87
jmp 0x40e91d
mov dword [ebp - 0x1c], 0x7c6e9e87
jmp 0x40e91d
mov ecx, dword [0x44056c]
mov eax, dword [0x440568]
mov edx, ecx
sub edx, 0xfe547768
sub edx, 1
add edx, 0xfe547768
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, 0x8fad2b88
mov ecx, 0xed8a5619
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1c], eax
jmp 0x40e91d
mov ecx, dword [0x44056c]
mov eax, dword [0x440568]
mov edx, ecx
sub edx, 0x32e747f7
sub edx, 1
add edx, 0x32e747f7
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, 0x8fad2b88
mov ecx, 0x626816d6
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1c], eax
jmp 0x40e91d
add esp, 0x20
pop esi
pop ebx
pop ebp
ret
mov dword [ebp - 0x1c], 0xe39b3f72
jmp 0x40e91d
mov dword [ebp - 0x1c], 0x63031490
jmp 0x40e91d
mov dword [ebp - 0x1c], 0xed8a5619
jmp 0x40e485