Function at 0x14003b830
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 0x14003b882
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov rcx, rax
mov qword [rbp + 0x77], rax
test rax, rax
jne 0x14003b889
lea ecx, [rax + 2]
call fcn.140121458
mov rcx, rax
lea rdx, str.Fossilize_ERROR:_Failed_to_obtain_current_environment_for_process._n
call fcn.1400020d0
xor eax, eax
jmp 0x14003bd35
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 0x14003b908
cmp rsi, r13
je 0x14003b8c7
mov qword [rsi], rcx
add rsi, 8
mov qword [rbp - 0x21], rsi
jmp 0x14003b8e3
lea r8, [rbp + 0x77]
mov rdx, rsi
lea rcx, [rbp - 0x29]
call fcn.140002160
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 0x14003b8f0
inc rcx
add rcx, rax
mov qword [rbp + 0x77], rcx
cmp byte [rcx], 0
jne 0x14003b8b5
mov dword [rbp + 0x77], 0
mov r12, qword [rbp - 9]
test ebx, ebx
mov rbx, qword [rbp - 0x29]
je 0x14003bb6d
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 0x14003b946
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 0x14003b98b
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 0x14003b9ab
mov qword [rsp + 0x20], 1
lea r9, [0x140152484]
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rbp + 7]
call fcn.1400176c0
mov r9, qword [r15 + 8]
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [r9 + rdi], 0
jne 0x14003b9b6
mov rcx, qword [rbp + 0x17]
mov rdx, qword [rbp + 0x1f]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x14003ba03
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.140118d20
mov byte [rbx + rdi], 0
mov rbx, qword [rbp - 0x29]
jmp 0x14003ba17
mov qword [rsp + 0x20], rdi
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp + 7]
call fcn.1400176c0
mov ecx, 0x20
call fcn.140116d14
test rax, rax
je 0x14003ba49
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 0x14003ba60
mov qword [r12], rax
add r12, 8
mov qword [rbp - 9], r12
jmp 0x14003ba7c
lea r8, [rbp - 0x39]
mov rdx, r12
lea rcx, [rbp - 0x11]
call fcn.14003a730
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 0x14003ba8b
mov r14, qword [r14]
mov qword [rbp - 0x39], r14
mov rdi, rbx
cmp rbx, rsi
je 0x14003bae5
nop word [rax + rax]
mov rdx, qword [r15]
mov rbx, 0xffffffffffffffff
nop word [rax + rax]
inc rbx
cmp byte [rdx + rbx], 0
jne 0x14003bab0
mov r8, rbx
mov rcx, qword [rdi]
call fcn.1401296a0
test eax, eax
jne 0x14003bad8
mov rax, qword [rdi]
movzx ecx, byte [rbx + rax]
cmp cl, 0x3d
je 0x14003baf7
test cl, cl
je 0x14003baf7
add rdi, 8
cmp rdi, rsi
jne 0x14003baa0
mov rbx, qword [rbp - 0x29]
cmp rsi, r13
je 0x14003bafc
mov qword [rsi], r14
add rsi, 8
mov qword [rbp - 0x21], rsi
jmp 0x14003bb18
mov qword [rdi], r14
jmp 0x14003bb14
lea r8, [rbp - 0x39]
mov rdx, rsi
lea rcx, [rbp - 0x29]
call fcn.140002160
mov r13, qword [rbp - 0x19]
mov rsi, qword [rbp - 0x21]
mov rbx, qword [rbp - 0x29]
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0x10
jb 0x14003bb53
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003bb4e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003bd56
call fcn.140116d50
mov eax, dword [rbp + 0x77]
inc eax
mov dword [rbp + 0x77], eax
add r15, 0x10
cmp eax, dword [rbp + 0x67]
jae 0x14003bb6d
mov r14, qword [rbp + 0x7f]
jmp 0x14003b920
mov r8, rsi
sub r8, rbx
sar r8, 3
movzx r9d, byte [rbp + 0x67]
mov rdx, rsi
mov rcx, rbx
call fcn.14003b070
xor ecx, ecx
mov r8, rbx
cmp rbx, rsi
je 0x14003bbb8
mov rdx, qword [r8]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp byte [rdx + rax], 0
jne 0x14003bba0
inc rcx
add rcx, rax
add r8, 8
cmp r8, rsi
jne 0x14003bb91
inc rcx
call fcn.140123d84
mov r15, rax
test rax, rax
jne 0x14003bbe1
lea ecx, [rax + 2]
call fcn.140121458
mov rcx, rax
lea rdx, str.Fossilize_ERROR:_Failed_to_allocate_memory_for_new_environment_block._n
call fcn.1400020d0
jmp 0x14003bc38
mov rdi, rax
mov r14, rbx
cmp rbx, rsi
je 0x14003bc2a
nop dword [rax]
mov rdx, qword [r14]
mov rbx, 0xffffffffffffffff
nop word [rax + rax]
inc rbx
cmp byte [rdx + rbx], 0
jne 0x14003bc00
mov r8, rbx
mov rcx, rdi
call fcn.140118d20
add rdi, rbx
mov byte [rdi], 0
inc rdi
add r14, 8
cmp r14, rsi
jne 0x14003bbf0
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 0x14003bc7a
sub r13, rbx
sar r13, 3
lea rdx, [r13*8]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14003bc71
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003bd5c
mov rcx, rbx
call fcn.140116d50
nop
mov rsi, qword [rbp - 0x11]
test rsi, rsi
je 0x14003bd32
mov rdi, rsi
cmp rsi, r12
je 0x14003bcfb
nop
mov rbx, qword [rdi]
test rbx, rbx
je 0x14003bcf2
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14003bcd2
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14003bccd
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14003bd50
mov rcx, r8
call fcn.140116d50
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov edx, 0x20
mov rcx, rbx
call fcn.140116d50
add rdi, 8
cmp rdi, r12
jne 0x14003bc90
mov rcx, qword [rbp + 0x7f]
sub rcx, rsi
and rcx, 0xfffffffffffffff8
mov rax, rsi
cmp rcx, 0x1000
jb 0x14003bd27
add rcx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003bd50
mov rdx, rcx
mov rcx, rsi
call fcn.140116d50
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.14011d39c
nop
call fcn.14011d39c
nop
call fcn.14011d39c
int3