Function at 0x14003e3c0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x1401f3030]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov r15, rdx
mov rbp, rcx
mov qword [rsp + 0x38], rdx
xor r13d, r13d
cmp qword [rcx + 0x30], r13
jne 0x14003e6af
mov rax, qword [rcx + 0x10]
test rax, rax
jne 0x14003e41c
mov r8d, dword [rcx + 0x18]
xor edx, edx
mov ecx, dword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rbp + 0x10], rax
test rax, rax
je 0x14003e477
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140048610
lea rcx, [rbp + 0x20]
mov rdx, rax
call fcn.14001e1a0
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x14003e477
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003e472
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003e6e3
call fcn.140149194
cmp qword [rbp + 0x30], r13
jne 0x14003e6af
cmp dword [rbp + 0x18], 4
jne 0x14003e6af
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov ecx, 0x200
call fcn.140149158
mov rdi, rax
mov qword [rsp + 0x40], rax
lea rsi, [rax + 0x200]
mov qword [rsp + 0x50], rsi
xor edx, edx
mov r8d, 0x200
mov rcx, rax
call fcn.14014ba20
mov qword [rsp + 0x48], rsi
mov r8d, 0x100
mov rdx, rdi
lea rcx, str.windir
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdi + r8*2], 0
jne 0x14003e4e3
lea rbx, [rbp + 0x20]
mov rdx, rdi
mov rcx, rbx
call fcn.140020fa0
mov rdx, qword [rbx + 0x10]
mov r8, qword [rbx + 0x18]
mov rax, r8
sub rax, rdx
mov r14d, 0x5c
cmp rax, 1
jb 0x14003e537
lea rcx, [rdx + 1]
mov qword [rbx + 0x10], rcx
mov rax, rbx
cmp r8, 8
jb 0x14003e52b
mov rax, qword [rbx]
mov word [rax + rdx*2], r14w
mov word [rax + rcx*2], r13w
jmp 0x14003e556
mov qword [rsp + 0x20], 1
lea r9, [0x1401b8ad8]
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.1400310a0
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
mov rax, rdx
sub rax, rcx
cmp rax, 8
jb 0x14003e5a1
lea r12, [rcx + 8]
mov qword [rbx + 0x10], r12
mov r14, rbx
cmp rdx, 8
jb 0x14003e57e
mov r14, qword [rbx]
lea rcx, [r14 + rcx*2]
mov r8d, SafeArrayUnlock
lea rdx, str.system32
call fcn.14014b350
mov word [r14 + r12*2], r13w
mov r14d, 0x5c
jmp 0x14003e5c0
mov qword [rsp + 0x20], 8
lea r9, str.system32
xor r8d, r8d
lea edx, [r8 + 8]
mov rcx, rbx
call fcn.1400310a0
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x14003e5f4
lea r8, [rcx + 1]
mov qword [rbx + 0x10], r8
mov rax, rbx
cmp rdx, 8
jb 0x14003e5e8
mov rax, qword [rbx]
mov word [rax + rcx*2], r14w
mov word [rax + r8*2], r13w
jmp 0x14003e613
mov qword [rsp + 0x20], 1
lea r9, [0x1401b8ad8]
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.1400310a0
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
mov rax, rdx
sub rax, rcx
cmp rax, 0xc
jb 0x14003e655
lea r14, [rcx + 0xc]
mov qword [rbx + 0x10], r14
cmp rdx, 8
jb 0x14003e638
mov rbx, qword [rbx]
lea rcx, [rbx + rcx*2]
mov r8d, SafeArrayCopy
lea rdx, str.ntoskrnl.exe
call fcn.14014b350
mov word [rbx + r14*2], r13w
jmp 0x14003e675
mov qword [rsp + 0x20], reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea r9, str.ntoskrnl.exe
xor r8d, r8d
lea edx, [r8 + 0xc]
mov rcx, rbx
call fcn.1400310a0
nop
test rdi, rdi
je 0x14003e6af
sub rsi, rdi
sar rsi, 1
add rsi, rsi
cmp rsi, 0x1000
jb 0x14003e6a4
add rsi, 0x27
mov rcx, qword [rdi - 8]
sub rdi, rcx
lea rax, [rdi - 8]
cmp rax, 0x1f
ja 0x14003e6e9
mov rdi, rcx
mov rdx, rsi
mov rcx, rdi
call fcn.140149194
lea rdx, [rbp + 0x20]
mov rcx, r15
call fcn.14002a090
mov rax, r15
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140149500
mov rbx, qword [rsp + 0xc0]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1401501d4
int3
call fcn.1401501d4
int3