Function at 0x409930
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], 0x3738e3f4
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
sub eax, 0xa31e8fb4
je 0x409c3e
jmp 0x40995b
mov eax, dword [ebp - 0x28]
sub eax, 0xca5d9f4a
je 0x409d71
jmp 0x40996e
mov eax, dword [ebp - 0x28]
sub eax, 0xceaf08ac
je 0x409cbc
jmp 0x409981
mov eax, dword [ebp - 0x28]
sub eax, 0xcf8d6497
je 0x409b17
jmp 0x409994
mov eax, dword [ebp - 0x28]
sub eax, 0xdf035235
je 0x409ba2
jmp 0x4099a7
mov eax, dword [ebp - 0x28]
sub eax, 0xeafa104e
je 0x409c92
jmp 0x4099ba
mov eax, dword [ebp - 0x28]
sub eax, 0xeccc291e
je 0x409e80
jmp 0x4099cd
mov eax, dword [ebp - 0x28]
sub eax, 0x5798272
je 0x409e8c
jmp 0x4099e0
mov eax, dword [ebp - 0x28]
sub eax, 0x12310c42
je 0x409dfc
jmp 0x4099f3
mov eax, dword [ebp - 0x28]
sub eax, 0x182e99e1
je 0x409e9b
jmp 0x409a06
mov eax, dword [ebp - 0x28]
sub eax, 0x31719af0
je 0x409bcb
jmp 0x409a19
mov eax, dword [ebp - 0x28]
sub eax, 0x31922f2b
je 0x409d7d
jmp 0x409a2c
mov eax, dword [ebp - 0x28]
sub eax, 0x37061521
je 0x409e67
jmp 0x409a3f
mov eax, dword [ebp - 0x28]
sub eax, 0x3738e3f4
je 0x409ac9
jmp 0x409a52
mov eax, dword [ebp - 0x28]
sub eax, 0x4c66f0e7
je 0x409e6e
jmp 0x409a65
mov eax, dword [ebp - 0x28]
sub eax, 0x5cbff603
je 0x409b96
jmp 0x409a78
mov eax, dword [ebp - 0x28]
sub eax, 0x65b03df2
je 0x409c9e
jmp 0x409a8b
mov eax, dword [ebp - 0x28]
sub eax, 0x6dc17470
je 0x409d89
jmp 0x409a9e
mov eax, dword [ebp - 0x28]
sub eax, 0x711267a9
je 0x409d56
jmp 0x409ab1
mov eax, dword [ebp - 0x28]
sub eax, 0x78cd5d1a
je 0x409d02
jmp 0x409ac4
jmp 0x409ea2
mov eax, dword [0x439564]
mov ecx, dword [0x439560]
mov edx, eax
add edx, 0x53d5cead
sub edx, 1
sub edx, 0x53d5cead
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, 0x4c66f0e7
mov ecx, 0xcf8d6497
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x409ea2
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov ecx, dword [0x439564]
mov eax, dword [0x439560]
mov edx, ecx
sub edx, 0x744810d6
sub edx, 1
add edx, 0x744810d6
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, 0x4c66f0e7
mov ecx, 0x5cbff603
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x409ea2
mov dword [ebp - 0x20], 0xdf035235
jmp 0x409ea2
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
sub esp, 4
mov edx, eax
mov eax, 0x6dc17470
mov ecx, 0x31719af0
cmp edx, 0xffffffff
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x409ea2
mov ecx, dword [0x439564]
mov eax, dword [0x439560]
mov edx, ecx
sub edx, 0xb833551b
sub edx, 1
add edx, 0xb833551b
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, 0xeccc291e
mov ecx, 0xa31e8fb4
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x409ea2
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
mov eax, dword [0x439564]
mov ecx, dword [0x439560]
mov edx, eax
sub edx, 0x1281dc92
sub edx, 1
add edx, 0x1281dc92
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, 0xeccc291e
mov ecx, 0xeafa104e
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x409ea2
mov dword [ebp - 0x20], 0x65b03df2
jmp 0x409ea2
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
sub esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0xceaf08ac
jmp 0x409ea2
mov eax, dword [0x439564]
mov ecx, dword [0x439560]
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, 0x5798272
mov ecx, 0x78cd5d1a
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x409ea2
mov eax, dword [ebp - 0x10]
cmp eax, 0
setne al
and al, 1
mov byte [ebp - 9], al
mov eax, dword [0x439564]
mov ecx, dword [0x439560]
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, 0x5798272
mov ecx, 0x711267a9
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x409ea2
mov dl, byte [ebp - 9]
mov eax, 0xca5d9f4a
mov ecx, 0x31922f2b
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x409ea2
mov dword [ebp - 0x20], 0x6dc17470
jmp 0x409ea2
mov dword [ebp - 0x20], 0x6dc17470
jmp 0x409ea2
mov ecx, dword [0x439564]
mov eax, dword [0x439560]
mov edx, ecx
add edx, 0x6939ae5
sub edx, 1
sub edx, 0x6939ae5
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, 0x182e99e1
mov ecx, 0x12310c42
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x409ea2
mov ecx, dword [0x439564]
mov eax, dword [0x439560]
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, 0x182e99e1
mov ecx, 0x37061521
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x409ea2
add esp, 0x24
pop esi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], 0xcf8d6497
jmp 0x409ea2
mov dword [ebp - 0x20], 0xa31e8fb4
jmp 0x409ea2
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], 0x78cd5d1a
jmp 0x409ea2
mov dword [ebp - 0x20], 0x12310c42
jmp 0x409945