Function at 0x140193910
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 0x140193a7f
cmp eax, 1
jne 0x1401939fe
mov qword [rsp + 0x38], rbp
xor ecx, ecx
mov qword [rsp + 0x30], rsi
xor bpl, bpl
call fcn.1400f2f90
mov rsi, rax
test rax, rax
je 0x1401939f7
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 0x1401939ae
cmp dword [rsp + 0x50], 0
setne bpl
mov rax, qword [rsi]
mov edx, 1
mov rcx, rsi
call qword [rax]
test bpl, bpl
je 0x1401939f7
mov rax, qword [rdi + 0xc0]
cmp byte [rax + 0x34], 0
jne 0x1401939f0
cmp byte [rax + 0x2c], 0
jne 0x1401939f0
mov edx, 5
mov rcx, rdi
call fcn.1401919d0
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
add rsp, 0x40
pop rdi
ret
mov edx, 7
jmp 0x1401939d8
mov edx, 2
jmp 0x1401939d8
cmp eax, 2
jne 0x140193a34
mov rax, qword [rcx + 0xc0]
cmp byte [rax + 0x34], 0
jne 0x140193a25
cmp byte [rax + 0x2c], 0
jne 0x140193a25
mov edx, 5
add rsp, 0x40
pop rdi
jmp fcn.1401919d0
mov edx, 7
add rsp, 0x40
pop rdi
jmp fcn.1401919d0
cmp eax, 5
jne 0x140193a60
mov rcx, qword [rcx + 0x120]
test rcx, rcx
je 0x140193a4e
call fcn.14011ebc0
test al, al
je 0x1401939ea
mov edx, 7
mov rcx, rdi
add rsp, 0x40
pop rdi
jmp fcn.1401919d0
cmp eax, 3
je 0x140193a7f
cmp eax, 0xd
je 0x140193a7f
cmp eax, 4
jne 0x140193a8e
mov rax, qword [rcx + 0xc0]
cmp dword [rax + 0x218], 2
jne 0x140193abc
mov edx, 1
add rsp, 0x40
pop rdi
jmp fcn.1401919d0
cmp eax, 7
jne 0x140193aa0
lea edx, [rax + 1]
add rsp, 0x40
pop rdi
jmp fcn.1401919d0
cmp eax, 8
jne 0x140193acb
mov rcx, qword [rcx + 0xc0]
call fcn.1400f8a70
mov rcx, rdi
test al, al
je 0x140193b9d
mov edx, 9
add rsp, 0x40
pop rdi
jmp fcn.1401919d0
cmp eax, 9
jne 0x140193b86
mov r8, qword [rcx + 0xc0]
mov rcx, r8
call fcn.1400f8a70
test al, al
je 0x140193b74
mov rcx, r8
call fcn.1400f8c10
test al, al
jne 0x140193b19
mov rax, qword [rdi + 0xc0]
cmp dword [rax + 0x100], 1
jne 0x140193b10
cmp byte [rax + 0x104], 0
je 0x140193b19
call fcn.140179480
test al, al
je 0x140193b2b
mov edx, 0xa
mov rcx, rdi
add rsp, 0x40
pop rdi
jmp fcn.1401919d0
mov rcx, qword [rdi + 0xc0]
cmp byte [rcx + 0x1e], 0
je 0x140193b62
call fcn.14010ff50
mov rcx, rdi
test al, al
je 0x140193b53
mov edx, 0xa
add rsp, 0x40
pop rdi
jmp fcn.1401919d0
mov edx, 4
add rsp, 0x40
pop rdi
jmp fcn.1401919d0
mov edx, 4
mov rcx, rdi
add rsp, 0x40
pop rdi
jmp fcn.1401919d0
mov edx, 0xc
mov rcx, rdi
add rsp, 0x40
pop rdi
jmp fcn.1401919d0
cmp eax, 0xa
jne 0x140193b98
lea edx, [rax + 1]
add rsp, 0x40
pop rdi
jmp fcn.1401919d0
cmp eax, 0xb
jne 0x140193bac
mov edx, 0xc
add rsp, 0x40
pop rdi
jmp fcn.1401919d0
cmp eax, 0xc
jne 0x1401939ea
mov rax, qword [rcx + 0xc0]
cmp byte [rax + 0x264], 0
je 0x140193bca
call fcn.140110960
mov rax, qword [rdi]
mov rcx, rdi
add rsp, 0x40
pop rdi
jmp qword [rax + 0x120]