Function at 0x1400176c0
Capabilities:
Get session user name
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x12c8]
mov eax, 0x13c8
call fcn.14002bb20
sub rsp, rax
mov qword [rbp + 0x28], 0xfffffffffffffffe
mov rax, qword [0x140064d98]
xor rax, rsp
mov qword [rbp + 0x12b0], rax
mov qword [rsp + 0x40], r9
mov edi, r8d
mov rsi, rdx
mov rbx, rcx
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x620]
call fcn.14002d420
mov dword [rbp + 0x1a0], 0x80
xor r15d, r15d
mov dword [rbp + 0x1a8], r15d
mov qword [rbp + 0x198], r15
mov qword [rbp + 0x188], r15
xor edx, edx
mov r8d, 0x80
lea rcx, [rbp + 0x420]
call fcn.14002d420
lea rdx, [0x140044950]
lea rcx, [rbp + 0x2f0]
call fcn.140001e10
nop
lea rdx, [0x140044950]
lea rcx, [rbp + 0x1b0]
call fcn.140001e10
nop
test edi, edi
jne 0x140017794
lea rdx, [0x14006cf9c]
lea rcx, [rbp + 0x1b0]
call fcn.140001ee0
jmp 0x1400177be
mov rdx, rbx
lea rcx, [rbp + 0x290]
call fcn.14000e370
mov rdx, rax
lea rcx, [rbp + 0x1b0]
call fcn.140001e90
lea rcx, [rbp + 0x290]
call fcn.140001e70
lea r8, str.ControlClass4d36e972_e325_11ce_bfc1_08002be10318
lea rdx, [rbp + 0x1b0]
lea rcx, [rbp + 0x370]
call fcn.1400017c0
nop
lea rcx, [rbp + 0x370]
call fcn.140005da0
mov rdx, rax
lea rax, [rbp + 0x198]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140018f5c
cmp dword [0x14006e830], eax
jne 0x14001782b
cmp edi, 1
jne 0x14001782b
lea rcx, [rbp + 0x1b0]
call fcn.140010250
mov ebx, r15d
lea r12, str.ServicesTcpipParametersInterfaces_
lea r13, str.Connection
lea r14, str.ControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318_
mov dword [rbp + 0x1a8], 0x40
xor edx, edx
mov r8d, 0x80
lea rcx, [rbp + 0x420]
call fcn.14002d420
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rbp + 0x1a8]
lea r8, [rbp + 0x420]
mov edx, ebx
mov rcx, qword [rbp + 0x198]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x140018473
lea rcx, [rbp + 0x420]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x1400178b0
cmp rax, 4
jne 0x140018465
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp + 0x4a0]
call fcn.14002d420
xor edx, edx
mov r8d, 0x80
lea rcx, [rbp + 0x8a0]
call fcn.14002d420
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x10a0]
call fcn.14002d420
xor eax, eax
mov qword [rbp + 0x3f0], rax
mov qword [rbp + 0x3f8], rax
mov qword [rbp + 0x400], rax
mov qword [rbp + 0x408], rax
mov qword [rbp + 0x410], rax
mov qword [rbp + 0x418], rax
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp + 0xca0]
call fcn.14002d420
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp + 0xea0]
call fcn.14002d420
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp + 0xda0]
call fcn.14002d420
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp + 0x9a0]
call fcn.14002d420
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp + 0xba0]
call fcn.14002d420
xor edx, edx
mov r8d, 0x80
lea rcx, [rbp + 0x820]
call fcn.14002d420
lea rcx, [rbp + 0x1d0]
call fcn.140001e50
nop
lea rdx, [0x140044950]
lea rcx, [rbp + 0x250]
call fcn.140001e10
nop
mov edx, 0x25
lea rcx, [0x14006de90]
call fcn.14000b480
mov rdx, rax
lea rcx, [rbp + 0x350]
call fcn.140007b70
nop
lea r8, [0x14006309c]
lea rdx, [rbp + 0x370]
lea rcx, [rbp + 0x150]
call fcn.1400017c0
nop
lea r8, [rbp + 0x420]
mov rdx, rax
lea rcx, [rbp + 0x3d0]
call fcn.1400016f0
nop
lea rcx, [rbp + 0x150]
call fcn.140001e70
lea rcx, [rbp + 0x3d0]
call fcn.140005da0
mov rdx, rax
lea rax, [rbp + 0x188]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140018186
mov dword [rbp + 0x1a0], 0x100
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp + 0x4a0]
call fcn.14002d420
mov edx, 0x3e
lea rcx, [0x14006bf80]
call fcn.14000b480
mov rcx, rax
call fcn.140005da0
lea rcx, [rbp + 0x1a0]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x4a0]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rbp + 0x188]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x140017b21
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp + 0x4a0]
call fcn.14002d420
mov edx, 0x3f
lea rcx, [0x14006bf80]
call fcn.14000b480
mov rcx, rax
call fcn.140005da0
lea rcx, [rbp + 0x1a0]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x4a0]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rbp + 0x188]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rdx, 0xffffffffffffffff
lea rcx, [rbp + 0x4a0]
call fcn.140033100
mov edx, 0x20
lea rcx, [0x14006bf80]
call fcn.14000b480
mov rcx, rax
call fcn.140005da0
mov rdx, rax
lea rcx, [rbp + 0x4a0]
call fcn.140029c70
test rax, rax
jne 0x140017b9e
lea edx, [rax + 0x1f]
lea rcx, [0x14006bf80]
call fcn.14000b480
mov rcx, rax
call fcn.140005da0
mov rdx, rax
lea rcx, [rbp + 0x4a0]
call fcn.140029c70
test rax, rax
jne 0x140017b9e
mov rcx, qword [rbp + 0x188]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140018432
lea rdx, [rbp + 0x4a0]
lea rcx, [rbp + 0x1d0]
call fcn.140001ee0
mov r8d, 5
lea rdx, [0x14006309c]
lea rcx, [rbp + 0x1d0]
call fcn.140008cb0
mov r9d, eax
xor r8d, r8d
lea rdx, [rbp + 0x230]
lea rcx, [rbp + 0x1d0]
call fcn.140009710
mov rdx, rax
lea rcx, [rbp + 0x1d0]
call fcn.140001e90
lea rcx, [rbp + 0x230]
call fcn.140001e70
mov dword [rbp + 0x1a0], 0x100
mov edx, 0x40
lea rcx, [0x14006bf80]
call fcn.14000b480
mov rcx, rax
call fcn.140005da0
lea rcx, [rbp + 0x1a0]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x820]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rbp + 0x188]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400180ac
mov qword [rbp + 0x180], r15
lea edx, [rax + 0x48]
lea rcx, [0x14006bf80]
call fcn.14000b480
mov rcx, rax
call fcn.140005da0
mov rdx, rax
lea rcx, [rbp + 0x230]
call fcn.140001e10
nop
mov edx, 0x45
lea rcx, [0x14006bf80]
call fcn.14000b480
mov rcx, rax
call fcn.140005da0
mov rdx, rax
lea rcx, [rbp + 0x310]
call fcn.140001e10
nop
mov edx, 0x42
lea rcx, [0x14006bf80]
call fcn.14000b480
mov rcx, rax
call fcn.140005da0
mov rdx, rax
lea rcx, [rbp + 0x270]
call fcn.140001e10
nop
lea rdx, str.NameServer
lea rcx, [rbp + 0x2b0]
call fcn.140001e10
nop
mov rdx, 0xffffffffffffffff
lea rcx, [rbp + 0x820]
call fcn.140033100
lea rcx, [rbp + 0x1b0]
call fcn.140005da0
mov r9, rax
lea rax, [rbp + 0x820]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
lea r8, str._s_s_s
mov rdx, 0xffffffffffffffff
lea rcx, [rbp + 0x620]
call fcn.14000a910
lea rax, [rbp + 0x180]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rbp + 0x620]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140017e8c
mov dword [rbp + 0x170], r15d
mov dword [rbp + 0x1a0], 8
lea edx, [rax + 0x43]
lea rcx, [0x14006bf80]
call fcn.14000b480
mov rcx, rax
call fcn.140005da0
lea rcx, [rbp + 0x1a0]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x170]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rbp + 0x180]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [rbp + 0x170], 1
jne 0x140017e8c
mov edx, 0x24
lea rcx, [0x14006de90]
call fcn.14000b480
mov rdx, rax
lea rcx, [rbp + 0x350]
call fcn.14000b3f0
mov edx, 0x49
lea rcx, [0x14006bf80]
call fcn.14000b480
mov rcx, rax
call fcn.140005da0
mov rdx, rax
lea rcx, [rbp + 0x230]
call fcn.140001ee0
mov edx, 0x44
lea rcx, [0x14006bf80]
call fcn.14000b480
mov rcx, rax
call fcn.140005da0
mov rdx, rax
lea rcx, [rbp + 0x310]
call fcn.140001ee0
mov edx, 0x46
lea rcx, [0x14006bf80]
call fcn.14000b480
mov rcx, rax
call fcn.140005da0
mov rdx, rax
lea rcx, [rbp + 0x270]
call fcn.140001ee0
mov edx, 0x47
lea rcx, [0x14006bf80]
call fcn.14000b480
mov rcx, rax
call fcn.140005da0
mov rdx, rax
lea rcx, [rbp + 0x2b0]
call fcn.140001ee0
mov dword [rbp + 0x1a0], 0x100
lea rcx, [rbp + 0x230]
call fcn.140005da0
lea rcx, [rbp + 0x1a0]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0xca0]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rbp + 0x180]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rbp + 0x1a0], 0x100
lea rcx, [rbp + 0x310]
call fcn.140005da0
lea rcx, [rbp + 0x1a0]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0xea0]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rbp + 0x180]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rbp + 0x1a0], 0x100
lea rcx, [rbp + 0x270]
call fcn.140005da0
lea rcx, [rbp + 0x1a0]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0xda0]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rbp + 0x180]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rbp + 0x1a0], 0x100
lea rcx, [rbp + 0x2b0]
call fcn.140005da0
lea rcx, [rbp + 0x1a0]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x9a0]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rbp + 0x180]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rbp + 0x180]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rbp + 0x1b0]
call fcn.140005da0
mov r9, rax
mov qword [rsp + 0x30], r13
lea rax, [rbp + 0x820]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
lea r8, str._s_s_s_s
mov rdx, 0xffffffffffffffff
lea rcx, [rbp + 0x620]
call fcn.14000a910
mov qword [rbp + 0x190], r15
lea rax, [rbp + 0x190]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rbp + 0x620]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140018079
mov dword [rbp + 0x1a0], 0x100
lea edx, [rax + 0x21]
lea rcx, [0x14006bf80]
call fcn.14000b480
mov rcx, rax
call fcn.140005da0
lea rcx, [rbp + 0x1a0]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0xba0]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rbp + 0x190]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rbp + 0x190]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rbp + 0x2b0]
call fcn.140001e70
nop
lea rcx, [rbp + 0x270]
call fcn.140001e70
nop
lea rcx, [rbp + 0x310]
call fcn.140001e70
nop
lea rcx, [rbp + 0x230]
call fcn.140001e70
mov dword [rbp + 0x1a0], 0x200
mov edx, 0x38
lea rcx, [0x14006bf80]
call fcn.14000b480
mov rcx, rax
call fcn.140005da0
lea rcx, [rbp + 0x1a0]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x10a0]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rbp + 0x188]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor edx, edx
mov r8d, 0x80
lea rcx, [rbp + 0x920]
call fcn.14002d420
mov dword [rbp + 0x1a0], 0x80
mov edx, 0x3d
lea rcx, [0x14006bf80]
call fcn.14000b480
mov rcx, rax
call fcn.140005da0
lea rcx, [rbp + 0x1a0]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x920]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rbp + 0x188]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140018179
lea rdx, [rbp + 0x3f0]
lea rcx, [rbp + 0x920]
call fcn.140025b70
mov rcx, qword [rbp + 0x188]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r8, [0x14006bfb8]
lea rdx, [rbp + 0x10a0]
lea rcx, [rsp + 0x48]
call fcn.140009d70
nop
lea r8, [rbp + 0xba0]
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.1400016f0
nop
lea r8, [rbp + 0x250]
mov rdx, rax
lea rcx, [rbp - 0x78]
call fcn.1400016b0
nop
lea r8, [0x14006bfb8]
mov rdx, rax
lea rcx, [rbp + 0x70]
call fcn.1400016b0
nop
lea r8, [rbp + 0x3f0]
mov rdx, rax
lea rcx, [rbp + 0x90]
call fcn.1400016f0
nop
lea r8, [0x14006bfb8]
mov rdx, rax
lea rcx, [rbp + 0xb0]
call fcn.1400016b0
nop
lea r8, [rbp + 0x1d0]
mov rdx, rax
lea rcx, [rbp + 0xd0]
call fcn.1400016b0
nop
lea r8, [0x14006bfb8]
mov rdx, rax
lea rcx, [rbp + 0xf0]
call fcn.1400016b0
nop
lea r8, [rbp + 0x350]
mov rdx, rax
lea rcx, [rbp + 8]
call fcn.1400016b0
nop
lea r8, [0x14006bfb8]
mov rdx, rax
lea rcx, [rbp + 0x110]
call fcn.1400016b0
nop
lea r8, [rbp + 0xca0]
mov rdx, rax
lea rcx, [rbp - 0x58]
call fcn.1400016f0
nop
lea r8, [0x14006bfb8]
mov rdx, rax
lea rcx, [rbp - 0x38]
call fcn.1400016b0
nop
lea r8, [rbp + 0xda0]
mov rdx, rax
lea rcx, [rbp - 0x18]
call fcn.1400016f0
nop
lea r8, [0x14006bfb8]
mov rdx, rax
lea rcx, [rbp + 0x30]
call fcn.1400016b0
nop
lea r8, [rbp + 0xea0]
mov rdx, rax
lea rcx, [rbp + 0x50]
call fcn.1400016f0
nop
lea r8, [0x14006bfb8]
mov rdx, rax
lea rcx, [rbp + 0x130]
call fcn.1400016b0
nop
lea r8, [rbp + 0x9a0]
mov rdx, rax
lea rcx, [rbp + 0x2b0]
call fcn.1400016f0
nop
lea r8, [0x14006bfb8]
mov rdx, rax
lea rcx, [rbp + 0x270]
call fcn.1400016b0
nop
lea r8, [rbp + 0x820]
mov rdx, rax
lea rcx, [rbp + 0x310]
call fcn.1400016f0
nop
lea r8, [0x14006bf48]
mov rdx, rax
lea rcx, [rbp + 0x230]
call fcn.1400016b0
nop
mov rdx, rax
lea rcx, [rbp + 0x2f0]
call fcn.140001fc0
nop
lea rcx, [rbp + 0x230]
call fcn.140001e70
nop
lea rcx, [rbp + 0x310]
call fcn.140001e70
nop
lea rcx, [rbp + 0x270]
call fcn.140001e70
nop
lea rcx, [rbp + 0x2b0]
call fcn.140001e70
nop
lea rcx, [rbp + 0x130]
call fcn.140001e70
nop
lea rcx, [rbp + 0x50]
call fcn.140001e70
nop
lea rcx, [rbp + 0x30]
call fcn.140001e70
nop
lea rcx, [rbp - 0x18]
call fcn.140001e70
nop
lea rcx, [rbp - 0x38]
call fcn.140001e70
nop
lea rcx, [rbp - 0x58]
call fcn.140001e70
nop
lea rcx, [rbp + 0x110]
call fcn.140001e70
nop
lea rcx, [rbp + 8]
call fcn.140001e70
nop
lea rcx, [rbp + 0xf0]
call fcn.140001e70
nop
lea rcx, [rbp + 0xd0]
call fcn.140001e70
nop
lea rcx, [rbp + 0xb0]
call fcn.140001e70
nop
lea rcx, [rbp + 0x90]
call fcn.140001e70
nop
lea rcx, [rbp + 0x70]
call fcn.140001e70
nop
lea rcx, [rbp - 0x78]
call fcn.140001e70
nop
lea rcx, [rsp + 0x68]
call fcn.140001e70
nop
lea rcx, [rsp + 0x48]
call fcn.140001e70
nop
lea rcx, [rbp + 0x3d0]
call fcn.140001e70
nop
lea rcx, [rbp + 0x350]
call fcn.140001e70
nop
lea rcx, [rbp + 0x250]
call fcn.140001e70
nop
lea rcx, [rbp + 0x1d0]
call fcn.140001e70
inc ebx
cmp ebx, 0x80
jb 0x140017843
mov qword [rbp + 0x178], r15
lea rdx, [0x140044950]
lea rcx, [rbp + 0x210]
call fcn.140001e10
nop
lea rdx, [0x140044950]
lea rcx, [rbp + 0x1f0]
call fcn.140001e10
nop
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp + 0xaa0]
call fcn.14002d420
lea rcx, [rbp + 0x290]
call fcn.140001e50
nop
mov dword [rbp + 0x1a4], r15d
lea rax, str.MicrosoftWindows_NTCurrentVersion
mov qword [rsp + 0x20], rax
mov r9, rsi
lea r8, [0x1400458a0]
mov rdx, 0xffffffffffffffff
lea rcx, [rbp + 0x620]
call fcn.14000a910
lea rax, [rbp + 0x178]
mov qword [rsp + 0x20], rax
mov r9d, 0x20119
xor r8d, r8d
lea rdx, [rbp + 0x620]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
mov r14, qword [rsp + 0x40]
jne 0x14001864a
mov dword [rbp + 0x1a0], 0x100
mov edx, 0x3c
lea rcx, [0x14006bf80]
call fcn.14000b480
mov rcx, rax
call fcn.140005da0
lea rcx, [rbp + 0x1a0]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0xaa0]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rbp + 0x178]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rbp + 0x170], r15d
mov dword [rbp + 0x1a0], 4
mov edx, 0x3b
lea rcx, [0x14006bf80]
call fcn.14000b480
mov rcx, rax
call fcn.140005da0
lea rcx, [rbp + 0x1a0]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x170]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rbp + 0x178]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov r9, r14
mov r8d, edi
mov edx, dword [rbp + 0x170]
lea rcx, [rsp + 0x48]
call fcn.14001ac60
mov rdx, rax
lea rcx, [rbp + 0x290]
call fcn.140001e90
lea rcx, [rsp + 0x48]
call fcn.140001e70
mov dword [rbp + 0x1a0], 8
lea rax, [rbp + 0x1a0]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x1a4]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x14004f620]
mov rcx, qword [rbp + 0x178]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rbp + 0x178]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rbp + 0x1ac], r15d
lea rdx, [0x140044950]
lea rcx, [rbp + 0x2d0]
call fcn.140001e10
nop
cmp edi, 1
jne 0x14001883d
lea edx, [rdi + 0x59]
lea rcx, [0x14006bf80]
call fcn.14000b480
mov rcx, rax
call fcn.140005da0
mov qword [rsp + 0x20], rax
mov r9, rsi
lea r8, [0x1400458a0]
mov rdx, 0xffffffffffffffff
lea rcx, [rbp + 0x620]
call fcn.14000a910
lea rax, [rbp + 0x178]
mov qword [rsp + 0x20], rax
mov r9d, 0x20119
xor r8d, r8d
lea rdx, [rbp + 0x620]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001879e
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp + 0x9a0]
call fcn.14002d420
mov dword [rbp + 0x1a0], 0x100
lea edx, [rdi + 0x36]
lea rcx, [0x14006bf80]
call fcn.14000b480
mov rcx, rax
call fcn.140005da0
lea rcx, [rbp + 0x1a0]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x9a0]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rbp + 0x178]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea rdx, [rbp + 0x9a0]
lea rcx, [rbp + 0x250]
call fcn.140001e10
nop
lea r9d, [rdi + 1]
lea r8, [0x14006309c]
lea rdx, [rbp + 0x250]
lea rcx, [rsp + 0x48]
call fcn.1400095b0
mov rdx, rax
lea rcx, [rbp + 0x1f0]
call fcn.140001e90
lea rcx, [rsp + 0x48]
call fcn.140001e70
nop
lea rcx, [rbp + 0x250]
call fcn.140001e70
mov rcx, qword [rbp + 0x178]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, str.MicrosoftWindows_NTCurrentVersionEditionVersion
mov qword [rsp + 0x20], rax
mov r9, rsi
lea r8, [0x1400458a0]
mov rdx, 0xffffffffffffffff
lea rcx, [rbp + 0x620]
call fcn.14000a910
lea rax, [rbp + 0x178]
mov qword [rsp + 0x20], rax
mov r9d, 0x20119
xor r8d, r8d
lea rdx, [rbp + 0x620]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001883d
mov dword [rbp + 0x1a0], 8
lea rax, [rbp + 0x1a0]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x1ac]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.EditionBuildNumber
mov rcx, qword [rbp + 0x178]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rbp + 0x178]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp + 0xfa0]
call fcn.14002d420
mov edx, 0x59
lea rcx, [0x14006bf80]
call fcn.14000b480
mov rcx, rax
call fcn.140005da0
mov rbx, rax
lea rcx, [rbp + 0x1b0]
call fcn.140005da0
mov qword [rsp + 0x20], rbx
mov r9, rax
lea r8, [0x1400458a0]
mov rdx, 0xffffffffffffffff
lea rcx, [rbp + 0x620]
call fcn.14000a910
lea rax, [rbp + 0x178]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rbp + 0x620]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140018924
mov dword [rbp + 0x1a0], 0x100
lea edx, [rax + 0x39]
lea rcx, [0x14006bf80]
call fcn.14000b480
mov rcx, rax
call fcn.140005da0
lea rcx, [rbp + 0x1a0]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0xfa0]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rbp + 0x178]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rbp + 0x178]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x198]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [rbp + 0xaa0]
lea rcx, [rbp + 0x210]
call fcn.140001ee0
mov dword [rbp + 0x180], r15d
mov dword [rbp + 0x190], r15d
mov dword [rsp + 0x40], r15d
mov dword [rbp + 0x170], r15d
xor edx, edx
mov r8d, 0x80
lea rcx, [rbp + 0x5a0]
call fcn.14002d420
lea r8, str.WindowsSystem32kernel32.dll
mov rdx, r14
lea rcx, [rbp + 0x390]
call fcn.1400017c0
nop
test edi, edi
jne 0x140018a7b
lea r9, [0x14006c374]
lea r8, [0x14004f6c0]
mov rdx, 0xffffffffffffffff
lea rcx, [rbp + 0x5a0]
call fcn.14000aa00
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x10a0]
call fcn.14002d420
lea rdx, [rbp + 0x1a0]
lea rcx, [rbp + 0x10a0]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea edx, [rdi + 0x16]
lea rcx, [0x14006de90]
call fcn.14000b480
mov rdx, rax
lea rcx, [rbp + 0x1f0]
call fcn.14000b3f0
lea rdx, [rbp + 0x10a0]
lea rcx, [rbp + 0x1f0]
call fcn.140001fd0
lea edx, [rdi + 0x17]
lea rcx, [0x14006de90]
call fcn.14000b480
mov rdx, rax
mov r8, r14
lea rcx, [rsp + 0x68]
call fcn.140001730
nop
lea r8, [0x14004f6d0]
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.1400016f0
mov rdx, rax
lea rcx, [rbp + 0x2d0]
call fcn.140001e90
lea rcx, [rsp + 0x48]
call fcn.140001e70
nop
lea rcx, [rsp + 0x68]
call fcn.140001e70
lea rdx, [0x14006d980]
lea rcx, [rbp + 0x210]
call fcn.14000b3f0
jmp 0x140018c3b
lea rax, [rbp + 0x170]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
lea r8, [rbp + 0x190]
lea rdx, [rbp + 0x180]
lea rcx, [rbp + 0x390]
call fcn.140010100
mov ecx, dword [rbp + 0x1a4]
cmp ecx, dword [rbp + 0x170]
cmovb ecx, dword [rbp + 0x170]
mov dword [rbp + 0x1a4], ecx
mov ebx, dword [rsp + 0x40]
cmp dword [rbp + 0x1ac], ebx
cmova ebx, dword [rbp + 0x1ac]
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], ebx
mov esi, dword [rbp + 0x190]
mov dword [rsp + 0x20], esi
mov edi, dword [rbp + 0x180]
mov r9d, edi
lea r8, str.__lu._lu._lu._lu_
mov rdx, 0xffffffffffffffff
lea rcx, [rbp + 0x5a0]
call fcn.14000aa00
mov edx, 0x19
lea rcx, [0x14006de90]
call fcn.14000b480
mov rdx, rax
lea r8, [rbp + 0x1f0]
lea rcx, [rsp + 0x48]
call fcn.140001730
mov rdx, rax
lea rcx, [rbp + 0x1f0]
call fcn.140001e90
lea rcx, [rsp + 0x48]
call fcn.140001e70
mov edx, 0x1a
lea rcx, [0x14006de90]
call fcn.14000b480
mov rdx, rax
mov r8, r14
lea rcx, [rbp - 0x78]
call fcn.140001730
nop
lea r8, [0x14004f6d0]
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.1400016f0
mov rdx, rax
lea rcx, [rbp + 0x2d0]
call fcn.140001e90
lea rcx, [rsp + 0x68]
call fcn.140001e70
nop
lea rcx, [rbp - 0x78]
call fcn.140001e70
cmp edi, 9
jbe 0x140018be6
cmp ebx, 0x55ef
jbe 0x140018c3b
xor r8d, r8d
lea rdx, [0x14004f6fc]
lea rcx, [rbp + 0x210]
call fcn.140008cb0
cmp rax, 0xffffffffffffffff
je 0x140018c3b
lea r9, [0x14004f704]
mov r8d, 2
mov rdx, rax
lea rcx, [rbp + 0x210]
call fcn.140009020
jmp 0x140018c3b
cmp word [rbp + 0xaa0], 0
jne 0x140018c3b
mov dword [rsp + 0x20], esi
mov r9d, edi
lea r8, str._d._d
mov rdx, 0xffffffffffffffff
lea rcx, [rbp + 0x620]
call fcn.14000a910
lea rdx, [rbp + 0x620]
lea rcx, [rsp + 0x48]
call fcn.14001a940
mov rdx, rax
lea rcx, [rbp + 0x210]
call fcn.140001e90
lea rcx, [rsp + 0x48]
call fcn.140001e70
lea rcx, [rbp + 0x330]
call fcn.140001e50
nop
lea rcx, [rbp + 0x390]
call fcn.140005da0
mov rcx, rax
call fcn.14000ba60
lea rcx, [rbp + 0x330]
cmp eax, 0x40
lea rdx, [0x14004f750]
je 0x140018c76
lea rdx, [0x14004f758]
call fcn.140001ee0
lea rdx, [rbp + 0x210]
lea rcx, [rbp + 0x2d0]
call fcn.140001fc0
mov edx, 0xb
lea rcx, [0x14006de90]
call fcn.14000b480
mov rdx, rax
lea rcx, [rbp + 0x3b0]
call fcn.140007b70
nop
lea rdx, [0x14004f760]
lea rcx, [rbp + 0x3b0]
call fcn.140001fd0
lea r8, [rbp + 0xfa0]
lea rdx, [rbp + 0x3b0]
lea rcx, [rbp + 0x130]
call fcn.1400017c0
nop
lea r8, [0x14006dde0]
mov rdx, rax
lea rcx, [rbp + 0x50]
call fcn.1400016b0
nop
lea r8, [rbp + 0x1f0]
mov rdx, rax
lea rcx, [rbp + 0x30]
call fcn.1400016b0
nop
lea r8, [0x14006dde0]
mov rdx, rax
lea rcx, [rbp - 0x18]
call fcn.1400016b0
nop
lea r8, [rbp + 0x2d0]
mov rdx, rax
lea rcx, [rbp - 0x38]
call fcn.1400016b0
nop
lea r8, [0x14006bf98]
mov rdx, rax
lea rcx, [rbp - 0x58]
call fcn.1400016b0
nop
lea r8, [rbp + 0x5a0]
mov rdx, rax
lea rcx, [rbp + 0x110]
call fcn.1400016f0
nop
lea r8, [0x14006bf98]
mov rdx, rax
lea rcx, [rbp + 8]
call fcn.1400016b0
nop
lea r8, [rbp + 0x330]
mov rdx, rax
lea rcx, [rbp + 0xf0]
call fcn.1400016b0
nop
lea r8, [0x14006dde0]
mov rdx, rax
lea rcx, [rbp + 0xd0]
call fcn.1400016b0
nop
lea r8, [rbp + 0x290]
mov rdx, rax
lea rcx, [rbp + 0xb0]
call fcn.1400016b0
nop
lea r8, [0x14006dde0]
mov rdx, rax
lea rcx, [rbp + 0x90]
call fcn.1400016b0
nop
lea r8, [0x14006dde0]
mov rdx, rax
lea rcx, [rbp + 0x70]
call fcn.1400016b0
nop
lea r8, [0x14006de38]
mov rdx, rax
lea rcx, [rbp - 0x78]
call fcn.1400016b0
nop
lea r8, [0x14006dde0]
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.1400016b0
nop
lea r8, [rbp + 0x2f0]
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.1400016b0
mov rdx, rax
lea rcx, [rbp + 0x2f0]
call fcn.140001e90
lea rcx, [rsp + 0x48]
call fcn.140001e70
nop
lea rcx, [rsp + 0x68]
call fcn.140001e70
nop
lea rcx, [rbp - 0x78]
call fcn.140001e70
nop
lea rcx, [rbp + 0x70]
call fcn.140001e70
nop
lea rcx, [rbp + 0x90]
call fcn.140001e70
nop
lea rcx, [rbp + 0xb0]
call fcn.140001e70
nop
lea rcx, [rbp + 0xd0]
call fcn.140001e70
nop
lea rcx, [rbp + 0xf0]
call fcn.140001e70
nop
lea rcx, [rbp + 8]
call fcn.140001e70
nop
lea rcx, [rbp + 0x110]
call fcn.140001e70
nop
lea rcx, [rbp - 0x58]
call fcn.140001e70
nop
lea rcx, [rbp - 0x38]
call fcn.140001e70
nop
lea rcx, [rbp - 0x18]
call fcn.140001e70
nop
lea rcx, [rbp + 0x30]
call fcn.140001e70
nop
lea rcx, [rbp + 0x50]
call fcn.140001e70
nop
lea rcx, [rbp + 0x130]
call fcn.140001e70
mov rcx, r14
call fcn.140005da0
movzx ecx, word [rax]
shl rcx, 5
lea rax, [0x14006d1a0]
add rcx, rax
lea rdx, [rbp + 0x2f0]
call fcn.14000b3f0
nop
lea rcx, [rbp + 0x3b0]
call fcn.140001e70
nop
lea rcx, [rbp + 0x330]
call fcn.140001e70
nop
lea rcx, [rbp + 0x390]
call fcn.140001e70
nop
lea rcx, [rbp + 0x2d0]
call fcn.140001e70
nop
lea rcx, [rbp + 0x290]
call fcn.140001e70
nop
lea rcx, [rbp + 0x1f0]
call fcn.140001e70
nop
lea rcx, [rbp + 0x210]
call fcn.140001e70
nop
lea rcx, [rbp + 0x370]
call fcn.140001e70
nop
lea rcx, [rbp + 0x1b0]
call fcn.140001e70
nop
lea rcx, [rbp + 0x2f0]
call fcn.140001e70
mov rcx, qword [rbp + 0x12b0]
xor rcx, rsp
call fcn.14002ba20
add rsp, 0x13c8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret