Function at 0x1400dff30
Capabilities:
Read .ini file

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5e8]
sub rsp, 0x6e0
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 + 0x5c0], rax
mov rbx, r8
mov rdi, rdx
xor r8d, r8d
lea rdx, str.CBaseOSSpecTypeWin2K::PCLReboot
lea rcx, [rsp + 0x38]
call fcn.1400075a0
nop
mov qword [rsp + 0x20], rbx
mov r9, rdi
lea r8, str.lpFilePath___s__lpDriverName___s
mov edx, 1
lea rcx, [rsp + 0x38]
call fcn.140007780
mov rdx, rbx
lea rcx, [rsp + 0x30]
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 + 0x3b0]
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
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 0x1400e0059
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 + 0x3b0]
lea r8, [0x1402dc4e0]
lea rdx, str.PCL5e
lea rcx, str.PCLRebootVersion
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea r11, [rbp - 0x70]
mov qword [rsp + 0x28], r11
mov dword [rsp + 0x20], 0x104
lea r9, [rbp + 0x1a0]
lea r8, [0x1402dc4e0]
lea rdx, [0x1402e8c50]
lea rcx, str.PCLRebootVersion
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [rbp + 0x3b0], 0
jne 0x1400e00ee
lea rdx, str.4.70
lea rcx, [rbp + 0x3b0]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp word [rbp + 0x1a0], 0
jne 0x1400e010c
lea rdx, str.2.40
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]
mov rcx, qword [rsp + 0x30]
cmp dword [rcx - 0x10], 0
jl 0x1400e022e
lea rdx, [0x1402e8c50]
call fcn.140245e24
mov rcx, qword [rsp + 0x30]
test rax, rax
je 0x1400e0184
sub rax, rcx
sar rax, 1
cmp eax, 0xffffffff
je 0x1400e0184
lea rcx, [rsp + 0x50]
call fcn.14024a878
movapd xmm6, xmm0
lea rcx, [rbp + 0x1a0]
call fcn.14024a878
comisd xmm0, xmm6
jb 0x1400e022e
lea r8, str.PCLReboot2KXP:Version_of_installation_being_done_is_smaller_than__2.40_.
jmp 0x1400e01fa
cmp dword [rcx - 0x10], 0
jl 0x1400e022e
lea rdx, [0x1402ddbb8]
call fcn.140245e24
mov rcx, qword [rsp + 0x30]
test rax, rax
je 0x1400e01af
sub rax, rcx
sar rax, 1
cmp eax, 0xffffffff
jne 0x1400e01d3
cmp dword [rcx - 0x10], 0
jl 0x1400e022e
lea rdx, str.PCL5e
call fcn.140245e24
test rax, rax
je 0x1400e022e
sub rax, qword [rsp + 0x30]
sar rax, 1
cmp eax, 0xffffffff
je 0x1400e022e
lea rcx, [rsp + 0x50]
call fcn.14024a878
movapd xmm6, xmm0
lea rcx, [rbp + 0x3b0]
call fcn.14024a878
comisd xmm0, xmm6
jb 0x1400e022e
lea r8, str.PCLReboot2KXP:Version_of_installation_being_done_is_smaller_than__4.70_.
mov edx, 7
lea rcx, [rsp + 0x38]
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 + 0x38]
call fcn.140007780
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x1400e026c
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
nop
lea rcx, [rsp + 0x38]
call fcn.140007730
mov eax, 1
mov rcx, qword [rbp + 0x5c0]
xor rcx, rsp
call fcn.140245660
lea r11, [rsp + 0x6e0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret