Function at 0x140032270
Capabilities:
Hash data using djb2

Disassembly:
mov r11, rsp
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x30
lea rax, [r11 + 0x18]
mov qword [r11 + 8], r13
mov r12, rdx
mov rbx, rcx
movabs rbp, 0xcccccccccccccccd
movabs r13, 0x295e9648864000
movabs r15, 0x431bde82d7b634db
test rax, rax
je 0x1400322fa
lea rcx, [r11 + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov eax, dword [rsp + 0x88]
mov r8d, dword [rsp + 0x8c]
shl r8, 0x20
or r8, rax
mov rax, rbp
mul r8
mov rax, r15
mov rdi, rdx
shr rdi, 3
sub rdi, r13
mul rdi
mov r14, rdx
shr r14, 0x12
imul eax, r14d, 0xf4240
sub edi, eax
jmp 0x140032309
mov edi, dword [rsp + 0x84]
mov r14d, dword [rsp + 0x80]
mov rdx, qword [0x1401d1c00]
lea rax, [rsp + 0x80]
lea r9, str._method_:__getblocktemplate____params_:___capabilities_:___coinbasetxn____coinbasevalue____longpoll____workid______id_:0_r_n
mov rcx, rbx
mov dword [rsp + 0x28], 2
mov qword [rsp + 0x20], rax
call fcn.14003d740
lea rcx, [rsp + 0x80]
mov rsi, rax
test rcx, rcx
je 0x14003238f
lea rcx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov edx, dword [rsp + 0x84]
mov ecx, dword [rsp + 0x80]
mov rax, rbp
shl rdx, 0x20
or rdx, rcx
mul rdx
mov rax, r15
mov rbp, rdx
shr rbp, 3
sub rbp, r13
mul rbp
mov r15, rdx
shr r15, 0x12
imul eax, r15d, 0xf4240
sub ebp, eax
jmp 0x14003239e
mov ebp, dword [rsp + 0x84]
mov r15d, dword [rsp + 0x80]
mov r13, qword [rsp + 0x70]
test rsi, rsi
jne 0x1400323b9
xor eax, eax
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
cmp dword [rsi], 0
jne 0x140032458
lea r11, [0x140138084]
mov ecx, WSAStartup
mov r9d, 0x1505
mov rax, r11
nop word [rax + rax]
imul r9, r9, 0x21
lea rax, [rax + 1]
add r9, rcx
movsx rcx, byte [rax]
test rcx, rcx
jne 0x1400323e0
mov rcx, qword [rsi + 0x20]
xor edx, edx
lea r8, reloc.WS2_32.dll_getpeername
mov rax, r9
xor r10d, r10d
div qword [r8 + rcx*8]
lea rax, [rsi + 0x28]
shl rdx, 4
add rdx, qword [rsi + 0x18]
mov r8, qword [rdx]
cmp r8, rax
jne 0x140032425
cmp r8, qword [rdx + 8]
je 0x14003245b
cmp qword [r8 - 8], r9
jne 0x14003244c
mov rax, r10
nop
movzx ecx, byte [r8 + rax + 0x20]
inc rax
cmp cl, byte [r11 + rax - 1]
jne 0x14003244c
cmp rax, 7
jne 0x140032430
mov r10, qword [r8 + 0x10]
jmp 0x14003245b
cmp r8, qword [rdx + 8]
je 0x14003245b
mov r8, qword [r8 + 8]
jmp 0x140032425
xor r10d, r10d
mov rdx, r12
mov rcx, r10
call fcn.140030670
cmp dword [0x1401d1ae8], 0
mov ebx, eax
je 0x1400324ff
test eax, eax
je 0x1400324ff
cmp ebp, edi
jge 0x1400324a3
mov ecx, edi
mov eax, 0x431bde83
sub ecx, ebp
imul ecx
sar edx, 0x12
mov ecx, edx
shr ecx, 0x1f
inc ecx
add edx, ecx
imul ecx, edx, 0xfff0bdc0
add edi, ecx
add r14d, edx
mov ecx, ebp
sub ecx, edi
cmp ecx, 0xf4240
jle 0x1400324cb
mov eax, 0x431bde83
imul ecx
sar edx, 0x12
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0xf4240
add edi, eax
sub r14d, edx
sub ebp, edi
mov eax, 0x10624dd3
sub r15d, r14d
mov ecx, 4
imul ebp
sar edx, 6
imul eax, r15d, 0x3e8
mov r8d, edx
shr r8d, 0x1f
add r8d, edx
lea rdx, str.DEBUG:_got_new_work_in__d_ms
add r8d, eax
call fcn.14003ce00
mov rax, qword [rsi + 8]
cmp rax, 0xffffffffffffffff
je 0x14003251a
dec rax
mov qword [rsi + 8], rax
jne 0x14003251a
mov rcx, rsi
call fcn.14002f8b0
mov eax, ebx
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret