Function at 0x1400a1c60
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 [0x14045d080]
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 0x1400a1cfb
mov r8, rdi
inc r8
cmp byte [rax + r8], 0
jne 0x1400a1ce5
mov rdx, rax
lea rcx, [rbp - 0x68]
call fcn.14000dff0
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 0x1400a1d27
mov r8, rdi
inc r8
cmp byte [rax + r8], 0
jne 0x1400a1d10
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.14000dff0
cmp qword [rbp - 0x58], 0
je 0x1400a1e6c
mov rbx, qword [rsp + 0x68]
test rbx, rbx
je 0x1400a1e6c
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 0x1400a1d8e
mov qword [rsp + 0x48], rbx
mov r8, rbx
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov byte [rsp + rbx + 0x38], 0
jmp 0x1400a1d9b
mov qword [rsp + 0x20], rbx
mov rdx, rbx
call fcn.14001f980
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
mov rax, rdx
sub rax, rcx
cmp rax, 9
jb 0x1400a1de7
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 0x1400a1e06
mov qword [rsp + 0x20], 9
lea r9, str.__module_
mov edx, 9
lea rcx, [rsp + 0x38]
call fcn.14001f980
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 0x1400a1e6c
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a1e67
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a1e67
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14027c260
cmp byte [0x14072b4ce], 0
jne 0x1400a21d0
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 0x1400a21d0
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 0x1400a1eb0
mov r8, rdi
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x48]
call fcn.140009a30
nop
movabs rcx, 0x7fffffffffffffff
mov r14, rcx
mov r15, qword [rbp - 0x38]
sub r14, r15
cmp r14, 5
jb 0x1400a22a3
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 0x1400a1fa4
mov rbx, r12
or rbx, 0xf
cmp rbx, rcx
jbe 0x1400a1f66
mov rbx, rcx
lea rax, [rdx + 0x27]
mov rcx, rax
call fcn.14027c294
test rax, rax
je 0x1400a2187
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x1400a1f9a
cmp rbx, r8
cmovb rbx, r8
lea rcx, [rbx + 1]
test rcx, rcx
jne 0x1400a1f7a
xor edi, edi
jmp 0x1400a1f9f
cmp rcx, 0x1000
jb 0x1400a1f92
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400a2297
jmp 0x1400a1f47
call fcn.14027c294
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 [0x1403d1abc]
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 0x1400a2291
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 0x1400a20ad
mov rbx, r14
or rbx, 0xf
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
jbe 0x1400a206e
mov rbx, rax
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.14027c294
test rax, rax
je 0x1400a2135
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x1400a20a8
cmp rbx, 0x16
mov eax, 0x16
cmovb rbx, rax
lea rcx, [rbx + 1]
test rcx, rcx
jne 0x1400a2088
xor edi, edi
jmp 0x1400a20a8
cmp rcx, 0x1000
jb 0x1400a20a0
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400a229d
jmp 0x1400a204f
call fcn.14027c294
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 [0x1403d1ac8]
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 0x1400a2141
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a213c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a213c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14027c260
movdqa xmm0, xmmword [0x1403f0620]
movdqu xmmword [rsp + 0x48], xmm0
mov byte [rsp + 0x38], 0
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x1400a2194
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a218e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a218e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14027c260
nop
cmp r13, 0xf
jbe 0x1400a21ce
lea rdx, [r13 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x1400a21c6
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a21c6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.14027c260
xor esi, esi
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x1400a2210
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a220b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a220b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14027c260
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], 0xf
mov byte [rsp + 0x58], 0
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x1400a2261
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a225c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a225c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14027c260
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.14027c240
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