Function at 0x140040cf7
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, [0x140084bb0]
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_27
mov qword [rbp - 0x30], 0x35
mov rax, qword [rbp + 0x10]
mov rax, qword [rax]
test rax, rax
je 0x14004110b
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 0x140041010
mov qword [rbp - 0x30], 0x38
mov ecx, 0
mov rax, qword [rbp - 8]
sub rax, 1
jno 0x140040d96
mov ecx, 1
mov rdx, rax
lea rax, [rbp - 0x48]
mov qword [rax], rdx
mov rax, rcx
and eax, 1
test al, al
je 0x140040db4
call sym.test.exe_raiseOverflow
jmp 0x14004110c
mov rax, qword [rbp - 0x48]
test rax, rax
js 0x140040dcd
mov rax, qword [rbp + 0x10]
mov rdx, qword [rax]
mov rax, qword [rbp - 0x48]
cmp rdx, rax
jg 0x140040de9
mov rax, qword [rbp + 0x10]
mov rax, qword [rax]
lea rdx, [rax - 1]
mov rax, qword [rbp - 0x48]
mov rcx, rax
call sym.test.exe_raiseIndexError2
jmp 0x14004110c
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 0x140040e13
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 0x140040e52
mov ecx, 0
mov rax, qword [rbp - 8]
sub rax, 1
jno 0x140040e27
mov ecx, 1
mov rdx, rax
lea rax, [rbp - 0x50]
mov qword [rax], rdx
mov rax, rcx
and eax, 1
test al, al
je 0x140040e45
call sym.test.exe_raiseOverflow
jmp 0x14004110c
mov rax, qword [rbp - 0x50]
mov qword [rbp - 8], rax
jmp 0x14004100b
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 0x140040e77
mov ecx, 1
mov rdx, rax
lea rax, [rbp - 0x58]
mov qword [rax], rdx
mov rax, rcx
and eax, 1
test al, al
je 0x140040e95
call sym.test.exe_raiseOverflow
jmp 0x14004110c
mov rax, qword [rbp - 0x58]
test rax, rax
js 0x140040eae
mov rax, qword [rbp + 0x10]
mov rdx, qword [rax]
mov rax, qword [rbp - 0x58]
cmp rdx, rax
jg 0x140040eca
mov rax, qword [rbp + 0x10]
mov rax, qword [rax]
lea rdx, [rax - 1]
mov rax, qword [rbp - 0x58]
mov rcx, rax
call sym.test.exe_raiseIndexError2
jmp 0x14004110c
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 0x140040efb
cmp qword [rbp - 8], 1
setg al
mov byte [rbp - 0xa], al
jmp 0x140040efc
nop
movzx eax, byte [rbp - 0xa]
mov byte [rbp - 9], al
movzx eax, byte [rbp - 9]
xor eax, 1
test al, al
jne 0x140040fb8
mov ecx, 0
mov rax, qword [rbp - 8]
sub rax, 2
jno 0x140040f26
mov ecx, 1
mov rdx, rax
lea rax, [rbp - 0x60]
mov qword [rax], rdx
mov rax, rcx
and eax, 1
test al, al
je 0x140040f44
call sym.test.exe_raiseOverflow
jmp 0x14004110c
mov rax, qword [rbp - 0x60]
test rax, rax
js 0x140040f5d
mov rax, qword [rbp + 0x10]
mov rdx, qword [rax]
mov rax, qword [rbp - 0x60]
cmp rdx, rax
jg 0x140040f79
mov rax, qword [rbp + 0x10]
mov rax, qword [rax]
lea rdx, [rax - 1]
mov rax, qword [rbp - 0x60]
mov rcx, rax
call sym.test.exe_raiseIndexError2
jmp 0x14004110c
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 0x140040fa3
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 0x140040faa
mov eax, 1
jmp 0x140040faf
mov eax, 0
mov byte [rbp - 9], al
and byte [rbp - 9], 1
jmp 0x140040fb9
nop
movzx eax, byte [rbp - 9]
xor eax, 1
test al, al
jne 0x140041000
mov ecx, 0
mov rax, qword [rbp - 8]
sub rax, 1
jno 0x140040fd8
mov ecx, 1
mov rdx, rax
lea rax, [rbp - 0x68]
mov qword [rax], rdx
mov rax, rcx
and eax, 1
test al, al
je 0x140040ff6
call sym.test.exe_raiseOverflow
jmp 0x14004110c
mov rax, qword [rbp - 0x68]
mov qword [rbp - 8], rax
jmp 0x14004100b
nop
mov qword [rbp - 0x30], 0x3a
jmp 0x140041011
jmp 0x140040d6f
nop
mov qword [rbp - 0x30], 0x3b
movzx eax, byte [rbp + 0x18]
xor eax, 1
test al, al
jne 0x140041081
mov qword [rbp - 0x30], 0x3d
cmp qword [rbp - 8], 0
jns 0x140041053
mov rax, qword [rbp - 8]
movabs r8, 0x7fffffffffffffff
mov edx, 0
mov rcx, rax
call sym.test.exe_raiseRangeErrorI
jmp 0x14004110c
mov rdx, qword [rbp - 8]
mov rax, qword [rbp + 0x10]
mov rcx, rax
call sym.test.exe_setLengthStrV2
mov qword [rbp - 0x30], 0x3f
mov rax, qword [rbp + 0x10]
mov edx, 0x5c
mov rcx, rax
call sym.nimAddCharV1_5
jmp 0x14004110c
nop
mov qword [rbp - 0x30], 0x40
cmp qword [rbp - 8], 0
jle 0x1400410cf
mov qword [rbp - 0x30], 0x42
cmp qword [rbp - 8], 0
jns 0x1400410bd
mov rax, qword [rbp - 8]
movabs r8, 0x7fffffffffffffff
mov edx, 0
mov rcx, rax
call sym.test.exe_raiseRangeErrorI
jmp 0x14004110c
mov rdx, qword [rbp - 8]
mov rax, qword [rbp + 0x10]
mov rcx, rax
call sym.test.exe_setLengthStrV2
jmp 0x14004110c
nop
mov qword [rbp - 0x30], 0x19
lea rax, [0x140084be0]
mov qword [rbp - 0x28], rax
mov rax, qword [0x140084b40]
mov rdx, qword [str.0K_b_]
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rdx
lea rdx, [rbp - 0x80]
mov rax, qword [rbp + 0x10]
mov rcx, rax
call sym.test.exe_eqsink___stdZassertions_u36
jmp 0x14004110c
nop
call sym.popFrame_27
nop
add rsp, 0xa0
pop rbp
ret