Function at 0x409610
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], 0x19c19fe1
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
sub eax, 0x85d16f2c
je 0x4098a7
jmp 0x40963e
mov eax, dword [ebp - 0x20]
sub eax, 0x8782a390
je 0x4097ad
jmp 0x409651
mov eax, dword [ebp - 0x20]
sub eax, 0x9ea71183
je 0x409967
jmp 0x409664
mov eax, dword [ebp - 0x20]
sub eax, 0x9ef348cd
je 0x409832
jmp 0x409677
mov eax, dword [ebp - 0x20]
sub eax, 0xa82e2129
je 0x409982
jmp 0x40968a
mov eax, dword [ebp - 0x20]
sub eax, 0xacc16686
je 0x409907
jmp 0x40969d
mov eax, dword [ebp - 0x20]
sub eax, 0xcb85943c
je 0x409954
jmp 0x4096b0
mov eax, dword [ebp - 0x20]
sub eax, 0xce85bb5f
je 0x40983e
jmp 0x4096c3
mov eax, dword [ebp - 0x20]
sub eax, 0xd8b68559
je 0x409960
jmp 0x4096d6
mov eax, dword [ebp - 0x20]
sub eax, 0xdc8a0f94
je 0x4098fb
jmp 0x4096e9
mov eax, dword [ebp - 0x20]
sub eax, 0xfa6516c
je 0x409948
jmp 0x4096fc
mov eax, dword [ebp - 0x20]
sub eax, 0x10e96692
je 0x409859
jmp 0x40970f
mov eax, dword [ebp - 0x20]
sub eax, 0x19c19fe1
je 0x40973a
jmp 0x409722
mov eax, dword [ebp - 0x20]
sub eax, 0x19e10a08
je 0x40992d
jmp 0x409735
jmp 0x409989
mov ecx, dword [0x43a54c]
mov eax, dword [0x43a548]
mov edx, ecx
sub edx, 0x11a163cd
sub edx, 1
add edx, 0x11a163cd
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, 0x9ea71183
mov ecx, 0x8782a390
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1c], eax
jmp 0x409989
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 [0x43a54c]
mov eax, dword [0x43a548]
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, 0x9ea71183
mov ecx, 0x9ef348cd
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1c], eax
jmp 0x409989
mov dword [ebp - 0x1c], 0xce85bb5f
jmp 0x409989
mov dl, byte [ebp - 0x11]
mov eax, 0xd8b68559
mov ecx, 0x10e96692
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1c], eax
jmp 0x409989
mov eax, dword [0x43a54c]
mov ecx, dword [0x43a548]
mov edx, eax
add edx, 0x58caf1fb
sub edx, 1
sub edx, 0x58caf1fb
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, 0xa82e2129
mov ecx, 0x85d16f2c
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1c], eax
jmp 0x409989
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [0x43a54c]
mov ecx, dword [0x43a548]
mov edx, eax
add edx, 0x6eb5cc3e
sub edx, 1
sub edx, 0x6eb5cc3e
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, 0xa82e2129
mov ecx, 0xdc8a0f94
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1c], eax
jmp 0x409989
mov dword [ebp - 0x1c], 0xacc16686
jmp 0x409989
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 dword [ebp - 0x1c], 0x19e10a08
jmp 0x409989
mov dl, byte [ebp - 9]
mov eax, 0xfa6516c
mov ecx, 0xcb85943c
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1c], eax
jmp 0x409989
mov dword [ebp - 0x1c], 0xd8b68559
jmp 0x409989
mov dword [ebp - 0x1c], 0xd8b68559
jmp 0x409989
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], 0x8782a390
jmp 0x409989
mov dword [ebp - 0x1c], 0x85d16f2c
jmp 0x409628