Function at 0x40d4f0
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], 0x405b9095
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
sub eax, 0x820b3d05
je 0x40d84e
jmp 0x40d51a
mov eax, dword [ebp - 0x20]
sub eax, 0x8c7808bd
je 0x40d743
jmp 0x40d52d
mov eax, dword [ebp - 0x20]
sub eax, 0x8fac1c8b
je 0x40d7a0
jmp 0x40d540
mov eax, dword [ebp - 0x20]
sub eax, 0xf3ad3ad9
je 0x40d794
jmp 0x40d553
mov eax, dword [ebp - 0x20]
sub eax, 0xa8e2946
je 0x40d62e
jmp 0x40d566
mov eax, dword [ebp - 0x20]
sub eax, 0x1604f778
je 0x40d7ee
jmp 0x40d579
mov eax, dword [ebp - 0x20]
sub eax, 0x1bccbc1b
je 0x40d6ca
jmp 0x40d58c
mov eax, dword [ebp - 0x20]
sub eax, 0x1bf3051a
je 0x40d842
jmp 0x40d59f
mov eax, dword [ebp - 0x20]
sub eax, 0x2c49d8b8
je 0x40d83c
jmp 0x40d5b2
mov eax, dword [ebp - 0x20]
sub eax, 0x405b9095
je 0x40d616
jmp 0x40d5c5
mov eax, dword [ebp - 0x20]
sub eax, 0x412a6dd8
je 0x40d76d
jmp 0x40d5d8
mov eax, dword [ebp - 0x20]
sub eax, 0x57b98bf9
je 0x40d657
jmp 0x40d5eb
mov eax, dword [ebp - 0x20]
sub eax, 0x6d834e29
je 0x40d74f
jmp 0x40d5fe
mov eax, dword [ebp - 0x20]
sub eax, 0x74e2f9c5
je 0x40d788
jmp 0x40d611
jmp 0x40d855
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], 0xa8e2946
jmp 0x40d855
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
sub esp, 4
mov edx, eax
mov eax, 0x8fac1c8b
mov ecx, 0x57b98bf9
cmp edx, 0xffffffff
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x40d855
mov ecx, dword [0x43e58c]
mov eax, dword [0x43e588]
mov edx, ecx
sub edx, 0xf35204ec
sub edx, 1
add edx, 0xf35204ec
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, 0x1bf3051a
mov ecx, 0x1bccbc1b
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x40d855
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
mov ecx, dword [0x43e58c]
mov eax, dword [0x43e588]
mov edx, ecx
add edx, 0xde480f07
sub edx, 1
sub edx, 0xde480f07
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, 0x1bf3051a
mov ecx, 0x8c7808bd
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x40d855
mov dword [ebp - 0x18], 0x6d834e29
jmp 0x40d855
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
sub esp, 4
mov dword [ebp - 8], eax
mov dword [ebp - 0x18], 0x412a6dd8
jmp 0x40d855
mov edx, dword [ebp - 8]
mov eax, 0x74e2f9c5
mov ecx, 0xf3ad3ad9
cmp edx, 0
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x40d855
mov dword [ebp - 0x18], 0x8fac1c8b
jmp 0x40d855
mov dword [ebp - 0x18], 0x8fac1c8b
jmp 0x40d855
mov eax, dword [0x43e58c]
mov ecx, dword [0x43e588]
mov edx, eax
add edx, 0x633c37d8
sub edx, 1
sub edx, 0x633c37d8
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, 0x820b3d05
mov ecx, 0x1604f778
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x40d855
mov eax, dword [0x43e58c]
mov ecx, dword [0x43e588]
mov edx, eax
add edx, 0x6b82b11b
sub edx, 1
sub edx, 0x6b82b11b
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, 0x820b3d05
mov ecx, 0x2c49d8b8
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x40d855
add esp, 0x20
pop ebx
pop ebp
ret
mov dword [ebp - 0x18], 0x1bccbc1b
jmp 0x40d855
mov dword [ebp - 0x18], 0x1604f778
jmp 0x40d504