Function at 0x1800c6fd0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x90
mov rax, qword [0x1801eef68]
xor rax, rsp
mov qword [rsp + 0x80], rax
lea r14d, [rdx - 0xc]
mov rsi, r8
mov ebp, edx
mov r15, rcx
cmp edx, r14d
jbe case.0x1800c7049.201
mov r12d, dword [rsp + 0x58]
lea rdx, [0x180000000]
mov rbx, qword [rsp + 0x60]
xor r13d, r13d
mov rdi, qword [rsp + 0x60]
nop word [rax + rax]
lea eax, [rbp - 0xc9]
cmp eax, 0x1a
ja case.0x1800c7049.204
mov ecx, dword [rdx + rax*4 + 0xc7420]
add rcx, rdx
jmp rcx
mov dword [rsp + 0x28], 0xc5
lea rdx, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x20], r13
mov r8, rsi
mov dword [rsp + 0x58], 4
lea rcx, [rsp + 0x58]
mov dword [rsp + 0x50], 0xffffffff
call fcn.1800caeb0
cmp eax, 0xffffffff
jne 0x1800c73f8
lea r8, str.MPEG4_Advanced_Simple___L2
mov rcx, rsi
lea edx, [rax + 2]
call qword [rsi + pe_nt_image_headers64]
mov dword [rsp + 0x60], 0xffffffff
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1800d7250
mov rbx, qword [rsp + 0xd8]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
test byte [rsi + 0xe4], 2
je 0x1800c7140
mov edx, dword [rsi + 0x14]
mov rcx, qword [rsi + 8]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
test rax, rax
jne 0x1800c713a
mov eax, dword [r15]
sub dword [rsi + 0x14], eax
lea rax, [rsp + 0x58]
mov dword [rsp + 0x50], 4
mov qword [rsp + 0x38], rax
mov ebp, 0xde
mov qword [rsp + 0x30], r13
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], r13
xor r9d, r9d
mov r8, rsi
mov dword [rsp + 0x58], 0xffffffff
lea ecx, [rbp - 0x5b]
mov qword [rsp + 0x20], rax
xor edx, edx
call fcn.1800ce8c0
jmp 0x1800c73f8
mov qword [rsi + 8], rax
jmp 0x1800c7153
mov r9d, 0xda
xor r8d, r8d
mov rdx, rsi
xor ecx, ecx
call fcn.1800cb390
mov ecx, dword [r15]
xor eax, eax
mov r12d, dword [rsi + 0x14]
xorps xmm0, xmm0
mov qword [rsp + 0x78], rax
sub r12d, ecx
movups xmmword [rsp + 0x68], xmm0
lea eax, [rcx - 0x18]
mov dword [rsp + 0x6c], eax
jmp 0x1800c73f8
mov edx, dword [rsi + 0x14]
mov r8d, 1
mov rax, qword [rsi + 0x130]
inc edx
mov rcx, rsi
call qword [rax + 0x18]
mov eax, dword [r15]
mov edx, dword [rsi + 0x140]
mov r8d, dword [rsi + 0x14]
lea ecx, [rax + rax*4]
lea eax, [rdx + rcx*2]
neg edx
lea ecx, [r8 - 1]
add ecx, eax
and ecx, edx
sub ecx, r8d
mov dword [r15], ecx
jmp 0x1800c73f8
mov r8, qword [rsi]
mov rax, qword [r8 + 0x9e8]
mov edi, dword [r8 + 0x9fc]
movsxd rbx, dword [r8 + 0x330]
add rbx, qword [r8 + 0x348]
mov r9, qword [rax + 0x70]
mov eax, dword [r8 + 0xa00]
mov ecx, dword [r9 + 0x4a4]
mov edx, dword [r9 + 0x4a8]
imul edi, ecx
imul ecx, dword [r8 + 0x30c]
imul eax, edx
add rdi, rax
add rdi, rcx
mov ecx, dword [r8 + 0x304]
imul ecx, edx
add rdi, rcx
add rdi, qword [r9 + 0x4b0]
jmp 0x1800c73f8
lea rax, [rsp + 0x58]
mov dword [rsp + 0x58], r12d
mov qword [rsp + 0x48], rax
lea r9, [rsp + 0x68]
mov qword [rsp + 0x40], r13
xor r8d, r8d
mov qword [rsp + 0x38], rsi
xor edx, edx
mov qword [rsp + 0x30], r13
xor ecx, ecx
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], 0x6e
call fcn.1800ca5f0
cmp eax, 0xffffffff
je case.0x1800c7049.222
lea rax, [rsp + 0x58]
mov dword [rsp + 0x50], 4
mov qword [rsp + 0x38], rax
xor r9d, r9d
mov qword [rsp + 0x30], r13
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], r13
mov r8, rsi
xor edx, edx
mov qword [rsp + 0x20], rax
mov ecx, 0x83
mov dword [rsp + 0x58], 0xffffffff
call fcn.1800ce8c0
mov dword [rsp + 0x60], r13d
jmp case.0x1800c7049.201
mov dword [rsp + 0x60], 0xffffffff
jmp case.0x1800c7049.204
mov eax, dword [rsi + 0xe4]
test al, 2
jne 0x1800c72fb
xor r9d, r9d
mov r8d, 0xc5
mov rdx, rsi
xor ecx, ecx
call fcn.18004c8d0
mov eax, dword [rsi + 0xe4]
test al, 2
jne 0x1800c72fb
mov rax, qword [rsi + 0x130]
mov rcx, rsi
mov r8d, dword [r15]
mov edx, dword [rsi + 0x14]
call qword [rax + 0x20]
test eax, eax
jne case.0x1800c7049.222
mov eax, dword [r15]
add dword [rsi + 0x14], eax
jmp 0x1800c73f8
mov rdx, qword [rsi]
mov r8d, r13d
cmp byte [rdx + 0x9f1], 4
jne 0x1800c737b
cmp dword [rdx + 0x314], r13d
jle 0x1800c73c4
mov edx, 0xbe
mov eax, edx
sub eax, 0xbe
je 0x1800c733b
cmp eax, 1
jne 0x1800c7360
add rbx, 3
jmp 0x1800c7360
movzx eax, byte [rbx]
mov byte [rdi], al
movzx eax, byte [rbx + 1]
mov byte [rdi + 1], al
movzx eax, byte [rbx + 2]
mov byte [rdi + 2], al
mov rax, qword [rsi]
mov ecx, dword [rax + 0x310]
lea eax, [rcx + rcx*2]
movsxd rcx, eax
add rdi, rcx
inc edx
cmp edx, 0xc0
jb 0x1800c7327
mov rdx, qword [rsi]
inc r8d
cmp r8d, dword [rdx + 0x314]
jl 0x1800c7322
jmp 0x1800c73c4
cmp dword [rdx + 0x314], r8d
jle 0x1800c73c4
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rbx]
inc r8d
add byte [rdi], al
movzx eax, byte [rbx + 1]
add byte [rdi + 1], al
movzx eax, byte [rbx + 2]
add rbx, 3
add byte [rdi + 2], al
mov rdx, qword [rsi]
mov eax, dword [rdx + 0x310]
lea eax, [rax + rax*2]
cdqe
add rdi, rax
cmp r8d, dword [rdx + 0x314]
jl 0x1800c7390
mov qword [rsp + 0x38], r13
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
mov r9d, 0x5f
mov qword [rsp + 0x58], rdx
xor r8d, r8d
mov qword [rsp + 0x28], r13
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], r13
call fcn.1800ad890
mov dword [rsp + 0x60], eax
lea rdx, [0x180000000]
dec ebp
cmp ebp, r14d
ja 0x1800c7030
jmp case.0x1800c7049.201
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
jmp 0x1800c70a6