Function at 0x14002b470
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 8], ecx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0x90
mov r15, rdx
mov ebx, ecx
test ecx, ecx
je 0x14002b4c2
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov rcx, rax
mov qword [rbp + 0x77], rax
test rax, rax
jne 0x14002b4c9
lea ecx, [rax + 2]
call fcn.1400f6cc8
mov rcx, rax
lea rdx, str.Fossilize_ERROR:_Failed_to_obtain_current_environment_for_process._n
call fcn.140002150
xor eax, eax
jmp 0x14002b975
mov qword [rbp - 0x31], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x11], xmm0
xor r14d, r14d
mov qword [rbp + 0x7f], r14
mov qword [rbp - 1], r14
movdqu xmmword [rbp - 0x29], xmm0
xor r13d, r13d
mov qword [rbp - 0x19], r13
mov rsi, qword [rbp - 0x21]
cmp byte [rax], r13b
je 0x14002b548
cmp rsi, r13
je 0x14002b507
mov qword [rsi], rcx
add rsi, 8
mov qword [rbp - 0x21], rsi
jmp 0x14002b523
lea r8, [rbp + 0x77]
mov rdx, rsi
lea rcx, [rbp - 0x29]
call fcn.1400021a0
mov rcx, qword [rbp + 0x77]
mov r13, qword [rbp - 0x19]
mov rsi, qword [rbp - 0x21]
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x14002b530
inc rcx
add rcx, rax
mov qword [rbp + 0x77], rcx
cmp byte [rcx], 0
jne 0x14002b4f5
mov dword [rbp + 0x77], 0
mov r12, qword [rbp - 9]
test ebx, ebx
mov rbx, qword [rbp - 0x29]
je 0x14002b7ad
nop
mov rdx, qword [r15]
mov qword [rbp + 7], 0
mov qword [rbp + 0x17], 0
mov qword [rbp + 0x1f], 0xf
mov byte [rbp + 7], 0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x14002b586
lea rcx, [rbp + 7]
call fcn.140001b50
nop
mov rcx, qword [rbp + 0x17]
mov rdx, qword [rbp + 0x1f]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x14002b5cb
lea rax, [rcx + 1]
mov qword [rbp + 0x17], rax
lea rax, [rbp + 7]
cmp rdx, 0x10
cmovae rax, qword [rbp + 7]
mov word [rax + rcx], 0x3d
jmp 0x14002b5eb
mov qword [rsp + 0x20], 1
lea r9, [0x140126694]
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rbp + 7]
call fcn.14000cfa0
mov r9, qword [r15 + 8]
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [r9 + rdi], 0
jne 0x14002b5f6
mov rcx, qword [rbp + 0x17]
mov rdx, qword [rbp + 0x1f]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x14002b643
lea rax, [rcx + rdi]
mov qword [rbp + 0x17], rax
lea rbx, [rbp + 7]
cmp rdx, 0x10
cmovae rbx, qword [rbp + 7]
add rbx, rcx
mov r8, rdi
mov rdx, r9
mov rcx, rbx
call fcn.1400ee610
mov byte [rbx + rdi], 0
mov rbx, qword [rbp - 0x29]
jmp 0x14002b657
mov qword [rsp + 0x20], rdi
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp + 7]
call fcn.14000cfa0
mov ecx, 0x20
call fcn.1400ec60c
test rax, rax
je 0x14002b689
movups xmm0, xmmword [rbp + 7]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rbp + 0x17]
movups xmmword [rax + 0x10], xmm1
mov qword [rbp + 0x17], 0
mov qword [rbp + 0x1f], 0xf
mov byte [rbp + 7], 0
mov qword [rbp - 0x39], rax
cmp r12, r14
je 0x14002b6a0
mov qword [r12], rax
add r12, 8
mov qword [rbp - 9], r12
jmp 0x14002b6bc
lea r8, [rbp - 0x39]
mov rdx, r12
lea rcx, [rbp - 0x11]
call fcn.14002a420
mov rax, qword [rbp - 1]
mov qword [rbp + 0x7f], rax
mov r12, qword [rbp - 9]
mov r14, qword [r12 - 8]
cmp qword [r14 + 0x18], 0x10
jb 0x14002b6cb
mov r14, qword [r14]
mov qword [rbp - 0x39], r14
mov rdi, rbx
cmp rbx, rsi
je 0x14002b725
nop word [rax + rax]
mov rdx, qword [r15]
mov rbx, 0xffffffffffffffff
nop word [rax + rax]
inc rbx
cmp byte [rdx + rbx], 0
jne 0x14002b6f0
mov r8, rbx
mov rcx, qword [rdi]
call fcn.1400fef00
test eax, eax
jne 0x14002b718
mov rax, qword [rdi]
movzx ecx, byte [rbx + rax]
cmp cl, 0x3d
je 0x14002b737
test cl, cl
je 0x14002b737
add rdi, 8
cmp rdi, rsi
jne 0x14002b6e0
mov rbx, qword [rbp - 0x29]
cmp rsi, r13
je 0x14002b73c
mov qword [rsi], r14
add rsi, 8
mov qword [rbp - 0x21], rsi
jmp 0x14002b758
mov qword [rdi], r14
jmp 0x14002b754
lea r8, [rbp - 0x39]
mov rdx, rsi
lea rcx, [rbp - 0x29]
call fcn.1400021a0
mov r13, qword [rbp - 0x19]
mov rsi, qword [rbp - 0x21]
mov rbx, qword [rbp - 0x29]
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0x10
jb 0x14002b793
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002b78e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002b996
call fcn.1400ec648
mov eax, dword [rbp + 0x77]
inc eax
mov dword [rbp + 0x77], eax
add r15, 0x10
cmp eax, dword [rbp + 0x67]
jae 0x14002b7ad
mov r14, qword [rbp + 0x7f]
jmp 0x14002b560
mov r8, rsi
sub r8, rbx
sar r8, 3
movzx r9d, byte [rbp + 0x67]
mov rdx, rsi
mov rcx, rbx
call fcn.14002ad60
xor ecx, ecx
mov r8, rbx
cmp rbx, rsi
je 0x14002b7f8
mov rdx, qword [r8]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp byte [rdx + rax], 0
jne 0x14002b7e0
inc rcx
add rcx, rax
add r8, 8
cmp r8, rsi
jne 0x14002b7d1
inc rcx
call fcn.1400f95f4
mov r15, rax
test rax, rax
jne 0x14002b821
lea ecx, [rax + 2]
call fcn.1400f6cc8
mov rcx, rax
lea rdx, str.Fossilize_ERROR:_Failed_to_allocate_memory_for_new_environment_block._n
call fcn.140002150
jmp 0x14002b878
mov rdi, rax
mov r14, rbx
cmp rbx, rsi
je 0x14002b86a
nop dword [rax]
mov rdx, qword [r14]
mov rbx, 0xffffffffffffffff
nop word [rax + rax]
inc rbx
cmp byte [rdx + rbx], 0
jne 0x14002b840
mov r8, rbx
mov rcx, rdi
call fcn.1400ee610
add rdi, rbx
mov byte [rdi], 0
inc rdi
add r14, 8
cmp r14, rsi
jne 0x14002b830
mov rbx, qword [rbp - 0x29]
mov byte [rdi], 0
mov rcx, qword [rbp - 0x31]
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
nop
test rbx, rbx
je 0x14002b8ba
sub r13, rbx
sar r13, 3
lea rdx, [r13*8]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14002b8b1
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002b99c
mov rcx, rbx
call fcn.1400ec648
nop
mov rsi, qword [rbp - 0x11]
test rsi, rsi
je 0x14002b972
mov rdi, rsi
cmp rsi, r12
je 0x14002b93b
nop
mov rbx, qword [rdi]
test rbx, rbx
je 0x14002b932
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14002b912
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14002b90d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14002b990
mov rcx, r8
call fcn.1400ec648
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov edx, 0x20
mov rcx, rbx
call fcn.1400ec648
add rdi, 8
cmp rdi, r12
jne 0x14002b8d0
mov rcx, qword [rbp + 0x7f]
sub rcx, rsi
and rcx, 0xfffffffffffffff8
mov rax, rsi
cmp rcx, 0x1000
jb 0x14002b967
add rcx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002b990
mov rdx, rcx
mov rcx, rsi
call fcn.1400ec648
mov rax, r15
mov rbx, qword [rsp + 0xd8]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1400f2c0c
nop
call fcn.1400f2c0c
nop
call fcn.1400f2c0c
int3