Function at 0x1400b95d0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x4320]
mov eax, 0x4420
call fcn.140295f80
sub rsp, rax
mov rax, qword [0x1403c3d98]
xor rax, rsp
mov qword [rbp + 0x4310], rax
mov r12d, r8d
mov dword [rsp + 0x6c], r8d
mov rsi, rdx
mov qword [rbp - 0x70], rdx
mov r15, rcx
mov qword [rbp - 0x68], rcx
xor r13d, r13d
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x200]
call fcn.140297340
mov dword [rsp + 0x78], 0x104
mov dword [rsp + 0x60], r13d
mov dword [rsp + 0x68], 0x3fff
lea rax, [rbp - 0x68]
mov qword [rsp + 0x58], rax
lea rax, [rbp - 0x5c]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x64]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x58]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x74]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x54]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0x78]
lea rdx, [rbp + 0x200]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov ecx, dword [rsp + 0x64]
call fcn.140295924
mov rdi, rax
mov qword [rbp - 0x78], rax
mov r8d, dword [rsp + 0x64]
xor edx, edx
mov rcx, rax
call fcn.140297340
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x1400b973e
mov ebx, r13d
nop word [rax + rax]
mov dword [rsp + 0x7c], 0xff
lea rax, [rbp - 0x68]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x7c]
lea r8, [rbp + 0x100]
mov edx, ebx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x1400b9736
lea rdx, str.Steam_App_284160
lea rcx, [rbp + 0x100]
call fcn.1402a6430
test eax, eax
je 0x1400b985e
inc ebx
cmp ebx, dword [rsp + 0x60]
jb 0x1400b96e0
mov r14d, reloc.WS2_32.dll_ntohs
mov eax, dword [rsp + 0x74]
test eax, eax
je 0x1400b9bf9
mov ecx, r13d
mov dword [rsp + 0x70], ecx
lea rbx, [r14 - 0x10]
nop dword [rax + rax]
mov dword [rsp + 0x68], 0x3fff
mov byte [rbp + 0x310], 0
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x68]
lea r8, [rbp + 0x310]
mov edx, ecx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x1400b9be5
mov eax, dword [rsp + 0x64]
mov dword [rbp - 0x80], eax
mov byte [rdi], 0
lea rax, [rbp - 0x80]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x310]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], r13
mov qword [rbp - 0x30], r13
mov r8, rbx
inc r8
cmp byte [rdi + r8], 0
jne 0x1400b97e2
mov rdx, rdi
lea rcx, [rbp - 0x48]
call fcn.14007d410
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x18], r13
mov qword [rbp - 0x10], r13
lea rax, [rbp + 0x310]
nop
inc rbx
cmp byte [rax + rbx], 0
jne 0x1400b9810
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
ja 0x1400b9ce4
cmp rbx, 0x10
jae 0x1400b98a0
mov qword [rbp - 0x18], rbx
mov qword [rbp - 0x10], r14
mov r8, rbx
lea rdx, [rbp + 0x310]
lea rcx, [rbp - 0x28]
call fcn.140296c90
mov rsi, qword [rbp - 0x10]
mov rbx, qword [rbp - 0x18]
mov rdi, qword [rbp - 0x28]
jmp 0x1400b98f0
xorps xmm0, xmm0
movups xmmword [r15], xmm0
mov qword [r15 + 0x10], r13
mov qword [r15 + 0x18], r13
lea rcx, [rbp + 0x100]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], r13b
jne 0x1400b9880
mov r8, rax
lea rdx, [rbp + 0x100]
mov rcx, r15
call fcn.14007d410
jmp 0x1400b9c10
mov rsi, rbx
or rsi, 0xf
cmp rsi, rax
jbe 0x1400b98b1
mov rsi, rax
jmp 0x1400b98be
cmp rsi, 0x16
mov eax, reloc.WS2_32.dll_shutdown
cmovb rsi, rax
lea rdx, [rsi + 1]
lea rcx, [rbp - 0x28]
call fcn.14007b800
mov rdi, rax
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x18], rbx
mov qword [rbp - 0x10], rsi
mov r8, rbx
lea rdx, [rbp + 0x310]
mov rcx, rax
call fcn.140296c90
mov byte [rdi + rbx], 0
mov ecx, r12d
mov r13, qword [rbp - 0x30]
mov r12, qword [rbp - 0x48]
sub ecx, 1
je 0x1400b9a99
sub ecx, 1
je 0x1400b9a15
sub ecx, 1
je 0x1400b99e3
sub ecx, 1
je 0x1400b9925
cmp ecx, 1
je 0x1400b994a
jmp 0x1400b9b5a
lea rcx, [rbp - 0x28]
cmp rsi, 0x10
cmovae rcx, rdi
cmp rbx, 0x11
jne 0x1400b994a
mov r8, rbx
lea rdx, str.userpath_override
call fcn.140298510
test eax, eax
je 0x1400b9977
lea rcx, [rbp - 0x28]
cmp rsi, 0x10
cmovae rcx, rdi
cmp rbx, 0xd
jne 0x1400b9b5a
mov r8, rbx
lea rdx, str.Local_AppData
call fcn.140298510
test eax, eax
jne 0x1400b9b5a
xor ebx, ebx
movups xmm0, xmmword [rbp - 0x48]
movups xmm1, xmmword [rbp - 0x38]
movups xmmword [r15], xmm0
mov byte [rbp - 0x48], bl
mov qword [rbp - 0x30], r14
mov qword [rbp - 0x38], rbx
movups xmmword [r15 + 0x10], xmm1
cmp rsi, 0x10
jb 0x1400b99d0
lea rdx, [rsi + 1]
cmp rdx, 0x1000
mov rax, rdi
jb 0x1400b99c4
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400b9cea
mov rcx, rdi
call fcn.14029591c
mov r14, qword [rbp - 0x30]
cmp r14, 0x10
jb 0x1400b9c10
lea rdx, [r14 + 1]
jmp 0x1400b9caf
lea rcx, [rbp - 0x28]
cmp rsi, 0x10
cmovae rcx, rdi
cmp rbx, 8
jne 0x1400b9b5a
mov r8, rbx
lea rdx, str.rootpath
call fcn.140298510
test eax, eax
je 0x1400b9977
jmp 0x1400b9b5a
lea rdx, [rbp - 0x28]
cmp rsi, 0x10
cmovae rdx, rdi
cmp rbx, 4
jne 0x1400b9b5a
xor ebx, ebx
mov ecx, ebx
lea r8, str.Name
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r8 + rcx - 1]
jne 0x1400b9a58
cmp rcx, 4
jne 0x1400b9a40
mov eax, ebx
jmp 0x1400b9a5d
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1400b9b5a
lea rcx, [rbp - 0x48]
cmp r13, 0x10
cmovae rcx, r12
cmp qword [rbp - 0x38], 0xc
jne 0x1400b9b5a
lea r8d, [rax + 0xc]
lea rdx, str.BeamNG.drive
call fcn.140298510
test eax, eax
je 0x1400b9979
jmp 0x1400b9b5a
lea rcx, [rbp - 0x28]
cmp rsi, 0x10
cmovae rcx, rdi
cmp rbx, 8
jne 0x1400b9b5a
mov r8, rbx
lea rdx, str.SteamExe
call fcn.140298510
test eax, eax
jne 0x1400b9b5a
lea rbx, [rbp - 0x48]
cmp r13, 0x10
cmovae rbx, r12
mov r14, qword [rbp - 0x38]
test r14, r14
je 0x1400b9b54
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp]
call fcn.140297340
lea rcx, [0x1402d2b3c]
lea r13, [0x1402d2b3e]
nop word [rax + rax]
movzx eax, byte [rcx]
mov byte [rbp + rax], 1
inc rcx
cmp rcx, r13
jne 0x1400b9b00
mov r13, qword [rbp - 0x30]
lea rax, [r14 - 1]
mov r8, 0xffffffffffffffff
cmp rax, r8
cmovb r8, rax
add r8, rbx
movzx eax, byte [r8]
cmp byte [rbp + rax], 0
jne 0x1400b9b47
cmp r8, rbx
je 0x1400b9b54
dec r8
movzx eax, byte [r8]
cmp byte [rbp + rax], 0
je 0x1400b9b34
sub r8, rbx
cmp r8, 0xffffffffffffffff
jne 0x1400b9c3d
mov r14d, reloc.WS2_32.dll_ntohs
cmp rsi, 0x10
jb 0x1400b9b99
lea rdx, [rsi + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400b9b89
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400b9cea
mov rcx, rdi
call fcn.14029591c
mov r13, qword [rbp - 0x30]
mov r12, qword [rbp - 0x48]
cmp r13, 0x10
jb 0x1400b9bd1
lea rdx, [r13 + 1]
mov rax, r12
cmp rdx, 0x1000
jb 0x1400b9bc9
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400b9cde
mov rcx, r12
call fcn.14029591c
xor r13d, r13d
mov r12d, dword [rsp + 0x6c]
mov rsi, qword [rbp - 0x70]
mov rdi, qword [rbp - 0x78]
lea rbx, [r13 - 1]
mov ecx, dword [rsp + 0x70]
inc ecx
mov dword [rsp + 0x70], ecx
cmp ecx, dword [rsp + 0x74]
jb 0x1400b9760
mov rcx, rdi
call fcn.14029591c
xorps xmm0, xmm0
movups xmmword [r15], xmm0
mov qword [r15 + 0x10], r13
mov qword [r15 + 0x18], r14
mov rax, r15
mov rcx, qword [rbp + 0x4310]
xor rcx, rsp
call fcn.1402959c0
mov rbx, qword [rsp + 0x4470]
add rsp, 0x4420
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
xorps xmm0, xmm0
movups xmmword [r15], xmm0
xor ebx, ebx
mov qword [r15 + 0x10], rbx
mov qword [r15 + 0x18], rbx
cmp r14, r8
cmovb r8, r14
lea rdx, [rbp - 0x48]
cmp r13, 0x10
cmovae rdx, r12
mov rcx, r15
call fcn.14007d410
nop
cmp rsi, 0x10
jb 0x1400b9c9e
lea rdx, [rsi + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400b9c95
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400b9cea
mov rcx, rdi
call fcn.14029591c
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x1400b9c10
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b9cd4
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400b9cde
call fcn.14029591c
jmp 0x1400b9c10
call fcn.14029ca04
nop
call fcn.14007b7e0
int3
call fcn.14029ca04
int3