Function at 0x1400a4710
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 [0x1404690c0]
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 0x1400a47ab
mov r8, rdi
inc r8
cmp byte [rax + r8], 0
jne 0x1400a4795
mov rdx, rax
lea rcx, [rbp - 0x68]
call fcn.1400116e0
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 0x1400a47d7
mov r8, rdi
inc r8
cmp byte [rax + r8], 0
jne 0x1400a47c0
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.1400116e0
cmp qword [rbp - 0x58], 0
je 0x1400a491c
mov rbx, qword [rsp + 0x68]
test rbx, rbx
je 0x1400a491c
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 0x1400a483e
mov qword [rsp + 0x48], rbx
mov r8, rbx
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov byte [rsp + rbx + 0x38], 0
jmp 0x1400a484b
mov qword [rsp + 0x20], rbx
mov rdx, rbx
call fcn.140005310
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
mov rax, rdx
sub rax, rcx
cmp rax, 9
jb 0x1400a4897
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 0x1400a48b6
mov qword [rsp + 0x20], 9
lea r9, str.__module_
mov edx, 9
lea rcx, [rsp + 0x38]
call fcn.140005310
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 0x1400a491c
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a4917
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a4917
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14028525c
cmp byte [0x14047985c], 0
jne 0x1400a4c80
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 0x1400a4c80
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 0x1400a4960
mov r8, rdi
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x48]
call fcn.1400051a0
nop
movabs rcx, 0x7fffffffffffffff
mov r14, rcx
mov r15, qword [rbp - 0x38]
sub r14, r15
cmp r14, 5
jb 0x1400a4d53
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 0x1400a4a54
mov rbx, r12
or rbx, 0xf
cmp rbx, rcx
jbe 0x1400a4a16
mov rbx, rcx
lea rax, [rdx + 0x27]
mov rcx, rax
call fcn.140284f10
test rax, rax
je 0x1400a4c37
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x1400a4a4a
cmp rbx, r8
cmovb rbx, r8
lea rcx, [rbx + 1]
test rcx, rcx
jne 0x1400a4a2a
xor edi, edi
jmp 0x1400a4a4f
cmp rcx, 0x1000
jb 0x1400a4a42
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400a4d47
jmp 0x1400a49f7
call fcn.140284f10
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 [0x1403dcf90]
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 0x1400a4d41
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 0x1400a4b5d
mov rbx, r14
or rbx, 0xf
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
jbe 0x1400a4b1e
mov rbx, rax
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140284f10
test rax, rax
je 0x1400a4be5
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x1400a4b58
cmp rbx, 0x16
mov eax, 0x16
cmovb rbx, rax
lea rcx, [rbx + 1]
test rcx, rcx
jne 0x1400a4b38
xor edi, edi
jmp 0x1400a4b58
cmp rcx, 0x1000
jb 0x1400a4b50
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400a4d4d
jmp 0x1400a4aff
call fcn.140284f10
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 [0x1403dd1e0]
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 0x1400a4bf1
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a4bec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a4bec
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14028525c
movdqa xmm0, xmmword [0x1403fa810]
movdqu xmmword [rsp + 0x48], xmm0
mov byte [rsp + 0x38], 0
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x1400a4c44
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a4c3e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a4c3e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14028525c
nop
cmp r13, 0xf
jbe 0x1400a4c7e
lea rdx, [r13 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x1400a4c76
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a4c76
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.14028525c
xor esi, esi
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x1400a4cc0
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a4cbb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a4cbb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14028525c
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], 0xf
mov byte [rsp + 0x58], 0
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x1400a4d11
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a4d0c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a4d0c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14028525c
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.140284ef0
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.140003800
nop
call fcn.140003760
nop
call fcn.140003760
nop
call fcn.140003800
int3