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

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
sub esp, 0x24
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 0x7ba556f8
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
sub eax, 0x8f567ee7
je 0x409395
jmp 0x408f8b
mov eax, dword [ebp - 0x28]
sub eax, 0x902d8542
je 0x40938e
jmp 0x408f9e
mov eax, dword [ebp - 0x28]
sub eax, 0x9ecc0a75
je 0x409382
jmp 0x408fb1
mov eax, dword [ebp - 0x28]
sub eax, 0xa1dcb5e8
je 0x409334
jmp 0x408fc4
mov eax, dword [ebp - 0x28]
sub eax, 0xb30a208d
je 0x4091ce
jmp 0x408fd7
mov eax, dword [ebp - 0x28]
sub eax, 0xe545ea35
je 0x40914b
jmp 0x408fea
mov eax, dword [ebp - 0x28]
sub eax, 0xd7480cc
je 0x4092bf
jmp 0x408ffd
mov eax, dword [ebp - 0x28]
sub eax, 0xda672df
je 0x4092b3
jmp 0x409010
mov eax, dword [ebp - 0x28]
sub eax, 0x1bfadc6e
je 0x4091ec
jmp 0x409023
mov eax, dword [ebp - 0x28]
sub eax, 0x2f4c0938
je 0x4093b0
jmp 0x409036
mov eax, dword [ebp - 0x28]
sub eax, 0x44c4d809
je 0x4091b3
jmp 0x409049
mov eax, dword [ebp - 0x28]
sub eax, 0x45c15326
je 0x40923a
jmp 0x40905c
mov eax, dword [ebp - 0x28]
sub eax, 0x47b58063
je 0x4092e6
jmp 0x40906f
mov eax, dword [ebp - 0x28]
sub eax, 0x5682bb20
je 0x4090d8
jmp 0x409082
mov eax, dword [ebp - 0x28]
sub eax, 0x5d22c331
je 0x4093bf
jmp 0x409095
mov eax, dword [ebp - 0x28]
sub eax, 0x78a44792
je 0x4092da
jmp 0x4090a8
mov eax, dword [ebp - 0x28]
sub eax, 0x7ba556f8
je 0x4090c0
jmp 0x4090bb
jmp 0x4093c6
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], 0x5682bb20
jmp 0x4093c6
mov ecx, dword [0x43357c]
mov eax, dword [0x433578]
mov edx, ecx
add edx, 0x98d0c608
sub edx, 1
sub edx, 0x98d0c608
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, 0x8f567ee7
mov ecx, 0xe545ea35
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x4093c6
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 [0x43357c]
mov ecx, dword [0x433578]
mov edx, eax
sub edx, 0xf46a4142
sub edx, 1
add edx, 0xf46a4142
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, 0x8f567ee7
mov ecx, 0x44c4d809
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x4093c6
mov dl, byte [ebp - 0x11]
mov eax, 0x902d8542
mov ecx, 0xb30a208d
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x4093c6
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
sub esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0x1bfadc6e
jmp 0x4093c6
mov eax, dword [0x43357c]
mov ecx, dword [0x433578]
mov edx, eax
add edx, 0x862873ed
sub edx, 1
sub edx, 0x862873ed
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, 0x2f4c0938
mov ecx, 0x45c15326
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x4093c6
mov eax, dword [ebp - 0x10]
cmp eax, 0
setne al
and al, 1
mov byte [ebp - 9], al
mov ecx, dword [0x43357c]
mov eax, dword [0x433578]
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, 0x2f4c0938
mov ecx, 0xda672df
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x4093c6
mov dword [ebp - 0x20], 0xd7480cc
jmp 0x4093c6
mov dl, byte [ebp - 9]
mov eax, 0x78a44792
mov ecx, 0x47b58063
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x4093c6
mov dword [ebp - 0x20], 0x902d8542
jmp 0x4093c6
mov eax, dword [0x43357c]
mov ecx, dword [0x433578]
mov edx, eax
add edx, 0x4857aff3
sub edx, 1
sub edx, 0x4857aff3
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, 0x5d22c331
mov ecx, 0xa1dcb5e8
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x4093c6
mov eax, dword [0x43357c]
mov ecx, dword [0x433578]
mov edx, eax
sub edx, 0x74d1cb64
sub edx, 1
add edx, 0x74d1cb64
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, 0x5d22c331
mov ecx, 0x9ecc0a75
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x4093c6
mov dword [ebp - 0x20], 0x902d8542
jmp 0x4093c6
add esp, 0x24
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 - 0x20], 0xe545ea35
jmp 0x4093c6
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], 0x45c15326
jmp 0x4093c6
mov dword [ebp - 0x20], 0xa1dcb5e8
jmp 0x408f75