Function at 0x140004130
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xb0
mov rax, qword [0x1400f5080]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r15, rcx
mov qword [rbp - 0x51], rcx
xor ebx, ebx
xor eax, eax
mov qword [rbp - 0x21], rax
movdqa xmm0, xmmword [0x1400e39c0]
movdqu xmmword [rbp - 0x19], xmm0
mov dword [rbp - 9], 0x44
mov dword [rbp - 5], 6
mov dword [rbp - 1], 0x44
lea rcx, [rbp - 0x21]
call fcn.140009ba0
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
mov qword [rbp + 0x17], rbx
mov qword [rbp + 0x1f], rbx
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop
inc r8
cmp byte [rax + r8], 0
jne 0x1400041c0
mov rdx, rax
lea rcx, [rbp + 7]
call fcn.14000d300
nop
mov dword [rbp - 0x55], Ordinal_41
mov word [rbp - 0x59], 0x5c
lea rax, [rbp - 0x59]
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1400041f0
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
mov r12, qword [rbp + 0x17]
sub rax, r12
cmp rax, rbx
jb 0x14000440c
lea rdx, [rbp + 7]
mov r14, qword [rbp + 7]
mov r13, qword [rbp + 0x1f]
cmp r13, 0x10
cmovae rdx, r14
mov qword [rbp - 0x51], rdx
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x39], xmm1
lea rax, [r12 + rbx]
mov edi, reloc.WS2_32.dll_ntohs
lea rsi, [rbp - 0x49]
cmp rax, rdi
jbe 0x1400042dc
mov rdi, rax
or rdi, 0xf
cmp rdi, rcx
jbe 0x140004264
mov rdi, rcx
jmp 0x140004270
mov ecx, reloc.WLDAP32.dll_Ordinal_22
cmp rdi, rcx
cmovb rdi, rcx
mov rcx, rdi
add rcx, 1
mov r8, 0xffffffffffffffff
cmovb rcx, r8
cmp rcx, 0x1000
jb 0x1400042bf
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140004406
mov rcx, rax
call fcn.1400c26d0
test rax, rax
je 0x14000438f
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
lea rax, [r12 + rbx]
mov rdx, qword [rbp - 0x51]
jmp 0x1400042d8
test rcx, rcx
je 0x1400042d6
call fcn.1400c26d0
mov rsi, rax
lea rax, [r12 + rbx]
mov rdx, qword [rbp - 0x51]
jmp 0x1400042d8
xor esi, esi
mov qword [rbp - 0x49], rsi
mov qword [rbp - 0x39], rax
mov qword [rbp - 0x31], rdi
mov r8, r12
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [r12 + rsi]
mov r8, rbx
lea rdx, [rbp - 0x59]
call sub.VCRUNTIME140.dll_memcpy
lea rax, [r12 + rbx]
mov byte [rsi + rax], 0
lea rdx, [0x1400f67d0]
cmp qword [0x1400f67e8], 0x10
cmovae rdx, qword [0x1400f67d0]
mov r8, qword [0x1400f67e0]
lea rcx, [rbp - 0x49]
call fcn.14000c1f0
xorps xmm0, xmm0
movups xmmword [r15], xmm0
xor ecx, ecx
mov qword [r15 + 0x10], rcx
mov qword [r15 + 0x18], rcx
movups xmm0, xmmword [rax]
movups xmmword [r15], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [r15 + 0x10], xmm1
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], cl
mov rdx, qword [rbp - 0x31]
cmp rdx, 0x10
jb 0x14000439c
inc rdx
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004396
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004396
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c2964
nop
cmp r13, 0x10
jb 0x1400043d6
lea rdx, [r13 + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x1400043ce
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400043ce
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.1400c2964
mov rax, r15
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1400c26b0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140002160
nop
call fcn.140002290
int3