Function at 0x1400502a0
Capabilities:
Authenticate hmac

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
xor r13d, r13d
mov dword [rbp + 0x67], r13d
mov rax, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 0x10
jb 0x1400502d9
mov rcx, qword [rcx]
mov qword [rbp - 0x39], rcx
mov qword [rbp - 0x31], rax
xor r8d, r8d
lea rdx, [rbp - 0x39]
lea rcx, [rbp + 0x17]
call fcn.14003f2e0
nop
lea rcx, [rbp + 0x17]
cmp qword [rbp + 0x2f], 8
cmovae rcx, qword [rbp + 0x17]
mov rax, qword [rbp + 0x27]
lea rdi, [rcx + rax*2]
mov rbx, rdi
mov rdx, rdi
call fcn.140060210
cmp rax, rdi
je 0x14005035e
nop dword [rax + rax]
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x14005032f
cmp cx, 0x2f
jne 0x140050338
add rax, 2
cmp rax, rdi
jne 0x140050320
cmp rax, rdi
je 0x14005035e
nop dword [rax]
lea rcx, [rbx - 2]
movzx r8d, word [rcx]
cmp r8w, 0x5c
je 0x14005035e
cmp r8w, 0x2f
je 0x14005035e
mov rbx, rcx
cmp rax, rcx
jne 0x140050340
mov r8d, Ordinal_60
mov rdx, rdi
mov rcx, rbx
call fcn.1400e5f20
cmp rbx, rax
je 0x1400503af
lea rdx, [rax - 2]
cmp rbx, rdx
je 0x1400503af
cmp word [rdx], 0x2e
jne 0x140050394
lea rcx, [rdx - 2]
cmp rbx, rcx
jne 0x1400503b2
cmp word [rcx], 0x2e
jne 0x1400503b2
jmp 0x1400503af
sub rdx, 2
cmp rbx, rdx
je 0x1400503af
nop dword [rax]
cmp word [rdx], 0x2e
je 0x1400503b2
sub rdx, 2
cmp rbx, rdx
jne 0x1400503a0
mov rdx, rax
sub rax, rdx
sar rax, 1
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
mov qword [rbp + 7], r13
mov qword [rbp + 0xf], r13
mov r8, rax
lea rcx, [rbp - 9]
call fcn.14003f210
nop
lea r15, [rbp - 9]
cmp qword [rbp + 0xf], 8
cmovae r15, qword [rbp - 9]
mov r14, qword [rbp + 7]
call fcn.1400e6108
mov r12d, eax
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
mov qword [rbp - 0x19], r13
mov qword [rbp - 0x11], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x29], 0
mov dword [rbp + 0x67], reloc.WLDAP32.dll_Ordinal_143
test r14, r14
je 0x1400504ee
cmp r14, 0x7fffffff
ja 0x140050624
mov dword [rsp + 0x20], r13d
xor r9d, r9d
mov r8d, r14d
mov rdx, r15
mov ecx, eax
call fcn.1400e6178
mov rdi, rax
shr rax, 0x20
test eax, eax
jne 0x14005062f
movsxd rcx, edi
mov rdx, qword [rbp - 0x19]
cmp rcx, rdx
ja 0x14005046a
lea rax, [rbp - 0x29]
cmp qword [rbp - 0x11], 0x10
cmovae rax, qword [rbp - 0x29]
mov qword [rbp - 0x19], rcx
mov byte [rax + rcx], 0
jmp 0x1400504bf
mov rsi, rcx
sub rsi, rdx
mov r8, qword [rbp - 0x11]
mov rax, r8
sub rax, rdx
cmp rsi, rax
ja 0x1400504a6
mov qword [rbp - 0x19], rcx
lea rbx, [rbp - 0x29]
cmp r8, 0x10
cmovae rbx, qword [rbp - 0x29]
add rbx, rdx
mov r8, rsi
xor edx, edx
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
mov byte [rbx + rsi], 0
jmp 0x1400504bf
mov byte [rsp + 0x20], 0
mov r9, rsi
movzx r8d, byte [rbp + 0x67]
mov rdx, rsi
lea rcx, [rbp - 0x29]
call fcn.140040a80
lea r9, [rbp - 0x29]
cmp qword [rbp - 0x11], 0x10
cmovae r9, qword [rbp - 0x29]
mov dword [rsp + 0x20], edi
mov r8d, r14d
mov rdx, r15
mov ecx, r12d
call fcn.1400e6178
mov rcx, rax
shr rax, 0x20
test eax, eax
jne 0x14005061a
mov rdx, qword [rbp + 0xf]
cmp rdx, 8
jb 0x140050531
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005052c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005052c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e4f1c
movdqa xmm0, xmmword [0x1400fadf0]
movdqu xmmword [rbp + 7], xmm0
mov word [rbp - 9], r13w
lea rcx, [rbp + 0x17]
call fcn.140060df0
mov eax, dword [str.eZ_9]
mov dword [rbp + 0x67], eax
movzx eax, byte [reloc.WS2_32.dll_gethostname]
mov byte [rbp + 0x67], reloc.WLDAP32.dll_Ordinal_46
xor byte [rbp + 0x68], 0x36
xor byte [rbp + 0x69], 0x37
xor byte [rbp + 0x6a], 0x38
xor al, 0x39
mov byte [rbp + 0x6b], al
lea rcx, [rbp + 0x67]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x140050580
lea rcx, [rbp - 0x29]
mov rbx, qword [rbp - 0x29]
mov rdi, qword [rbp - 0x11]
cmp rdi, 0x10
cmovae rcx, rbx
mov r8, qword [rbp - 0x19]
cmp r8, rax
jne 0x1400505b8
lea rdx, [rbp + 0x67]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400505b8
mov sil, 1
jmp 0x1400505bb
xor sil, sil
cmp rdi, 0x10
jb 0x1400505f5
lea rdx, [rdi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400505ed
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400505ed
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.1400e4f1c
movzx eax, sil
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
shr rcx, 0x20
call fcn.140060d10
int3
mov ecx, reloc.WLDAP32.dll_Ordinal_22
call fcn.140060cd0
int3
shr rdi, 0x20
mov ecx, edi
call fcn.140060d10
int3