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

Disassembly:
push 0x84
mov eax, 0x10058cb7
call fcn.100422ea
mov edi, edx
lea eax, [edi + 0x80]
push eax
mov ebx, ecx
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x50], eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x10012c34
lea eax, [edi + 0x1100]
push eax
lea esi, [ebp - 0x30]
mov dword [ebp - 0x68], eax
call fcn.10002030
and dword [ebp - 4], 0
cmp dword [ebp - 0x1c], 0
jne 0x10012bc7
push dword [ebp - 0x50]
lea esi, [ebp - 0x4c]
call fcn.10002030
lea eax, [edi + 0xc80]
push eax
mov dword [ebp - 0x54], eax
mov eax, esi
push eax
mov byte [ebp - 4], 1
call fcn.10005834
mov eax, esi
push eax
lea eax, [ebp - 0x5c]
add ebx, 0x1c
push eax
call fcn.1001449f
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x70], eax
mov eax, dword [ebx]
lea edi, [ebp - 0x74]
lea esi, [ebp - 0x5c]
mov dword [ebp - 0x74], eax
call fcn.1002c705
test al, al
jne 0x10012afd
call fcn.10011a28
push 0xffffffffffffffff
add eax, 0x1c
push 0
lea ecx, [ebp - 0x30]
call fcn.100022bf
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x10012adf
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x54]
push dword [ebp - 0x50]
push str.software_install_date_found_in_wmi:__s_s_s
mov ebx, str.clibaseDbg
call fcn.1003743a
add esp, 0x10
jmp 0x10012bb5
mov esi, dword [ebp - 0x6c]
add esi, 0x1580
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10012b9d
xor eax, eax
mov word [ebp - 0x64], ax
lea edi, [ebp - 0x62]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x64]
push eax
push esi
call fcn.100334f8
test eax, eax
je 0x10012b90
movzx eax, word [ebp - 0x5e]
push eax
movzx eax, word [ebp - 0x62]
push eax
movzx eax, word [ebp - 0x64]
push eax
push str._04d_02d_02d
lea ecx, [ebp - 0x90]
call fcn.100347ad
add esp, 0x10
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.100022bf
push 0
push 1
lea esi, [ebp - 0x90]
call fcn.10002370
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x10012b7f
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x54]
push dword [ebp - 0x50]
push str.software_install_date_found_from_file:__s_s_s
jmp 0x10012aeb
push dword [ebp - 0x54]
push dword [ebp - 0x50]
push str.software_install_date_not_found_GetFileTime_failed_:__s_s
jmp 0x10012ba8
push dword [ebp - 0x54]
push dword [ebp - 0x50]
push str.software_install_date_not_found_no_way_to_fetch_:__s_s
mov ebx, str.clibaseDbg
call fcn.1003743a
add esp, 0xc
push 0
push 1
lea esi, [ebp - 0x4c]
mov byte [ebp - 4], 0
call fcn.10002370
jmp 0x10012bf0
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x10012bd3
lea eax, [ebp - 0x2c]
push eax
add edi, 0xc80
push edi
push dword [ebp - 0x50]
mov ebx, str.clibaseDbg
push str.software_install_date_found_in_registry:__s_s_s
call fcn.1003743a
add esp, 0x10
cmp dword [ebp - 0x1c], 8
jne 0x10012c28
push 1
push 6
pop eax
lea ecx, [ebp - 0x30]
call fcn.10014539
push 1
push 4
pop eax
lea ecx, [ebp - 0x30]
call fcn.10014539
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x10012c1c
lea eax, [ebp - 0x2c]
push 0x40
push eax
push dword [ebp - 0x68]
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
push 0
push 1
lea esi, [ebp - 0x30]
call fcn.10002370
call fcn.1004236d
ret