Function at 0x1400218ac
Capabilities:
Authenticate hmac

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0xa0
mov qword [rbp + 0x10], rcx
mov eax, edx
mov byte [rbp + 0x18], al
lea rax, str.normalizePathEnd
mov qword [rbp - 0x38], rax
lea rax, [0x140034c50]
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x30], 0
mov word [rbp - 0x20], 0
lea rax, [rbp - 0x40]
mov rcx, rax
call sym.nimFrame_21
mov qword [rbp - 0x30], 0x35
mov rax, qword [rbp + 0x10]
mov rax, qword [rax]
test rax, rax
je 0x140021cc0
nop
mov qword [rbp - 0x30], 0x36
mov rax, qword [rbp + 0x10]
mov rax, qword [rax]
mov qword [rbp - 8], rax
mov qword [rbp - 0x30], 0x37
cmp qword [rbp - 8], 0
jle 0x140021bc5
mov qword [rbp - 0x30], 0x38
mov ecx, 0
mov rax, qword [rbp - 8]
sub rax, 1
jno 0x14002194b
mov ecx, 1
mov rdx, rax
lea rax, [rbp - 0x48]
mov qword [rax], rdx
mov rax, rcx
and eax, 1
test al, al
je 0x140021969
call sym.raiseOverflow
jmp 0x140021cc1
mov rax, qword [rbp - 0x48]
test rax, rax
js 0x140021982
mov rax, qword [rbp + 0x10]
mov rdx, qword [rax]
mov rax, qword [rbp - 0x48]
cmp rdx, rax
jg 0x14002199e
mov rax, qword [rbp + 0x10]
mov rax, qword [rax]
lea rdx, [rax - 1]
mov rax, qword [rbp - 0x48]
mov rcx, rax
call sym.raiseIndexError2
jmp 0x140021cc1
mov rax, qword [rbp + 0x10]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x48]
movzx eax, byte [rdx + rax + 8]
cmp al, 0x5c
je 0x1400219c8
mov rax, qword [rbp + 0x10]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x48]
movzx eax, byte [rdx + rax + 8]
cmp al, 0x2f
jne 0x140021a07
mov ecx, 0
mov rax, qword [rbp - 8]
sub rax, 1
jno 0x1400219dc
mov ecx, 1
mov rdx, rax
lea rax, [rbp - 0x50]
mov qword [rax], rdx
mov rax, rcx
and eax, 1
test al, al
je 0x1400219fa
call sym.raiseOverflow
jmp 0x140021cc1
mov rax, qword [rbp - 0x50]
mov qword [rbp - 8], rax
jmp 0x140021bc0
nop
mov qword [rbp - 0x30], 0x39
mov byte [rbp - 9], 0
mov byte [rbp - 0xa], 0
mov ecx, 0
mov rax, qword [rbp - 8]
sub rax, 1
jno 0x140021a2c
mov ecx, 1
mov rdx, rax
lea rax, [rbp - 0x58]
mov qword [rax], rdx
mov rax, rcx
and eax, 1
test al, al
je 0x140021a4a
call sym.raiseOverflow
jmp 0x140021cc1
mov rax, qword [rbp - 0x58]
test rax, rax
js 0x140021a63
mov rax, qword [rbp + 0x10]
mov rdx, qword [rax]
mov rax, qword [rbp - 0x58]
cmp rdx, rax
jg 0x140021a7f
mov rax, qword [rbp + 0x10]
mov rax, qword [rax]
lea rdx, [rax - 1]
mov rax, qword [rbp - 0x58]
mov rcx, rax
call sym.raiseIndexError2
jmp 0x140021cc1
mov rax, qword [rbp + 0x10]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x58]
movzx eax, byte [rdx + rax + 8]
cmp al, 0x2e
sete al
mov byte [rbp - 0xa], al
movzx eax, byte [rbp - 0xa]
xor eax, 1
test al, al
jne 0x140021ab0
cmp qword [rbp - 8], 1
setg al
mov byte [rbp - 0xa], al
jmp 0x140021ab1
nop
movzx eax, byte [rbp - 0xa]
mov byte [rbp - 9], al
movzx eax, byte [rbp - 9]
xor eax, 1
test al, al
jne 0x140021b6d
mov ecx, 0
mov rax, qword [rbp - 8]
sub rax, 2
jno 0x140021adb
mov ecx, 1
mov rdx, rax
lea rax, [rbp - 0x60]
mov qword [rax], rdx
mov rax, rcx
and eax, 1
test al, al
je 0x140021af9
call sym.raiseOverflow
jmp 0x140021cc1
mov rax, qword [rbp - 0x60]
test rax, rax
js 0x140021b12
mov rax, qword [rbp + 0x10]
mov rdx, qword [rax]
mov rax, qword [rbp - 0x60]
cmp rdx, rax
jg 0x140021b2e
mov rax, qword [rbp + 0x10]
mov rax, qword [rax]
lea rdx, [rax - 1]
mov rax, qword [rbp - 0x60]
mov rcx, rax
call sym.raiseIndexError2
jmp 0x140021cc1
mov rax, qword [rbp + 0x10]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x60]
movzx eax, byte [rdx + rax + 8]
cmp al, 0x5c
je 0x140021b58
mov rax, qword [rbp + 0x10]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x60]
movzx eax, byte [rdx + rax + 8]
cmp al, 0x2f
jne 0x140021b5f
mov eax, 1
jmp 0x140021b64
mov eax, 0
mov byte [rbp - 9], al
and byte [rbp - 9], 1
jmp 0x140021b6e
nop
movzx eax, byte [rbp - 9]
xor eax, 1
test al, al
jne 0x140021bb5
mov ecx, 0
mov rax, qword [rbp - 8]
sub rax, 1
jno 0x140021b8d
mov ecx, 1
mov rdx, rax
lea rax, [rbp - 0x68]
mov qword [rax], rdx
mov rax, rcx
and eax, 1
test al, al
je 0x140021bab
call sym.raiseOverflow
jmp 0x140021cc1
mov rax, qword [rbp - 0x68]
mov qword [rbp - 8], rax
jmp 0x140021bc0
nop
mov qword [rbp - 0x30], 0x3a
jmp 0x140021bc6
jmp 0x140021924
nop
mov qword [rbp - 0x30], 0x3b
movzx eax, byte [rbp + 0x18]
xor eax, 1
test al, al
jne 0x140021c36
mov qword [rbp - 0x30], 0x3d
cmp qword [rbp - 8], 0
jns 0x140021c08
mov rax, qword [rbp - 8]
movabs r8, 0x7fffffffffffffff
mov edx, 0
mov rcx, rax
call sym.raiseRangeErrorI
jmp 0x140021cc1
mov rdx, qword [rbp - 8]
mov rax, qword [rbp + 0x10]
mov rcx, rax
call sym.setLengthStrV2
mov qword [rbp - 0x30], 0x3f
mov rax, qword [rbp + 0x10]
mov edx, 0x5c
mov rcx, rax
call sym.nimAddCharV1_5
jmp 0x140021cc1
nop
mov qword [rbp - 0x30], 0x40
cmp qword [rbp - 8], 0
jle 0x140021c84
mov qword [rbp - 0x30], 0x42
cmp qword [rbp - 8], 0
jns 0x140021c72
mov rax, qword [rbp - 8]
movabs r8, 0x7fffffffffffffff
mov edx, 0
mov rcx, rax
call sym.raiseRangeErrorI
jmp 0x140021cc1
mov rdx, qword [rbp - 8]
mov rax, qword [rbp + 0x10]
mov rcx, rax
call sym.setLengthStrV2
jmp 0x140021cc1
nop
mov qword [rbp - 0x30], 0x19
lea rax, [0x140034c90]
mov qword [rbp - 0x28], rax
mov rax, qword [0x140034bd0]
mov rdx, qword [0x140034bd8]
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rdx
lea rdx, [rbp - 0x80]
mov rax, qword [rbp + 0x10]
mov rcx, rax
call sym.eqsink___stdZassertions_u36
jmp 0x140021cc1
nop
call sym.popFrame_21
nop
add rsp, 0xa0
pop rbp
ret