Function at 0x40c2a0
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 - 0x28], eax
mov eax, dword [0x43c080]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov ecx, dword [0x43d54c]
mov eax, dword [0x43d548]
mov edx, ecx
add edx, 0xb948d28f
sub edx, 1
sub edx, 0xb948d28f
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
and cl, 1
mov byte [ebp - 0x1e], cl
cmp eax, 0xa
setl al
and al, 1
mov byte [ebp - 0x1d], al
mov dword [ebp - 0x24], 0x8fdb26ca
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
sub eax, 0x841dcd9a
je 0x40c55a
jmp 0x40c30e
mov eax, dword [ebp - 0x2c]
sub eax, 0x8725bf23
je 0x40c7ec
jmp 0x40c321
mov eax, dword [ebp - 0x2c]
sub eax, 0x8fdb26ca
je 0x40c48f
jmp 0x40c334
mov eax, dword [ebp - 0x2c]
sub eax, 0x9eb9f303
je 0x40c620
jmp 0x40c347
mov eax, dword [ebp - 0x2c]
sub eax, 0xca938aa4
je 0x40c6ae
jmp 0x40c35a
mov eax, dword [ebp - 0x2c]
sub eax, 0xcd806578
je 0x40c56e
jmp 0x40c36d
mov eax, dword [ebp - 0x2c]
sub eax, 0xe250365e
je 0x40c51d
jmp 0x40c380
mov eax, dword [ebp - 0x2c]
sub eax, 0xe94e9069
je 0x40c700
jmp 0x40c393
mov eax, dword [ebp - 0x2c]
sub eax, 0xf48c9b69
je 0x40c614
jmp 0x40c3a6
mov eax, dword [ebp - 0x2c]
sub eax, 0xf6c0c9b3
je 0x40c531
jmp 0x40c3b9
mov eax, dword [ebp - 0x2c]
sub eax, 0xe39e92a
je 0x40c7b1
jmp 0x40c3cc
mov eax, dword [ebp - 0x2c]
sub eax, 0x2ff9235d
je 0x40c794
jmp 0x40c3df
mov eax, dword [ebp - 0x2c]
sub eax, 0x34104d60
je 0x40c5bc
jmp 0x40c3f2
mov eax, dword [ebp - 0x2c]
sub eax, 0x35c04987
je 0x40c63b
jmp 0x40c405
mov eax, dword [ebp - 0x2c]
sub eax, 0x3714be54
je 0x40c7c5
jmp 0x40c418
mov eax, dword [ebp - 0x2c]
sub eax, 0x379178d8
je 0x40c7a0
jmp 0x40c42b
mov eax, dword [ebp - 0x2c]
sub eax, 0x40ec23b7
je 0x40c7e0
jmp 0x40c43e
mov eax, dword [ebp - 0x2c]
sub eax, 0x4a9c1f96
je 0x40c4b5
jmp 0x40c451
mov eax, dword [ebp - 0x2c]
sub eax, 0x54969e4b
je 0x40c511
jmp 0x40c464
mov eax, dword [ebp - 0x2c]
sub eax, 0x587c3106
je 0x40c746
jmp 0x40c477
mov eax, dword [ebp - 0x2c]
sub eax, 0x6357d284
je 0x40c6f4
jmp 0x40c48a
jmp 0x40c7f3
mov al, byte [ebp - 0x1e]
mov cl, byte [ebp - 0x1d]
mov dl, al
and dl, cl
xor al, cl
or dl, al
mov eax, 0xe39e92a
mov ecx, 0x4a9c1f96
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x40c7f3
mov ecx, dword [ebp - 0x28]
push eax
mov eax, esp
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [eax], ecx
mov eax, dword [0x43d54c]
mov ecx, dword [0x43d548]
mov edx, eax
sub edx, 0x5d2aa523
sub edx, 1
add edx, 0x5d2aa523
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, 0xe39e92a
mov ecx, 0x54969e4b
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x40c7f3
mov dword [ebp - 0x24], 0xe250365e
jmp 0x40c7f3
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x24], 0xf6c0c9b3
jmp 0x40c7f3
mov eax, dword [ebp - 0x18]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov edx, eax
mov eax, 0x379178d8
mov ecx, 0x841dcd9a
cmp edx, 0xffffffff
cmovne eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x40c7f3
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0xcd806578
jmp 0x40c7f3
mov eax, dword [0x43d54c]
mov ecx, dword [0x43d548]
mov edx, eax
sub edx, 0xe7012ba1
sub edx, 1
add edx, 0xe7012ba1
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, 0x3714be54
mov ecx, 0x34104d60
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x40c7f3
mov eax, dword [ebp - 0x14]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 0x10], eax
mov eax, dword [0x43d54c]
mov ecx, dword [0x43d548]
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, 0x3714be54
mov ecx, 0xf48c9b69
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x40c7f3
mov dword [ebp - 0x24], 0x9eb9f303
jmp 0x40c7f3
mov edx, dword [ebp - 0x10]
mov eax, 0x35c04987
mov ecx, 0xe94e9069
cmp edx, 0
cmovne eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x40c7f3
mov ecx, dword [0x43d54c]
mov eax, dword [0x43d548]
mov edx, ecx
add edx, 0x68d92557
sub edx, 1
sub edx, 0x68d92557
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, 0x40ec23b7
mov ecx, 0xca938aa4
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x40c7f3
mov eax, dword [0x43d54c]
mov ecx, dword [0x43d548]
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, 0x40ec23b7
mov ecx, 0x6357d284
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x40c7f3
mov dword [ebp - 0x24], 0x379178d8
jmp 0x40c7f3
mov eax, dword [0x43d54c]
mov ecx, dword [0x43d548]
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, 0x8725bf23
mov ecx, 0x587c3106
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x40c7f3
mov eax, dword [0x43d54c]
mov ecx, dword [0x43d548]
mov edx, eax
add edx, 0x92e7e23
sub edx, 1
sub edx, 0x92e7e23
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, 0x8725bf23
mov ecx, 0x2ff9235d
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x40c7f3
mov dword [ebp - 0x24], 0x379178d8
jmp 0x40c7f3
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004256c0
lea esp, [ebp - 8]
pop esi
pop ebx
pop ebp
ret
mov ecx, dword [ebp - 0x28]
push eax
mov eax, esp
mov dword [eax], ecx
mov dword [ebp - 0x24], 0x4a9c1f96
jmp 0x40c7f3
mov eax, dword [ebp - 0x14]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 0x24], 0x34104d60
jmp 0x40c7f3
mov dword [ebp - 0x24], 0xca938aa4
jmp 0x40c7f3
mov dword [ebp - 0x24], 0x587c3106
jmp 0x40c2f8