Function at 0x40ea30
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], 0x90d73ea2
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
sub eax, 0x81923119
je 0x40efa6
jmp 0x40ea58
mov eax, dword [ebp - 0x20]
sub eax, 0x85825cd0
je 0x40efdd
jmp 0x40ea6b
mov eax, dword [ebp - 0x20]
sub eax, 0x90d73ea2
je 0x40ebc6
jmp 0x40ea7e
mov eax, dword [ebp - 0x20]
sub eax, 0xad632fbf
je 0x40efbe
jmp 0x40ea91
mov eax, dword [ebp - 0x20]
sub eax, 0xbbd579ea
je 0x40ecca
jmp 0x40eaa4
mov eax, dword [ebp - 0x20]
sub eax, 0xc315643e
je 0x40ebec
jmp 0x40eab7
mov eax, dword [ebp - 0x20]
sub eax, 0xd9afbfd8
je 0x40ec5f
jmp 0x40eaca
mov eax, dword [ebp - 0x20]
sub eax, 0xdd38a96c
je 0x40ece5
jmp 0x40eadd
mov eax, dword [ebp - 0x20]
sub eax, 0xe5657613
je 0x40ee97
jmp 0x40eaf0
mov eax, dword [ebp - 0x20]
sub eax, 0xf9b81e3a
je 0x40efc5
jmp 0x40eb03
mov eax, dword [ebp - 0x20]
sub eax, 0xfcc6c67b
je 0x40ee06
jmp 0x40eb16
mov eax, dword [ebp - 0x20]
sub eax, 0x2545e83
je 0x40ed58
jmp 0x40eb29
mov eax, dword [ebp - 0x20]
sub eax, 0xa20595f
je 0x40ef8b
jmp 0x40eb3c
mov eax, dword [ebp - 0x20]
sub eax, 0x15319023
je 0x40eff8
jmp 0x40eb4f
mov eax, dword [ebp - 0x20]
sub eax, 0x168c39d9
je 0x40ee8b
jmp 0x40eb62
mov eax, dword [ebp - 0x20]
sub eax, 0x2d2ef080
je 0x40efb2
jmp 0x40eb75
mov eax, dword [ebp - 0x20]
sub eax, 0x43c867ba
je 0x40efd1
jmp 0x40eb88
mov eax, dword [ebp - 0x20]
sub eax, 0x5448fa25
je 0x40ef0a
jmp 0x40eb9b
mov eax, dword [ebp - 0x20]
sub eax, 0x573196de
je 0x40edac
jmp 0x40ebae
mov eax, dword [ebp - 0x20]
sub eax, 0x7a81d790
je 0x40edb8
jmp 0x40ebc1
jmp 0x40f002
mov eax, dword [ebp + 8]
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 - 0x15], al
mov dword [ebp - 0x1c], 0xc315643e
jmp 0x40f002
mov ecx, dword [0x43e564]
mov eax, dword [0x43e560]
mov edx, ecx
sub edx, 0xa701abe7
sub edx, 1
add edx, 0xa701abe7
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, 0xf9b81e3a
mov ecx, 0xd9afbfd8
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1c], eax
jmp 0x40f002
mov ecx, dword [0x43e564]
mov eax, dword [0x43e560]
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, 0xf9b81e3a
mov ecx, 0xbbd579ea
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1c], eax
jmp 0x40f002
mov dl, byte [ebp - 0x15]
mov eax, 0xad632fbf
mov ecx, 0xdd38a96c
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1c], eax
jmp 0x40f002
mov ecx, dword [0x43e564]
mov eax, dword [0x43e560]
mov edx, ecx
add edx, 0xb3127a49
sub edx, 1
sub edx, 0xb3127a49
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, 0x43c867ba
mov ecx, 0x2545e83
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1c], eax
jmp 0x40f002
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [0x43e564]
mov ecx, dword [0x43e560]
mov edx, eax
add edx, 0xec177ce
sub edx, 1
sub edx, 0xec177ce
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, 0x43c867ba
mov ecx, 0x573196de
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1c], eax
jmp 0x40f002
mov dword [ebp - 0x1c], 0x7a81d790
jmp 0x40f002
mov eax, dword [0x43e564]
mov ecx, dword [0x43e560]
mov edx, eax
sub edx, 0xb03fb273
sub edx, 1
add edx, 0xb03fb273
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, 0x85825cd0
mov ecx, 0xfcc6c67b
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1c], eax
jmp 0x40f002
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
sub esp, 4
mov dword [ebp - 0x10], eax
mov ecx, dword [0x43e564]
mov eax, dword [0x43e560]
mov edx, ecx
add edx, 0xcc6da2a2
sub edx, 1
sub edx, 0xcc6da2a2
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, 0x85825cd0
mov ecx, 0x168c39d9
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1c], eax
jmp 0x40f002
mov dword [ebp - 0x1c], 0xe5657613
jmp 0x40f002
mov ecx, dword [0x43e564]
mov eax, dword [0x43e560]
mov edx, ecx
sub edx, 0xfac61972
sub edx, 1
add edx, 0xfac61972
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, 0x15319023
mov ecx, 0x5448fa25
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1c], eax
jmp 0x40f002
mov eax, dword [ebp - 0x10]
cmp eax, 0
setne al
and al, 1
mov byte [ebp - 9], al
mov ecx, dword [0x43e564]
mov eax, dword [0x43e560]
mov edx, ecx
add edx, 0x4ac9446e
sub edx, 1
sub edx, 0x4ac9446e
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, 0x15319023
mov ecx, 0xa20595f
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1c], eax
jmp 0x40f002
mov dl, byte [ebp - 9]
mov eax, 0x81923119
mov ecx, 0x2d2ef080
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1c], eax
jmp 0x40f002
mov dword [ebp - 0x1c], 0xad632fbf
jmp 0x40f002
mov dword [ebp - 0x1c], 0xad632fbf
jmp 0x40f002
add esp, 0x1c
pop esi
pop ebx
pop ebp
ret
mov dword [ebp - 0x1c], 0xd9afbfd8
jmp 0x40f002
mov dword [ebp - 0x1c], 0x2545e83
jmp 0x40f002
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
sub esp, 4
mov dword [ebp - 0x1c], 0xfcc6c67b
jmp 0x40f002
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], 0x5448fa25
jmp 0x40ea42