Function at 0x140039c70
Capabilities:
Authenticate hmac

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push rbp
push r12
push r13
mov rbp, rsp
sub rsp, 0x80
mov qword [rsp + 0x78], rbx
mov r12, rcx
mov qword [rsp + 0x70], rsi
lea rcx, [rbp - 0x48]
mov qword [rsp + 0x68], rdi
mov rdi, rdx
mov edx, 1
call fcn.1401310d0
lea rax, [0x140484d90]
mov r8b, 0x36
mov edx, 0x40
mov qword [rbp - 0x40], rax
lea rcx, [rbp - 0x50]
call fcn.1400b0390
mov r8b, 0x5c
lea rcx, [rbp + 0x38]
mov edx, 0x40
call fcn.1400b0390
lea rcx, [rbp - 0x48]
call fcn.14015fff0
mov rax, qword [rdi]
mov r13d, 0xffffffff
cmp dword [rax + 4], 0x40
jle 0x140039d49
mov rdx, rdi
lea rcx, [rbp - 0x48]
call fcn.14015f0f0
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x48]
call fcn.1401602d0
mov rdx, qword [rdi]
mov rcx, qword [rax]
mov qword [rdi], rcx
mov qword [rax], rdx
mov rax, qword [rbp - 0x38]
mov ecx, dword [rax]
test ecx, ecx
je 0x140039d35
cmp ecx, r13d
je 0x140039d49
mov rax, qword [rbp - 0x38]
mov ecx, r13d
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x140039d49
mov rcx, qword [rbp - 0x38]
mov edx, 1
mov r8d, 8
call fcn.1400affb0
xor r9d, r9d
mov byte [rsp + 0x20], 1
mov r8d, 0x40
lea rdx, [rbp - 0x38]
mov rcx, rdi
call fcn.1400b1620
mov rdx, qword [rdi]
mov rcx, qword [rax]
mov qword [rdi], rcx
mov qword [rax], rdx
mov rax, qword [rbp - 0x38]
mov ecx, dword [rax]
test ecx, ecx
je 0x140039d8e
cmp ecx, r13d
je 0x140039da2
mov rax, qword [rbp - 0x38]
mov ecx, r13d
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x140039da2
mov rcx, qword [rbp - 0x38]
mov edx, 1
mov r8d, 8
call fcn.1400affb0
mov rax, qword [rdi]
xor esi, esi
mov ebx, esi
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x58], r15
cmp dword [rax + 4], ebx
jle 0x140039ed2
nop dword [rax]
mov eax, dword [rax]
cmp eax, 1
ja 0x140039dd1
mov rax, qword [rdi]
cmp qword [rax + 0x10], 0x18
je 0x140039de9
mov rax, qword [rdi]
mov rcx, rdi
mov r8d, dword [rax + 8]
mov edx, dword [rax + 4]
shr r8d, 0x1f
inc edx
call fcn.1400b2240
mov rcx, qword [rdi]
movsxd r15, ebx
cmp ebx, dword [rcx + 4]
jge 0x140039dff
add rcx, qword [rcx + 0x10]
movzx r12d, byte [rcx + r15]
jmp 0x140039e02
xor r12b, r12b
mov rax, qword [rbp - 0x50]
mov ecx, dword [rax]
mov rax, qword [rbp - 0x50]
cmp ecx, 1
ja 0x140039e18
cmp qword [rax + 0x10], 0x18
je 0x140039e32
mov r8d, dword [rax + 8]
lea rcx, [rbp - 0x50]
mov edx, dword [rax + 4]
shr r8d, 0x1f
inc edx
call fcn.1400b2240
mov rax, qword [rbp - 0x50]
cmp ebx, dword [rax + 4]
jge 0x140039e45
mov rdx, qword [rax + 0x10]
add rdx, r15
movzx r14d, byte [rdx + rax]
jmp 0x140039e48
xor r14b, r14b
mov ecx, dword [rax]
xor r14b, r12b
mov rax, qword [rbp - 0x50]
cmp ecx, 1
ja 0x140039e5d
cmp qword [rax + 0x10], 0x18
je 0x140039e77
mov r8d, dword [rax + 8]
lea rcx, [rbp - 0x50]
mov edx, dword [rax + 4]
shr r8d, 0x1f
inc edx
call fcn.1400b2240
mov rax, qword [rbp - 0x50]
cmp ebx, dword [rax + 4]
jl 0x140039e89
mov edx, ebx
lea rcx, [rbp - 0x50]
call fcn.1400b0d30
jmp 0x140039eb1
mov ecx, dword [rax]
mov rax, qword [rbp - 0x50]
cmp ecx, 1
ja 0x140039e9b
cmp qword [rax + 0x10], 0x18
je 0x140039eb5
mov r8d, dword [rax + 8]
lea rcx, [rbp - 0x50]
mov edx, dword [rax + 4]
shr r8d, 0x1f
inc edx
call fcn.1400b2240
mov rax, qword [rbp - 0x50]
mov rdx, qword [rax + 0x10]
inc ebx
add rdx, r15
mov byte [rdx + rax], r14b
mov rax, qword [rdi]
cmp ebx, dword [rax + 4]
jl 0x140039dc0
mov r12, qword [rbp + 0x20]
cmp dword [rax + 4], esi
jle 0x140039fee
nop dword [rax + rax]
mov eax, dword [rax]
cmp eax, 1
ja 0x140039ef1
mov rax, qword [rdi]
cmp qword [rax + 0x10], 0x18
je 0x140039f09
mov rax, qword [rdi]
mov rcx, rdi
mov r8d, dword [rax + 8]
mov edx, dword [rax + 4]
shr r8d, 0x1f
inc edx
call fcn.1400b2240
mov rdx, qword [rdi]
movsxd r14, esi
cmp esi, dword [rdx + 4]
jge 0x140039f22
mov rcx, qword [rdx + 0x10]
add rcx, r14
movzx r15d, byte [rcx + rdx]
jmp 0x140039f25
xor r15b, r15b
mov rax, qword [rbp + 0x38]
mov ecx, dword [rax]
mov rax, qword [rbp + 0x38]
cmp ecx, 1
ja 0x140039f3b
cmp qword [rax + 0x10], 0x18
je 0x140039f55
mov r8d, dword [rax + 8]
lea rcx, [rbp + 0x38]
mov edx, dword [rax + 4]
shr r8d, 0x1f
inc edx
call fcn.1400b2240
mov rax, qword [rbp + 0x38]
cmp esi, dword [rax + 4]
jge 0x140039f67
mov rdx, qword [rax + 0x10]
add rdx, r14
movzx ebx, byte [rdx + rax]
jmp 0x140039f69
xor bl, bl
mov ecx, dword [rax]
xor bl, r15b
mov rax, qword [rbp + 0x38]
cmp ecx, 1
ja 0x140039f7e
cmp qword [rax + 0x10], 0x18
je 0x140039f98
mov r8d, dword [rax + 8]
lea rcx, [rbp + 0x38]
mov edx, dword [rax + 4]
shr r8d, 0x1f
inc edx
call fcn.1400b2240
mov rax, qword [rbp + 0x38]
cmp esi, dword [rax + 4]
jl 0x140039faa
mov edx, esi
lea rcx, [rbp + 0x38]
call fcn.1400b0d30
jmp 0x140039fd2
mov ecx, dword [rax]
mov rax, qword [rbp + 0x38]
cmp ecx, 1
ja 0x140039fbc
cmp qword [rax + 0x10], 0x18
je 0x140039fd6
mov r8d, dword [rax + 8]
lea rcx, [rbp + 0x38]
mov edx, dword [rax + 4]
shr r8d, 0x1f
inc edx
call fcn.1400b2240
mov rax, qword [rbp + 0x38]
mov rdx, qword [rax + 0x10]
inc esi
add rdx, r14
mov byte [rdx + rax], bl
mov rax, qword [rdi]
cmp esi, dword [rax + 4]
jl 0x140039ee0
mov rdx, qword [rbp + 0x30]
lea rcx, [rbp - 0x50]
call fcn.1400b0950
lea rcx, [rbp - 0x48]
call fcn.14015fff0
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x48]
call fcn.14015f0f0
lea rdx, [rbp + 0x28]
lea rcx, [rbp - 0x48]
call fcn.1401602d0
mov rdx, qword [rbp - 0x40]
mov r15, qword [rsp + 0x58]
mov r14, qword [rsp + 0x60]
mov rcx, qword [rax]
mov rdi, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x78]
mov qword [rbp - 0x40], rcx
mov qword [rax], rdx
mov rax, qword [rbp + 0x28]
mov ecx, dword [rax]
test ecx, ecx
je 0x14003a064
cmp ecx, r13d
je 0x14003a078
mov rax, qword [rbp + 0x28]
mov ecx, r13d
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x14003a078
mov rcx, qword [rbp + 0x28]
mov edx, 1
mov r8d, 8
call fcn.1400affb0
lea rax, [0x140484d90]
lea rdx, [rbp - 0x40]
mov qword [r12], rax
lea rcx, [rbp + 0x38]
call fcn.1400b0950
lea rcx, [rbp - 0x48]
call fcn.14015fff0
lea rdx, [rbp + 0x38]
lea rcx, [rbp - 0x48]
call fcn.14015f0f0
lea rdx, [rbp + 0x28]
lea rcx, [rbp - 0x48]
call fcn.1401602d0
mov rdx, qword [r12]
mov rcx, qword [rax]
mov qword [r12], rcx
mov qword [rax], rdx
mov rax, qword [rbp + 0x28]
mov ecx, dword [rax]
test ecx, ecx
je 0x14003a0e0
cmp ecx, r13d
je 0x14003a0f4
mov rax, qword [rbp + 0x28]
mov ecx, r13d
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x14003a0f4
mov rcx, qword [rbp + 0x28]
mov edx, 1
mov r8d, 8
call fcn.1400affb0
mov rax, qword [rbp + 0x38]
mov ecx, dword [rax]
test ecx, ecx
je 0x14003a113
cmp ecx, r13d
je 0x14003a127
mov rax, qword [rbp + 0x38]
mov ecx, r13d
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x14003a127
mov rcx, qword [rbp + 0x38]
mov edx, 1
mov r8d, 8
call fcn.1400affb0
mov rax, qword [rbp - 0x50]
mov ecx, dword [rax]
test ecx, ecx
je 0x14003a146
cmp ecx, r13d
je 0x14003a15a
mov rax, qword [rbp - 0x50]
mov ecx, r13d
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x14003a15a
mov rcx, qword [rbp - 0x50]
mov edx, 1
mov r8d, 8
call fcn.1400affb0
mov rax, qword [rbp - 0x40]
mov ecx, dword [rax]
test ecx, ecx
je 0x14003a178
cmp ecx, r13d
je 0x14003a18c
mov rax, qword [rbp - 0x40]
lock xadd dword [rax], r13d
cmp r13d, 1
jne 0x14003a18c
mov rcx, qword [rbp - 0x40]
mov edx, 1
mov r8d, 8
call fcn.1400affb0
lea rcx, [rbp - 0x48]
call fcn.140131130
mov rax, r12
add rsp, 0x80
pop r13
pop r12
pop rbp
ret