Function at 0x407a10
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], 0x639768b0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
sub eax, 0x802a8820
je 0x407f85
jmp 0x407a38
mov eax, dword [ebp - 0x20]
sub eax, 0x8364995a
je 0x407e6b
jmp 0x407a4b
mov eax, dword [ebp - 0x20]
sub eax, 0x89b2cb67
je 0x407d5c
jmp 0x407a5e
mov eax, dword [ebp - 0x20]
sub eax, 0x994b4ddf
je 0x407e50
jmp 0x407a71
mov eax, dword [ebp - 0x20]
sub eax, 0xa8a48289
je 0x407d2f
jmp 0x407a84
mov eax, dword [ebp - 0x20]
sub eax, 0xaded743a
je 0x407d4a
jmp 0x407a97
mov eax, dword [ebp - 0x20]
sub eax, 0xc98b73a4
je 0x407ebd
jmp 0x407aaa
mov eax, dword [ebp - 0x20]
sub eax, 0xccceb2e9
je 0x407f43
jmp 0x407abd
mov eax, dword [ebp - 0x20]
sub eax, 0xd3980f39
je 0x407e44
jmp 0x407ad0
mov eax, dword [ebp - 0x20]
sub eax, 0xdacde010
je 0x407ca2
jmp 0x407ae3
mov eax, dword [ebp - 0x20]
sub eax, 0xde32d2ed
je 0x407f4f
jmp 0x407af6
mov eax, dword [ebp - 0x20]
sub eax, 0xee6a34bb
je 0x407f3c
jmp 0x407b09
mov eax, dword [ebp - 0x20]
sub eax, 0xfed128f1
je 0x407c48
jmp 0x407b1c
mov eax, dword [ebp - 0x20]
sub eax, 0x7f4432f
je 0x407e77
jmp 0x407b2f
mov eax, dword [ebp - 0x20]
sub eax, 0x164178fc
je 0x407f30
jmp 0x407b42
mov eax, dword [ebp - 0x20]
sub eax, 0x1c150620
je 0x407f6a
jmp 0x407b55
mov eax, dword [ebp - 0x20]
sub eax, 0x55462ab2
je 0x407dc7
jmp 0x407b68
mov eax, dword [ebp - 0x20]
sub eax, 0x639768b0
je 0x407ba6
jmp 0x407b7b
mov eax, dword [ebp - 0x20]
sub eax, 0x7204c51f
je 0x407bf4
jmp 0x407b8e
mov eax, dword [ebp - 0x20]
sub eax, 0x75c0a75e
je 0x407c54
jmp 0x407ba1
jmp 0x407f8c
mov eax, dword [0x43653c]
mov ecx, dword [0x436538]
mov edx, eax
sub edx, 0x87eb3447
sub edx, 1
add edx, 0x87eb3447
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, 0xccceb2e9
mov ecx, 0x7204c51f
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1c], eax
jmp 0x407f8c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [0x43653c]
mov ecx, dword [0x436538]
mov edx, eax
sub edx, 0x5ce32a05
sub edx, 1
add edx, 0x5ce32a05
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, 0xccceb2e9
mov ecx, 0xfed128f1
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1c], eax
jmp 0x407f8c
mov dword [ebp - 0x1c], 0x75c0a75e
jmp 0x407f8c
mov eax, dword [0x43653c]
mov ecx, dword [0x436538]
mov edx, eax
add edx, 0xc22152df
sub edx, 1
sub edx, 0xc22152df
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, 0xde32d2ed
mov ecx, 0xdacde010
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1c], eax
jmp 0x407f8c
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 [0x43653c]
mov eax, dword [0x436538]
mov edx, ecx
add edx, 0x1a8beb6c
sub edx, 1
sub edx, 0x1a8beb6c
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, 0xde32d2ed
mov ecx, 0xa8a48289
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1c], eax
jmp 0x407f8c
mov dl, byte [ebp - 0x11]
mov eax, 0xee6a34bb
mov ecx, 0xaded743a
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1c], eax
jmp 0x407f8c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1c], 0x89b2cb67
jmp 0x407f8c
mov ecx, dword [0x43653c]
mov eax, dword [0x436538]
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, 0x1c150620
mov ecx, 0x55462ab2
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1c], eax
jmp 0x407f8c
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 ecx, dword [0x43653c]
mov eax, dword [0x436538]
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, 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, 0x1c150620
mov ecx, 0xd3980f39
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1c], eax
jmp 0x407f8c
mov dword [ebp - 0x1c], 0x994b4ddf
jmp 0x407f8c
mov edx, dword [ebp - 0xc]
mov eax, 0x8364995a
mov ecx, 0x7f4432f
cmp edx, 0
cmovne eax, ecx
mov dword [ebp - 0x1c], eax
jmp 0x407f8c
mov dword [ebp - 0x1c], 0xee6a34bb
jmp 0x407f8c
mov eax, dword [0x43653c]
mov ecx, dword [0x436538]
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, 0x802a8820
mov ecx, 0xc98b73a4
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1c], eax
jmp 0x407f8c
mov ecx, dword [0x43653c]
mov eax, dword [0x436538]
mov edx, ecx
sub edx, 0xbddf1222
sub edx, 1
add edx, 0xbddf1222
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, 0x802a8820
mov ecx, 0x164178fc
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1c], eax
jmp 0x407f8c
mov dword [ebp - 0x1c], 0xee6a34bb
jmp 0x407f8c
add esp, 0x1c
pop esi
pop ebx
pop ebp
ret
mov dword [ebp - 0x1c], 0x7204c51f
jmp 0x407f8c
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
sub esp, 4
mov dword [ebp - 0x1c], 0xdacde010
jmp 0x407f8c
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
sub esp, 4
mov dword [ebp - 0x1c], 0x55462ab2
jmp 0x407f8c
mov dword [ebp - 0x1c], 0xc98b73a4
jmp 0x407a22