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

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x20
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0xd5d45d77
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
sub eax, 0x9bf77ecd
je 0x40cb84
jmp 0x40c7aa
mov eax, dword [ebp - 0x20]
sub eax, 0x9ea84ebf
je 0x40ca90
jmp 0x40c7bd
mov eax, dword [ebp - 0x20]
sub eax, 0xacc486f5
je 0x40c91a
jmp 0x40c7d0
mov eax, dword [ebp - 0x20]
sub eax, 0xacebcbdc
je 0x40cb8a
jmp 0x40c7e3
mov eax, dword [ebp - 0x20]
sub eax, 0xaf738413
je 0x40cb78
jmp 0x40c7f6
mov eax, dword [ebp - 0x20]
sub eax, 0xcc016c85
je 0x40c9e6
jmp 0x40c809
mov eax, dword [ebp - 0x20]
sub eax, 0xd5d45d77
je 0x40c8df
jmp 0x40c81c
mov eax, dword [ebp - 0x20]
sub eax, 0xd666776f
je 0x40ca34
jmp 0x40c82f
mov eax, dword [ebp - 0x20]
sub eax, 0xecd543e8
je 0x40cb1e
jmp 0x40c842
mov eax, dword [ebp - 0x20]
sub eax, 0xf14c796f
je 0x40cb6c
jmp 0x40c855
mov eax, dword [ebp - 0x20]
sub eax, 0xfd9c733c
je 0x40caab
jmp 0x40c868
mov eax, dword [ebp - 0x20]
sub eax, 0x255e74ba
je 0x40cba5
jmp 0x40c87b
mov eax, dword [ebp - 0x20]
sub eax, 0x5f80f0a8
je 0x40c968
jmp 0x40c88e
mov eax, dword [ebp - 0x20]
sub eax, 0x67016afe
je 0x40c8f1
jmp 0x40c8a1
mov eax, dword [ebp - 0x20]
sub eax, 0x6df26fb7
je 0x40c9bc
jmp 0x40c8b4
mov eax, dword [ebp - 0x20]
sub eax, 0x72f7dccd
je 0x40c9c8
jmp 0x40c8c7
mov eax, dword [ebp - 0x20]
sub eax, 0x751a4de1
je 0x40cb96
jmp 0x40c8da
jmp 0x40cbac
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0x67016afe
jmp 0x40cbac
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
sub esp, 4
mov edx, eax
mov eax, 0x9bf77ecd
mov ecx, 0xacc486f5
cmp edx, 0xffffffff
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x40cbac
mov eax, dword [0x43c53c]
mov ecx, dword [0x43c538]
mov edx, eax
sub edx, 0x1657f37c
sub edx, 1
add edx, 0x1657f37c
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, 0xacebcbdc
mov ecx, 0x5f80f0a8
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x40cbac
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [0x43c53c]
mov ecx, dword [0x43c538]
mov edx, eax
add edx, 0x2248157a
sub edx, 1
sub edx, 0x2248157a
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, 0xacebcbdc
mov ecx, 0x6df26fb7
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x40cbac
mov dword [ebp - 0x18], 0x72f7dccd
jmp 0x40cbac
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 - 0x18], 0xcc016c85
jmp 0x40cbac
mov eax, dword [0x43c53c]
mov ecx, dword [0x43c538]
mov edx, eax
add edx, 0x7dc70968
sub edx, 1
sub edx, 0x7dc70968
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, 0x751a4de1
mov ecx, 0xd666776f
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x40cbac
mov eax, dword [ebp - 0xc]
cmp eax, 0
setne al
and al, 1
mov byte [ebp - 5], al
mov eax, dword [0x43c53c]
mov ecx, dword [0x43c538]
mov edx, eax
sub edx, 0x632fb7a9
sub edx, 1
add edx, 0x632fb7a9
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, 0x751a4de1
mov ecx, 0x9ea84ebf
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x40cbac
mov dl, byte [ebp - 5]
mov eax, 0xfd9c733c
mov ecx, 0xaf738413
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x40cbac
mov ecx, dword [0x43c53c]
mov eax, dword [0x43c538]
mov edx, ecx
add edx, 0x8840e6aa
sub edx, 1
sub edx, 0x8840e6aa
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, 0x255e74ba
mov ecx, 0xecd543e8
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x40cbac
mov eax, dword [0x43c53c]
mov ecx, dword [0x43c538]
mov edx, eax
sub edx, 0x8a70f29c
sub edx, 1
add edx, 0x8a70f29c
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, 0x255e74ba
mov ecx, 0xf14c796f
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x40cbac
mov dword [ebp - 0x18], 0x9bf77ecd
jmp 0x40cbac
mov dword [ebp - 0x18], 0x9bf77ecd
jmp 0x40cbac
add esp, 0x20
pop ebx
pop ebp
ret
mov dword [ebp - 0x18], 0x5f80f0a8
jmp 0x40cbac
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], 0xd666776f
jmp 0x40cbac
mov dword [ebp - 0x18], 0xecd543e8
jmp 0x40c794