Function at 0x1401008f0
Capabilities:
Get installed programs
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xbb8]
sub rsp, 0xc90
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x14030bc70]
xor rax, rsp
mov qword [rbp + 0xb80], rax
xor r15b, r15b
xor ebx, ebx
mov qword [rsp + 0x50], rbx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x14010096c
xor al, al
jmp 0x140100c03
mov r12d, ebx
mov edi, reloc.WSOCK32.dll_listen
nop dword [rax]
nop dword [rax + rax]
mov dword [rsp + 0x40], 0x400
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x40]
lea r8, [rbp + 0x380]
mov edx, r12d
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov r13d, eax
test eax, eax
jne 0x140100bcf
lea r9, [rbp + 0x380]
lea r8, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
lea rdx, [0x140213910]
lea rcx, [rbp + 0x780]
call qword [sym.imp.USER32.dll_wsprintfA]
mov qword [rsp + 0x48], rbx
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rbp + 0x780]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rcx, qword [rsp + 0x48]
test eax, eax
je 0x140100a23
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140100bcf
mov dword [rsp + 0x40], 0x400
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.DisplayName
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140100bbf
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x78], reloc.WSOCK32.dll_ntohs
mov qword [rsp + 0x70], rbx
mov byte [rsp + 0x60], al
cmp byte [rbp - 0x80], al
jne 0x140100a7f
mov r8, rbx
jmp 0x140100a9a
lea rax, [rbp - 0x80]
or r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140100a90
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x60]
call fcn.140009d60
nop
mov r14, qword [rsp + 0x70]
mov rsi, r14
cmp r14, 0xd
cmovae rsi, rdi
lea rcx, [rsp + 0x60]
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x78]
cmp rdi, 0x10
cmovae rcx, rbx
mov r8d, reloc.WSOCK32.dll_listen
cmp rsi, r8
cmovb r8, rsi
test r8, r8
je 0x140100af2
lea rdx, str.Citrix_XenApp
call fcn.1401420f0
test eax, eax
jne 0x140100b68
cmp rsi, 0xd
jne 0x140100b68
cmp r14, 0x11
jne 0x140100b68
lea rax, [rsp + 0x60]
cmp rdi, 0x10
cmovae rax, rbx
cmp byte [rax + 0xe], 0x30
jl 0x140100b68
lea rax, [rsp + 0x60]
cmp rdi, 0x10
cmovae rax, rbx
cmp byte [rax + 0xe], 0x39
jg 0x140100b68
lea rax, [rsp + 0x60]
cmp rdi, 0x10
cmovae rax, rbx
cmp byte [rax + 0xf], 0x2e
jne 0x140100b68
lea rax, [rsp + 0x60]
cmp rdi, 0x10
cmovae rax, rbx
cmp byte [rax + 0x10], 0x30
jl 0x140100b68
lea rax, [rsp + 0x60]
cmp rdi, 0x10
cmovae rax, rbx
movzx r15d, r15b
cmp byte [rax + 0x10], 0x39
mov eax, 1
cmovle r15d, eax
mov rax, qword [rsp + 0x78]
cmp rax, 0x10
jb 0x140100ba8
mov rcx, qword [rsp + 0x60]
inc rax
cmp rax, 0x1000
jb 0x140100ba3
test cl, 0x1f
jne 0x140100bee
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x140100be8
sub rcx, rax
cmp rcx, 8
jb 0x140100be2
cmp rcx, 0x27
ja 0x140100bdc
mov rcx, rax
call fcn.1400dbae0
mov qword [rsp + 0x78], reloc.WSOCK32.dll_ntohs
xor ebx, ebx
mov qword [rsp + 0x70], rbx
mov byte [rsp + 0x60], bl
lea edi, [rbx + 0xd]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test r15b, r15b
jne 0x140100bf4
inc r12d
test r13d, r13d
jne 0x140100bf4
jmp 0x140100980
call fcn.14014b4d8
int3
call fcn.14014b4d8
int3
call fcn.14014b4d8
int3
call fcn.14014b4d8
int3
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, r15b
mov rcx, qword [rbp + 0xb80]
xor rcx, rsp
call fcn.140113910
lea r11, [rsp + 0xc90]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret