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

Disassembly:
push 0x258
mov eax, 0x5b1158
call fcn.0058f792
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x264]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x240], eax
call fcn.0046d5d4
xor ebx, ebx
mov dword [ebp - 0x220], 7
xor eax, eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x224], ebx
mov word [ebp - 0x234], ax
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 1
call fcn.00463f1c
push 0x5cff40
mov edi, str.CInstallAction::CheckNeedOfRestartForLMPP
mov byte [ebp - 4], 2
push edi
push 5
call fcn.00424dad
add esp, 0xc
test esi, esi
jne 0x43b23f
push str.pInfo_is_invalid._n
push edi
push 2
call fcn.00424dad
add esp, 0xc
jmp 0x43b428
push 0x2c
push esi
lea ecx, [ebp - 0x264]
call fcn.0046eb6a
lea ecx, [ebp - 0x264]
call fcn.0046d95f
push 2
pop esi
cmp eax, esi
je 0x43b268
push str.Info_format_is_invalid._n
push edi
push esi
jmp 0x43b232
push 0x20
lea ecx, [ebp - 0x264]
call fcn.0046f50b
cmp dword [ebp + 0xc], 0
je 0x43b2bc
push str._for_Language_Monitor_._n
push edi
push 4
call fcn.00424dad
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0x105
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x43b300
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.00424dad
add esp, 0x10
jmp 0x43b428
push str._for_Print_Processor_._n
push edi
push 4
call fcn.00424dad
add esp, 0xc
mov dword [ebp - 0x238], ebx
lea eax, [ebp - 0x238]
push eax
push 0x20a
lea eax, [ebp - 0x21c]
push eax
push 1
push ebx
push ebx
call sub.WINSPOOL.DRV_GetPrintProcessorDirectoryW
test eax, eax
jne 0x43b300
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Cannot_Get_PrintProcessor_directory.__0x_1_lx___n
jmp 0x43b2ad
cmp word [ebp - 0x21c], 0
jne 0x43b30e
mov eax, ebx
jmp 0x43b31b
lea eax, [ebp - 0x21c]
push eax
call fcn.0058edd4
pop ecx
push eax
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x234]
call fcn.00404be0
push 1
lea ecx, [ebp - 0x264]
call fcn.0046dbf8
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.0047026a
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.00424dad
add esp, 0x18
lea ecx, [ebp - 0x248]
push 0x2000000
push str.SystemCurrentControlSetControlSession_Manager
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004643e8
mov dword [ebp - 0x24c], eax
test eax, eax
je 0x43b4f2
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x238], ebx
push ecx
push ebx
push ebx
push ebx
xor esi, esi
mov edi, ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
inc esi
push str.PendingFileRenameOperations
push eax
mov dword [ebp - 0x23c], esi
call ebx
mov eax, dword [ebp - 0x238]
test eax, eax
je 0x43b412
lea esi, [eax + 4]
cmp esi, eax
jbe 0x43b40c
push 0x11f0
push str.InstallAction.cpp
push esi
call fcn.0045a88d
mov edi, eax
add esp, 0xc
test edi, edi
je 0x43b40c
push esi
xor esi, esi
push esi
push edi
call fcn.0058e700
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.00464018
test edi, edi
jne 0x43b43f
xor ebx, ebx
mov edi, str.CInstallAction::CheckNeedOfRestartForLMPP
push 0x5cff5c
push edi
push 5
call fcn.00424dad
add esp, 0xc
mov esi, ebx
jmp 0x43b4f5
mov ebx, edi
test esi, esi
jne 0x43b49b
push 6
push 0x5d216c
call fcn.00591dbe
push eax
push 0x5d216c
push ebx
call fcn.00593b5f
add esp, 0x14
test eax, eax
jne 0x43b49b
cmp dword [ebp - 0x220], 8
lea esi, [ebp - 0x234]
push 6
cmovae esi, dword [ebp - 0x234]
push 0x5d216c
call fcn.00591dbe
push esi
lea eax, [ebx + eax*2]
push eax
call fcn.005921d4
add esp, 0x10
test eax, eax
je 0x43b4c9
mov esi, dword [ebp - 0x23c]
xor eax, eax
test esi, esi
push 0
sete al
mov esi, eax
push ebx
mov dword [ebp - 0x23c], esi
call fcn.00591c76
pop ecx
pop ecx
mov ecx, dword [ebp - 0x238]
lea ebx, [eax + 2]
add ecx, edi
cmp ebx, ecx
jb 0x43b441
jmp 0x43b4e9
push str._FOUND__NeedRestart_n
push str.CInstallAction::CheckNeedOfRestartForLMPP
push 4
call fcn.00424dad
mov eax, dword [ebp - 0x240]
add esp, 0xc
mov dword [eax], 1
push edi
call fcn.0045a8a4
pop ecx
xor ebx, ebx
xor esi, esi
inc esi
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 1
call fcn.00463f6c
push ebx
push 1
lea ecx, [ebp - 0x234]
call fcn.00404970
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x264]
call fcn.0046d690
mov eax, esi
call fcn.0058f741
ret 0xc