Function at 0x14004a620
Capabilities:
Hash data using djb2
Read file on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x28]
sub rsp, 0x128
mov rdi, qword [r8 + 0x10]
mov ecx, 0x408
mov r14, qword [r8 + 0x28]
mov rsi, r8
mov r12, qword [r8 + 0x18]
mov qword [rsp + 0x40], rdi
mov qword [rbp - 0x40], r14
call fcn.14005a7bc
mov qword [rax], 0x400
lock add qword [r12], 0x400
add rax, 8
mov qword [rsp + 0x70], 0x80
xor r15d, r15d
mov qword [rsp + 0x60], rax
mov ecx, 0x408
mov qword [rsp + 0x68], r15
call fcn.14005a7bc
mov qword [rax], 0x400
lock add qword [r12], 0x400
add rax, 8
mov qword [rbp - 0x80], r15
mov ecx, 0x408
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x78], 0x80
call fcn.14005a7bc
mov qword [rax], 0x400
lock add qword [r12], 0x400
lea rcx, [rax + 8]
mov qword [rsp + 0x58], 0x80
mov rax, qword [rsi + 0x20]
lea ebx, [r15 + 1]
xorps xmm0, xmm0
mov qword [rcx], rax
mov qword [rsp + 0x48], rcx
mov qword [rbp - 0x70], rdi
movdqu xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], r15
mov dword [rbp - 0x50], r15d
mov qword [rbp - 0x48], r12
nop word [rax + rax]
mov rax, qword [rsp + 0x48]
mov rcx, rbx
dec rbx
mov r8d, 0x1505
mov qword [rsp + 0x50], rbx
mov r13, qword [rax + rcx*8 - 8]
movzx edx, byte [r13]
lea r9, [r13 + 1]
test edx, edx
je 0x14004a770
nop dword [rax + rax]
lea eax, [rdx - 0x41]
cmp eax, 0x1a
lea ecx, [rdx + 0x20]
lea r9, [r9 + 1]
cmovb edx, ecx
imul r8d, r8d, 0x21
add r8d, edx
movzx edx, byte [r9 - 1]
test edx, edx
jne 0x14004a750
mov rdx, qword [rbp + 0x70]
lea rcx, [rbp - 0x10]
test r8d, r8d
mov r9d, 1
cmovne r9d, r8d
mov r8, r13
call fcn.14004afb0
mov eax, dword [rbp - 0x10]
test al, 1
je 0x14004aa4a
shr eax, 3
test al, 1
jne 0x14004aa4a
movzx edx, byte [r13]
lea r8, [r13 + 1]
mov r10, qword [rsi]
mov r9d, 0x1505
test edx, edx
je 0x14004a7e2
nop dword [rax]
lea eax, [rdx - 0x41]
lea ecx, [rdx + 0x20]
cmp eax, 0x1a
lea r8, [r8 + 1]
cmovb edx, ecx
imul r9, r9, 0x21
mov ecx, edx
movzx edx, byte [r8 - 1]
add r9, rcx
test edx, edx
jne 0x14004a7c0
test r9, r9
mov ecx, 1
cmovne rcx, r9
cmp byte [rsi + 8], 0
lea rax, [rcx + 1]
cmove rax, rcx
xor rax, qword [r10 + 0xc]
mov qword [rbp - 0x38], rax
mov rax, qword [r10 + 0x14]
mov qword [rbp - 0x30], rax
nop word [rax + rax]
mov r8, qword [rbp]
lea r9, [rbp - 0x28]
lea rdx, [rbp - 0x38]
mov qword [rsp + 0x20], rdi
mov rcx, r14
call fcn.140047ec0
test al, al
je case.0x14004a86a.1
mov r10d, dword [rbp - 0x24]
mov r8d, r15d
test r10d, r10d
jle 0x14004a878
mov rax, qword [rbp - 0x18]
mov rcx, qword [rax]
cmp byte [rcx + 0x1c], 0
je case.0x14004a86a.0
movsxd r9, dword [rcx + 0x18]
cmp r9d, 5
ja case.default.0x14004a86a
lea r11, [0x140000000]
mov edx, dword [r11 + r9*4 + 0x4abd4]
add rdx, r11
jmp rdx
inc r8d
add rax, 8
cmp r8d, r10d
jl 0x14004a841
movsxd r14, dword [rbp - 0x28]
test r14, r14
jle 0x14004aa45
mov rdi, qword [rbp - 0x20]
mov r15, qword [rbp + 0x90]
test r15, r15
je 0x14004a8a8
mov rax, qword [r15 + 8]
mov rdx, r13
mov r8, qword [rdi]
mov rcx, qword [r15]
call rax
test al, al
je 0x14004a8e2
mov rsi, qword [rdi]
lea rcx, [rbp - 0x68]
mov ebx, dword [rdi + 8]
mov r8, rsi
mov edx, ebx
call fcn.140017350
cmp eax, 0xffffffff
jne 0x14004a8e2
mov r8, rsi
lea rcx, [rbp - 0x68]
mov edx, ebx
call fcn.14001a250
mov rbx, qword [rdi]
lea rcx, [rsp + 0x48]
mov rdx, r12
call fcn.14002c1f0
mov qword [rax], rbx
add rdi, 0x10
sub r14, 1
jne 0x14004a890
xor r15d, r15d
jmp 0x14004aa45
lea rdx, [0x14008cb34]
mov qword [rbp - 0x80], r15
mov rcx, r13
mov qword [rsp + 0x68], r15
call fcn.140015c40
mov rsi, rax
test rax, rax
je 0x14004aa45
xor edx, edx
mov rcx, rax
lea r8d, [rdx + 2]
call fcn.14005fbdc
test eax, eax
jne 0x14004aa3d
mov rcx, rsi
call fcn.14005f8f4
movsxd rdi, eax
lea ecx, [rdi + 1]
cmp ecx, 1
jbe 0x14004aa3d
mov rcx, rsi
call fcn.14005fd60
lea ecx, [rdi + 2]
movsxd rbx, ecx
lea rcx, [rbx + 8]
call fcn.14005a7bc
mov qword [rax], rbx
lock add qword [r12], rbx
lea rbx, [rax + 8]
mov rdx, rdi
mov rcx, rbx
mov r9, rsi
mov r8d, 1
call fcn.14005a6f4
cmp eax, 1
jne 0x14004a9e3
mov byte [rdi + rbx], 0xa
lea eax, [rdi + 1]
movsxd rcx, eax
mov r9, rbx
mov byte [rcx + rbx], 0
cmp edi, 3
jl 0x14004a9b3
movzx eax, word [rbx]
cmp ax, word [0x14008fcf4]
jne 0x14004a9b3
movzx eax, byte [rbx + 2]
cmp al, byte [0x14008fcf6]
jne 0x14004a9b3
lea r9, [rbx + 3]
mov rdx, qword [rbp + 0x78]
lea rax, [rsp + 0x60]
mov rcx, qword [rbp + 0x70]
mov r8, r13
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x80]
mov qword [rsp + 0x20], rax
call fcn.14004a0d0
mov eax, dword [rsp + 0x68]
lea rdx, [rbp - 0x38]
mov r9, qword [rsp + 0x78]
mov rcx, r14
mov r8, qword [rbp]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov eax, dword [rbp - 0x80]
mov dword [rsp + 0x20], eax
call fcn.1400480b0
test rbx, rbx
je 0x14004aa2b
mov rax, qword [rbx - 8]
lea rcx, [rbx - 8]
neg rax
lock add qword [r12], rax
call fcn.14005a480
mov rcx, rsi
call fcn.140058a4c
mov rdi, qword [rsp + 0x40]
jmp 0x14004a810
mov rcx, rsi
call fcn.140058a4c
mov rbx, qword [rsp + 0x50]
test rbx, rbx
je 0x14004aa64
mov r14, qword [rbp - 0x40]
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rbp + 0x80]
jmp 0x14004a720
mov rsi, qword [rsp + 0x40]
movsxd rdi, dword [rbp - 0x50]
mov rbx, rdi
shl rbx, 4
mov rax, qword [rsi + 8]
mov rdx, qword [rax + 0x18]
add rdx, 7
and rdx, 0xfffffffffffffff8
lea rcx, [rdx + rbx]
cmp rcx, qword [rax + 0x10]
jbe 0x14004aa9c
mov rdx, rbx
mov rcx, rsi
call fcn.14003cf60
mov rdx, r15
mov rax, qword [rsi + 8]
lea rcx, [rdx + rbx]
mov r11, qword [rax + 0x28]
mov qword [rax + 0x18], rcx
add r11, rdx
mov rax, qword [rsi + 8]
mov rdx, qword [rax + 0x20]
add rdx, qword [rax + 0x18]
mov eax, dword [rbp - 0x58]
mov qword [rsi + 0x10], rdx
test eax, eax
je 0x14004ab02
mov r8, qword [rbp - 0x60]
mov r10d, eax
mov rdx, qword [rbp - 0x68]
mov r9d, dword [rdx]
test r9d, r9d
je 0x14004aaf4
mov rax, qword [r8]
mov ecx, r15d
add rcx, rcx
mov qword [r11 + rcx*8], rax
mov eax, r15d
add rax, rax
inc r15d
mov dword [r11 + rax*8 + 8], r9d
add rdx, 4
add r8, 8
sub r10, 1
jne 0x14004aad1
mov rax, qword [rbp + 0x88]
mov rcx, qword [rsp + 0x60]
mov dword [rax], edi
mov qword [rax + 8], r11
test rcx, rcx
je 0x14004ab2e
mov rax, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
neg rax
lock add qword [r12], rax
call fcn.14005a480
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14004ab4d
mov rax, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
neg rax
lock add qword [r12], rax
call fcn.14005a480
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14004ab6c
mov rax, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
neg rax
lock add qword [r12], rax
call fcn.14005a480
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x14004ab8d
mov rdx, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
mov rax, qword [rbp - 0x48]
neg rdx
lock add qword [rax], rdx
call fcn.14005a480
mov rcx, qword [rbp - 0x60]
test rcx, rcx
je 0x14004abae
mov rdx, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
mov rax, qword [rbp - 0x48]
neg rdx
lock add qword [rax], rdx
call fcn.14005a480
mov al, 1
add rsp, 0x128
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov edx, r9d
lea rcx, str.Unexpected_NodeBuildResult__d
call fcn.140014e80
int3