Function at 0x414c20
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
sub esp, 0x28
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [0x446080]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov ecx, dword [0x44754c]
mov eax, dword [0x447548]
xor esi, esi
sub esi, 1
mov edx, ecx
add edx, esi
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
and cl, 1
mov byte [ebp - 0x22], cl
cmp eax, 0xa
setl al
and al, 1
mov byte [ebp - 0x21], al
mov dword [ebp - 0x28], 0x600898e2
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
sub eax, 0x81f5b73b
je 0x414f1b
jmp 0x414c86
mov eax, dword [ebp - 0x30]
sub eax, 0x909d9d17
je 0x415308
jmp 0x414c99
mov eax, dword [ebp - 0x30]
sub eax, 0x97bd009d
je 0x415029
jmp 0x414cac
mov eax, dword [ebp - 0x30]
sub eax, 0x9a5ab2ab
je 0x414e66
jmp 0x414cbf
mov eax, dword [ebp - 0x30]
sub eax, 0x9ad493c3
je 0x414f4a
jmp 0x414cd2
mov eax, dword [ebp - 0x30]
sub eax, 0x9b38c5e0
je 0x414f98
jmp 0x414ce5
mov eax, dword [ebp - 0x30]
sub eax, 0xa2c54e05
je 0x415077
jmp 0x414cf8
mov eax, dword [ebp - 0x30]
sub eax, 0xa41469ef
je 0x4152ed
jmp 0x414d0b
mov eax, dword [ebp - 0x30]
sub eax, 0xa90a761e
je 0x4152d2
jmp 0x414d1e
mov eax, dword [ebp - 0x30]
sub eax, 0xcafdd42f
je 0x415211
jmp 0x414d31
mov eax, dword [ebp - 0x30]
sub eax, 0xcf6c29fe
je 0x415186
jmp 0x414d44
mov eax, dword [ebp - 0x30]
sub eax, 0xf084486d
je 0x414ee7
jmp 0x414d57
mov eax, dword [ebp - 0x30]
sub eax, 0xe947e34
je 0x414f36
jmp 0x414d6a
mov eax, dword [ebp - 0x30]
sub eax, 0x1c0c7be9
je 0x415205
jmp 0x414d7d
mov eax, dword [ebp - 0x30]
sub eax, 0x23f36a05
je 0x4152be
jmp 0x414d90
mov eax, dword [ebp - 0x30]
sub eax, 0x282771f6
je 0x414ef3
jmp 0x414da3
mov eax, dword [ebp - 0x30]
sub eax, 0x312f2552
je 0x4151f9
jmp 0x414db6
mov eax, dword [ebp - 0x30]
sub eax, 0x328b49d7
je 0x4152fc
jmp 0x414dc9
mov eax, dword [ebp - 0x30]
sub eax, 0x58d342b1
je 0x4152ad
jmp 0x414ddc
mov eax, dword [ebp - 0x30]
sub eax, 0x600898e2
je 0x414e40
jmp 0x414def
mov eax, dword [ebp - 0x30]
sub eax, 0x6070df3d
je 0x415113
jmp 0x414e02
mov eax, dword [ebp - 0x30]
sub eax, 0x64ba22f2
je 0x4150f8
jmp 0x414e15
mov eax, dword [ebp - 0x30]
sub eax, 0x6d8dc9d2
je 0x41525f
jmp 0x414e28
mov eax, dword [ebp - 0x30]
sub eax, 0x738b2f84
je 0x41501d
jmp 0x414e3b
jmp 0x41530f
mov al, byte [ebp - 0x22]
mov cl, byte [ebp - 0x21]
mov dl, al
and dl, cl
xor al, cl
or dl, al
mov eax, 0x23f36a05
mov ecx, 0x9a5ab2ab
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x28], eax
jmp 0x41530f
mov ecx, dword [ebp - 0x2c]
push eax
mov eax, esp
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [eax], ecx
mov ecx, dword [0x44754c]
mov eax, dword [0x447548]
mov edx, ecx
add edx, 0xa0ee8c6d
sub edx, 1
sub edx, 0xa0ee8c6d
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, 0x23f36a05
mov ecx, 0xf084486d
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x28], eax
jmp 0x41530f
mov dword [ebp - 0x28], 0x282771f6
jmp 0x41530f
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
setne al
and al, 1
mov byte [ebp - 0x19], al
mov dword [ebp - 0x28], 0x81f5b73b
jmp 0x41530f
mov dl, byte [ebp - 0x19]
mov eax, 0xcafdd42f
mov ecx, 0xe947e34
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x28], eax
jmp 0x41530f
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0x9ad493c3
jmp 0x41530f
mov eax, dword [0x44754c]
mov ecx, dword [0x447548]
mov edx, eax
sub edx, 0xc882fa39
sub edx, 1
add edx, 0xc882fa39
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, 0xa90a761e
mov ecx, 0x9b38c5e0
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x28], eax
jmp 0x41530f
mov eax, dword [ebp - 0x18]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 0x14], eax
mov ecx, dword [0x44754c]
mov eax, dword [0x447548]
mov edx, ecx
add edx, 0x428a1f50
sub edx, 1
sub edx, 0x428a1f50
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, 0xa90a761e
mov ecx, 0x738b2f84
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x28], eax
jmp 0x41530f
mov dword [ebp - 0x28], 0x97bd009d
jmp 0x41530f
mov eax, dword [0x44754c]
mov ecx, dword [0x447548]
mov edx, eax
sub edx, 0x8bca95b5
sub edx, 1
add edx, 0x8bca95b5
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, 0xa41469ef
mov ecx, 0xa2c54e05
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x28], eax
jmp 0x41530f
mov eax, dword [ebp - 0x14]
cmp eax, 0
setne al
and al, 1
mov byte [ebp - 0xd], al
mov ecx, dword [0x44754c]
mov eax, dword [0x447548]
mov edx, ecx
add edx, 0x96bfc3e4
sub edx, 1
sub edx, 0x96bfc3e4
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, 0xa41469ef
mov ecx, 0x64ba22f2
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x28], eax
jmp 0x41530f
mov dl, byte [ebp - 0xd]
mov eax, 0x6070df3d
mov ecx, 0x1c0c7be9
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x28], eax
jmp 0x41530f
mov ecx, dword [0x44754c]
mov eax, dword [0x447548]
mov edx, ecx
sub edx, 0xef0d3803
sub edx, 1
add edx, 0xef0d3803
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, 0x328b49d7
mov ecx, 0xcf6c29fe
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x28], eax
jmp 0x41530f
mov ecx, dword [0x44754c]
mov eax, dword [0x447548]
mov edx, ecx
add edx, 0x54b83e75
sub edx, 1
sub edx, 0x54b83e75
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, 0x328b49d7
mov ecx, 0x312f2552
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x28], eax
jmp 0x41530f
mov dword [ebp - 0x28], 0xcafdd42f
jmp 0x41530f
mov dword [ebp - 0x28], 0xcafdd42f
jmp 0x41530f
mov eax, dword [0x44754c]
mov ecx, dword [0x447548]
mov edx, eax
add edx, 0x738d9247
sub edx, 1
sub edx, 0x738d9247
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, 0x909d9d17
mov ecx, 0x6d8dc9d2
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x28], eax
jmp 0x41530f
mov eax, dword [0x44754c]
mov ecx, dword [0x447548]
mov edx, eax
sub edx, 0x4753a02
sub edx, 1
add edx, 0x4753a02
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, 0x909d9d17
mov ecx, 0x58d342b1
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x28], eax
jmp 0x41530f
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0042e880
lea esp, [ebp - 8]
pop esi
pop ebx
pop ebp
ret
mov ecx, dword [ebp - 0x2c]
push eax
mov eax, esp
mov dword [eax], ecx
mov dword [ebp - 0x28], 0x9a5ab2ab
jmp 0x41530f
mov eax, dword [ebp - 0x18]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 0x28], 0x9b38c5e0
jmp 0x41530f
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x28], 0xa2c54e05
jmp 0x41530f
mov dword [ebp - 0x28], 0xcf6c29fe
jmp 0x41530f
mov dword [ebp - 0x28], 0x6d8dc9d2
jmp 0x414c70