Function at 0x1401651af
Capabilities:
Authenticate hmac
Parse pe header

Disassembly:
push rbp
sub rsp, 0x160
lea rbp, [rsp + 0x80]
mov qword [rbp + 0xf0], rcx
lea rax, str.fillBuffer
mov qword [rbp + 0x28], rax
lea rax, str.C:_nim_2.2.0_x64_nim_2.2.0libpurelexbase.nim
mov qword [rbp + 0x38], rax
mov qword [rbp + 0x30], 0
mov word [rbp + 0x40], 0
lea rax, [rbp + 0x20]
mov rcx, rax
call sym.nimFrame_52
call sym.nimErrorFlag_49
mov qword [rbp + 0xc8], rax
mov qword [rbp + 0xc0], 0
mov qword [rbp + 0xb8], 0
mov qword [rbp + 0xd8], 0
mov qword [rbp + 0xb0], 0
mov qword [rbp + 0x30], 0x36
lea rax, str.C:_nim_2.2.0_x64_nim_2.2.0libpurelexbase.nim
mov qword [rbp + 0x38], rax
mov rax, qword [rbp + 0xf0]
mov rax, qword [rax + 0x30]
mov edx, 0
add rax, 1
jno 0x14016525c
mov edx, 1
mov rcx, rax
lea rax, [rbp + 0x18]
mov qword [rax], rcx
mov rax, rdx
and eax, 1
test al, al
je 0x14016527a
call sym.raiseOverflow
jmp 0x140165c9a
mov rax, qword [rbp + 0xf0]
mov rdx, qword [rax + 0x10]
mov rax, qword [rbp + 0x18]
cmp rdx, rax
jge 0x1401652c7
mov rax, qword [0x140499000]
mov rdx, qword [0x140499008]
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rdx
lea rax, [rbp - 0x60]
mov rcx, rax
call sym.failedAssertImpl__stdZassertions_u235
mov rax, qword [rbp + 0xc8]
movzx eax, byte [rax]
movzx eax, al
test eax, eax
jne 0x140165c90
jmp 0x1401652c8
nop
mov qword [rbp + 0x30], 0x37
mov rax, qword [rbp + 0xf0]
mov rax, qword [rax + 0x30]
mov edx, 0
add rax, 1
jno 0x1401652eb
mov edx, 1
mov rcx, rax
lea rax, [rbp + 0x90]
mov qword [rax], rcx
mov rax, rdx
and eax, 1
test al, al
je 0x14016530c
call sym.raiseOverflow
jmp 0x140165c9a
mov rax, qword [rbp + 0xf0]
mov rax, qword [rax + 0x10]
mov rdx, qword [rbp + 0x90]
mov ecx, 0
sub rax, rdx
jno 0x14016532d
mov ecx, 1
mov rdx, rax
lea rax, [rbp + 0x88]
mov qword [rax], rdx
mov rax, rcx
and eax, 1
test al, al
je 0x14016534e
call sym.raiseOverflow
jmp 0x140165c9a
mov rax, qword [rbp + 0x88]
mov qword [rbp + 0xb8], rax
mov qword [rbp + 0x30], 0x38
cmp qword [rbp + 0xb8], 0
jns 0x1401653a7
mov rax, qword [0x140499070]
mov rdx, qword [0x140499078]
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rdx
lea rax, [rbp - 0x60]
mov rcx, rax
call sym.failedAssertImpl__stdZassertions_u235
mov rax, qword [rbp + 0xc8]
movzx eax, byte [rax]
movzx eax, al
test eax, eax
jne 0x140165c93
jmp 0x1401653a8
nop
mov qword [rbp + 0x30], 0x39
cmp qword [rbp + 0xb8], 0
jle 0x1401654ec
mov qword [rbp + 0x30], 0x44
mov rax, qword [rbp + 0xf0]
mov rax, qword [rax + 0x10]
test rax, rax
jg 0x1401653f7
mov rax, qword [rbp + 0xf0]
mov rax, qword [rax + 0x10]
sub rax, 1
mov rdx, rax
mov ecx, 0
call sym.raiseIndexError2
jmp 0x140165c9a
mov qword [rbp + 0xa8], 0
mov rax, qword [rbp + 0xf0]
mov rax, qword [rax + 0x18]
add rax, 8
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0xf0]
mov rax, qword [rax + 0x30]
mov edx, 0
add rax, 1
jno 0x140165433
mov edx, 1
mov rcx, rax
lea rax, [rbp + 0x10]
mov qword [rax], rcx
mov rax, rdx
and eax, 1
test al, al
je 0x140165451
call sym.raiseOverflow
jmp 0x140165c9a
mov rax, qword [rbp + 0x10]
test rax, rax
js 0x14016546e
mov rax, qword [rbp + 0xf0]
mov rdx, qword [rax + 0x10]
mov rax, qword [rbp + 0x10]
cmp rdx, rax
jg 0x14016548e
mov rax, qword [rbp + 0xf0]
mov rax, qword [rax + 0x10]
lea rdx, [rax - 1]
mov rax, qword [rbp + 0x10]
mov rcx, rax
call sym.raiseIndexError2
jmp 0x140165c9a
cmp qword [rbp + 0xb8], 0
jns 0x1401654bb
mov rax, qword [rbp + 0xb8]
movabs r8, 0x7fffffffffffffff
mov edx, 0
mov rcx, rax
call sym.raiseRangeErrorI
jmp 0x140165c9a
mov rax, qword [rbp + 0xf0]
mov rdx, qword [rax + 0x18]
mov rax, qword [rbp + 0x10]
add rax, rdx
lea rdx, [rax + 8]
mov rcx, qword [rbp + 0xb8]
mov rax, qword [rbp + 0xa8]
mov r8, rcx
mov rcx, rax
call sym.moveMem__system_u1730
jmp 0x1401654ed
nop
mov qword [rbp + 0x30], 0x45
mov qword [rbp + 0xa0], 0
mov rax, qword [rbp + 0xf0]
mov rax, qword [rax + 0x20]
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0x30], 0x35
lea rax, [0x1404992e0]
mov qword [rbp + 0x38], rax
mov qword [rbp + 0x30], 0x45
lea rax, str.C:_nim_2.2.0_x64_nim_2.2.0libpurelexbase.nim
mov qword [rbp + 0x38], rax
mov rax, qword [rbp + 0xf0]
mov rdx, qword [rax + 0x30]
mov ecx, 0
mov rax, qword [rbp + 0xb8]
add rax, rdx
jno 0x140165559
mov ecx, 1
mov rdx, rax
lea rax, [rbp + 0x80]
mov qword [rax], rdx
mov rax, rcx
and eax, 1
test al, al
je 0x14016557a
call sym.raiseOverflow
jmp 0x140165c9a
mov rax, qword [rbp + 0x80]
mov edx, 0
add rax, 1
jno 0x140165591
mov edx, 1
mov rcx, rax
lea rax, [rbp + 0x78]
mov qword [rax], rcx
mov rax, rdx
and eax, 1
test al, al
je 0x1401655af
call sym.raiseOverflow
jmp 0x140165c9a
mov rax, qword [rbp + 0x78]
mov edx, 0
sub rax, 1
jno 0x1401655c3
mov edx, 1
mov rcx, rax
lea rax, [rbp + 0x70]
mov qword [rax], rcx
mov rax, rdx
and eax, 1
test al, al
je 0x1401655e1
call sym.raiseOverflow
jmp 0x140165c9a
mov rcx, qword [rbp + 0x70]
lea rax, [rbp + 0x60]
mov rdx, qword [rbp + 0xb8]
mov r8, rcx
mov rcx, rax
call sym.dotdot___stdZstrbasics_u48_6
mov rax, qword [rbp + 0xf0]
lea rcx, [rax + 0x10]
mov rax, qword [rbp + 0x60]
mov rdx, qword [rbp + 0x68]
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rdx
lea rdx, [rbp - 0x60]
mov rax, qword [rbp + 0xa0]
mov r8, rdx
mov rdx, rcx
mov rcx, rax
call sym.readDataStr__pureZstreams_u84
mov qword [rbp + 0xc0], rax
mov rax, qword [rbp + 0xc8]
movzx eax, byte [rax]
movzx eax, al
test eax, eax
jne 0x140165c96
mov qword [rbp + 0x30], 0x46
mov ecx, 0
mov rdx, qword [rbp + 0xb8]
mov rax, qword [rbp + 0xc0]
add rax, rdx
jno 0x140165670
mov ecx, 1
mov rdx, rax
lea rax, [rbp + 0x58]
mov qword [rax], rdx
mov rax, rcx
and eax, 1
test al, al
je 0x14016568e
call sym.raiseOverflow
jmp 0x140165c9a
mov rax, qword [rbp + 0x58]
mov qword [rbp + 0xd8], rax
mov qword [rbp + 0x30], 0x47
mov rax, qword [rbp + 0xf0]
mov rax, qword [rax + 0x30]
mov edx, 0
add rax, 1
jno 0x1401656bc
mov edx, 1
mov rcx, rax
lea rax, [rbp + 8]
mov qword [rax], rcx
mov rax, rdx
and eax, 1
test al, al
je 0x1401656da
call sym.raiseOverflow
jmp 0x140165c9a
mov rax, qword [rbp + 8]
cmp qword [rbp + 0xc0], rax
jge 0x140165782
mov qword [rbp + 0x30], 0x48
cmp qword [rbp + 0xd8], 0
js 0x140165711
mov rax, qword [rbp + 0xf0]
mov rax, qword [rax + 0x10]
cmp qword [rbp + 0xd8], rax
jl 0x140165734
mov rax, qword [rbp + 0xf0]
mov rax, qword [rax + 0x10]
lea rdx, [rax - 1]
mov rax, qword [rbp + 0xd8]
mov rcx, rax
call sym.raiseIndexError2
jmp 0x140165c9a
mov rax, qword [rbp + 0xf0]
add rax, 0x10
mov rcx, rax
call sym.nimPrepareStrMutationV2_17
mov rax, qword [rbp + 0xf0]
mov rdx, qword [rax + 0x18]
mov rax, qword [rbp + 0xd8]
add rax, rdx
add rax, 8
mov byte [rax], 0
mov qword [rbp + 0x30], 0x49
mov rax, qword [rbp + 0xf0]
mov rdx, qword [rbp + 0xd8]
mov qword [rax + 0x30], rdx
jmp 0x140165c9a
nop
mov qword [rbp + 0x30], 0x4c
mov edx, 0
mov rax, qword [rbp + 0xd8]
sub rax, 1
jno 0x1401657a2
mov edx, 1
mov rcx, rax
mov rax, rbp
mov qword [rax], rcx
mov rax, rdx
and eax, 1
test al, al
je 0x1401657bf
call sym.raiseOverflow
jmp 0x140165c9a
mov rax, qword [rbp]
mov qword [rbp + 0xd8], rax
mov qword [rbp + 0x30], 0x4d
mov qword [rbp + 0x30], 0x4e
mov rax, qword [rbp + 0xf0]
mov rax, qword [rax + 0x10]
cmp qword [rbp + 0xd8], rax
jl 0x140165827
mov rax, qword [0x1404990e0]
mov rdx, qword [0x1404990e8]
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rdx
lea rax, [rbp - 0x60]
mov rcx, rax
call sym.failedAssertImpl__stdZassertions_u235
mov rax, qword [rbp + 0xc8]
movzx eax, byte [rax]
movzx eax, al
test eax, eax
jne 0x140165c99
jmp 0x140165828
nop
mov qword [rbp + 0x30], 0x4f
mov byte [rbp + 0xd7], 0
mov rax, qword [rbp + 0xd8]
not rax
shr rax, 0x3f
mov byte [rbp + 0xd7], al
movzx eax, byte [rbp + 0xd7]
xor eax, 1
test al, al
jne 0x140165907
cmp qword [rbp + 0xd8], 0
js 0x14016587b
mov rax, qword [rbp + 0xf0]
mov rax, qword [rax + 0x10]
cmp qword [rbp + 0xd8], rax
jl 0x14016589e
mov rax, qword [rbp + 0xf0]
mov rax, qword [rax + 0x10]
lea rdx, [rax - 1]
mov rax, qword [rbp + 0xd8]
mov rcx, rax
call sym.raiseIndexError2
jmp 0x140165c9a
mov rax, qword [rbp + 0xf0]
mov rdx, qword [rax + 0x18]
mov rax, qword [rbp + 0xd8]
add rax, rdx
add rax, 8
movzx eax, byte [rax]
shr al, 3
movzx eax, al
mov rdx, qword [rbp + 0xf0]
movzx eax, byte [rdx + rax + 0x48]
movzx edx, al
mov rax, qword [rbp + 0xf0]
mov rcx, qword [rax + 0x18]
mov rax, qword [rbp + 0xd8]
add rax, rcx
add rax, 8
movzx eax, byte [rax]
movzx eax, al
and eax, 7
mov ecx, eax
shr edx, cl
mov eax, edx
and eax, 1
test eax, eax
sete al
mov byte [rbp + 0xd7], al
jmp 0x140165908
nop
movzx eax, byte [rbp + 0xd7]
xor eax, 1
test al, al
jne 0x14016595c
mov edx, 0
mov rax, qword [rbp + 0xd8]
sub rax, 1
jno 0x14016592d
mov edx, 1
mov rcx, rax
lea rax, [rbp - 8]
mov qword [rax], rcx
mov rax, rdx
and eax, 1
test al, al
je 0x14016594c
call sym.raiseOverflow
nop
jmp 0x140165c9a
mov rax, qword [rbp - 8]
mov qword [rbp + 0xd8], rax
jmp 0x140165830
nop
mov qword [rbp + 0x30], 0x50
cmp qword [rbp + 0xd8], 0
js 0x140165996
mov qword [rbp + 0x30], 0x52
mov rax, qword [rbp + 0xf0]
mov rdx, qword [rbp + 0xd8]
mov qword [rax + 0x30], rdx
mov qword [rbp + 0x30], 0x53
jmp 0x140165c9a
nop
mov qword [rbp + 0x30], 0x57
mov rax, qword [rbp + 0xf0]
mov rax, qword [rax + 0x10]
mov qword [rbp + 0xb0], rax
mov qword [rbp + 0x30], 0x58
mov rax, qword [rbp + 0xf0]
mov rax, qword [rax + 0x10]
mov edx, 0
imul rax, rax, 2
jno 0x1401659d4
mov edx, 1
mov rcx, rax
lea rax, [rbp - 0x10]
mov qword [rax], rcx
mov rax, rdx
and eax, 1
test al, al
je 0x1401659f2
call sym.raiseOverflow
jmp 0x140165c9a
mov rax, qword [rbp - 0x10]
test rax, rax
jns 0x140165a1b
mov rax, qword [rbp - 0x10]
movabs r8, 0x7fffffffffffffff
mov edx, 0
mov rcx, rax
call sym.raiseRangeErrorI
jmp 0x140165c8e
mov rax, qword [rbp - 0x10]
mov rdx, qword [rbp + 0xf0]
lea rcx, [rdx + 0x10]
mov rdx, rax
call sym.setLengthStrV2
mov qword [rbp + 0x30], 0x59
mov qword [rbp + 0x98], 0
mov rax, qword [rbp + 0xf0]
mov rax, qword [rax + 0x20]
mov qword [rbp + 0x98], rax
mov qword [rbp + 0x30], 0x35
lea rax, [0x1404992e0]
mov qword [rbp + 0x38], rax
mov qword [rbp + 0x30], 0x59
lea rax, str.C:_nim_2.2.0_x64_nim_2.2.0libpurelexbase.nim
mov qword [rbp + 0x38], rax
mov rax, qword [rbp + 0xf0]
mov rax, qword [rax + 0x10]
mov edx, 0
sub rax, 1
jno 0x140165a98
mov edx, 1
mov rcx, rax
lea rax, [rbp - 0x18]
mov qword [rax], rcx
mov rax, rdx
and eax, 1
test al, al
je 0x140165ab6
call sym.raiseOverflow
jmp 0x140165c8e
mov rcx, qword [rbp - 0x18]
lea rax, [rbp - 0x30]
mov rdx, qword [rbp + 0xb0]
mov r8, rcx
mov rcx, rax
call sym.dotdot___stdZstrbasics_u48_6
mov rax, qword [rbp + 0xf0]
lea rcx, [rax + 0x10]
mov rax, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x28]
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rdx
lea rdx, [rbp - 0x60]
mov rax, qword [rbp + 0x98]
mov r8, rdx
mov rdx, rcx
mov rcx, rax
call sym.readDataStr__pureZstreams_u84
mov qword [rbp + 0xc0], rax
mov rax, qword [rbp + 0xc8]
movzx eax, byte [rax]
movzx eax, al
test eax, eax
jne 0x140165c8d
mov qword [rbp + 0x30], 0x5a
mov rax, qword [rbp + 0xc0]
cmp rax, qword [rbp + 0xb0]
jge 0x140165c3e
mov qword [rbp + 0x30], 0x5b
mov ecx, 0
mov rdx, qword [rbp + 0xb0]
mov rax, qword [rbp + 0xc0]
add rax, rdx
jno 0x140165b61
mov ecx, 1
mov rdx, rax
lea rax, [rbp - 0x40]
mov qword [rax], rdx
mov rax, rcx
and eax, 1
test al, al
je 0x140165b7f
call sym.raiseOverflow
jmp 0x140165c8e
mov rax, qword [rbp - 0x40]
test rax, rax
js 0x140165b9c
mov rax, qword [rbp + 0xf0]
mov rdx, qword [rax + 0x10]
mov rax, qword [rbp - 0x40]
cmp rdx, rax
jg 0x140165bbc
mov rax, qword [rbp + 0xf0]
mov rax, qword [rax + 0x10]
lea rdx, [rax - 1]
mov rax, qword [rbp - 0x40]
mov rcx, rax
call sym.raiseIndexError2
jmp 0x140165c3c
mov rax, qword [rbp + 0xf0]
add rax, 0x10
mov rcx, rax
call sym.nimPrepareStrMutationV2_17
mov rax, qword [rbp + 0xf0]
mov rdx, qword [rax + 0x18]
mov rax, qword [rbp - 0x40]
mov byte [rdx + rax + 8], 0
mov qword [rbp + 0x30], 0x5c
mov ecx, 0
mov rdx, qword [rbp + 0xb0]
mov rax, qword [rbp + 0xc0]
add rax, rdx
jno 0x140165c08
mov ecx, 1
mov rdx, rax
lea rax, [rbp - 0x48]
mov qword [rax], rdx
mov rax, rcx
and eax, 1
test al, al
je 0x140165c23
call sym.raiseOverflow
jmp 0x140165c3c
mov rdx, qword [rbp - 0x48]
mov rax, qword [rbp + 0xf0]
mov qword [rax + 0x30], rdx
mov qword [rbp + 0x30], 0x5d
jmp 0x140165c9a
jmp 0x140165c9a
nop
mov qword [rbp + 0x30], 0x5e
mov rax, qword [rbp + 0xf0]
mov rax, qword [rax + 0x10]
mov edx, 0
sub rax, 1
jno 0x140165c62
mov edx, 1
mov rcx, rax
lea rax, [rbp - 0x38]
mov qword [rax], rcx
mov rax, rdx
and eax, 1
test al, al
je 0x140165c7d
call sym.raiseOverflow
jmp 0x140165c8e
mov rax, qword [rbp - 0x38]
mov qword [rbp + 0xd8], rax
jmp 0x1401657d2
nop
jmp 0x140165c9a
nop
jmp 0x140165c9a
nop
jmp 0x140165c9a
nop
jmp 0x140165c9a
nop
call sym.popFrame_52
nop
add rsp, 0x160
pop rbp
ret