Function at 0x140038020
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x340]
sub rsp, 0x440
mov rax, qword [0x140396c80]
xor rax, rsp
mov qword [rbp + 0x330], rax
mov r14d, r9d
mov r12, r8
mov rdi, rdx
mov r15, rcx
xor esi, esi
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x28], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x40], sil
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x34], esi
mov dword [rsp + 0x38], 0x104
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SoftwareLeading_EdgeSpoutPanel
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140038331
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x20]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.InstallPath
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, eax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x140038331
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdi + r8], 0
jne 0x140038100
mov rdx, rdi
lea rcx, [rbp - 0x40]
call fcn.140008b10
mov edi, dword [rbp + 0x3a0]
test edi, edi
je 0x140038293
mov rcx, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x28]
mov rax, rdx
sub rax, rcx
cmp rax, 0xa
jb 0x14003816b
lea rax, [rcx + 0xa]
mov qword [rbp - 0x30], rax
lea rbx, [rbp - 0x40]
cmp rdx, 0xf
cmova rbx, qword [rbp - 0x40]
add rbx, rcx
mov r8d, 0xa
lea rdx, str.__TIMEOUT_
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0xa], 0
jmp 0x14003818f
mov qword [rsp + 0x20], 0xa
lea r9, str.__TIMEOUT_
movzx r8d, byte [rsp + 0x30]
mov edx, 0xa
lea rcx, [rbp - 0x40]
call fcn.140011960
lea r10, [rbp + 0x15]
mov r8, rdi
movabs r9, 0xcccccccccccccccd
dec r10
mov rax, r9
mul r8
shr rdx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r10], r8b
mov r8, rdx
test rdx, rdx
jne 0x1400381a0
lea r9, [rsp + 0x30]
lea r8, [rbp + 0x15]
mov rdx, r10
lea rcx, [rbp - 0x20]
call fcn.1400378f0
nop
lea r9, [rbp - 0x20]
mov rdi, qword [rbp - 0x20]
mov r15, qword [rbp - 8]
cmp r15, 0xf
cmova r9, rdi
mov r12, qword [rbp - 0x30]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
sub rax, r12
mov r14, qword [rbp - 0x10]
cmp r14, rax
ja 0x14003823a
lea rax, [r12 + r14]
mov qword [rbp - 0x30], rax
lea rbx, [rbp - 0x40]
cmp rcx, 0xf
cmova rbx, qword [rbp - 0x40]
lea rcx, [rbx + r12]
mov r8, r14
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
lea rax, [r14 + rbx]
mov byte [rax + r12], 0
jmp 0x140038259
mov qword [rsp + 0x20], r14
movzx r8d, byte [rsp + 0x30]
mov rdx, r14
lea rcx, [rbp - 0x40]
call fcn.140011960
mov r15, qword [rbp - 8]
mov rdi, qword [rbp - 0x20]
cmp r15, 0xf
jbe 0x140038293
lea rdx, [r15 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14003828b
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003828b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.1400be46c
cmp qword [rbp - 0x30], 0
je 0x1400382bc
lea r8, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova r8, qword [rbp - 0x40]
mov edx, 0x200
lea rcx, [rbp + 0x130]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
jmp 0x1400382c3
mov byte [rbp + 0x130], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
mov dword [rsp + 0x50], reloc.WS2_32.dll_WSASetLastError
mov dword [rsp + 0x54], 0x40
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rsi
lea rax, [rbp + 0x20]
mov qword [rsp + 0x68], rax
lea rax, [rbp + 0x130]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rsi
mov dword [rbp - 0x80], 5
mov qword [rbp - 0x78], rsi
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHELL32.dll_ShellExecuteExA]
jmp 0x14003835d
lea rdx, str.SoftwareLeading_EdgeSpoutPanel
lea rcx, str.ReadPathFromRegistry___could_not_open_subkey___s_
call fcn.140037ff0
bts r14d, 0x12
mov r9d, r14d
mov r8, r12
mov rdx, rdi
mov rcx, r15
call qword [sym.imp.USER32.dll_MessageBoxA]
mov esi, eax
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x14003839b
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140038396
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140038396
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400be46c
mov eax, esi
mov rcx, qword [rbp + 0x330]
xor rcx, rsp
call fcn.1400be7c0
add rsp, 0x440
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret