Function at 0x14011dd10
Capabilities:
Authenticate hmac

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rdx
call fcn.14011d5f0
movsxd rdx, dword [0x1402882c0]
mov rdi, rax
mov rax, rdx
lea rcx, [rdx + rdx*2]
lea rdx, [0x1401c6d40]
add eax, 1
lea rbx, [rdx + rcx*8]
and eax, 3
mov qword [rbx + 8], 0
mov dword [0x1402882c0], eax
mov rax, qword [rbx + 0x10]
cmp rax, qword [0x140207c90]
je 0x14011dce8
mov byte [rax], 0
mov rcx, rsi
call fcn.1400202e0
mov rcx, rax
mov rsi, rax
call sub.msvcrt.dll_strlen
mov rdx, rsi
mov rcx, rbx
mov r8, rax
call fcn.14007e800
test rdi, rdi
je 0x14011dcd7
mov r8, rdi
lea rdx, [0x1401eca01]
mov rcx, rbx
call fcn.14007ed40
mov rax, qword [rbx + 0x10]
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
cmp byte [rax], 0
je 0x14011dc9f
mov r8d, 0xac
lea rdx, [0x1401ec9e5]
lea rcx, [0x1401ec9ee]
call qword [sym.imp.msvcrt.dll__assert]
nop
nop dword [rax + rax]
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xd8
mov rsi, rdx
mov rdx, qword [0x140207460]
mov rdi, rcx
mov rbx, r8
mov rax, qword [rdx]
mov qword [rsp + 0xc8], rax
xor eax, eax
test rcx, rcx
je 0x14011df6b
movzx eax, byte [rcx]
test al, 0xe
je 0x14011df20
shr al, 1
and eax, 7
cmp al, 3
je 0x14011df43
ja 0x14011de90
cmp al, 1
je 0x14011dff8
cmp al, 2
jne 0x14011df50
xor edx, edx
mov rcx, rdi
call fcn.14009e200
test eax, eax
jne 0x14011df6b
lea rax, [rdi + 4]
mov rcx, rbx
lea r12, [rsp + 0x80]
mov rdx, rax
mov qword [rsp + 0x38], rax
call fcn.14011d5f0
mov rdx, qword [rdi + 0x28]
mov r8d, dword [rdi + 0x30]
xor r9d, r9d
mov rcx, r12
mov rbp, rax
call fcn.14009c810
mov r14d, eax
test eax, eax
jne 0x14011df6b
mov r13, qword [0x140207cf0]
lea rdi, [rsp + 0x40]
lea r15, [0x1401eca0d]
mov rdx, rdi
mov rcx, r12
call fcn.14009cb80
test eax, eax
je 0x14011df71
mov r9d, dword [rsp + 0x74]
mov eax, r9d
and eax, 0xf000
cmp eax, 0xe000
je 0x14011ddd9
cmp eax, 0x4000
je 0x14011dfa0
mov eax, r9d
and eax, 0xd000
cmp eax, 0x8000
jne 0x14011e1c0
mov rcx, qword [r13]
mov rdx, rdi
call fcn.1400e23a0
test rbp, rbp
je 0x14011de59
test rax, rax
je 0x14011de59
mov rdx, qword [rsp + 0x68]
mov r9, rbp
mov r8, r15
mov rcx, rbx
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x20], rdx
mov rdx, rdi
call fcn.14011d820
mov rax, qword [rsp + 0x30]
mov r9, rbx
mov r8, rsi
mov edx, 3
mov rcx, rax
call qword [rbx]
test eax, eax
js 0x14011e158
test r14d, r14d
mov rdx, rdi
mov rcx, r12
cmove r14d, eax
call fcn.14009cb80
test eax, eax
jne 0x14011ddec
jmp 0x14011df71
cmp al, 4
jne 0x14011df50
mov rcx, rbx
lea rdx, [rdi + 4]
call fcn.14011d5f0
mov rcx, rdi
mov rbp, rax
call fcn.14008ba00
test eax, eax
jne 0x14011df6b
test rbp, rbp
je 0x14011ded6
mov rax, qword [rdi + 0x28]
mov r9, rbp
lea r8, [0x1401eca55]
mov rcx, rbx
lea rdx, [rax + 4]
call fcn.14011d820
mov rdx, qword [0x140207460]
mov rax, qword [rsp + 0xc8]
sub rax, qword [rdx]
jne 0x14011e279
mov rcx, qword [rdi + 0x28]
mov rax, qword [rbx]
mov r9, rbx
mov r8, rsi
mov edx, 8
add rsp, 0xd8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp rax
mov rax, qword [0x140207cf0]
lea rdx, [rcx + 4]
mov rcx, qword [rax]
call fcn.14002f770
movzx eax, byte [rdi]
shr al, 1
and eax, 7
cmp al, 3
jne 0x14011dd61
xor r14d, r14d
jmp 0x14011df71
lea rdx, [rdi + 4]
mov rcx, rbx
call fcn.14011dc50
lea rcx, str.Unknown_object_type_for__s
mov rdx, rax
call fcn.1400a0b40
mov r14d, 0xffffffff
mov rsi, qword [0x140207460]
mov rax, qword [rsp + 0xc8]
sub rax, qword [rsi]
jne 0x14011e279
mov eax, r14d
add rsp, 0xd8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, qword [r13]
mov rdx, rdi
call fcn.14009e190
test rbp, rbp
je 0x14011dfdf
test rax, rax
je 0x14011dfdf
mov rdx, qword [rsp + 0x68]
mov r9, rbp
mov rcx, rbx
mov qword [rsp + 0x30], rax
lea r8, [0x1401eca07]
mov qword [rsp + 0x20], rdx
mov rdx, rdi
call fcn.14011d820
mov rax, qword [rsp + 0x30]
mov r9, rbx
mov r8, rsi
mov edx, 2
mov rcx, rax
call qword [rbx]
jmp 0x14011de69
mov r12, qword [0x140207cf0]
xor r8d, r8d
mov rdx, rdi
mov rcx, qword [r12]
call fcn.1400f6bb0
mov ebp, eax
test eax, eax
jne 0x14011df6b
lea rdx, [rdi + 4]
mov rcx, rbx
call fcn.14011d5f0
mov r13, rax
test rax, rax
je 0x14011e160
mov rcx, rdi
call fcn.1400f6100
mov r9, r13
lea r8, [0x1401eca3f]
mov rcx, rbx
mov rdx, rax
call fcn.14011d820
mov rcx, qword [r12]
mov rdx, rdi
mov r14, qword [rbx]
call fcn.1400f60b0
mov r9, rbx
mov r8, rsi
mov edx, 2
mov rcx, rax
call r14
mov r14d, eax
test eax, eax
js 0x14011df71
mov rdi, qword [rdi + 0x30]
test rdi, rdi
je 0x14011df71
mov rcx, r13
call sub.msvcrt.dll_strlen
xor r9d, r9d
mov r8d, eax
test eax, eax
jne 0x14011e1f8
mov r15d, r14d
mov r12d, 1
lea eax, [r8 + 1]
mov dword [rsp + 0x38], r9d
mov r14d, r8d
mov dword [rsp + 0x30], eax
jmp 0x14011e113
test r14d, r14d
jle 0x14011e140
mov eax, dword [rsp + 0x30]
mov qword [rsp + 0x20], r13
mov rcx, rbx
lea r8, str._.s_d
mov r9d, dword [rsp + 0x38]
mov dword [rsp + 0x28], eax
call fcn.14011d820
mov ebp, 1
mov rcx, qword [rdi]
mov r9, rbx
mov r8, rsi
mov edx, 1
call qword [rbx]
test eax, eax
js 0x14011e158
mov rdi, qword [rdi + 8]
test r15d, r15d
cmove r15d, eax
test rdi, rdi
je 0x14011e1b0
test r12b, r12b
je 0x14011e0eb
mov rax, qword [rdi]
lea rdx, [rax + 4]
test ebp, ebp
je 0x14011e0c0
add ebp, 1
mov r9, r13
lea r8, str._s_d
mov rcx, rbx
mov dword [rsp + 0x20], ebp
call fcn.14011d820
jmp 0x14011e0eb
mov r9, r13
lea r8, [0x1401eca51]
mov rcx, rbx
call fcn.14011d820
jmp 0x14011e0e6
mov r14d, eax
jmp 0x14011df71
mov rcx, qword [r12]
mov rdx, rdi
mov r14, qword [rbx]
call fcn.1400f60b0
mov r9, rbx
mov r8, rsi
mov edx, 2
mov rcx, rax
call r14
mov r14d, eax
mov r15d, eax
test eax, eax
js 0x14011df71
mov rdi, qword [rdi + 0x30]
xor r9d, r9d
xor r8d, r8d
xor r12d, r12d
test rdi, rdi
jne 0x14011e0a4
jmp 0x14011df71
mov r14d, r15d
jmp 0x14011df71
mov rdx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x68]
mov rcx, rbx
mov dword [rsp + 0x30], r9d
call fcn.14011dc50
mov r9d, dword [rsp + 0x30]
mov r8, rsi
lea rcx, str.in_tree__s:_entry__s_has_bad_mode__.6o
mov rdx, rax
call fcn.1400a0b40
jmp 0x14011df6b
movsxd r10, eax
lea r9d, [rax - 1]
mov r8d, 1
cmp byte [r13 + r10 - 1], 0x5e
je 0x14011e09b
mov r11, qword [str._________AA__A__________________]
xor r8d, r8d
mov ecx, 1
jmp 0x14011e242
sub eax, 0x30
sub r10, 1
imul eax, ecx
lea ecx, [rcx + rcx*4]
mov r9d, r10d
add ecx, ecx
add r8d, eax
test r10d, r10d
je 0x14011e265
movsx eax, byte [r13 + r10 - 1]
movzx edx, al
test byte [r11 + rdx], 2
jne 0x14011e228
mov r9d, r10d
cmp ecx, 1
jle 0x14011e265
movsxd r10, r10d
cmp byte [r13 + r10 - 1], 0x7e
je 0x14011e270
xor r8d, r8d
jmp 0x14011e09b
sub r9d, 1
jmp 0x14011e09b
call fcn.1401be670
nop
nop