Function at 0x14007d380
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, 0xa0
mov rax, qword [0x14014d0c0]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov r12, rdx
mov r13, rcx
mov qword [rbp - 0x49], rcx
xor ecx, ecx
mov eax, dword [0x14013906c]
mov dword [rbp - 0x49], eax
movzx eax, byte [0x140139070]
mov byte [rbp - 0x45], al
movzx eax, word [0x1401380a8]
mov word [rbp - 0x59], ax
movzx ebx, byte [rbp - 0x58]
cmp byte [0x1401380a9], cl
jne 0x14007d3ef
mov dil, reloc.WLDAP32.dll_Ordinal_45
mov byte [rbp - 0x59], dil
xor bl, 0x37
mov byte [rbp - 0x58], bl
jmp 0x14007d3f3
movzx edi, byte [rbp - 0x59]
movzx eax, word [0x140138210]
mov word [rbp - 0x55], ax
movzx r14d, byte [rbp - 0x54]
cmp byte [0x140138211], cl
jne 0x14007d41c
mov r15b, 0x5c
mov byte [rbp - 0x55], r15b
xor r14b, 0x37
mov byte [rbp - 0x54], r14b
jmp 0x14007d421
movzx r15d, byte [rbp - 0x55]
xorps xmm0, xmm0
movups xmmword [rbp - 0x21], xmm0
mov qword [rbp - 0x11], rcx
mov qword [rbp - 9], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x21], cl
mov edx, 0x540be3ff
mov ecx, 0x423a35c7
call fcn.14007d1e0
mov edx, eax
lea rcx, [rbp - 0x41]
call fcn.14001ffe0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x14007d460
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp - 0x21]
call fcn.140025800
nop
mov rdx, qword [rbp - 0x29]
cmp rdx, 0xf
jbe 0x14007d4ab
inc rdx
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007d4a6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007d4a6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140114080
test bl, bl
je 0x14007d4bd
xor dil, 0x36
mov byte [rbp - 0x59], dil
xor bl, 0x37
mov byte [rbp - 0x58], bl
lea rax, [rbp - 0x59]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14007d4d0
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x21]
call fcn.140025800
movzx esi, byte [rbp - 0x58]
movzx edi, byte [rbp - 0x59]
test sil, sil
jne 0x14007d503
xor dil, 0x36
mov byte [rbp - 0x59], dil
mov sil, gethostname
mov byte [rbp - 0x58], sil
mov edx, 0x540be3ff
mov ecx, 0x423a35c7
call fcn.14007d1e0
mov edx, eax
lea rcx, [rbp - 0x41]
call fcn.14001ffe0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x14007d52c
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp - 0x21]
call fcn.140025800
nop
mov rdx, qword [rbp - 0x29]
cmp rdx, 0xf
jbe 0x14007d577
inc rdx
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007d572
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007d572
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140114080
test sil, sil
je 0x14007d58c
xor dil, 0x36
mov byte [rbp - 0x59], dil
xor sil, 0x37
mov byte [rbp - 0x58], sil
lea rax, [rbp - 0x59]
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x14007d593
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x21]
call fcn.140025800
movzx esi, byte [rbp - 0x58]
movzx edi, byte [rbp - 0x59]
test sil, sil
jne 0x14007d5c6
xor dil, 0x36
mov byte [rbp - 0x59], dil
mov sil, gethostname
mov byte [rbp - 0x58], sil
mov edx, 0x5f5e0ff
mov ecx, 0xa98ac7
call fcn.14007d1e0
mov edx, eax
lea rcx, [rbp - 0x41]
call fcn.14001ffe0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x14007d5ef
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp - 0x21]
call fcn.140025800
nop
mov rdx, qword [rbp - 0x29]
cmp rdx, 0xf
jbe 0x14007d63a
inc rdx
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007d635
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007d635
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140114080
test sil, sil
je 0x14007d64f
xor dil, 0x36
mov byte [rbp - 0x59], dil
xor sil, 0x37
mov byte [rbp - 0x58], sil
lea rax, [rbp - 0x59]
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x14007d656
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x21]
call fcn.140025800
mov edx, 0x540be3ff
mov ecx, 0x423a35c7
call fcn.14007d1e0
mov edx, eax
lea rcx, [rbp - 0x41]
call fcn.14001ffe0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x14007d696
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp - 0x21]
call fcn.140025800
nop
mov rdx, qword [rbp - 0x29]
cmp rdx, 0xf
jbe 0x14007d6e1
inc rdx
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007d6dc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007d6dc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140114080
mov r8, rbx
inc r8
cmp byte [r12 + r8], 0
jne 0x14007d6e4
mov rdx, r12
lea rcx, [rbp - 0x21]
call fcn.140025800
test r14b, r14b
je 0x14007d70f
xor r15b, 0x36
mov byte [rbp - 0x55], r15b
xor r14b, 0x37
mov byte [rbp - 0x54], r14b
xorps xmm0, xmm0
movups xmmword [rbp - 0x41], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x31], xmm1
lea rax, [rbp - 0x55]
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x14007d725
lea rdx, [rbp - 0x55]
lea rcx, [rbp - 0x41]
call fcn.140021570
nop
movzx eax, byte [rbp - 0x45]
test al, al
je 0x14007d75a
xor byte [rbp - 0x49], 0x36
xor byte [rbp - 0x48], 0x37
xor byte [rbp - 0x47], 0x38
xor byte [rbp - 0x46], 0x39
xor al, 0x3a
mov byte [rbp - 0x45], al
lea rcx, [rbp - 0x49]
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
inc rbx
cmp byte [rax + rbx], 0
jne 0x14007d764
mov r9, rbx
mov r8, rax
xor edx, edx
lea rcx, [rbp - 0x41]
call fcn.14002a150
xorps xmm0, xmm0
movups xmmword [rbp - 1], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xf], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 1], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xf], xmm1
xor ebx, ebx
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], bl
lea rdx, [rbp - 0x21]
cmp qword [rbp - 9], 0xf
cmova rdx, qword [rbp - 0x21]
mov r8, qword [rbp - 0x11]
lea rcx, [rbp - 1]
call fcn.140025800
xorps xmm0, xmm0
movups xmmword [r13], xmm0
mov qword [r13 + 0x10], rbx
mov qword [r13 + 0x18], rbx
movups xmm0, xmmword [rax]
movups xmmword [r13], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [r13 + 0x10], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], bl
mov rdx, qword [rbp + 0x17]
cmp rdx, 0xf
jbe 0x14007d834
inc rdx
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007d82f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007d82f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140114080
movdqa xmm0, xmmword [0x140139580]
movdqu xmmword [rbp + 0xf], xmm0
mov byte [rbp - 1], 0
mov rdx, qword [rbp - 0x29]
cmp rdx, 0xf
jbe 0x14007d883
inc rdx
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007d87e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007d87e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140114080
movdqa xmm0, xmmword [0x140139580]
movdqu xmmword [rbp - 0x31], xmm0
mov byte [rbp - 0x41], 0
mov rdx, qword [rbp - 9]
cmp rdx, 0xf
jbe 0x14007d8d2
inc rdx
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007d8cd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007d8cd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140114080
mov rax, r13
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.140114060
mov rbx, qword [rsp + 0xf0]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret