Function at 0x408100
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 eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], 0x44b87f86
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
sub eax, 0x8a3e3604
je 0x4083a2
jmp 0x40812e
mov eax, dword [ebp - 0x24]
sub eax, 0x91f116e0
je 0x408387
jmp 0x408141
mov eax, dword [ebp - 0x24]
sub eax, 0xd2726a25
je 0x40847a
jmp 0x408154
mov eax, dword [ebp - 0x24]
sub eax, 0xd75b0e90
je 0x40830e
jmp 0x408167
mov eax, dword [ebp - 0x24]
sub eax, 0xf7e9379e
je 0x408467
jmp 0x40817a
mov eax, dword [ebp - 0x24]
sub eax, 0xfb196acf
je 0x40826b
jmp 0x40818d
mov eax, dword [ebp - 0x24]
sub eax, 0xffacb11c
je 0x408489
jmp 0x4081a0
mov eax, dword [ebp - 0x24]
sub eax, 0x3040f506
je 0x408415
jmp 0x4081b3
mov eax, dword [ebp - 0x24]
sub eax, 0x33cd5fa3
je 0x408473
jmp 0x4081c6
mov eax, dword [ebp - 0x24]
sub eax, 0x44b87f86
je 0x40822a
jmp 0x4081d9
mov eax, dword [ebp - 0x24]
sub eax, 0x473af3b1
je 0x40829b
jmp 0x4081ec
mov eax, dword [ebp - 0x24]
sub eax, 0x53006940
je 0x40845b
jmp 0x4081ff
mov eax, dword [ebp - 0x24]
sub eax, 0x63ce8186
je 0x408250
jmp 0x408212
mov eax, dword [ebp - 0x24]
sub eax, 0x7c26fcd3
je 0x40827d
jmp 0x408225
jmp 0x408490
mov eax, dword [ebp - 0x1c]
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 - 0x15], al
mov dword [ebp - 0x20], 0x63ce8186
jmp 0x408490
mov dl, byte [ebp - 0x15]
mov eax, 0x33cd5fa3
mov ecx, 0xfb196acf
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x408490
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], 0x7c26fcd3
jmp 0x408490
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], 0x473af3b1
jmp 0x408490
mov ecx, dword [0x43955c]
mov eax, dword [0x439558]
mov edx, ecx
sub edx, 0xd6213dc2
sub edx, 1
add edx, 0xd6213dc2
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, 0xd2726a25
mov ecx, 0xd75b0e90
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x408490
mov eax, dword [ebp - 0x10]
cmp eax, 0
setne al
and al, 1
mov byte [ebp - 9], al
mov ecx, dword [0x43955c]
mov eax, dword [0x439558]
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, 0xd2726a25
mov ecx, 0x91f116e0
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x408490
mov dl, byte [ebp - 9]
mov eax, 0x8a3e3604
mov ecx, 0xf7e9379e
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x408490
mov ecx, dword [0x43955c]
mov eax, dword [0x439558]
mov edx, ecx
add edx, 0x119ff5b8
sub edx, 1
sub edx, 0x119ff5b8
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, 0xffacb11c
mov ecx, 0x3040f506
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x408490
mov eax, dword [0x43955c]
mov ecx, dword [0x439558]
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, 0xffacb11c
mov ecx, 0x53006940
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x408490
mov dword [ebp - 0x20], 0x33cd5fa3
jmp 0x408490
mov dword [ebp - 0x20], 0x33cd5fa3
jmp 0x408490
add esp, 0x20
pop esi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], 0xd75b0e90
jmp 0x408490
mov dword [ebp - 0x20], 0x3040f506
jmp 0x408118