Function at 0x140168bf0
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x620]
sub rsp, 0x720
movaps xmmword [rsp + 0x710], xmm6
mov rax, qword [0x1402a76c0]
xor rax, rsp
mov qword [rbp + 0x600], rax
mov rbx, r8
mov r14, rdx
lea rdx, str.CBaseOSSpecTypeWin2K::PCLReboot
lea rcx, [rsp + 0x40]
call fcn.14001abe0
nop
lea r15, [0x1402a8360]
lea rdi, [0x1402bbdb0]
mov rcx, qword [0x1402a8360]
cmp rcx, r15
je 0x140168cc8
test byte [rcx + 0x1c], 1
je 0x140168c8b
mov r9, rdi
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x100
lea r8, [0x140265800]
mov rcx, qword [rcx + 0x10]
call fcn.140001ad0
mov rcx, qword [0x1402a8360]
cmp rcx, r15
je 0x140168cc8
test byte [rcx + 0x1c], 1
je 0x140168cc8
mov r9, rdi
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x101
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], r14
lea r8, [0x140265800]
mov rcx, qword [rcx + 0x10]
call fcn.14002fbe0
call fcn.1401bb0c4
mov rcx, rax
test rax, rax
je 0x140169125
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x1400136d6.0]
add rax, 0x18
mov qword [rsp + 0x30], rax
mov rsi, 0xffffffffffffffff
test rbx, rbx
je 0x140168d22
cmp rbx, 0x10000
jae 0x140168d13
movzx edx, bx
lea rcx, [rsp + 0x30]
call fcn.1400041d0
jmp 0x140168d35
mov rax, rsi
inc rax
cmp word [rbx + rax*2], 0
jne 0x140168d16
jmp 0x140168d24
xor eax, eax
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.140004e60
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x30]
call fcn.1401e7e40
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x3f0]
call fcn.1401e7e40
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x1e0]
call fcn.1401e7e40
lea rcx, [rsp + 0x38]
call fcn.140091e00
nop
mov rcx, qword [0x1402bbf50]
mov rax, qword [rcx]
mov rax, qword [rax + 0x48]
call qword [case.0x1400136d6.0]
mov r9, rax
mov rcx, qword [rax]
mov rax, qword [rcx + 0x18]
lea r8, [rbp - 0x30]
lea rdx, str.TEMPPATH
mov rcx, r9
call qword [case.0x1400136d6.0]
lea rcx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rcx, eax
cmp word [rbp + rcx*2 - 0x32], 0x5c
je 0x140168de4
lea rdx, [0x140251df8]
lea rcx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rdx, str.InsDrv.ini
lea rcx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rax, [rbp - 0x30]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x104
lea r9, [rbp + 0x3f0]
lea r8, [0x140251dfc]
lea rdx, str.PCL5e
lea rcx, str.PCLRebootVersion
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rax, [rbp - 0x30]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x104
lea r9, [rbp + 0x1e0]
lea r8, [0x140251dfc]
lea rdx, str.PCL6
lea rcx, str.PCLRebootVersion
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [rbp + 0x3f0], 0
jne 0x140168e79
lea rdx, str.4.70
lea rcx, [rbp + 0x3f0]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp word [rbp + 0x1e0], 0
jne 0x140168e97
lea rdx, str.2.40
lea rcx, [rbp + 0x1e0]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
xor r9d, r9d
lea r8, [rbp - 0x70]
mov rdx, r14
lea rcx, [rsp + 0x38]
call fcn.140095700
mov rbx, qword [rsp + 0x30]
cmp dword [rbx - 0x10], 0
jl 0x140169006
lea rdx, str.PCL6
mov rcx, rbx
call fcn.1401e7270
test rax, rax
je 0x140168f1f
sub rax, rbx
sar rax, 1
cmp eax, 0xffffffff
je 0x140168f1f
lea rcx, [rbp - 0x70]
call fcn.140200120
movaps xmm6, xmm0
lea rcx, [rbp + 0x1e0]
call fcn.140200120
comisd xmm0, xmm6
jb 0x140169006
mov rcx, qword [0x1402a8360]
cmp rcx, r15
je 0x140168fd1
test byte [rcx + 0x1c], 4
je 0x140168fd1
mov edx, 0x102
jmp 0x140168fae
cmp dword [rbx - 0x10], 0
jl 0x140169006
lea rdx, [0x140253e18]
mov rcx, rbx
call fcn.1401e7270
test rax, rax
je 0x140168f48
sub rax, rbx
sar rax, 1
cmp eax, 0xffffffff
jne 0x140168f79
cmp dword [rbx - 0x10], 0
jl 0x140169006
lea rdx, str.PCL5e
mov rcx, rbx
call fcn.1401e7270
test rax, rax
je 0x140169006
sub rax, rbx
sar rax, 1
cmp eax, 0xffffffff
je 0x140169006
lea rcx, [rbp - 0x70]
call fcn.140200120
movaps xmm6, xmm0
lea rcx, [rbp + 0x3f0]
call fcn.140200120
comisd xmm0, xmm6
jb 0x140169006
mov rcx, qword [0x1402a8360]
cmp rcx, r15
je 0x140168fd1
test byte [rcx + 0x1c], 4
je 0x140168fd1
mov edx, 0x103
mov r9, rdi
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
lea r8, [0x140265800]
mov rcx, qword [rcx + 0x10]
call fcn.140001ad0
mov rcx, qword [0x1402bbf50]
mov rax, qword [rcx]
mov rax, qword [rax + 0x48]
call qword [case.0x1400136d6.0]
mov r9, rax
mov rcx, qword [rax]
mov rax, qword [rcx + 0x20]
lea r8, [0x140255230]
lea rdx, str.PSPCLREBOOT
mov rcx, r9
call qword [case.0x1400136d6.0]
mov byte [rsp + 0x48], 1
mov rcx, qword [0x1402a8360]
cmp rcx, r15
je 0x14016904e
test byte [rcx + 0x1c], 1
je 0x14016904e
mov r9, rdi
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x104
mov dword [rsp + 0x20], 1
lea r8, [0x140265800]
mov rcx, qword [rcx + 0x10]
call fcn.140001b40
nop
lea rcx, [rsp + 0x38]
call fcn.140091f70
nop
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x14016907b
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400136d6.0]
nop
lea rax, vtable.WppTrace.0
mov qword [rsp + 0x40], rax
cmp byte [rsp + 0x48], 0
jne 0x1401690de
mov rcx, qword [0x1402a8360]
cmp rcx, r15
je 0x1401690de
test byte [rcx + 0x1c], 1
je 0x1401690de
lea r8, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae r8, qword [rsp + 0x50]
cmp qword [0x1402bbdc8], 8
cmovae rdi, qword [0x1402bbdb0]
mov edx, 0xa
mov qword [rsp + 0x20], r8
mov r9, rdi
lea r8, [0x140252818]
mov rcx, qword [rcx + 0x10]
call fcn.140006c90
lea rcx, [rsp + 0x70]
call fcn.1400048a0
lea rcx, [rsp + 0x50]
call fcn.1400048a0
mov eax, 1
mov rcx, qword [rbp + 0x600]
xor rcx, rsp
call fcn.1401e2900
mov rbx, qword [rsp + 0x750]
movaps xmm6, xmmword [rsp + 0x710]
add rsp, 0x720
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140001470
int3