Function at 0x1800c9bf0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], r9
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xd0
mov ebx, dword [rbp + 0x6f]
lea eax, [rdx + 0x3e8]
mov dword [rbp - 0x51], eax
mov rsi, r8
mov r13d, edx
mov r12, rcx
cmp edx, eax
jae 0x1800c9ced
mov rcx, qword [rbp - 0x49]
xor r14d, r14d
mov eax, dword [rbp - 0x41]
mov qword [rbp - 0x49], rcx
mov dword [rbp - 0x39], eax
nop
cmp r13d, 0x83
ja 0x1800c9f34
je 0x1800c9fb2
mov eax, r13d
sub eax, 3
je 0x1800c9ea5
sub eax, 3
je 0x1800c9e3b
sub eax, 0x29
je 0x1800c9d87
cmp eax, 0x51
jne 0x1800c9cdf
test rcx, rcx
jne 0x1800c9c8f
lea r9, str.max_len___0
xor r8d, r8d
lea edx, [rax + 0x70]
call fcn.1800b9450
jmp 0x1800c9cd7
movups xmm0, xmmword [r12]
mov edi, 0x101
movaps xmmword [rbp - 0x19], xmm0
mov r14d, dword [rbp - 0x11]
mov r15, qword [rbp - 0x19]
nop word [rax + rax]
mov eax, edi
sub eax, 0xe5
je 0x1800c9d67
sub eax, 0x1c
je 0x1800c9d0a
sub eax, 0x2e68
je 0x1800c9cd4
cmp eax, 0x5cc
jne 0x1800c9d70
xor r14d, r14d
mov rcx, qword [rbp - 0x49]
mov r9, qword [rbp + 0x7f]
add r13d, 0x7d
cmp r13d, dword [rbp - 0x51]
jb 0x1800c9c40
mov eax, ebx
mov rbx, qword [rsp + 0x110]
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov edx, r14d
lea rcx, str._Z4haddDv4_sS_
call fcn.1800d6920
lea r9, [rbp - 0x31]
mov dword [rbp - 0x31], r14d
xor r8d, r8d
mov qword [rsp + 0x20], r15
mov edx, 0x127
xor ecx, ecx
call fcn.1800445a0
mov edx, dword [rbp - 0x39]
lea rcx, str.GstParseContext
call fcn.1800d6920
mov eax, dword [rbp - 0x39]
xor r9d, r9d
mov r8, qword [rbp - 0x49]
xor ecx, ecx
mov dword [rbp - 0x31], eax
lea rax, [rbp - 0x31]
mov qword [rsp + 0x20], rax
lea edx, [r9 + 0x2e]
call fcn.1800c83d0
jmp 0x1800c9d70
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
add edi, 0x3434
cmp edi, 0xd0d0
jbe 0x1800c9cb0
jmp 0x1800c9cd4
mov ecx, dword [r12]
xor edx, edx
mov eax, ecx
mov dword [rbp - 0x29], ecx
div dword [rsi + 0x60]
mov dword [rsp + 0x28], 0xc5
lea rcx, [rbp - 0x59]
xor r9d, r9d
mov dword [rbp - 0x59], 4
mov r8, rsi
mov qword [rsp + 0x20], r14
lea edi, [rdx*4 + 0xac]
lea rdx, [rbp - 0x29]
call fcn.1800caeb0
test eax, eax
jne 0x1800c9fa8
lea r9, [rbp - 0x59]
mov dword [rbp - 0x59], edi
mov r8, rsi
lea rdx, [rbp + 0x6f]
lea ecx, [rax + 0x7e]
call fcn.1800cbef0
cmp eax, 0xffffffff
je 0x1800c9fd4
cmp dword [rbp + 0x6f], 0
je 0x1800c9cd7
mov edx, dword [r12]
lea rcx, str.hash_d_n
call fcn.1800d6920
mov eax, dword [rbp + 0x6f]
test eax, eax
je 0x1800c9cd7
nop
mov dword [rbp - 0x29], eax
lea r9, [rbp - 0x59]
mov eax, dword [r12]
lea r8, [rbp - 0x29]
mov rdx, rsi
mov dword [rbp - 0x59], eax
mov ecx, ILFree
call fcn.1800bb730
mov dword [rbp + 0x6f], eax
test eax, eax
jne 0x1800c9e10
jmp 0x1800c9cd7
mov rcx, qword [rsi]
test rcx, rcx
je 0x1800c9ced
cmp dword [rcx], 0x7f2bb704
jne 0x1800c9ced
add rcx, 0x38
mov qword [rsp + 0x28], r14
mov r9d, 0x10b
mov qword [rsp + 0x20], r14
xor r8d, r8d
xor edx, edx
call fcn.180015c80
mov rax, qword [rsi]
mov r9d, 0x10b
mov qword [rsp + 0x28], r14
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], r14
mov qword [rax + 0x38], r14
mov rcx, qword [rsi]
add rcx, 0x58
call fcn.180015c80
mov rax, qword [rsi]
mov qword [rax + 0x58], r14
jmp 0x1800c9cd7
movups xmm0, xmmword [r12]
mov qword [rsp + 0x40], r14
lea r9, [rbp - 0x19]
mov qword [rsp + 0x38], r14
lea rcx, [rbp - 9]
mov dword [rsp + 0x30], 0x6b
xor r8d, r8d
mov qword [rsp + 0x28], r14
mov rdx, rsi
movaps xmmword [rbp - 0x19], xmm0
mov qword [rsp + 0x20], r14
call fcn.18005a330
movaps xmm0, xmmword [rbp - 9]
lea rdx, [rbp + 7]
mov qword [rsp + 0x40], r14
lea rcx, [rbp + 0x17]
mov qword [rsp + 0x38], rsi
xor r9d, r9d
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
movups xmmword [r12], xmm0
lea r8d, [r9 + 0x11]
mov qword [rsp + 0x20], r14
movdqa xmmword [rbp + 7], xmm0
call fcn.180058970
movaps xmm0, xmmword [rbp + 0x17]
movdqa xmmword [rbp - 0x49], xmm0
mov rcx, qword [rbp - 0x49]
mov eax, dword [rbp - 0x41]
mov qword [rbp - 0x49], rcx
mov dword [rbp - 0x39], eax
jmp 0x1800c9cdb
mov eax, r13d
sub eax, 0xac
je 0x1800c9fd4
sub eax, 3
je 0x1800c9f55
cmp eax, 0x7d
je 0x1800c9ced
jmp 0x1800c9cdf
mov rax, qword [rsi]
movzx edx, word [r12 + 4]
mov ecx, dword [rax + 0x28]
cmp ecx, 0x10000
jb 0x1800c9f99
cmp edx, 0xffff
je 0x1800c9f97
test edx, edx
je 0x1800c9f97
mov ecx, edx
mov eax, edx
and ecx, 3
and eax, 0xfffc
shl ecx, 0x10
mov ebx, r14d
mov edx, ecx
or edx, eax
mov dword [r9], edx
mov rcx, qword [rbp - 0x49]
jmp 0x1800c9cdf
mov edx, ecx
mov dword [r9], edx
mov ebx, r14d
mov rcx, qword [rbp - 0x49]
jmp 0x1800c9cdf
mov eax, 0xffffffff
jmp 0x1800c9cef
mov qword [rsp + 0x28], r14
mov r9d, 0x10b
xor r8d, r8d
mov qword [rsp + 0x20], r14
xor edx, edx
mov rcx, rsi
call fcn.180015c80
jmp 0x1800c9ced
mov eax, dword [r12]
xor r9d, r9d
mov dword [rbp - 0x51], eax
mov r8, rsi
lea rax, [rbp - 0x51]
mov dword [rbp - 0x59], 4
mov qword [rsp + 0x38], rax
xor edx, edx
mov qword [rsp + 0x30], r14
lea rax, [rbp - 0x59]
mov qword [rsp + 0x28], r14
mov ecx, 0x83
mov qword [rsp + 0x20], rax
call fcn.1800ce8c0
jmp 0x1800c9cef