Function at 0x140030880
Capabilities:
Hash data using djb2

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xa0
mov rax, qword [0x1402581e0]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rbx, rdx
mov r11, rcx
mov r10d, 0x1505
lea rsi, [0x140000000]
test rcx, rcx
je 0x140030981
cmp dword [rcx], 0
jne 0x140030981
lea rdi, [0x1401d3594]
mov r9d, r10d
mov ecx, 0x65
mov rax, rdi
imul r9, r9, 0x21
lea rax, [rax + 1]
add r9, rcx
movsx rcx, byte [rax]
test rcx, rcx
jne 0x1400308e1
mov rcx, qword [r11 + 0x20]
xor edx, edx
mov rax, r9
div qword [rsi + rcx*8 + 0x1d3190]
lea rax, [r11 + 0x28]
shl rdx, 4
add rdx, qword [r11 + 0x18]
mov r8, qword [rdx]
cmp r8, rax
jne 0x140030920
cmp r8, qword [rdx + 8]
je 0x140030981
cmp qword [r8 - 8], r9
jne 0x140030975
xor ecx, ecx
nop dword [rax + rax]
movzx eax, byte [r8 + rcx + 0x20]
inc rcx
cmp al, byte [rdi + rcx - 1]
jne 0x140030975
cmp rcx, 6
jne 0x140030930
mov rax, qword [r8 + 0x10]
test rax, rax
je 0x140030981
cmp dword [rax], 7
je 0x140030981
lea rdx, str.GBT_not_supported__block_height_unavailable
mov ecx, 3
mov dword [reloc.WS2_32.dll_accept], 0
call fcn.140040950
xor eax, eax
jmp 0x140030bbe
cmp r8, qword [rdx + 8]
je 0x140030981
mov r8, qword [r8 + 8]
jmp 0x140030920
cmp dword [rbx + 0x1c8], 0
jne 0x140030bb9
test r11, r11
je 0x140030bb9
cmp dword [r11], 0
jne 0x140030bb9
lea r9, str.height
mov ecx, 0x68
mov rax, r9
imul r10, r10, 0x21
lea rax, [rax + 1]
add r10, rcx
movsx rcx, byte [rax]
test rcx, rcx
jne 0x1400309b0
mov rcx, qword [r11 + 0x20]
xor edx, edx
mov rax, r10
div qword [rsi + rcx*8 + 0x1d3190]
lea rax, [r11 + 0x28]
shl rdx, 4
add rdx, qword [r11 + 0x18]
mov r8, qword [rdx]
cmp r8, rax
jne 0x1400309f3
cmp r8, qword [rdx + 8]
je 0x140030bb9
cmp qword [r8 - 8], r10
jne 0x140030b73
xor ecx, ecx
nop
movzx eax, byte [r8 + rcx + 0x20]
inc rcx
cmp al, byte [r9 + rcx - 1]
jne 0x140030b73
cmp rcx, 7
jne 0x140030a00
mov rax, qword [r8 + 0x10]
test rax, rax
je 0x140030bb9
cmp dword [rax], 3
jne 0x140030bb9
mov rcx, qword [rax + 0x10]
mov dword [rbx + 0x1c8], ecx
cmp dword [0x1402c7cc0], 0
jne 0x140030bb9
cmp ecx, dword [0x1402cb9c8]
jbe 0x140030bb9
movsd xmm2, qword [0x1402c7c40]
xorps xmm0, xmm0
comisd xmm2, xmm0
jbe 0x140030b82
xor eax, eax
movq r8, xmm2
lea rdx, str.diff__.2f
lea rcx, [rbp + 7]
mov byte [rbp + 7], 0
mov qword [rbp + 8], rax
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rax
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], rax
mov dword [rbp + 0x40], eax
mov word [rbp + 0x44], ax
mov byte [rbp + 0x46], al
mov byte [rbp - 0x19], al
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rax
mov dword [rbp], eax
mov word [rbp + 4], ax
mov byte [rbp + 6], al
call qword [sym.imp.MSVCR120.dll_sprintf]
mov rax, qword [0x1402c78a0]
test rax, rax
je 0x140030b41
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
jns 0x140030ae1
addsd xmm0, qword [0x140240f40]
lea rdx, [rbp - 0x19]
call fcn.140040da0
lea rcx, [rbp + 7]
dec rcx
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140030af1
mov eax, dword [str.__net]
mov dword [rcx], eax
movzx eax, word [0x1401d35b8]
mov word [rcx + 4], ax
movzx eax, byte [0x1401d35ba]
mov byte [rcx + 6], al
lea rcx, [rbp + 7]
dec rcx
nop
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140030b20
lea r8, [rbp - 0x19]
xor edx, edx
movzx eax, byte [r8 + rdx]
lea rdx, [rdx + 1]
mov byte [rcx + rdx - 1], al
test al, al
jne 0x140030b30
movsxd r8, dword [0x140258268]
mov r9d, dword [rbx + 0x1c8]
lea rax, [rbp + 7]
mov r8, qword [rsi + r8*8 + 0x1d4e10]
lea rdx, str._s_block__d___s
mov ecx, reloc.WS2_32.dll_recv
mov qword [rsp + 0x20], rax
call fcn.140040950
jmp 0x140030bad
cmp r8, qword [rdx + 8]
je 0x140030bb9
mov r8, qword [r8 + 8]
jmp 0x1400309f3
movsxd rax, dword [0x140258268]
mov r8, qword [0x1402cb7d8]
mov dword [rsp + 0x20], ecx
mov r9, qword [rsi + rax*8 + 0x1d4e10]
lea rdx, [0x1401d3c78]
mov ecx, reloc.WS2_32.dll_recv
call fcn.140040950
mov eax, dword [rbx + 0x1c8]
mov dword [0x1402cb9c8], eax
mov eax, 1
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1401bddc0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret