Function at 0x10012ea0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10069918
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x10089430]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [ebp - 0x28]
push eax
call fcn.1002f810
mov ecx, eax
call fcn.1002f820
push 0x10
push str._binKwMusic.exe
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.10001990
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
setne bl
cmp dword [ebp - 0x14], 0x10
jb 0x10012f23
push dword [ebp - 0x28]
call fcn.100498af
add esp, 4
mov ecx, esi
test bl, bl
je 0x10013096
push 0
push 0
push str.uninstalltime
push str.1007
call fcn.10015650
push 0x1007aace
push str.setup_path
push str.PureKw
lea eax, [ebp - 0x58]
mov ecx, esi
push eax
call fcn.100153b0
mov dword [ebp - 4], 1
cmp dword [ebp - 0x48], 0
je 0x10013083
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
cmp dword [eax - 0xc], 0
je 0x10012f89
push eax
push 0
push str.installpath
push str.PureKw
call edi
mov eax, dword [esi + 4]
cmp dword [eax - 0xc], 0
je 0x10012fa1
push eax
push 0
push str.setup_path
push str.PureKw
call edi
mov eax, dword [esi + 4]
cmp dword [eax - 0xc], 0
je 0x10012fb9
push eax
push 0
push str.setup_time
push str.PureKw
call edi
mov eax, dword [esi + 4]
cmp dword [eax - 0xc], 0
je 0x10012fd1
push eax
push 0
push str.setup_cmd
push str.PureKw
call edi
lea eax, [ebp - 0x28]
push eax
call fcn.1002f810
mov ecx, eax
call fcn.1002f820
mov byte [ebp - 4], 2
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
cmovae eax, dword [ebp - 0x28]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.1003ba40
add esp, 8
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call fcn.1003a490
mov byte [ebp - 4], 5
cmp dword [ebp - 0x64], 8
jb 0x1001302b
push dword [ebp - 0x78]
call fcn.100498af
add esp, 4
xor eax, eax
mov dword [ebp - 0x64], 7
mov dword [ebp - 0x68], 0
mov word [ebp - 0x78], ax
cmp dword [esi + 0x18], eax
je 0x10013066
cmp dword [ebp - 0x30], eax
je 0x10013066
lea eax, [ebp - 0x40]
add esi, 8
push eax
mov ecx, esi
call fcn.1003b1d0
test al, al
jne 0x10013066
push 1
push esi
call fcn.1003bca0
add esp, 8
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.10002280
cmp dword [ebp - 0x14], 0x10
jb 0x10013083
push dword [ebp - 0x28]
call fcn.100498af
add esp, 4
cmp dword [ebp - 0x44], 0x10
jb 0x100130cf
push dword [ebp - 0x58]
call fcn.100498af
add esp, 4
jmp 0x100130cf
push 0xffffffffffffffff
push 0xffffffffffffffff
push str.uninstalltime
push str.1007
call fcn.10015120
or eax, edx
jne 0x100130cf
lea eax, [ebp - 0x60]
push eax
call fcn.1003bef0
add esp, 4
mov ecx, esi
push dword [eax + 4]
push dword [eax]
push str.uninstalltime
push str.1007
call fcn.10015650
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100498b4
mov esp, ebp
pop ebp
ret