Function at 0x1400e02b0
Capabilities:
Read .ini file

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x3d8]
sub rsp, 0x4d0
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rdi
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x140398250]
xor rax, rsp
mov qword [rbp + 0x3b0], rax
mov rbx, r8
mov rdi, rdx
xor r8d, r8d
lea rdx, str.CBaseOSSpecTypeWin2K::PSReboot
lea rcx, [rsp + 0x30]
call fcn.1400075a0
nop
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.140005900
nop
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x70]
call fcn.14024b970
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x1a0]
call fcn.14024b970
xor r11d, r11d
mov qword [rsp + 0x50], r11
mov qword [rsp + 0x58], r11
mov qword [rsp + 0x60], r11
mov qword [rsp + 0x68], r11
mov qword [rsp + 0x70], r11
mov qword [rsp + 0x78], r11
mov qword [rbp - 0x80], r11
mov qword [rbp - 0x78], r11
lea r8, str._tPSReboot_2K
lea edx, [r11 + 7]
lea rcx, [rsp + 0x30]
call fcn.140007780
mov rcx, qword [0x1403b9750]
mov rax, qword [rcx]
call qword [rax + 0x48]
mov r9, qword [rax]
lea r8, [rbp - 0x70]
lea rdx, str.TEMPPATH
mov rcx, rax
call qword [r9 + 0x18]
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rcx, eax
cmp word [rbp + rcx*2 - 0x72], 0x5c
je 0x1400e03bc
lea rdx, [0x1402e5094]
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rdx, str.InsDrv.ini
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea r11, [rbp - 0x70]
mov qword [rsp + 0x28], r11
mov dword [rsp + 0x20], 0x104
lea r9, [rbp + 0x1a0]
lea r8, [0x1402dc4e0]
lea rdx, str.Version
lea rcx, str.PSRebootVersion
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [rbp + 0x1a0], 0
jne 0x1400e041e
lea rdx, str.2.30
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rcx, qword [0x1403b9768]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [rsp + 0x50]
mov rdx, rdi
call qword [rax + 0x98]
lea r11, [rsp + 0x50]
mov qword [rsp + 0x28], r11
lea rax, [rbp + 0x1a0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x40]
lea r8, str.__PSReboot__s__s
mov edx, 7
lea rcx, [rsp + 0x30]
call fcn.140007780
mov r9, rdi
lea r8, str._tPSReboot_s
mov edx, 7
lea rcx, [rsp + 0x30]
call fcn.140007780
lea rcx, [rsp + 0x50]
call fcn.14024a878
movapd xmm6, xmm0
lea rcx, [rbp + 0x1a0]
call fcn.14024a878
comisd xmm0, xmm6
jb 0x1400e04de
lea r8, str._tWIToolOldDriverFindAct:Version_of_installation_being_done_is_smaller_than__1.00_.
mov edx, 7
lea rcx, [rsp + 0x30]
call fcn.140007780
mov rcx, qword [0x1403b9750]
mov rax, qword [rcx]
call qword [rax + 0x48]
mov r9, qword [rax]
lea r8, [0x1402e2d50]
lea rdx, str.PSPCLREBOOT
mov rcx, rax
call qword [r9 + 0x20]
mov r9d, 1
lea r8, str.return___08x
lea edx, [r9 + 1]
lea rcx, [rsp + 0x30]
call fcn.140007780
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x1400e051c
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
nop
lea rcx, [rsp + 0x30]
call fcn.140007730
mov eax, 1
mov rcx, qword [rbp + 0x3b0]
xor rcx, rsp
call fcn.140245660
lea r11, [rsp + 0x4d0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret