Function at 0x14005c8b0
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 [0x14025a0c0]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov r13, rcx
mov qword [rbp + 7], rcx
mov eax, dword [0x14023c194]
mov dword [rbp + 7], eax
movzx eax, byte [0x14023c198]
mov byte [rbp + 0xb], al
movzx eax, word [0x14023bfe8]
mov word [rbp - 1], ax
movzx ebx, byte [0x14023bfe9]
movzx ecx, bl
movzx r12d, bl
movzx edx, bl
test bl, bl
jne 0x14005c93c
mov dil, reloc.WLDAP32.dll_Ordinal_45
mov byte [rbp - 1], dil
movzx ebx, byte [rbp]
xor bl, 0x31
movzx esi, bl
mov byte [rbp], bl
movzx ecx, bl
movzx r12d, bl
movzx edx, bl
jmp 0x14005c944
movzx esi, byte [rbp]
movzx edi, byte [rbp - 1]
movzx eax, word [0x14023c410]
mov word [rbp + 3], ax
movzx r14d, byte [rbp + 4]
cmp byte [0x14023c411], 0
jne 0x14005c975
mov r15b, 0x5c
mov byte [rbp + 3], r15b
xor r14b, 0x31
mov byte [rbp + 4], r14b
movzx ebx, cl
movzx r12d, dl
jmp 0x14005c97a
movzx r15d, byte [rbp + 3]
xorps xmm0, xmm0
movups xmmword [rbp + 0xf], xmm0
movdqa xmm1, xmmword [0x14023e740]
movdqu xmmword [rbp + 0x1f], xmm1
mov byte [rbp + 0xf], 0
mov edx, 0x540be3ff
mov ecx, 0x423a35c7
call fcn.14005c7a0
mov edx, eax
lea rcx, [rbp - 0x49]
call fcn.1400b0880
nop
lea rdx, [rbp - 0x49]
cmp qword [rbp - 0x31], 0xf
jbe 0x14005c9c0
mov rdx, qword [rbp - 0x49]
movzx ebx, r12b
mov r8, qword [rbp - 0x39]
lea rcx, [rbp + 0xf]
call fcn.1400b0540
nop
lea rcx, [rbp - 0x49]
call fcn.1400b02e0
test bl, bl
je 0x14005c9eb
xor dil, 0x30
mov byte [rbp - 1], dil
xor sil, 0x31
mov byte [rbp], sil
lea rax, [rbp - 1]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14005ca00
lea rdx, [rbp - 1]
lea rcx, [rbp + 0xf]
call fcn.1400b0540
movzx esi, byte [rbp]
movzx edi, byte [rbp - 1]
test sil, sil
jne 0x14005ca33
xor dil, 0x30
mov byte [rbp - 1], dil
mov sil, Ordinal_50
mov byte [rbp], sil
mov edx, 0x540be3ff
mov ecx, 0x423a35c7
call fcn.14005c7a0
mov edx, eax
lea rcx, [rbp - 0x49]
call fcn.1400b0880
nop
lea rdx, [rbp - 0x49]
cmp qword [rbp - 0x31], 0xf
cmova rdx, qword [rbp - 0x49]
mov r8, qword [rbp - 0x39]
lea rcx, [rbp + 0xf]
call fcn.1400b0540
nop
lea rcx, [rbp - 0x49]
call fcn.1400b02e0
test sil, sil
je 0x14005ca88
xor dil, 0x30
mov byte [rbp - 1], dil
xor sil, 0x31
mov byte [rbp], sil
lea rax, [rbp - 1]
mov r8, rbx
nop
inc r8
cmp byte [rax + r8], 0
jne 0x14005ca90
lea rdx, [rbp - 1]
lea rcx, [rbp + 0xf]
call fcn.1400b0540
movzx esi, byte [rbp]
movzx edi, byte [rbp - 1]
test sil, sil
jne 0x14005cac3
xor dil, 0x30
mov byte [rbp - 1], dil
mov sil, Ordinal_50
mov byte [rbp], sil
mov edx, 0x5f5e0ff
mov ecx, 0xa98ac7
call fcn.14005c7a0
mov edx, eax
lea rcx, [rbp - 0x49]
call fcn.1400b0880
nop
lea rdx, [rbp - 0x49]
cmp qword [rbp - 0x31], 0xf
cmova rdx, qword [rbp - 0x49]
mov r8, qword [rbp - 0x39]
lea rcx, [rbp + 0xf]
call fcn.1400b0540
nop
lea rcx, [rbp - 0x49]
call fcn.1400b02e0
test sil, sil
je 0x14005cb18
xor dil, 0x30
mov byte [rbp - 1], dil
xor sil, 0x31
mov byte [rbp], sil
lea rax, [rbp - 1]
mov r8, rbx
nop
inc r8
cmp byte [rax + r8], 0
jne 0x14005cb20
lea rdx, [rbp - 1]
lea rcx, [rbp + 0xf]
call fcn.1400b0540
mov edx, 0x540be3ff
mov ecx, 0x423a35c7
call fcn.14005c7a0
mov edx, eax
lea rcx, [rbp - 0x49]
call fcn.1400b0880
nop
lea rdx, [rbp - 0x49]
cmp qword [rbp - 0x31], 0xf
cmova rdx, qword [rbp - 0x49]
mov r8, qword [rbp - 0x39]
lea rcx, [rbp + 0xf]
call fcn.1400b0540
nop
lea rcx, [rbp - 0x49]
call fcn.1400b02e0
mov r8d, 4
lea rdx, str..sys
lea rcx, [rbp + 0xf]
call fcn.1400b0540
test r14b, r14b
je 0x14005cba2
xor r15b, 0x30
mov byte [rbp + 3], r15b
xor r14b, 0x31
mov byte [rbp + 4], r14b
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x39], xmm1
lea rax, [rbp + 3]
inc rbx
cmp byte [rax + rbx], 0
jne 0x14005cbb5
mov r8, rbx
lea rdx, [rbp + 3]
lea rcx, [rbp - 0x49]
call fcn.1400b2060
nop
movzx eax, byte [rbp + 0xb]
test al, al
je 0x14005cbec
xor byte [rbp + 7], 0x30
xor byte [rbp + 8], 0x31
xor byte [rbp + 9], 0x32
xor byte [rbp + 0xa], 0x33
xor al, 0x34
mov byte [rbp + 0xb], al
lea rcx, [rbp + 7]
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
lea r8, [rbp - 0x49]
mov rdx, rax
lea rcx, [rbp - 0x21]
call fcn.1400b12b0
nop
lea rdx, [rbp + 0xf]
mov rcx, rax
call fcn.1400af740
xorps xmm0, xmm0
movups xmmword [r13], xmm0
xor ecx, ecx
mov qword [r13 + 0x10], rcx
mov qword [r13 + 0x18], rcx
movups xmm0, xmmword [rax]
movups xmmword [r13], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [r13 + 0x10], xmm1
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], cl
lea rcx, [rbp - 0x21]
call fcn.1400b02e0
nop
lea rcx, [rbp - 0x49]
call fcn.1400b02e0
nop
lea rcx, [rbp + 0xf]
call fcn.1400b02e0
mov rax, r13
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1401ff5f0
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