Function at 0x1400bbf90
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, 0xa0
mov rax, qword [0x140309440]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov r13, rcx
mov qword [rbp - 0x39], rcx
xor r12d, r12d
mov eax, dword [0x1402e4b78]
mov dword [rbp - 0x39], eax
movzx eax, byte [0x1402e4b7c]
mov byte [rbp - 0x35], al
movzx eax, word [0x1402e47e8]
mov word [rbp - 0x49], ax
movzx ebx, byte [rbp - 0x48]
cmp byte [0x1402e47e9], r12b
jne 0x1400bc006
mov dil, reloc.WLDAP32.dll_Ordinal_45
mov byte [rbp - 0x49], dil
xor bl, 0x31
mov byte [rbp - 0x48], bl
jmp 0x1400bc00a
movzx edi, byte [rbp - 0x49]
movzx eax, word [0x1402e4cf8]
mov word [rbp - 0x45], ax
movzx r14d, byte [rbp - 0x44]
cmp byte [0x1402e4cf9], r12b
jne 0x1400bc034
mov r15b, 0x5c
mov byte [rbp - 0x45], r15b
xor r14b, 0x31
mov byte [rbp - 0x44], r14b
jmp 0x1400bc039
movzx r15d, byte [rbp - 0x45]
xorps xmm0, xmm0
movups xmmword [rbp - 0x11], xmm0
mov qword [rbp - 1], r12
mov qword [rbp + 7], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x11], r12b
mov edx, 0x540be3ff
mov ecx, 0x423a35c7
call fcn.1400bbdf0
mov edx, eax
lea rcx, [rbp - 0x31]
call fcn.14005e8a0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x1400bc079
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp - 0x11]
call fcn.140064120
nop
mov rdx, qword [rbp - 0x19]
cmp rdx, 0xf
jbe 0x1400bc0c4
inc rdx
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400bc0bf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400bc0bf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140246eb0
test bl, bl
je 0x1400bc0d6
xor dil, 0x30
mov byte [rbp - 0x49], dil
xor bl, 0x31
mov byte [rbp - 0x48], bl
lea rax, [rbp - 0x49]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x1400bc0e4
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x11]
call fcn.140064120
movzx esi, byte [rbp - 0x48]
movzx edi, byte [rbp - 0x49]
test sil, sil
jne 0x1400bc117
xor dil, 0x30
mov byte [rbp - 0x49], dil
mov sil, Ordinal_50
mov byte [rbp - 0x48], sil
mov edx, 0x540be3ff
mov ecx, 0x423a35c7
call fcn.1400bbdf0
mov edx, eax
lea rcx, [rbp - 0x31]
call fcn.14005e8a0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x1400bc140
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp - 0x11]
call fcn.140064120
nop
mov rdx, qword [rbp - 0x19]
cmp rdx, 0xf
jbe 0x1400bc18b
inc rdx
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400bc186
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400bc186
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140246eb0
test sil, sil
je 0x1400bc1a0
xor dil, 0x30
mov byte [rbp - 0x49], dil
xor sil, 0x31
mov byte [rbp - 0x48], sil
lea rax, [rbp - 0x49]
mov r8, rbx
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400bc1b0
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x11]
call fcn.140064120
movzx esi, byte [rbp - 0x48]
movzx edi, byte [rbp - 0x49]
test sil, sil
jne 0x1400bc1e3
xor dil, 0x30
mov byte [rbp - 0x49], dil
mov sil, Ordinal_50
mov byte [rbp - 0x48], sil
mov edx, 0x5f5e0ff
mov ecx, 0xa98ac7
call fcn.1400bbdf0
mov edx, eax
lea rcx, [rbp - 0x31]
call fcn.14005e8a0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x1400bc20c
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp - 0x11]
call fcn.140064120
nop
mov rdx, qword [rbp - 0x19]
cmp rdx, 0xf
jbe 0x1400bc257
inc rdx
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400bc252
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400bc252
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140246eb0
test sil, sil
je 0x1400bc26c
xor dil, 0x30
mov byte [rbp - 0x49], dil
xor sil, 0x31
mov byte [rbp - 0x48], sil
lea rax, [rbp - 0x49]
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x1400bc273
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x11]
call fcn.140064120
mov edx, 0x540be3ff
mov ecx, 0x423a35c7
call fcn.1400bbdf0
mov edx, eax
lea rcx, [rbp - 0x31]
call fcn.14005e8a0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x1400bc2b3
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp - 0x11]
call fcn.140064120
nop
mov rdx, qword [rbp - 0x19]
cmp rdx, 0xf
jbe 0x1400bc2fe
inc rdx
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400bc2f9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400bc2f9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140246eb0
mov r8d, 4
lea rdx, str..sys
lea rcx, [rbp - 0x11]
call fcn.140064120
test r14b, r14b
je 0x1400bc329
xor r15b, 0x30
mov byte [rbp - 0x45], r15b
xor r14b, 0x31
mov byte [rbp - 0x44], r14b
xorps xmm0, xmm0
movups xmmword [rbp - 0x31], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x21], xmm1
lea rax, [rbp - 0x45]
mov r8, rbx
nop
inc r8
cmp byte [rax + r8], 0
jne 0x1400bc340
lea rdx, [rbp - 0x45]
lea rcx, [rbp - 0x31]
call fcn.14005fd70
nop
movzx eax, byte [rbp - 0x35]
test al, al
je 0x1400bc375
xor byte [rbp - 0x39], 0x30
xor byte [rbp - 0x38], 0x31
xor byte [rbp - 0x37], 0x32
xor byte [rbp - 0x36], 0x33
xor al, 0x34
mov byte [rbp - 0x35], al
lea rcx, [rbp - 0x39]
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
nop
inc rbx
cmp byte [rax + rbx], 0
jne 0x1400bc380
mov r9, rbx
mov r8, rax
lea rcx, [rbp - 0x31]
call fcn.140068480
xorps xmm0, xmm0
movups xmmword [rbp + 0xf], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x1f], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xf], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x1f], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rdx, [rbp - 0x11]
cmp qword [rbp + 7], 0xf
cmova rdx, qword [rbp - 0x11]
mov r8, qword [rbp - 1]
lea rcx, [rbp + 0xf]
call fcn.140064120
xorps xmm0, xmm0
movups xmmword [r13], xmm0
mov qword [r13 + 0x10], r12
mov qword [r13 + 0x18], r12
movups xmm0, xmmword [rax]
movups xmmword [r13], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [r13 + 0x10], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rbp + 0x27]
cmp rdx, 0xf
jbe 0x1400bc44e
inc rdx
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400bc449
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400bc449
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140246eb0
movdqa xmm0, xmmword [0x1402e5c00]
movdqu xmmword [rbp + 0x1f], xmm0
mov byte [rbp + 0xf], 0
mov rdx, qword [rbp - 0x19]
cmp rdx, 0xf
jbe 0x1400bc49d
inc rdx
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400bc498
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400bc498
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140246eb0
movdqa xmm0, xmmword [0x1402e5c00]
movdqu xmmword [rbp - 0x21], xmm0
mov byte [rbp - 0x31], 0
mov rdx, qword [rbp + 7]
cmp rdx, 0xf
jbe 0x1400bc4ec
inc rdx
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400bc4e7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400bc4e7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140246eb0
mov rax, r13
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140246e90
lea r11, [rsp + 0xa0]
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