Function at 0x140012a50
Capabilities:
Authenticate hmac
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xc0
mov rax, qword [0x14008d0c0]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov qword [rbp - 0x21], rdx
mov qword [rbp - 0x19], rcx
mov qword [rbp + 0x17], rcx
xor ecx, ecx
mov eax, dword [str.fvye6]
mov dword [rbp + 0x17], eax
movzx eax, byte [0x1400720c8]
mov byte [rbp + 0x1b], al
movzx eax, word [0x1400720cc]
mov word [rbp - 0x11], ax
movzx edi, byte [rbp - 0x10]
cmp byte [0x1400720cd], cl
jne 0x140012ac3
mov sil, reloc.WLDAP32.dll_Ordinal_45
mov byte [rbp - 0x11], sil
xor dil, 0x33
mov byte [rbp - 0x10], dil
jmp 0x140012ac7
movzx esi, byte [rbp - 0x11]
movzx eax, word [0x1400720d0]
mov word [rbp - 0xd], ax
movzx r12d, byte [rbp - 0xc]
cmp byte [0x1400720d1], cl
jne 0x140012aeb
mov byte [rbp - 0xd], 0x5c
xor r12b, 0x33
mov byte [rbp - 0xc], r12b
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
mov qword [rbp + 7], rcx
mov qword [rbp + reloc.WS2_32.dll_ntohs], 0xf
mov byte [rbp - 9], cl
mov edx, 0x540be3ff
mov ecx, 0x423a35c7
call fcn.140016c20
mov edx, eax
lea rcx, [rbp - 0x69]
call fcn.1400018e0
mov r9, rax
mov r14, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x140012b2c
mov r9, qword [rax]
mov rcx, qword [rbp + 7]
mov rdx, qword [rbp + 0xf]
mov rax, rdx
sub rax, rcx
cmp r14, rax
ja 0x140012b6c
lea rax, [r14 + rcx]
mov qword [rbp + 7], rax
lea rbx, [rbp - 9]
cmp rdx, 0xf
cmova rbx, qword [rbp - 9]
add rbx, rcx
mov r8, r14
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + r14], 0
jmp 0x140012b83
mov qword [rsp + 0x20], r14
movzx r8d, byte [rbp - 0x11]
mov rdx, r14
lea rcx, [rbp - 9]
call fcn.1400094c0
nop
mov rdx, qword [rbp - 0x51]
cmp rdx, 0xf
jbe 0x140012bc1
inc rdx
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012bbc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140012bbc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006e3a4
test dil, dil
je 0x140012bd6
xor sil, 0x32
mov byte [rbp - 0x11], sil
xor dil, 0x33
mov byte [rbp - 0x10], dil
lea rax, [rbp - 0x11]
mov r15, 0xffffffffffffffff
mov r14, r15
inc r14
cmp byte [rax + r14], 0
jne 0x140012be4
mov rcx, qword [rbp + 7]
mov rdx, qword [rbp + 0xf]
mov rax, rdx
sub rax, rcx
cmp r14, rax
ja 0x140012c2f
lea rax, [rcx + r14]
mov qword [rbp + 7], rax
lea rbx, [rbp - 9]
cmp rdx, 0xf
cmova rbx, qword [rbp - 9]
add rbx, rcx
mov r8, r14
lea rdx, [rbp - 0x11]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbx + r14], 0
jmp 0x140012c51
mov qword [rsp + 0x20], r14
lea r9, [rbp - 0x11]
movzx r8d, byte [rbp - 0x11]
mov rdx, r14
lea rcx, [rbp - 9]
call fcn.1400094c0
movzx edi, byte [rbp - 0x10]
movzx esi, byte [rbp - 0x11]
test dil, dil
jne 0x140012c65
xor sil, 0x32
mov byte [rbp - 0x11], sil
mov dil, 0x33
mov byte [rbp - 0x10], dil
mov edx, 0x540be3ff
mov ecx, 0x423a35c7
call fcn.140016c20
mov edx, eax
lea rcx, [rbp - 0x69]
call fcn.1400018e0
mov r9, rax
mov r14, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x140012c90
mov r9, qword [rax]
mov r13, qword [rbp + 7]
mov rcx, qword [rbp + 0xf]
mov rax, rcx
sub rax, r13
cmp r14, rax
ja 0x140012cd2
lea rax, [r14 + r13]
mov qword [rbp + 7], rax
lea rbx, [rbp - 9]
cmp rcx, 0xf
cmova rbx, qword [rbp - 9]
lea rcx, [rbx + r13]
mov r8, r14
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
lea rax, [r14 + rbx]
mov byte [rax + r13], 0
jmp 0x140012ce9
mov qword [rsp + 0x20], r14
movzx r8d, byte [rbp - 0x11]
mov rdx, r14
lea rcx, [rbp - 9]
call fcn.1400094c0
nop
mov rdx, qword [rbp - 0x51]
cmp rdx, 0xf
jbe 0x140012d27
inc rdx
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012d22
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140012d22
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006e3a4
test dil, dil
je 0x140012d3c
xor sil, 0x32
mov byte [rbp - 0x11], sil
xor dil, 0x33
mov byte [rbp - 0x10], dil
lea rax, [rbp - 0x11]
mov r14, r15
inc r14
cmp byte [rax + r14], 0
jne 0x140012d43
mov rcx, qword [rbp + 7]
mov rdx, qword [rbp + 0xf]
mov rax, rdx
sub rax, rcx
cmp r14, rax
ja 0x140012d8e
lea rax, [rcx + r14]
mov qword [rbp + 7], rax
lea rbx, [rbp - 9]
cmp rdx, 0xf
cmova rbx, qword [rbp - 9]
add rbx, rcx
mov r8, r14
lea rdx, [rbp - 0x11]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbx + r14], 0
jmp 0x140012db0
mov qword [rsp + 0x20], r14
lea r9, [rbp - 0x11]
movzx r8d, byte [rbp - 0x11]
mov rdx, r14
lea rcx, [rbp - 9]
call fcn.1400094c0
movzx edi, byte [rbp - 0x10]
movzx esi, byte [rbp - 0x11]
test dil, dil
jne 0x140012dc4
xor sil, 0x32
mov byte [rbp - 0x11], sil
mov dil, 0x33
mov byte [rbp - 0x10], dil
mov edx, 0x5f5e0ff
mov ecx, 0xa98ac7
call fcn.140016c20
mov edx, eax
lea rcx, [rbp - 0x69]
call fcn.1400018e0
mov r9, rax
mov r14, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x140012def
mov r9, qword [rax]
mov rcx, qword [rbp + 7]
mov rdx, qword [rbp + 0xf]
mov rax, rdx
sub rax, rcx
cmp r14, rax
ja 0x140012e2f
lea rax, [r14 + rcx]
mov qword [rbp + 7], rax
lea rbx, [rbp - 9]
cmp rdx, 0xf
cmova rbx, qword [rbp - 9]
add rbx, rcx
mov r8, r14
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [r14 + rbx], 0
jmp 0x140012e46
mov qword [rsp + 0x20], r14
movzx r8d, byte [rbp - 0x11]
mov rdx, r14
lea rcx, [rbp - 9]
call fcn.1400094c0
nop
mov rdx, qword [rbp - 0x51]
cmp rdx, 0xf
jbe 0x140012e84
inc rdx
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012e7f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140012e7f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006e3a4
test dil, dil
je 0x140012e99
xor sil, 0x32
mov byte [rbp - 0x11], sil
xor dil, 0x33
mov byte [rbp - 0x10], dil
lea rax, [rbp - 0x11]
mov rdi, r15
inc rdi
cmp byte [rax + rdi], 0
jne 0x140012ea0
mov rcx, qword [rbp + 7]
mov rdx, qword [rbp + 0xf]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x140012ee9
lea rax, [rcx + rdi]
mov qword [rbp + 7], rax
lea rbx, [rbp - 9]
cmp rdx, 0xf
cmova rbx, qword [rbp - 9]
add rbx, rcx
mov r8, rdi
lea rdx, [rbp - 0x11]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbx + rdi], 0
jmp 0x140012f03
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x11]
movzx r8d, byte [rbp - 0x11]
mov rdx, rdi
lea rcx, [rbp - 9]
call fcn.1400094c0
mov edx, 0x540be3ff
mov ecx, 0x423a35c7
call fcn.140016c20
mov edx, eax
lea rcx, [rbp - 0x69]
call fcn.1400018e0
mov r9, rax
mov rdi, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x140012f2e
mov r9, qword [rax]
mov rsi, qword [rbp + 7]
mov rcx, qword [rbp + 0xf]
mov rax, rcx
sub rax, rsi
cmp rdi, rax
ja 0x140012f6f
lea rax, [rsi + rdi]
mov qword [rbp + 7], rax
lea rbx, [rbp - 9]
cmp rcx, 0xf
cmova rbx, qword [rbp - 9]
lea rcx, [rbx + rsi]
mov r8, rdi
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
lea rax, [rdi + rbx]
mov byte [rax + rsi], 0
jmp 0x140012f86
mov qword [rsp + 0x20], rdi
movzx r8d, byte [rbp - 0x11]
mov rdx, rdi
lea rcx, [rbp - 9]
call fcn.1400094c0
nop
mov rdx, qword [rbp - 0x51]
cmp rdx, 0xf
jbe 0x140012fc4
inc rdx
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012fbf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140012fbf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006e3a4
mov rdi, r15
mov rdx, qword [rbp - 0x21]
nop dword [rax + rax]
inc rdi
cmp byte [rdx + rdi], 0
jne 0x140012fd0
mov rcx, qword [rbp + 7]
mov r8, qword [rbp + 0xf]
mov rax, r8
sub rax, rcx
cmp rdi, rax
ja 0x140013015
lea rax, [rcx + rdi]
mov qword [rbp + 7], rax
lea rbx, [rbp - 9]
cmp r8, 0xf
cmova rbx, qword [rbp - 9]
add rbx, rcx
mov r8, rdi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + rbx], 0
jmp 0x14001302e
mov qword [rsp + 0x20], rdi
mov r9, rdx
movzx r8d, byte [rbp - 0x11]
mov rdx, rdi
lea rcx, [rbp - 9]
call fcn.1400094c0
test r12b, r12b
je 0x14001303f
xor byte [rbp - 0xd], 0x32
xor r12b, 0x33
mov byte [rbp - 0xc], r12b
xorps xmm0, xmm0
movups xmmword [rbp - 0x69], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x59], xmm1
lea rax, [rbp - 0xd]
mov r8, r15
inc r8
cmp byte [rax + r8], 0
jne 0x140013055
lea rdx, [rbp - 0xd]
lea rcx, [rbp - 0x69]
call fcn.140009250
nop
movzx eax, byte [rbp + 0x1b]
test al, al
je 0x14001308a
xor byte [rbp + 0x17], 0x32
xor byte [rbp + 0x18], 0x33
xor byte [rbp + 0x19], 0x34
xor byte [rbp + 0x1a], 0x35
xor al, 0x36
mov byte [rbp + 0x1b], al
lea rcx, [rbp + 0x17]
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
inc r15
cmp byte [rax + r15], 0
jne 0x140013094
mov r9, r15
mov r8, rax
xor edx, edx
lea rcx, [rbp - 0x69]
call fcn.140019020
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x39], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x49], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x39], xmm1
xor edi, edi
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], dil
lea rdx, [rbp - 9]
cmp qword [rbp + 0xf], 0xf
cmova rdx, qword [rbp - 9]
mov r8, qword [rbp + 7]
lea rcx, [rbp - 0x49]
call fcn.1400085b0
xorps xmm0, xmm0
mov rbx, qword [rbp - 0x19]
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], dil
mov rdx, qword [rbp - 0x31]
cmp rdx, 0xf
jbe 0x140013166
inc rdx
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013161
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140013161
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006e3a4
movdqa xmm0, xmmword [0x140080f40]
movdqu xmmword [rbp - 0x39], xmm0
mov byte [rbp - 0x49], 0
mov rdx, qword [rbp - 0x51]
cmp rdx, 0xf
jbe 0x1400131b5
inc rdx
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400131b0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400131b0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006e3a4
movdqa xmm0, xmmword [0x140080f40]
movdqu xmmword [rbp - 0x59], xmm0
mov byte [rbp - 0x69], 0
mov rdx, qword [rbp + 0xf]
cmp rdx, 0xf
jbe 0x140013204
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400131ff
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400131ff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006e3a4
mov rax, rbx
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.14006e100
mov rbx, qword [rsp + 0x110]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret