Function at 0x14003b690
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 0x14003b6e2
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov rcx, rax
mov qword [rbp + 0x77], rax
test rax, rax
jne 0x14003b6e9
lea ecx, [rax + 2]
call fcn.140121190
mov rcx, rax
lea rdx, str.Fossilize_ERROR:_Failed_to_obtain_current_environment_for_process._n
call fcn.1400020d0
xor eax, eax
jmp 0x14003bb95
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 0x14003b768
cmp rsi, r13
je 0x14003b727
mov qword [rsi], rcx
add rsi, 8
mov qword [rbp - 0x21], rsi
jmp 0x14003b743
lea r8, [rbp + 0x77]
mov rdx, rsi
lea rcx, [rbp - 0x29]
call fcn.140002120
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 0x14003b750
inc rcx
add rcx, rax
mov qword [rbp + 0x77], rcx
cmp byte [rcx], 0
jne 0x14003b715
mov dword [rbp + 0x77], 0
mov r12, qword [rbp - 9]
test ebx, ebx
mov rbx, qword [rbp - 0x29]
je 0x14003b9cd
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 0x14003b7a6
lea rcx, [rbp + 7]
call fcn.140001ad0
nop
mov rcx, qword [rbp + 0x17]
mov rdx, qword [rbp + 0x1f]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x14003b7eb
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 0x14003b80b
mov qword [rsp + 0x20], 1
lea r9, [0x140151484]
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rbp + 7]
call fcn.140017520
mov r9, qword [r15 + 8]
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [r9 + rdi], 0
jne 0x14003b816
mov rcx, qword [rbp + 0x17]
mov rdx, qword [rbp + 0x1f]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x14003b863
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.140118b40
mov byte [rbx + rdi], 0
mov rbx, qword [rbp - 0x29]
jmp 0x14003b877
mov qword [rsp + 0x20], rdi
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp + 7]
call fcn.140017520
mov ecx, 0x20
call fcn.140116b34
test rax, rax
je 0x14003b8a9
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 0x14003b8c0
mov qword [r12], rax
add r12, 8
mov qword [rbp - 9], r12
jmp 0x14003b8dc
lea r8, [rbp - 0x39]
mov rdx, r12
lea rcx, [rbp - 0x11]
call fcn.14003a590
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 0x14003b8eb
mov r14, qword [r14]
mov qword [rbp - 0x39], r14
mov rdi, rbx
cmp rbx, rsi
je 0x14003b945
nop word [rax + rax]
mov rdx, qword [r15]
mov rbx, 0xffffffffffffffff
nop word [rax + rax]
inc rbx
cmp byte [rdx + rbx], 0
jne 0x14003b910
mov r8, rbx
mov rcx, qword [rdi]
call fcn.140129360
test eax, eax
jne 0x14003b938
mov rax, qword [rdi]
movzx ecx, byte [rbx + rax]
cmp cl, 0x3d
je 0x14003b957
test cl, cl
je 0x14003b957
add rdi, 8
cmp rdi, rsi
jne 0x14003b900
mov rbx, qword [rbp - 0x29]
cmp rsi, r13
je 0x14003b95c
mov qword [rsi], r14
add rsi, 8
mov qword [rbp - 0x21], rsi
jmp 0x14003b978
mov qword [rdi], r14
jmp 0x14003b974
lea r8, [rbp - 0x39]
mov rdx, rsi
lea rcx, [rbp - 0x29]
call fcn.140002120
mov r13, qword [rbp - 0x19]
mov rsi, qword [rbp - 0x21]
mov rbx, qword [rbp - 0x29]
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0x10
jb 0x14003b9b3
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003b9ae
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003bbb6
call fcn.140116b70
mov eax, dword [rbp + 0x77]
inc eax
mov dword [rbp + 0x77], eax
add r15, 0x10
cmp eax, dword [rbp + 0x67]
jae 0x14003b9cd
mov r14, qword [rbp + 0x7f]
jmp 0x14003b780
mov r8, rsi
sub r8, rbx
sar r8, 3
movzx r9d, byte [rbp + 0x67]
mov rdx, rsi
mov rcx, rbx
call fcn.14003aed0
xor ecx, ecx
mov r8, rbx
cmp rbx, rsi
je 0x14003ba18
mov rdx, qword [r8]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp byte [rdx + rax], 0
jne 0x14003ba00
inc rcx
add rcx, rax
add r8, 8
cmp r8, rsi
jne 0x14003b9f1
inc rcx
call fcn.140123a94
mov r15, rax
test rax, rax
jne 0x14003ba41
lea ecx, [rax + 2]
call fcn.140121190
mov rcx, rax
lea rdx, str.Fossilize_ERROR:_Failed_to_allocate_memory_for_new_environment_block._n
call fcn.1400020d0
jmp 0x14003ba98
mov rdi, rax
mov r14, rbx
cmp rbx, rsi
je 0x14003ba8a
nop dword [rax]
mov rdx, qword [r14]
mov rbx, 0xffffffffffffffff
nop word [rax + rax]
inc rbx
cmp byte [rdx + rbx], 0
jne 0x14003ba60
mov r8, rbx
mov rcx, rdi
call fcn.140118b40
add rdi, rbx
mov byte [rdi], 0
inc rdi
add r14, 8
cmp r14, rsi
jne 0x14003ba50
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 0x14003bada
sub r13, rbx
sar r13, 3
lea rdx, [r13*8]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14003bad1
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003bbbc
mov rcx, rbx
call fcn.140116b70
nop
mov rsi, qword [rbp - 0x11]
test rsi, rsi
je 0x14003bb92
mov rdi, rsi
cmp rsi, r12
je 0x14003bb5b
nop
mov rbx, qword [rdi]
test rbx, rbx
je 0x14003bb52
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14003bb32
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14003bb2d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14003bbb0
mov rcx, r8
call fcn.140116b70
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov edx, 0x20
mov rcx, rbx
call fcn.140116b70
add rdi, 8
cmp rdi, r12
jne 0x14003baf0
mov rcx, qword [rbp + 0x7f]
sub rcx, rsi
and rcx, 0xfffffffffffffff8
mov rax, rsi
cmp rcx, 0x1000
jb 0x14003bb87
add rcx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003bbb0
mov rdx, rcx
mov rcx, rsi
call fcn.140116b70
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.14011d1bc
nop
call fcn.14011d1bc
nop
call fcn.14011d1bc
int3