Function at 0x140033150
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 [0x140342fc0]
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 0x1400331d3
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
lea rdx, [0x1402f2e2e]
mov rcx, rbx
call fcn.140011f20
jmp 0x14003334f
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 0x14003323a
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, [0x1402f2e2e]
mov rcx, rbx
call fcn.140011f20
jmp 0x14003334f
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.140039770
nop
lea rax, [rbp + 0x160]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140033280
lea rdx, [rbp + 0x160]
lea rcx, [rsp + 0x40]
call fcn.140046ad0
mov r8d, 5
lea rdx, str.Main
lea rcx, [rsp + 0x40]
call fcn.140046ad0
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 0x140033376
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
lea rdx, [0x1402f2e2e]
mov rcx, rbx
call fcn.140011f20
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x14003334f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003334a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140033471
call fcn.14025e770
mov rax, rbx
mov rcx, qword [rbp + 0x360]
xor rcx, rsp
call fcn.14025e750
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 0x140033405
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 0x1400333f3
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
jmp 0x14003330d
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.1400734a0
jmp 0x14003330d
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, [0x1402f2e2e]
mov rcx, rbx
call fcn.140011f20
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x14003334f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003334a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003334a
call fcn.14027aed0
int3