Function at 0x1400a2670
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f0]
sub rsp, 0x2f0
mov rax, qword [0x140468080]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
xor esi, esi
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], rsi
mov qword [rbp - 0x50], 0xf
mov byte [rbp - 0x68], sil
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], 0xf
mov byte [rsp + 0x58], sil
lea rcx, str.OBS_PLUGINS_PATH
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov rdi, 0xffffffffffffffff
test rax, rax
je 0x1400a270b
mov r8, rdi
inc r8
cmp byte [rax + r8], 0
jne 0x1400a26f5
mov rdx, rax
lea rcx, [rbp - 0x68]
call fcn.14000dfc0
lea rcx, str.OBS_PLUGINS_DATA_PATH
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x1400a2737
mov r8, rdi
inc r8
cmp byte [rax + r8], 0
jne 0x1400a2720
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.14000dfc0
cmp qword [rbp - 0x58], 0
je 0x1400a287c
mov rbx, qword [rsp + 0x68]
test rbx, rbx
je 0x1400a287c
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], 0xf
mov byte [rsp + 0x38], 0
lea r9, [rsp + 0x58]
cmp qword [rsp + 0x70], 0xf
cmova r9, qword [rsp + 0x58]
lea rcx, [rsp + 0x38]
cmp rbx, 0xf
ja 0x1400a279e
mov qword [rsp + 0x48], rbx
mov r8, rbx
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov byte [rsp + rbx + 0x38], 0
jmp 0x1400a27ab
mov qword [rsp + 0x20], rbx
mov rdx, rbx
call fcn.14001f950
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
mov rax, rdx
sub rax, rcx
cmp rax, 9
jb 0x1400a27f7
lea rax, [rcx + 9]
mov qword [rsp + 0x48], rax
lea rbx, [rsp + 0x38]
cmp rdx, 0xf
cmova rbx, qword [rsp + 0x38]
add rbx, rcx
mov r8d, 9
lea rdx, str.__module_
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 9], 0
jmp 0x1400a2816
mov qword [rsp + 0x20], 9
lea r9, str.__module_
mov edx, 9
lea rcx, [rsp + 0x38]
call fcn.14001f950
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0xf
cmova rdx, qword [rsp + 0x38]
lea rcx, [rbp - 0x68]
cmp qword [rbp - 0x50], 0xf
cmova rcx, qword [rbp - 0x68]
call qword [sym.imp.obs.dll_obs_add_module_path]
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x1400a287c
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a2877
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a2877
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140283e60
cmp byte [0x14065bb14], 0
jne 0x1400a2be0
lea r8, str.obs_studio_plugins__module_
mov edx, 0x200
lea rcx, [rbp - 0x20]
call qword [sym.imp.obs.dll_os_get_program_data_path]
test eax, eax
jle 0x1400a2be0
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], rsi
mov qword [rbp - 0x30], rsi
lea rax, [rbp - 0x20]
nop word [rax + rax]
inc rdi
cmp byte [rax + rdi], 0
jne 0x1400a28c0
mov r8, rdi
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x48]
call fcn.140009a00
nop
movabs rcx, 0x7fffffffffffffff
mov r14, rcx
mov r15, qword [rbp - 0x38]
sub r14, r15
cmp r14, 5
jb 0x1400a2cb3
lea rax, [rbp - 0x48]
mov rsi, qword [rbp - 0x48]
mov r13, qword [rbp - 0x30]
cmp r13, 0xf
cmova rax, rsi
mov qword [rsp + 0x30], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x78], xmm1
lea r12, [r15 + 5]
mov ebx, 0xf
lea rdi, [rsp + 0x78]
movabs rdx, 0x8000000000000000
mov r8d, 0x16
cmp r12, rbx
jbe 0x1400a29b4
mov rbx, r12
or rbx, 0xf
cmp rbx, rcx
jbe 0x1400a2976
mov rbx, rcx
lea rax, [rdx + 0x27]
mov rcx, rax
call fcn.140283e94
test rax, rax
je 0x1400a2b97
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x1400a29aa
cmp rbx, r8
cmovb rbx, r8
lea rcx, [rbx + 1]
test rcx, rcx
jne 0x1400a298a
xor edi, edi
jmp 0x1400a29af
cmp rcx, 0x1000
jb 0x1400a29a2
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400a2ca7
jmp 0x1400a2957
call fcn.140283e94
mov rdi, rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x78], rdi
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], rbx
mov r8, r15
mov rdx, rax
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [str._data]
mov dword [r15 + rdi], eax
movzx eax, byte [0x1403db4ec]
mov byte [r15 + rdi + 4], al
mov byte [rdi + r12], 0
lea rax, [rsp + 0x78]
cmp qword [rbp - 0x70], 0xf
cmova rax, qword [rsp + 0x78]
mov qword [rsp + 0x30], rax
cmp r14, 0xa
jb 0x1400a2ca1
lea r12, [rbp - 0x48]
cmp r13, 0xf
cmova r12, rsi
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
lea r14, [r15 + 0xa]
mov ebx, 0xf
lea rdi, [rsp + 0x38]
cmp r14, rbx
jbe 0x1400a2abd
mov rbx, r14
or rbx, 0xf
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
jbe 0x1400a2a7e
mov rbx, rax
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140283e94
test rax, rax
je 0x1400a2b45
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x1400a2ab8
cmp rbx, 0x16
mov eax, 0x16
cmovb rbx, rax
lea rcx, [rbx + 1]
test rcx, rcx
jne 0x1400a2a98
xor edi, edi
jmp 0x1400a2ab8
cmp rcx, 0x1000
jb 0x1400a2ab0
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400a2cad
jmp 0x1400a2a5f
call fcn.140283e94
mov rdi, rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], rbx
mov r8, r15
mov rdx, r12
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
movsd xmm0, qword [str._bin_64bit]
movsd qword [r15 + rdi], xmm0
movzx eax, word [0x1403db4f8]
mov word [r15 + rdi + 8], ax
mov byte [rdi + r14], 0
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0xf
cmova rcx, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
call qword [sym.imp.obs.dll_obs_add_module_path]
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x1400a2b51
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a2b4c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a2b4c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140283e60
movdqa xmm0, xmmword [0x1403f9950]
movdqu xmmword [rsp + 0x48], xmm0
mov byte [rsp + 0x38], 0
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x1400a2ba4
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a2b9e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a2b9e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140283e60
nop
cmp r13, 0xf
jbe 0x1400a2bde
lea rdx, [r13 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x1400a2bd6
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a2bd6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.140283e60
xor esi, esi
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x1400a2c20
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a2c1b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a2c1b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140283e60
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], 0xf
mov byte [rsp + 0x58], 0
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x1400a2c71
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a2c6c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a2c6c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140283e60
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.140283e40
lea r11, [rsp + 0x2f0]
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
call fcn.1400036d0
nop
call fcn.140003630
nop
call fcn.140003630
nop
call fcn.1400036d0
int3