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

Disassembly:
push 0x84
mov eax, 0x100582fa
call fcn.100418da
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 0x10012c2b
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 0x10012bbe
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.10005857
mov eax, esi
push eax
lea eax, [ebp - 0x5c]
add ebx, 0x1c
push eax
call fcn.100144fe
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.1000d610
test al, al
jne 0x10012af4
call fcn.1000f80e
push 0xffffffffffffffff
add eax, 0x1c
push 0
lea ecx, [ebp - 0x30]
call fcn.1000228e
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x10012ad6
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.10036cd4
add esp, 0x10
jmp 0x10012bac
mov esi, dword [ebp - 0x6c]
add esi, 0x1580
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10012b94
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.10032eb6
test eax, eax
je 0x10012b87
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.1003416b
add esp, 0x10
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.1000228e
push 0
push 1
lea esi, [ebp - 0x90]
call fcn.1000233f
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x10012b76
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 0x10012ae2
push dword [ebp - 0x54]
push dword [ebp - 0x50]
push str.software_install_date_not_found_GetFileTime_failed_:__s_s
jmp 0x10012b9f
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.10036cd4
add esp, 0xc
push 0
push 1
lea esi, [ebp - 0x4c]
mov byte [ebp - 4], 0
call fcn.1000233f
jmp 0x10012be7
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x10012bca
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.10036cd4
add esp, 0x10
cmp dword [ebp - 0x1c], 8
jne 0x10012c1f
push 1
push 6
pop eax
lea ecx, [ebp - 0x30]
call fcn.10014598
push 1
push 4
pop eax
lea ecx, [ebp - 0x30]
call fcn.10014598
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x10012c13
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.1000233f
call fcn.1004195d
ret