Function at 0x140039650
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x190]
sub rsp, 0x290
mov rax, qword [0x14018a048]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov r14, rcx
xor edi, edi
mov dword [rbp], edi
mov qword [rcx + 0x48], rdx
mov qword [rbp + 0x60], 0x11c
mov qword [rbp + 0x68], rdi
mov dword [rbp + 0x70], edi
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp + 0x74]
call fcn.14009ebc0
mov dword [rbp + 0x174], edi
mov dword [rbp + 0x178], 0x10000
mov r8b, 1
mov edx, 0x80
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov r8, rax
mov edx, 0x80
lea rcx, [rbp + 0x60]
call qword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
sete al
mov byte [r14 + 0x5c], al
xor r12b, r12b
mov r15d, edi
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
lea r9d, [rdi + 1]
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400397ea
mov rbx, qword [rbp - 0x40]
mov qword [rbp + 0x50], rbx
mov dword [rbp], 4
lea rax, [rbp]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x2c]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x28]
xor r8d, r8d
lea rdx, str.CurrentMajorVersionNumber
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400397dc
cmp dword [rbp + 0x28], 4
jne 0x1400397dc
mov eax, dword [rbp + 0x2c]
mov dword [r14 + 0x50], eax
lea r8, [r14 + 0x54]
lea rdx, str.CurrentMinorVersionNumber
mov rcx, qword [rbp - 0x40]
call fcn.140039e90
test al, al
je 0x1400397dc
lea r8, [r14 + 0x58]
lea rdx, str.CurrentBuildNumber
mov rcx, qword [rbp - 0x40]
call fcn.140039f10
test al, al
je 0x1400397dc
mov dword [rbp + 0x2c], 4
lea rax, [rbp + 0x2c]
mov qword [rsp + 0x28], rax
lea rax, [rbp]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x28]
xor r8d, r8d
lea rdx, [0x140144b58]
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400397dc
cmp dword [rbp + 0x28], 4
jne 0x1400397dc
mov r15d, dword [rbp]
mov r12b, 1
test rbx, rbx
je 0x1400397ea
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xorps xmm0, xmm0
movups xmmword [rbp + 8], xmm0
mov qword [rbp + 0x18], rdi
mov qword [rbp + 0x20], rdi
lea r13, [0x140144a48]
mov rbx, 0xffffffffffffffff
nop word [rax + rax]
inc rbx
cmp word [r13 + rbx*2], 0
jne 0x140039810
movabs rsi, 0x7ffffffffffffffe
cmp rbx, rsi
ja 0x140039d9d
mov ecx, 0xa
mov qword [rbp + 0x20], 7
cmp rbx, 8
jae 0x140039861
mov qword [rbp + 0x18], rbx
add rbx, rbx
mov r8, rbx
mov rdx, r13
lea rcx, [rbp + 8]
call fcn.14009e510
mov word [rbp + rbx + 8], di
xor esi, esi
jmp 0x1400398aa
mov rax, rbx
or rax, 7
cmp rax, rsi
ja 0x140039877
mov rsi, rax
cmp rax, rcx
cmovb rsi, rcx
lea rdx, [rsi + 1]
lea rcx, [rbp + 8]
call fcn.14002f8d0
mov rdi, rax
mov qword [rbp + 8], rax
mov qword [rbp + 0x18], rbx
mov qword [rbp + 0x20], rsi
add rbx, rbx
mov r8, rbx
mov rdx, r13
mov rcx, rax
call fcn.14009e510
xor esi, esi
mov word [rbx + rdi], si
lea rdx, [rbp + 8]
lea rcx, [rbp - 0x80]
call fcn.140059c40
nop
lea rdx, [rbp - 0x38]
mov rcx, rax
call fcn.140055fb0
movzx ebx, al
lea rcx, [rbp - 0x80]
call fcn.140059ce0
nop
mov rdx, qword [rbp + 0x20]
cmp rdx, 8
jb 0x140039911
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003990c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140039da3
call fcn.14009b94c
test bl, bl
je 0x140039d67
mov edx, dword [rbp - 0x1c]
lea rcx, [rbp + 0x30]
call fcn.1400393a0
nop
mov eax, dword [rbp - 0x18]
and eax, 0x40004
xorps xmm0, xmm0
mov qword [rbp + 0x20], 0xf
mov ebx, 8
movups xmmword [rbp + 8], xmm0
mov dword [rbp], ebx
cmp eax, 0x40004
jne 0x140039972
mov qword [rbp + 0x18], 0xa
movsd xmm0, qword [str.Windows_NT]
movsd qword [rbp + 8], xmm0
movzx eax, word [0x140144a38]
mov word [rbp + 0x10], ax
mov byte [rbp + 0x12], 0
jmp 0x14003999c
mov qword [rbp + 0x18], 7
mov eax, dword [str.Unknown]
mov dword [rbp + 8], eax
movzx eax, word [0x140144a44]
mov word [rbp + 0xc], ax
movzx eax, byte [0x140144a46]
mov byte [rbp + 0xe], al
mov byte [rbp + 0xf], 0
test r12b, r12b
jne 0x1400399c4
mov ecx, dword [rbp - 0x30]
mov eax, ecx
shr eax, 0x10
mov dword [r14 + 0x50], eax
movzx eax, cx
mov dword [r14 + 0x54], eax
mov ecx, dword [rbp - 0x2c]
mov eax, ecx
shr eax, 0x10
mov dword [r14 + 0x58], eax
movzx r15d, cx
mov r8d, r15d
lea rdx, [0x140144b60]
lea rcx, [rbp - 0x80]
call fcn.14005c830
lea rdi, [r14 + 0x28]
mov rdx, rax
mov rcx, rdi
call fcn.140028300
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x140039a21
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140039a1c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140039da9
call fcn.14009b94c
mov r8, qword [rbp + 0x40]
test r8, r8
jne 0x140039a36
lea rdx, [0x14013c8e0]
jmp 0x140039b56
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], 2
mov qword [rbp - 0x48], 0xf
mov eax, 0x2820
mov word [rbp - 0x60], ax
mov byte [rbp - 0x5e], 0
mov dword [rbp], 9
lea rdx, [rbp + 0x30]
cmp qword [rbp + 0x48], 0x10
cmovae rdx, qword [rbp + 0x30]
lea rcx, [rbp - 0x60]
call fcn.1400082a0
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov dword [rbp], 0x1b
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x58]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x140039aeb
lea rax, [rcx + 1]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x40]
cmp rdx, 0x10
cmovae rax, qword [rsp + 0x40]
mov word [rax + rcx], 0x29
lea rax, [rsp + 0x40]
jmp 0x140039b0c
mov qword [rsp + 0x20], 1
lea r9, [0x14013de00]
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rsp + 0x40]
call fcn.140002450
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov ebx, 0x3f
mov dword [rbp], ebx
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0x10
cmovae rdx, qword [rsp + 0x60]
cmp qword [rdi + 0x18], 0x10
jb 0x140039b60
mov rdi, qword [rdi]
mov eax, dword [r14 + 0x58]
mov ecx, dword [r14 + 0x54]
lea r8, [rbp + 8]
cmp qword [rbp + 0x20], 0x10
cmovae r8, qword [rbp + 8]
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
mov r9d, dword [r14 + 0x50]
lea rdx, str._s__u._u._u._s_s
lea rcx, [rbp - 0x80]
call fcn.14005c830
lea rcx, [r14 + 8]
mov rdx, rax
call fcn.140028300
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x140039be3
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140039bde
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140039daf
call fcn.14009b94c
movdqa xmm0, xmmword [0x14013df10]
movdqu xmmword [rbp - 0x70], xmm0
mov byte [rbp - 0x80], 0
test bl, 4
je 0x140039c4c
and ebx, 0xfffffffb
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x140039c39
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140039c34
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140039db5
call fcn.14009b94c
movdqa xmm0, xmmword [0x14013df10]
movdqu xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x60], 0
test bl, 2
je 0x140039ca4
and ebx, 0xfffffffd
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x140039c91
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140039c8c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140039dbb
call fcn.14009b94c
movdqa xmm0, xmmword [0x14013df10]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], 0
test bl, 1
je 0x140039ce5
mov rdx, qword [rbp - 0x48]
cmp rdx, 0x10
jb 0x140039ce5
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140039cdf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140039dc1
call fcn.14009b94c
nop
mov rdx, qword [rbp + 0x20]
cmp rdx, 0x10
jb 0x140039d20
inc rdx
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140039d1b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140039dc7
call fcn.14009b94c
mov qword [rbp + 0x18], rsi
mov qword [rbp + 0x20], 0xf
mov byte [rbp + 8], 0
mov rdx, qword [rbp + 0x48]
cmp rdx, 0x10
jb 0x140039d67
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140039d62
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140039d97
call fcn.14009b94c
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.14009bde0
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1400ad228
int3
call fcn.140008150
int3
call fcn.1400ad228
nop
call fcn.1400ad228
nop
call fcn.1400ad228
nop
call fcn.1400ad228
nop
call fcn.1400ad228
nop
call fcn.1400ad228
nop
call fcn.1400ad228
int3