Function at 0x408930
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
sub esp, 0x20
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0x5e1595f1
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
sub eax, 0x97397a4a
je 0x408b58
jmp 0x40895b
mov eax, dword [ebp - 0x24]
sub eax, 0xc1517c79
je 0x408be6
jmp 0x40896e
mov eax, dword [ebp - 0x24]
sub eax, 0xd1566452
je 0x408c97
jmp 0x408981
mov eax, dword [ebp - 0x24]
sub eax, 0xe47009d3
je 0x408c3a
jmp 0x408994
mov eax, dword [ebp - 0x24]
sub eax, 0xe8c2633d
je 0x408d97
jmp 0x4089a7
mov eax, dword [ebp - 0x24]
sub eax, 0xfc8aae39
je 0x408c64
jmp 0x4089ba
mov eax, dword [ebp - 0x24]
sub eax, 0x95a0737
je 0x408aa2
jmp 0x4089cd
mov eax, dword [ebp - 0x24]
sub eax, 0x10ad3d6f
je 0x408c46
jmp 0x4089e0
mov eax, dword [ebp - 0x24]
sub eax, 0x10b68b30
je 0x408b73
jmp 0x4089f3
mov eax, dword [ebp - 0x24]
sub eax, 0x16a57a16
je 0x408da3
jmp 0x408a06
mov eax, dword [ebp - 0x24]
sub eax, 0x1dd1b9d7
je 0x408c8b
jmp 0x408a19
mov eax, dword [ebp - 0x24]
sub eax, 0x33074bfb
je 0x408d0a
jmp 0x408a2c
mov eax, dword [ebp - 0x24]
sub eax, 0x34226f5c
je 0x408d75
jmp 0x408a3f
mov eax, dword [ebp - 0x24]
sub eax, 0x3792f6d4
je 0x408af0
jmp 0x408a52
mov eax, dword [ebp - 0x24]
sub eax, 0x3e4833c4
je 0x408d7c
jmp 0x408a65
mov eax, dword [ebp - 0x24]
sub eax, 0x5e1595f1
je 0x408a90
jmp 0x408a78
mov eax, dword [ebp - 0x24]
sub eax, 0x779ffb35
je 0x408c7f
jmp 0x408a8b
jmp 0x408daa
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], 0x95a0737
jmp 0x408daa
mov eax, dword [0x432574]
mov ecx, dword [0x432570]
mov edx, eax
sub edx, 0x9f2a0baf
sub edx, 1
add edx, 0x9f2a0baf
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, 0x3e4833c4
mov ecx, 0x3792f6d4
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1c], eax
jmp 0x408daa
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 eax, dword [0x432574]
mov ecx, dword [0x432570]
mov edx, eax
add edx, 0x8697b844
sub edx, 1
sub edx, 0x8697b844
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, 0x3e4833c4
mov ecx, 0x97397a4a
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1c], eax
jmp 0x408daa
mov dl, byte [ebp - 0x11]
mov eax, 0xd1566452
mov ecx, 0x10b68b30
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1c], eax
jmp 0x408daa
mov ecx, dword [0x432574]
mov eax, dword [0x432570]
mov edx, ecx
sub edx, 0xb666d85e
sub edx, 1
add edx, 0xb666d85e
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, 0xe8c2633d
mov ecx, 0xc1517c79
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1c], eax
jmp 0x408daa
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [0x432574]
mov ecx, dword [0x432570]
mov edx, eax
sub edx, 0x887d69ca
sub edx, 1
add edx, 0x887d69ca
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, 0xe8c2633d
mov ecx, 0xe47009d3
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1c], eax
jmp 0x408daa
mov dword [ebp - 0x1c], 0x10ad3d6f
jmp 0x408daa
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 dword [ebp - 0x1c], 0xfc8aae39
jmp 0x408daa
mov edx, dword [ebp - 0xc]
mov eax, 0x779ffb35
mov ecx, 0x1dd1b9d7
cmp edx, 0
cmovne eax, ecx
mov dword [ebp - 0x1c], eax
jmp 0x408daa
mov dword [ebp - 0x1c], 0xd1566452
jmp 0x408daa
mov dword [ebp - 0x1c], 0xd1566452
jmp 0x408daa
mov ecx, dword [0x432574]
mov eax, dword [0x432570]
mov edx, ecx
sub edx, 0xabe34e5f
sub edx, 1
add edx, 0xabe34e5f
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, 0x16a57a16
mov ecx, 0x33074bfb
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1c], eax
jmp 0x408daa
mov ecx, dword [0x432574]
mov eax, dword [0x432570]
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, 0x16a57a16
mov ecx, 0x34226f5c
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1c], eax
jmp 0x408daa
add esp, 0x20
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], 0x3792f6d4
jmp 0x408daa
mov dword [ebp - 0x1c], 0xc1517c79
jmp 0x408daa
mov dword [ebp - 0x1c], 0x33074bfb
jmp 0x408945