Function at 0x43ed90
Capabilities:
Get common file path
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dc023
mov eax, dword fs:[0]
push eax
sub esp, 0x42c
mov eax, dword [0x527064]
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 ebx, edx
mov esi, ecx
cmp dword [esi + 0x10], 0
jne 0x43edd2
mov eax, 0x57
jmp 0x43efeb
push 0x410
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00496490
add esp, 0xc
lea eax, [ebp - 0x420]
push eax
push 0x208
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
jne 0x43ee69
push str.e:_b_t_bfdad672_1e32_4be5_965f_d9a51e52de98installintegrator_srcincludeMcVi2Util.h
push str.GetUsersLcidFromLangSell
push 0x794
push 4
lea ecx, [ebp - 0x424]
call fcn.00431610
mov dword [ebp - 4], 0
mov edx, str.GetRMUILCID::GetCurrentDirectory___Failed_to_get_Current_directory_path
mov ecx, dword [eax]
call fcn.004333c0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call fcn.0043a5d0
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x424]
call fcn.004327d0
mov eax, dword [ebp - 0x424]
add eax, 0x14
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 0x54f
jmp 0x43efeb
cmp dword [esi + 0x14], 8
jb 0x43ee71
mov esi, dword [esi]
push esi
call fcn.0048fcc0
mov esi, eax
add esp, 4
test esi, esi
jne 0x43eed9
push str.e:_b_t_bfdad672_1e32_4be5_965f_d9a51e52de98installintegrator_srcincludeMcVi2Util.h
push str.GetUsersLcidFromLangSell
push 0x79a
push 4
lea ecx, [ebp - 0x424]
call fcn.00431610
mov dword [ebp - 4], 2
mov edx, str.GetRMUILCID::Failure_to_load_LangSel_DLL
mov ecx, dword [eax]
call fcn.004333c0
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x424]
call fcn.004327d0
mov eax, dword [ebp - 0x424]
add eax, 0x14
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [esi + 2]
jmp 0x43efeb
push str.GetLCID
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x43efc8
push str.e:_b_t_bfdad672_1e32_4be5_965f_d9a51e52de98installintegrator_srcincludeMcVi2Util.h
push str.GetUsersLcidFromLangSell
push 0x7a1
push 4
lea ecx, [ebp - 0x424]
call fcn.00431610
mov dword [ebp - 4], 4
mov edx, str.GetRMUILCID::GetLCID___Entry_point_not_found__Error_Code:
mov ecx, dword [eax]
call fcn.004333c0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call fcn.0043a5d0
mov dword [ebp - 4], 5
mov ecx, dword [ebp - 0x424]
call fcn.004327d0
mov eax, dword [ebp - 0x424]
add eax, 0x14
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x2001f
push str.SOFTWAREDi2LCID
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x438]
mov dword [ebp - 0x438], 0
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x430], 0
call fcn.0043eae0
test eax, eax
jne 0x43efb3
mov dword [ebp - 0x428], eax
lea ecx, [ebp - 0x438]
lea eax, [ebp - 0x428]
push eax
push str.Di2LCIDVersion
call fcn.0043eb50
test eax, eax
jne 0x43efb3
mov eax, dword [ebp - 0x428]
mov dword [ebx], eax
mov eax, dword [ebp - 0x438]
test eax, eax
je 0x43efc4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x43efeb
lea ecx, [ebp - 0x42c]
push ecx
call eax
mov edi, eax
add esp, 4
test edi, edi
jne 0x43efe2
mov ecx, dword [ebp - 0x42c]
mov dword [ebx], ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, edi
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.004908ad
mov esp, ebp
pop ebp
ret