Function at 0x43a37a
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
push 0x258
mov eax, 0x5aa149
call fcn.00588aeb
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x264]
mov dword [ebp - 0x240], eax
call fcn.0046c48f
xor ebx, ebx
xor eax, eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], ebx
mov word [ebp - 0x234], ax
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 1
call fcn.00462e03
push 0x5c9e94
mov edi, str.CInstallAction::CheckNeedOfRestartForLMPP
push edi
push 5
mov byte [ebp - 4], 2
call fcn.00423f75
add esp, 0xc
test esi, esi
jne 0x43a3ff
push str.pInfo_is_invalid._n
push edi
push 2
call fcn.00423f75
add esp, 0xc
jmp 0x43a5e8
push 0x2c
push esi
lea ecx, [ebp - 0x264]
call fcn.0046d9ee
lea ecx, [ebp - 0x264]
call fcn.0046c815
push 2
pop esi
cmp eax, esi
je 0x43a428
push str.Info_format_is_invalid._n
push edi
push esi
jmp 0x43a3f2
push 0x20
lea ecx, [ebp - 0x264]
call fcn.0046e2e7
cmp dword [ebp + 0xc], 0
je 0x43a47c
push str._for_Language_Monitor_._n
push edi
push 4
call fcn.00423f75
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0x105
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x43a4c0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Cannot_Get_Language_Monitor_directory.__0x_1_lx___n
push edi
push esi
call fcn.00423f75
add esp, 0x10
jmp 0x43a5e8
push str._for_Print_Processor_._n
push edi
push 4
call fcn.00423f75
add esp, 0xc
lea eax, [ebp - 0x238]
push eax
push 0x20a
lea eax, [ebp - 0x21c]
push eax
push 1
push ebx
push ebx
mov dword [ebp - 0x238], ebx
call sub.WINSPOOL.DRV_GetPrintProcessorDirectoryW
test eax, eax
jne 0x43a4c0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Cannot_Get_PrintProcessor_directory.__0x_1_lx___n
jmp 0x43a46d
cmp word [ebp - 0x21c], 0
jne 0x43a4ce
mov eax, ebx
jmp 0x43a4db
lea eax, [ebp - 0x21c]
push eax
call fcn.00588144
pop ecx
push eax
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x234]
call fcn.00403cef
push 1
lea ecx, [ebp - 0x264]
call fcn.0046caa8
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.0046f03c
cmp dword [ebp - 0x220], 8
lea eax, [ebp - 0x234]
cmovae eax, dword [ebp - 0x234]
push eax
push str.filepath___1_s__n
push edi
push 4
call fcn.00423f75
add esp, 0x18
lea ecx, [ebp - 0x248]
push 0x2000000
push str.SystemCurrentControlSetControlSession_Manager
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004632c3
mov dword [ebp - 0x24c], eax
test eax, eax
je 0x43a6b2
lea ecx, [ebp - 0x238]
push ecx
push ebx
push ebx
push ebx
xor esi, esi
push str.PendingFileRenameOperations
mov dword [ebp - 0x238], ebx
mov edi, ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
inc esi
push eax
mov dword [ebp - 0x23c], esi
call ebx
mov eax, dword [ebp - 0x238]
test eax, eax
je 0x43a5d2
lea esi, [eax + 4]
cmp esi, eax
jbe 0x43a5cc
push 0x11f0
push str.InstallAction.cpp
push esi
call fcn.0045976f
mov edi, eax
add esp, 0xc
test edi, edi
je 0x43a5cc
push esi
xor esi, esi
push esi
push edi
call fcn.00587a70
add esp, 0xc
lea eax, [ebp - 0x238]
push eax
push edi
push esi
push esi
push str.PendingFileRenameOperations
push dword [ebp - 0x24c]
call ebx
mov esi, dword [ebp - 0x23c]
lea ecx, [ebp - 0x248]
call fcn.00462eff
test edi, edi
jne 0x43a5ff
xor ebx, ebx
mov edi, str.CInstallAction::CheckNeedOfRestartForLMPP
push 0x5c9efc
push edi
push 5
call fcn.00423f75
add esp, 0xc
mov esi, ebx
jmp 0x43a6b5
mov ebx, edi
test esi, esi
jne 0x43a65b
push 6
push 0x5cc0a4
call fcn.0058b10d
push eax
push 0x5cc0a4
push ebx
call fcn.0058ce92
add esp, 0x14
test eax, eax
jne 0x43a65b
cmp dword [ebp - 0x220], 8
push 6
lea esi, [ebp - 0x234]
cmovae esi, dword [ebp - 0x234]
push 0x5cc0a4
call fcn.0058b10d
lea eax, [ebx + eax*2]
push esi
push eax
call fcn.0058b527
add esp, 0x10
test eax, eax
je 0x43a689
mov esi, dword [ebp - 0x23c]
xor eax, eax
test esi, esi
sete al
push 0
push ebx
mov esi, eax
mov dword [ebp - 0x23c], esi
call fcn.0058afc5
pop ecx
pop ecx
mov ecx, dword [ebp - 0x238]
lea ebx, [eax + 2]
add ecx, edi
cmp ebx, ecx
jb 0x43a601
jmp 0x43a6a9
push str._FOUND__NeedRestart_n
push str.CInstallAction::CheckNeedOfRestartForLMPP
push 4
call fcn.00423f75
mov eax, dword [ebp - 0x240]
add esp, 0xc
mov dword [eax], 1
push edi
call fcn.00459786
pop ecx
xor ebx, ebx
xor esi, esi
inc esi
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 1
call fcn.00462e53
push ebx
push 1
lea ecx, [ebp - 0x234]
call fcn.00403a7f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x264]
call fcn.0046c546
mov eax, esi
call fcn.00588a9a
ret 0xc