Function at 0x413ad0
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 eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], 0x79a810a6
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
sub eax, 0x86b3695f
je 0x413d9e
jmp 0x413afe
mov eax, dword [ebp - 0x20]
sub eax, 0x92ba5361
je 0x413d21
jmp 0x413b11
mov eax, dword [ebp - 0x20]
sub eax, 0x94e2cbb9
je 0x413e25
jmp 0x413b24
mov eax, dword [ebp - 0x20]
sub eax, 0xc2ad6094
je 0x413e0a
jmp 0x413b37
mov eax, dword [ebp - 0x20]
sub eax, 0xc3c550cb
je 0x413e31
jmp 0x413b4a
mov eax, dword [ebp - 0x20]
sub eax, 0xcf1afbe0
je 0x413e5f
jmp 0x413b5d
mov eax, dword [ebp - 0x20]
sub eax, 0xd89db2a8
je 0x413d33
jmp 0x413b70
mov eax, dword [ebp - 0x20]
sub eax, 0xd9f39655
je 0x413e44
jmp 0x413b83
mov eax, dword [ebp - 0x20]
sub eax, 0xec40bd78
je 0x413e3d
jmp 0x413b96
mov eax, dword [ebp - 0x20]
sub eax, 0x2749aed
je 0x413cfa
jmp 0x413ba9
mov eax, dword [ebp - 0x20]
sub eax, 0x2125f27e
je 0x413c6d
jmp 0x413bbc
mov eax, dword [ebp - 0x20]
sub eax, 0x252d6500
je 0x413d06
jmp 0x413bcf
mov eax, dword [ebp - 0x20]
sub eax, 0x28632dc0
je 0x413dfe
jmp 0x413be2
mov eax, dword [ebp - 0x20]
sub eax, 0x79a810a6
je 0x413bfa
jmp 0x413bf5
jmp 0x413e75
mov ecx, dword [0x44457c]
mov eax, dword [0x444578]
mov edx, ecx
add edx, 0xb2bb91d4
sub edx, 1
sub edx, 0xb2bb91d4
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, 0xd9f39655
mov ecx, 0x2125f27e
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1c], eax
jmp 0x413e75
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
sub esp, 4
cmp eax, 0xffffffff
setne al
and al, 1
mov byte [ebp - 0x11], al
mov ecx, dword [0x44457c]
mov eax, dword [0x444578]
mov edx, ecx
sub edx, 0x2a561ee2
sub edx, 1
add edx, 0x2a561ee2
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, 0xd9f39655
mov ecx, 0x2749aed
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1c], eax
jmp 0x413e75
mov dword [ebp - 0x1c], 0x252d6500
jmp 0x413e75
mov dl, byte [ebp - 0x11]
mov eax, 0xec40bd78
mov ecx, 0x92ba5361
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1c], eax
jmp 0x413e75
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1c], 0xd89db2a8
jmp 0x413e75
mov ecx, dword [0x44457c]
mov eax, dword [0x444578]
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, 0xcf1afbe0
mov ecx, 0x86b3695f
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1c], eax
jmp 0x413e75
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 eax, dword [0x44457c]
mov ecx, dword [0x444578]
mov edx, eax
add edx, 0xb64f2e8c
sub edx, 1
sub edx, 0xb64f2e8c
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, 0xcf1afbe0
mov ecx, 0x28632dc0
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1c], eax
jmp 0x413e75
mov dword [ebp - 0x1c], 0xc2ad6094
jmp 0x413e75
mov edx, dword [ebp - 0xc]
mov eax, 0x94e2cbb9
mov ecx, 0xc3c550cb
cmp edx, 0
cmovne eax, ecx
mov dword [ebp - 0x1c], eax
jmp 0x413e75
mov dword [ebp - 0x1c], 0xec40bd78
jmp 0x413e75
mov dword [ebp - 0x1c], 0xec40bd78
jmp 0x413e75
add esp, 0x1c
pop esi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
sub esp, 4
mov dword [ebp - 0x1c], 0x2125f27e
jmp 0x413e75
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
sub esp, 4
mov dword [ebp - 0x1c], 0x86b3695f
jmp 0x413ae8