Function at 0x4128d0
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 dword [ebp - 0x24], eax
mov eax, dword [0x442080]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov ecx, dword [0x443554]
mov eax, dword [0x443550]
mov edx, ecx
sub edx, 0x2404521b
sub edx, 1
add edx, 0x2404521b
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
and cl, 1
mov byte [ebp - 0x1a], cl
cmp eax, 0xa
setl al
and al, 1
mov byte [ebp - 0x19], al
mov dword [ebp - 0x20], 0xc94ba010
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
sub eax, 0x80465d88
je 0x412cdc
jmp 0x41293e
mov eax, dword [ebp - 0x28]
sub eax, 0x87ae0ee5
je 0x412fa6
jmp 0x412951
mov eax, dword [ebp - 0x28]
sub eax, 0x94e5c8e0
je 0x412bdc
jmp 0x412964
mov eax, dword [ebp - 0x28]
sub eax, 0x9817ae42
je 0x412d1d
jmp 0x412977
mov eax, dword [ebp - 0x28]
sub eax, 0xa7cc2670
je 0x412f95
jmp 0x41298a
mov eax, dword [ebp - 0x28]
sub eax, 0xb0ee58f2
je 0x412fcd
jmp 0x41299d
mov eax, dword [ebp - 0x28]
sub eax, 0xbefe1a62
je 0x412c07
jmp 0x4129b0
mov eax, dword [ebp - 0x28]
sub eax, 0xc40bb6e9
je 0x412ed4
jmp 0x4129c3
mov eax, dword [ebp - 0x28]
sub eax, 0xc94ba010
je 0x412af8
jmp 0x4129d6
mov eax, dword [ebp - 0x28]
sub eax, 0xcf74d15b
je 0x412ec8
jmp 0x4129e9
mov eax, dword [ebp - 0x28]
sub eax, 0xdff918df
je 0x412d02
jmp 0x4129fc
mov eax, dword [ebp - 0x28]
sub eax, 0xe1fe3ad4
je 0x412fc1
jmp 0x412a0f
mov eax, dword [ebp - 0x28]
sub eax, 0xe68c802f
je 0x412bbc
jmp 0x412a22
mov eax, dword [ebp - 0x28]
sub eax, 0xfb6e2377
je 0x412c7a
jmp 0x412a35
mov eax, dword [ebp - 0x28]
sub eax, 0x7ad9812
je 0x412cd0
jmp 0x412a48
mov eax, dword [ebp - 0x28]
sub eax, 0xe5be38c
je 0x412b43
jmp 0x412a5b
mov eax, dword [ebp - 0x28]
sub eax, 0x10c3de53
je 0x412fb2
jmp 0x412a6e
mov eax, dword [ebp - 0x28]
sub eax, 0x115375c4
je 0x412fd9
jmp 0x412a81
mov eax, dword [ebp - 0x28]
sub eax, 0x18d88932
je 0x412f47
jmp 0x412a94
mov eax, dword [ebp - 0x28]
sub eax, 0x3b42a4b7
je 0x412de2
jmp 0x412aa7
mov eax, dword [ebp - 0x28]
sub eax, 0x48a8eadb
je 0x412e55
jmp 0x412aba
mov eax, dword [ebp - 0x28]
sub eax, 0x4caff9d6
je 0x412d63
jmp 0x412acd
mov eax, dword [ebp - 0x28]
sub eax, 0x65133cf8
je 0x412bc8
jmp 0x412ae0
mov eax, dword [ebp - 0x28]
sub eax, 0x7d716819
je 0x412dd6
jmp 0x412af3
jmp 0x412fe0
mov bl, byte [ebp - 0x1a]
mov dh, byte [ebp - 0x19]
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, 0x87ae0ee5
mov ecx, 0xe5be38c
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x412fe0
push eax
mov eax, esp
mov dword [ebp - 0x18], eax
mov ecx, dword [0x443554]
mov eax, dword [0x443550]
mov edx, ecx
add edx, 0xab884af4
sub edx, 1
sub edx, 0xab884af4
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, 0x87ae0ee5
mov ecx, 0xe68c802f
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x412fe0
mov dword [ebp - 0x20], 0x65133cf8
jmp 0x412fe0
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x18]
mov dword [eax], ecx
mov dword [ebp - 0x20], 0x94e5c8e0
jmp 0x412fe0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov edx, eax
mov eax, 0xc40bb6e9
mov ecx, 0xbefe1a62
cmp edx, 0xffffffff
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x412fe0
mov ecx, dword [0x443554]
mov eax, dword [0x443550]
mov edx, ecx
add edx, 0x1cc14c1
sub edx, 1
sub edx, 0x1cc14c1
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, 0x10c3de53
mov ecx, 0xfb6e2377
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x412fe0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov eax, dword [0x443554]
mov ecx, dword [0x443550]
mov edx, eax
add edx, 0x8307a9e
sub edx, 1
sub edx, 0x8307a9e
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, 0x10c3de53
mov ecx, 0x7ad9812
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x412fe0
mov dword [ebp - 0x20], 0x80465d88
jmp 0x412fe0
mov eax, dword [ebp - 0x14]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp eax, 0
setne al
and al, 1
mov byte [ebp - 0xd], al
mov dword [ebp - 0x20], 0xdff918df
jmp 0x412fe0
mov dl, byte [ebp - 0xd]
mov eax, 0x9817ae42
mov ecx, 0x3b42a4b7
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x412fe0
mov eax, dword [0x443554]
mov ecx, dword [0x443550]
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, 0xe1fe3ad4
mov ecx, 0x4caff9d6
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x412fe0
mov ecx, dword [0x443554]
mov eax, dword [0x443550]
mov edx, ecx
sub edx, 0x77f45895
sub edx, 1
add edx, 0x77f45895
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, 0xe1fe3ad4
mov ecx, 0x7d716819
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x412fe0
mov dword [ebp - 0x20], 0xc40bb6e9
jmp 0x412fe0
mov ecx, dword [0x443554]
mov eax, dword [0x443550]
mov edx, ecx
add edx, 0xc904fbfb
sub edx, 1
sub edx, 0xc904fbfb
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, 0xb0ee58f2
mov ecx, 0x48a8eadb
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x412fe0
mov ecx, dword [0x443554]
mov eax, dword [0x443550]
mov edx, ecx
add edx, 0xe04c11e7
sub edx, 1
sub edx, 0xe04c11e7
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, 0xb0ee58f2
mov ecx, 0xcf74d15b
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x412fe0
mov dword [ebp - 0x20], 0xc40bb6e9
jmp 0x412fe0
mov ecx, dword [0x443554]
mov eax, dword [0x443550]
mov edx, ecx
sub edx, 0xe299b8a7
sub edx, 1
add edx, 0xe299b8a7
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, 0x115375c4
mov ecx, 0x18d88932
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x412fe0
mov eax, dword [0x443554]
mov ecx, dword [0x443550]
mov edx, eax
add edx, 0xe3f2ab9d
sub edx, 1
sub edx, 0xe3f2ab9d
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, 0x115375c4
mov ecx, 0xa7cc2670
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x412fe0
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0042ae40
lea esp, [ebp - 8]
pop esi
pop ebx
pop ebp
ret
mov dword [ebp - 0x20], 0xe5be38c
jmp 0x412fe0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], 0xfb6e2377
jmp 0x412fe0
mov dword [ebp - 0x20], 0x4caff9d6
jmp 0x412fe0
mov dword [ebp - 0x20], 0x48a8eadb
jmp 0x412fe0
mov dword [ebp - 0x20], 0x18d88932
jmp 0x412928