Function at 0x140125708
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rax, qword [0x1403c2018]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov bl, r8b
mov rsi, rdx
mov r14, rcx
xor edi, edi
mov dword [rbp - 0x68], edi
mov qword [rcx], rdi
xor edx, edx
mov r8d, 0xe8
lea rcx, [rbp - 0x50]
call fcn.14003a220
lea edx, [rdi + 1]
lea rcx, [rbp - 0x50]
call fcn.14009fe7c
nop
test bl, bl
je 0x140125779
lea rdx, str.Wow6432Node_
lea rcx, [rbp - 0x50]
call fcn.14002c7c8
lea rdx, str.CLSID_
lea rcx, [rbp - 0x50]
call fcn.14002c7c8
mov rcx, rax
mov rdx, rsi
call fcn.14002c7c8
mov rcx, rax
lea rdx, str.LocalServer32
call fcn.14002c7c8
nop
mov qword [rsp + 0x78], rdi
movdqa xmm0, xmmword [0x140364f60]
movdqu xmmword [rbp - 0x78], xmm0
mov word [rsp + 0x78], di
mov dword [rbp - 0x68], 8
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x48]
call fcn.14002c118
mov rdx, qword [rsp + 0x40]
test rdx, rdx
je 0x1401257ea
mov r8, qword [rsp + 0x48]
lea rcx, [rsp + 0x78]
call fcn.14001b664
nop
mov ebx, 5
lea rdx, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae rdx, qword [rsp + 0x78]
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rsi, 0xffffffff80000000
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1401258a4
mov qword [rsp + 0x58], rdi
movdqa xmm0, xmmword [0x140364f60]
movdqu xmmword [rsp + 0x68], xmm0
mov word [rsp + 0x58], di
mov dword [rbp - 0x68], 0x25
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x48]
call fcn.14002c118
mov rdx, qword [rsp + 0x40]
test rdx, rdx
je 0x14012586c
mov r8, qword [rsp + 0x48]
lea rcx, [rsp + 0x58]
call fcn.14001b664
nop
mov ebx, reloc.WS2_32.dll_socket
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rdx, qword [rsp + 0x58]
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20119
xor r8d, r8d
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
mov sil, dil
jne 0x1401258a7
mov sil, 1
test bl, 2
je 0x1401258ba
and ebx, 0xfffffffd
lea rcx, [rsp + 0x58]
call fcn.14001b814
nop
test bl, 1
je 0x1401258c9
lea rcx, [rsp + 0x78]
call fcn.14001b814
test sil, sil
je 0x140125958
mov dword [rbp - 0x68], edi
lea rax, [rbp - 0x68]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
mov r9d, 2
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x14012594d
mov ecx, dword [rbp - 0x68]
call fcn.140047c60
mov rbx, rax
test rax, rax
je 0x14012594d
lea rax, [rbp - 0x68]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rdi
mov r9d, 2
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x140125945
mov qword [r14], rbx
mov dil, 1
jmp 0x14012594d
mov rcx, rbx
call fcn.140046478
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rbp + 0x38]
call fcn.1400a0080
nop
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x38], rax
lea rcx, [rbp + 0x38]
call fcn.14014a318
nop
mov al, dil
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.140038910
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret