Function at 0x40ddd0
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], 0x3483ee4e
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
sub eax, 0x8483ee35
je 0x40e065
jmp 0x40ddfb
mov eax, dword [ebp - 0x20]
sub eax, 0x8ab574d4
je 0x40e2ed
jmp 0x40de0e
mov eax, dword [ebp - 0x20]
sub eax, 0x8dacf79a
je 0x40e2b9
jmp 0x40de21
mov eax, dword [ebp - 0x20]
sub eax, 0x999b7ed5
je 0x40e211
jmp 0x40de34
mov eax, dword [ebp - 0x20]
sub eax, 0xa51ac97e
je 0x40dfdc
jmp 0x40de47
mov eax, dword [ebp - 0x20]
sub eax, 0xb04fb9aa
je 0x40e030
jmp 0x40de5a
mov eax, dword [ebp - 0x20]
sub eax, 0xb4d11fb3
je 0x40e03c
jmp 0x40de6d
mov eax, dword [ebp - 0x20]
sub eax, 0xba299114
je 0x40e077
jmp 0x40de80
mov eax, dword [ebp - 0x20]
sub eax, 0xc56f21f0
je 0x40e2f9
jmp 0x40de93
mov eax, dword [ebp - 0x20]
sub eax, 0xc9025bf1
je 0x40e26b
jmp 0x40dea6
mov eax, dword [ebp - 0x20]
sub eax, 0xcf69e70d
je 0x40e21d
jmp 0x40deb9
mov eax, dword [ebp - 0x20]
sub eax, 0xe9cef53c
je 0x40e14e
jmp 0x40decc
mov eax, dword [ebp - 0x20]
sub eax, 0xf5b423a4
je 0x40e2c0
jmp 0x40dedf
mov eax, dword [ebp - 0x20]
sub eax, 0x4b625e0
je 0x40e169
jmp 0x40def2
mov eax, dword [ebp - 0x20]
sub eax, 0x197d34d4
je 0x40e0bd
jmp 0x40df05
mov eax, dword [ebp - 0x20]
sub eax, 0x29034578
je 0x40e142
jmp 0x40df18
mov eax, dword [ebp - 0x20]
sub eax, 0x3483ee4e
je 0x40df69
jmp 0x40df2b
mov eax, dword [ebp - 0x20]
sub eax, 0x50e1d568
je 0x40e175
jmp 0x40df3e
mov eax, dword [ebp - 0x20]
sub eax, 0x7543942f
je 0x40e2d2
jmp 0x40df51
mov eax, dword [ebp - 0x20]
sub eax, 0x7e2fd7ed
je 0x40e1c3
jmp 0x40df64
jmp 0x40e300
mov ecx, dword [0x43e544]
mov eax, dword [0x43e540]
mov edx, ecx
add edx, 0xecab54c6
sub edx, 1
sub edx, 0xecab54c6
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, 0xf5b423a4
mov ecx, 0xa51ac97e
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x40e300
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
mov eax, dword [0x43e544]
mov ecx, dword [0x43e540]
mov edx, eax
add edx, 0xf54be722
sub edx, 1
sub edx, 0xf54be722
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, 0xf5b423a4
mov ecx, 0xb04fb9aa
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x40e300
mov dword [ebp - 0x18], 0xb4d11fb3
jmp 0x40e300
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
sub esp, 4
mov edx, eax
mov eax, 0xcf69e70d
mov ecx, 0x8483ee35
cmp edx, 0xffffffff
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x40e300
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], 0xba299114
jmp 0x40e300
mov eax, dword [0x43e544]
mov ecx, dword [0x43e540]
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, 0x7543942f
mov ecx, 0x197d34d4
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x40e300
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 [0x43e544]
mov eax, dword [0x43e540]
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, 0x7543942f
mov ecx, 0x29034578
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x40e300
mov dword [ebp - 0x18], 0xe9cef53c
jmp 0x40e300
mov dl, byte [ebp - 9]
mov eax, 0x4b625e0
mov ecx, 0x50e1d568
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x40e300
mov dword [ebp - 0x18], 0xcf69e70d
jmp 0x40e300
mov eax, dword [0x43e544]
mov ecx, dword [0x43e540]
mov edx, eax
sub edx, 0x40b94eca
sub edx, 1
add edx, 0x40b94eca
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, 0x8ab574d4
mov ecx, 0x7e2fd7ed
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x40e300
mov eax, dword [0x43e544]
mov ecx, dword [0x43e540]
mov edx, eax
add edx, 0xda3f332d
sub edx, 1
sub edx, 0xda3f332d
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, 0x8ab574d4
mov ecx, 0x999b7ed5
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x40e300
mov dword [ebp - 0x18], 0xcf69e70d
jmp 0x40e300
mov eax, dword [0x43e544]
mov ecx, dword [0x43e540]
mov edx, eax
add edx, 0xb7ca1f66
sub edx, 1
sub edx, 0xb7ca1f66
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, 0xc56f21f0
mov ecx, 0xc9025bf1
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x40e300
mov eax, dword [0x43e544]
mov ecx, dword [0x43e540]
mov edx, eax
add edx, 0x32069197
sub edx, 1
sub edx, 0x32069197
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, 0xc56f21f0
mov ecx, 0x8dacf79a
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x40e300
add esp, 0x1c
pop esi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0xa51ac97e
jmp 0x40e300
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
sub esp, 4
mov dword [ebp - 0x18], 0x197d34d4
jmp 0x40e300
mov dword [ebp - 0x18], 0x7e2fd7ed
jmp 0x40e300
mov dword [ebp - 0x18], 0xc9025bf1
jmp 0x40dde5