Function at 0x140034210
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x370]
sub rsp, 0x470
mov rax, qword [0x140346fc0]
xor rax, rsp
mov qword [rbp + 0x360], rax
mov rbx, rcx
mov qword [rsp + 0x38], rcx
xor edi, edi
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9d, [rdi + 1]
xor r8d, r8d
lea rdx, str.SOFTWAREMozillaMozilla_Firefox
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor r8d, r8d
test eax, eax
je 0x140034293
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
lea rdx, [0x1402f5e6e]
mov rcx, rbx
call fcn.140012310
jmp 0x14003440f
mov dword [rsp + 0x34], 0x100
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x160]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea rdx, str.CurrentVersion
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
test eax, eax
je 0x1400342fa
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
xor r8d, r8d
lea rdx, [0x1402f5e6e]
mov rcx, rbx
call fcn.140012310
jmp 0x14003440f
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov r8d, 0x21
lea rdx, str.SOFTWAREMozillaMozilla_Firefox_
lea rcx, [rsp + 0x40]
call fcn.140025e20
nop
lea rax, [rbp + 0x160]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140034340
lea rdx, [rbp + 0x160]
lea rcx, [rsp + 0x40]
call fcn.140048ec0
mov r8d, 5
lea rdx, str.Main
lea rcx, [rsp + 0x40]
call fcn.140048ec0
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova rdx, qword [rsp + 0x40]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor r8d, r8d
test eax, eax
je 0x140034436
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
lea rdx, [0x1402f5e6e]
mov rcx, rbx
call fcn.140012310
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x14003440f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003440a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140034531
call fcn.140260e60
mov rax, rbx
mov rcx, qword [rbp + 0x360]
xor rcx, rsp
call fcn.140260e40
lea r11, [rsp + 0x470]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
mov dword [rsp + 0x34], 0x100
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea rdx, str.Install_Directory
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
test eax, eax
jne 0x1400344c5
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r9d, dword [rsp + 0x34]
shr r9, 1
lea rax, [rsp + 0x60]
lea rax, [rax + r9*2]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
lea rcx, [rsp + 0x60]
cmp rcx, rax
jne 0x1400344b3
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
jmp 0x1400343cd
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.140075aa0
jmp 0x1400343cd
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
xor r8d, r8d
lea rdx, [0x1402f5e6e]
mov rcx, rbx
call fcn.140012310
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x14003440f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003440a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003440a
call fcn.14027d5c0
int3