Function at 0x140195550
Capabilities:
Create thread
Query or enumerate registry value

Disassembly:
push rdi
sub rsp, 0x40
mov eax, dword [rcx + 0xcc]
mov rdi, rcx
test eax, eax
je 0x1401956bf
cmp eax, 1
jne 0x14019563e
mov qword [rsp + 0x38], rbp
xor ecx, ecx
mov qword [rsp + 0x30], rsi
xor bpl, bpl
call fcn.1400f4570
mov rsi, rax
test rax, rax
je 0x140195637
mov rcx, qword [rsi + 8]
lea rax, [rsp + 0x58]
lea r9, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
lea rdx, str.EULA37
xor r8d, r8d
mov qword [rsp + 0x68], rbx
mov dword [rsp + 0x50], 0
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x58], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, eax
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test ebx, ebx
mov rbx, qword [rsp + 0x68]
jne 0x1401955ee
cmp dword [rsp + 0x50], 0
setne bpl
mov rax, qword [rsi]
mov edx, 1
mov rcx, rsi
call qword [rax]
test bpl, bpl
je 0x140195637
mov rax, qword [rdi + 0xc0]
cmp byte [rax + 0x35], 0
jne 0x140195630
cmp byte [rax + 0x2c], 0
jne 0x140195630
mov edx, 5
mov rcx, rdi
call fcn.140193610
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
add rsp, 0x40
pop rdi
ret
mov edx, 7
jmp 0x140195618
mov edx, 2
jmp 0x140195618
cmp eax, 2
jne 0x140195674
mov rax, qword [rcx + 0xc0]
cmp byte [rax + 0x35], 0
jne 0x140195665
cmp byte [rax + 0x2c], 0
jne 0x140195665
mov edx, 5
add rsp, 0x40
pop rdi
jmp fcn.140193610
mov edx, 7
add rsp, 0x40
pop rdi
jmp fcn.140193610
cmp eax, 5
jne 0x1401956a0
mov rcx, qword [rcx + 0x120]
test rcx, rcx
je 0x14019568e
call fcn.1401205b0
test al, al
je 0x14019562a
mov edx, 7
mov rcx, rdi
add rsp, 0x40
pop rdi
jmp fcn.140193610
cmp eax, 3
je 0x1401956bf
cmp eax, 0xd
je 0x1401956bf
cmp eax, 4
jne 0x1401956ce
mov rax, qword [rcx + 0xc0]
cmp dword [rax + 0x220], 2
jne 0x1401956fc
mov edx, 1
add rsp, 0x40
pop rdi
jmp fcn.140193610
cmp eax, 7
jne 0x1401956e0
lea edx, [rax + 1]
add rsp, 0x40
pop rdi
jmp fcn.140193610
cmp eax, 8
jne 0x14019570b
mov rcx, qword [rcx + 0xc0]
call fcn.1400fa050
mov rcx, rdi
test al, al
je 0x1401957dd
mov edx, 9
add rsp, 0x40
pop rdi
jmp fcn.140193610
cmp eax, 9
jne 0x1401957c6
mov r8, qword [rcx + 0xc0]
mov rcx, r8
call fcn.1400fa050
test al, al
je 0x1401957b4
mov rcx, r8
call fcn.1400fa1f0
test al, al
jne 0x140195759
mov rax, qword [rdi + 0xc0]
cmp dword [rax + 0x108], 1
jne 0x140195750
cmp byte [rax + 0x10c], 0
je 0x140195759
call fcn.14017b0c0
test al, al
je 0x14019576b
mov edx, 0xa
mov rcx, rdi
add rsp, 0x40
pop rdi
jmp fcn.140193610
mov rcx, qword [rdi + 0xc0]
cmp byte [rcx + 0x1e], 0
je 0x1401957a2
call fcn.140111940
mov rcx, rdi
test al, al
je 0x140195793
mov edx, 0xa
add rsp, 0x40
pop rdi
jmp fcn.140193610
mov edx, 4
add rsp, 0x40
pop rdi
jmp fcn.140193610
mov edx, 4
mov rcx, rdi
add rsp, 0x40
pop rdi
jmp fcn.140193610
mov edx, 0xc
mov rcx, rdi
add rsp, 0x40
pop rdi
jmp fcn.140193610
cmp eax, 0xa
jne 0x1401957d8
lea edx, [rax + 1]
add rsp, 0x40
pop rdi
jmp fcn.140193610
cmp eax, 0xb
jne 0x1401957ec
mov edx, 0xc
add rsp, 0x40
pop rdi
jmp fcn.140193610
cmp eax, 0xc
jne 0x14019562a
mov rax, qword [rcx + 0xc0]
cmp byte [rax + 0x26c], 0
je 0x14019580a
call fcn.140112350
mov rax, qword [rdi]
mov rcx, rdi
add rsp, 0x40
pop rdi
jmp qword [rax + 0x120]