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, 0x1c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0xbd992e80
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
sub eax, 0x821d0447
je 0x409c1e
jmp 0x40995b
mov eax, dword [ebp - 0x20]
sub eax, 0x835454d5
je 0x409d7d
jmp 0x40996e
mov eax, dword [ebp - 0x20]
sub eax, 0x86e4459f
je 0x409e61
jmp 0x409981
mov eax, dword [ebp - 0x20]
sub eax, 0x88cb0fcf
je 0x409b9e
jmp 0x409994
mov eax, dword [ebp - 0x20]
sub eax, 0xa865de75
je 0x409ca4
jmp 0x4099a7
mov eax, dword [ebp - 0x20]
sub eax, 0xa8bf3a23
je 0x409dcb
jmp 0x4099ba
mov eax, dword [ebp - 0x20]
sub eax, 0xbae42840
je 0x409e3d
jmp 0x4099cd
mov eax, dword [ebp - 0x20]
sub eax, 0xbc3e6612
je 0x409c89
jmp 0x4099e0
mov eax, dword [ebp - 0x20]
sub eax, 0xbd992e80
je 0x409ac9
jmp 0x4099f3
mov eax, dword [ebp - 0x20]
sub eax, 0xed160041
je 0x409e55
jmp 0x409a06
mov eax, dword [ebp - 0x20]
sub eax, 0xf255de1f
je 0x409d17
jmp 0x409a19
mov eax, dword [ebp - 0x20]
sub eax, 0xf602b5f9
je 0x409baa
jmp 0x409a2c
mov eax, dword [ebp - 0x20]
sub eax, 0x20992cb8
je 0x409b52
jmp 0x409a3f
mov eax, dword [ebp - 0x20]
sub eax, 0x370f4e84
je 0x409d71
jmp 0x409a52
mov eax, dword [ebp - 0x20]
sub eax, 0x481bd2cb
je 0x409e49
jmp 0x409a65
mov eax, dword [ebp - 0x20]
sub eax, 0x4aeff7ee
je 0x409b04
jmp 0x409a78
mov eax, dword [ebp - 0x20]
sub eax, 0x54e5a4c6
je 0x409bd0
jmp 0x409a8b
mov eax, dword [ebp - 0x20]
sub eax, 0x5e87f27e
je 0x409d65
jmp 0x409a9e
mov eax, dword [ebp - 0x20]
sub eax, 0x6cedc6f3
je 0x409e36
jmp 0x409ab1
mov eax, dword [ebp - 0x20]
sub eax, 0x7f6facd4
je 0x409adb
jmp 0x409ac4
jmp 0x409e68
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0x7f6facd4
jmp 0x409e68
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
sub esp, 4
mov edx, eax
mov eax, 0x835454d5
mov ecx, 0x4aeff7ee
cmp edx, 0xffffffff
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x409e68
mov eax, dword [0x439574]
mov ecx, dword [0x439570]
mov edx, eax
add edx, 0xa8e04910
sub edx, 1
sub edx, 0xa8e04910
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, 0xbae42840
mov ecx, 0x20992cb8
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x409e68
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [0x439574]
mov ecx, dword [0x439570]
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, 0xbae42840
mov ecx, 0x88cb0fcf
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x409e68
mov dword [ebp - 0x18], 0xf602b5f9
jmp 0x409e68
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 - 0x18], 0x54e5a4c6
jmp 0x409e68
mov eax, dword [0x439574]
mov ecx, dword [0x439570]
mov edx, eax
add edx, 0x9b838fff
sub edx, 1
sub edx, 0x9b838fff
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, 0x481bd2cb
mov ecx, 0x821d0447
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x409e68
mov ecx, dword [0x439574]
mov eax, dword [0x439570]
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, 0x481bd2cb
mov ecx, 0xbc3e6612
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x409e68
mov dl, byte [ebp - 9]
mov eax, 0xa865de75
mov ecx, 0x370f4e84
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x409e68
mov ecx, dword [0x439574]
mov eax, dword [0x439570]
mov edx, ecx
add edx, 0x1dd93716
sub edx, 1
sub edx, 0x1dd93716
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, 0xed160041
mov ecx, 0xf255de1f
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x409e68
mov eax, dword [0x439574]
mov ecx, dword [0x439570]
mov edx, eax
sub edx, 0xff714866
sub edx, 1
add edx, 0xff714866
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, 0xed160041
mov ecx, 0x5e87f27e
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x409e68
mov dword [ebp - 0x18], 0x835454d5
jmp 0x409e68
mov dword [ebp - 0x18], 0x835454d5
jmp 0x409e68
mov eax, dword [0x439574]
mov ecx, dword [0x439570]
mov edx, eax
sub edx, 0x51b44f56
sub edx, 1
add edx, 0x51b44f56
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, 0x86e4459f
mov ecx, 0xa8bf3a23
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x409e68
mov ecx, dword [0x439574]
mov eax, dword [0x439570]
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, 0x86e4459f
mov ecx, 0x6cedc6f3
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x409e68
add esp, 0x1c
pop esi
pop ebx
pop ebp
ret
mov dword [ebp - 0x18], 0x20992cb8
jmp 0x409e68
mov dword [ebp - 0x18], 0x821d0447
jmp 0x409e68
mov dword [ebp - 0x18], 0xf255de1f
jmp 0x409e68
mov dword [ebp - 0x18], 0xa8bf3a23
jmp 0x409945