Function at 0x40aa30
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], eax
mov dword [ebp - 0x18], 0xdadfd038
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
sub eax, 0x8065a76d
je 0x40ae4c
jmp 0x40aa5b
mov eax, dword [ebp - 0x20]
sub eax, 0x8ac82345
je 0x40abcb
jmp 0x40aa6e
mov eax, dword [ebp - 0x20]
sub eax, 0x8b5efb4a
je 0x40ada4
jmp 0x40aa81
mov eax, dword [ebp - 0x20]
sub eax, 0x98a76dae
je 0x40aba2
jmp 0x40aa94
mov eax, dword [ebp - 0x20]
sub eax, 0xae7fbc22
je 0x40ac19
jmp 0x40aaa7
mov eax, dword [ebp - 0x20]
sub eax, 0xc2037b98
je 0x40adf2
jmp 0x40aaba
mov eax, dword [ebp - 0x20]
sub eax, 0xdadfd038
je 0x40ab90
jmp 0x40aacd
mov eax, dword [ebp - 0x20]
sub eax, 0xdb92d9fb
je 0x40ace4
jmp 0x40aae0
mov eax, dword [ebp - 0x20]
sub eax, 0xe619a94e
je 0x40ae40
jmp 0x40aaf3
mov eax, dword [ebp - 0x20]
sub eax, 0xf321d470
je 0x40ae7a
jmp 0x40ab06
mov eax, dword [ebp - 0x20]
sub eax, 0xfd680d55
je 0x40ae5f
jmp 0x40ab19
mov eax, dword [ebp - 0x20]
sub eax, 0x12916f8
je 0x40ad71
jmp 0x40ab2c
mov eax, dword [ebp - 0x20]
sub eax, 0x17b95dd2
je 0x40ac92
jmp 0x40ab3f
mov eax, dword [ebp - 0x20]
sub eax, 0x18760e47
je 0x40ac9e
jmp 0x40ab52
mov eax, dword [ebp - 0x20]
sub eax, 0x2c5d7881
je 0x40ad98
jmp 0x40ab65
mov eax, dword [ebp - 0x20]
sub eax, 0x416aac2a
je 0x40ae53
jmp 0x40ab78
mov eax, dword [ebp - 0x20]
sub eax, 0x54607494
je 0x40ad7d
jmp 0x40ab8b
jmp 0x40ae81
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0x98a76dae
jmp 0x40ae81
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
sub esp, 4
mov edx, eax
mov eax, 0x8065a76d
mov ecx, 0x8ac82345
cmp edx, 0xffffffff
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x40ae81
mov eax, dword [0x43b55c]
mov ecx, dword [0x43b558]
mov edx, eax
add edx, 0xdb22ed6a
sub edx, 1
sub edx, 0xdb22ed6a
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, 0x416aac2a
mov ecx, 0xae7fbc22
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x40ae81
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov ecx, dword [0x43b55c]
mov eax, dword [0x43b558]
mov edx, ecx
add edx, 0x90248e27
sub edx, 1
sub edx, 0x90248e27
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, 0x416aac2a
mov ecx, 0x17b95dd2
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x40ae81
mov dword [ebp - 0x18], 0x18760e47
jmp 0x40ae81
mov eax, dword [0x43b55c]
mov ecx, dword [0x43b558]
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, 0xfd680d55
mov ecx, 0xdb92d9fb
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x40ae81
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
sub esp, 4
cmp eax, 0
setne al
and al, 1
mov byte [ebp - 9], al
mov ecx, dword [0x43b55c]
mov eax, dword [0x43b558]
mov edx, ecx
add edx, 0x9bf556cd
sub edx, 1
sub edx, 0x9bf556cd
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, 0xfd680d55
mov ecx, 0x12916f8
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x40ae81
mov dword [ebp - 0x18], 0x54607494
jmp 0x40ae81
mov dl, byte [ebp - 9]
mov eax, 0x2c5d7881
mov ecx, 0x8b5efb4a
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x40ae81
mov dword [ebp - 0x18], 0x8065a76d
jmp 0x40ae81
mov eax, dword [0x43b55c]
mov ecx, dword [0x43b558]
mov edx, eax
sub edx, 0xcb6c1e07
sub edx, 1
add edx, 0xcb6c1e07
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, 0xf321d470
mov ecx, 0xc2037b98
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x40ae81
mov eax, dword [0x43b55c]
mov ecx, dword [0x43b558]
mov edx, eax
sub edx, 0xa6880d5f
sub edx, 1
add edx, 0xa6880d5f
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, 0xf321d470
mov ecx, 0xe619a94e
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x40ae81
mov dword [ebp - 0x18], 0x8065a76d
jmp 0x40ae81
add esp, 0x1c
pop esi
pop ebx
pop ebp
ret
mov dword [ebp - 0x18], 0xae7fbc22
jmp 0x40ae81
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
sub esp, 4
mov dword [ebp - 0x18], 0xdb92d9fb
jmp 0x40ae81
mov dword [ebp - 0x18], 0xc2037b98
jmp 0x40aa45