Function at 0x40dff0
Capabilities:
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
mov eax, dword [0x440080]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x441564]
mov eax, dword [0x441560]
mov edx, ecx
add edx, 0x753379a2
sub edx, 1
sub edx, 0x753379a2
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
and cl, 1
mov byte [ebp - 0x16], cl
cmp eax, 0xa
setl al
and al, 1
mov byte [ebp - 0x15], al
mov dword [ebp - 0x1c], 0x64e87de3
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
sub eax, 0x90f7d667
je 0x40e219
jmp 0x40e05c
mov eax, dword [ebp - 0x24]
sub eax, 0xa6746433
je 0x40e329
jmp 0x40e06f
mov eax, dword [ebp - 0x24]
sub eax, 0xb351b90b
je 0x40e343
jmp 0x40e082
mov eax, dword [ebp - 0x24]
sub eax, 0xbf2e6754
je 0x40e282
jmp 0x40e095
mov eax, dword [ebp - 0x24]
sub eax, 0xfe5fae30
je 0x40e2e4
jmp 0x40e0a8
mov eax, dword [ebp - 0x24]
sub eax, 0x2cdb173b
je 0x40e234
jmp 0x40e0bb
mov eax, dword [ebp - 0x24]
sub eax, 0x2cddc895
je 0x40e191
jmp 0x40e0ce
mov eax, dword [ebp - 0x24]
sub eax, 0x32779266
je 0x40e302
jmp 0x40e0e1
mov eax, dword [ebp - 0x24]
sub eax, 0x3a1feb81
je 0x40e1ed
jmp 0x40e0f4
mov eax, dword [ebp - 0x24]
sub eax, 0x4337e3dc
je 0x40e357
jmp 0x40e107
mov eax, dword [ebp - 0x24]
sub eax, 0x4aebe1a1
je 0x40e2d8
jmp 0x40e11a
mov eax, dword [ebp - 0x24]
sub eax, 0x64e87de3
je 0x40e16b
jmp 0x40e12d
mov eax, dword [ebp - 0x24]
sub eax, 0x6669abee
je 0x40e31d
jmp 0x40e140
mov eax, dword [ebp - 0x24]
sub eax, 0x6a0aad56
je 0x40e1f9
jmp 0x40e153
mov eax, dword [ebp - 0x24]
sub eax, 0x7f45130f
je 0x40e335
jmp 0x40e166
jmp 0x40e361
mov al, byte [ebp - 0x16]
mov cl, byte [ebp - 0x15]
mov dl, al
and dl, cl
xor al, cl
or dl, al
mov eax, 0xb351b90b
mov ecx, 0x2cddc895
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1c], eax
jmp 0x40e361
mov ecx, dword [ebp - 0x20]
push eax
mov eax, esp
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], ecx
mov eax, dword [0x441564]
mov ecx, dword [0x441560]
mov edx, eax
sub edx, 0xcae7969f
sub edx, 1
add edx, 0xcae7969f
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, 0xb351b90b
mov ecx, 0x3a1feb81
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1c], eax
jmp 0x40e361
mov dword [ebp - 0x1c], 0x6a0aad56
jmp 0x40e361
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1c], 0x90f7d667
jmp 0x40e361
mov edx, dword [ebp - 0x10]
mov eax, 0x7f45130f
mov ecx, 0x2cdb173b
cmp edx, 0xffffffff
cmovne eax, ecx
mov dword [ebp - 0x1c], eax
jmp 0x40e361
mov eax, dword [0x441564]
mov ecx, dword [0x441560]
mov edx, eax
sub edx, 0x66a2dd68
sub edx, 1
add edx, 0x66a2dd68
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, 0x4337e3dc
mov ecx, 0xbf2e6754
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1c], eax
jmp 0x40e361
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov eax, dword [0x441564]
mov ecx, dword [0x441560]
mov edx, eax
add edx, 0x460f5369
sub edx, 1
sub edx, 0x460f5369
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, 0x4337e3dc
mov ecx, 0x4aebe1a1
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1c], eax
jmp 0x40e361
mov dword [ebp - 0x1c], 0xfe5fae30
jmp 0x40e361
mov eax, dword [ebp - 0xc]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 8], eax
mov dword [ebp - 0x1c], 0x32779266
jmp 0x40e361
mov edx, dword [ebp - 8]
mov eax, 0x6669abee
mov ecx, 0xa6746433
cmp edx, 0
cmovne eax, ecx
mov dword [ebp - 0x1c], eax
jmp 0x40e361
mov dword [ebp - 0x1c], 0x7f45130f
jmp 0x40e361
mov dword [ebp - 0x1c], 0x7f45130f
jmp 0x40e361
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004295e0
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x20]
push eax
mov eax, esp
mov dword [eax], ecx
mov dword [ebp - 0x1c], 0x2cddc895
jmp 0x40e361
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], 0xbf2e6754
jmp 0x40e046