Function at 0x140045570
Capabilities:
Hash data using djb2

Disassembly:
push rbp
push rdi
push r14
sub rsp, 0x130
mov rax, qword [0x1402581e0]
xor rax, rsp
mov qword [rsp + 0x120], rax
mov r9, rdx
mov rbp, rcx
xor edi, edi
lea rdx, str._string_
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], 0xffffffffffffffff
mov byte [rsp + 0x7c], dil
mov dword [rsp + 0x28], edi
call fcn.14002bcd0
test r9, r9
jne 0x1400455d3
lea r8, str.wrong_arguments
lea rcx, [rsp + 0x20]
xor edx, edx
call fcn.14002c200
jmp 0x1400455e8
lea rdx, [rsp + 0x20]
mov rcx, r9
call fcn.14002d7c0
mov r14, rax
test rax, rax
jne 0x140045605
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x7c]
lea rdx, str.JSON_decode_failed__d_:__s
xor ecx, ecx
call fcn.140040950
jmp 0x1400458ef
cmp dword [rax], edi
jne 0x1400458d4
lea r10, [0x14023f360]
mov ecx, WSASetLastError
mov r9d, 0x1505
mov rax, r10
nop dword [rax]
nop word [rax + rax]
imul r9, r9, 0x21
lea rax, [rax + 1]
add r9, rcx
movsx rcx, byte [rax]
test rcx, rcx
jne 0x140045630
mov rcx, qword [r14 + 0x20]
xor edx, edx
lea r8, reloc.WS2_32.dll_getpeername
mov rax, r9
div qword [r8 + rcx*8]
lea rax, [r14 + 0x28]
shl rdx, 4
add rdx, qword [r14 + 0x18]
mov r8, qword [rdx]
cmp r8, rax
jne 0x140045676
cmp r8, qword [rdx + 8]
je 0x1400458d4
cmp qword [r8 - 8], r9
jne 0x140045725
mov rcx, rdi
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r8 + rcx + 0x20]
inc rcx
cmp al, byte [r10 + rcx - 1]
jne 0x140045725
cmp rcx, 7
jne 0x140045690
mov qword [rsp + 0x160], rbx
mov rbx, qword [r8 + 0x10]
test rbx, rbx
je 0x1400458cc
cmp dword [rbx], 2
jne 0x1400458cc
mov rbx, qword [rbx + 0x10]
test rbx, rbx
je 0x1400458cc
lea rdx, [0x14023ef7c]
mov rcx, r14
mov qword [rsp + 0x168], rsi
call fcn.14002df80
lea rdx, str.params
mov rcx, r14
mov rdi, rax
call fcn.14002df80
lea rdx, str.mining.notify
mov rcx, rbx
mov rsi, rax
call qword [sym.imp.MSVCR120.dll__stricmp]
test eax, eax
jne 0x140045738
mov rdx, rsi
mov rcx, rbp
call fcn.140043950
jmp 0x1400458c2
cmp r8, qword [rdx + 8]
je 0x1400458d4
mov r8, qword [r8 + 8]
jmp 0x140045676
lea rdx, str.mining.ping
mov rcx, rbx
call qword [sym.imp.MSVCR120.dll__stricmp]
test eax, eax
jne 0x140045773
cmp dword [0x1402c7bbc], eax
je 0x140045763
lea rdx, str.Pool_ping
lea ecx, [rax + 4]
call fcn.140040950
mov rdx, rdi
mov rcx, rbp
call fcn.140044540
jmp 0x1400458c2
lea rdx, str.mining.set_difficulty
mov rcx, rbx
call qword [sym.imp.MSVCR120.dll__stricmp]
test eax, eax
jne 0x140045797
mov rdx, rsi
mov rcx, rbp
call fcn.1400441d0
jmp 0x1400458c2
lea rdx, str.mining.set_extranonce
mov rcx, rbx
call qword [sym.imp.MSVCR120.dll__stricmp]
test eax, eax
jne 0x1400457be
xor r8d, r8d
mov rdx, rsi
mov rcx, rbp
call fcn.140042dd0
jmp 0x1400458c2
lea rdx, str.client.reconnect
mov rcx, rbx
call qword [sym.imp.MSVCR120.dll__stricmp]
test eax, eax
jne 0x1400457e2
mov rdx, rsi
mov rcx, rbp
call fcn.140044260
jmp 0x1400458c2
lea rdx, str.client.get_algo
mov rcx, rbx
call qword [sym.imp.MSVCR120.dll__stricmp]
test eax, eax
jne 0x14004581d
cmp dword [0x1402c7cc0], eax
jne 0x14004580d
lea rdx, str.Pool_asked_your_algo_parameter
lea ecx, [rax + 0x10]
call fcn.140040950
mov rdx, rdi
mov rcx, rbp
call fcn.140044610
jmp 0x1400458c2
lea rdx, str.client.get_stats
mov rcx, rbx
call qword [sym.imp.MSVCR120.dll__stricmp]
test eax, eax
jne 0x140045855
cmp dword [0x1402c7cc0], eax
jne 0x140045848
lea rdx, str.Pool_asked_your_stats
lea ecx, [rax + 0x10]
call fcn.140040950
mov rdx, rdi
mov rcx, rbp
call fcn.140045010
jmp 0x1400458c2
lea rdx, str.client.get_version
mov rcx, rbx
call qword [sym.imp.MSVCR120.dll__stricmp]
test eax, eax
jne 0x140045876
mov rdx, rdi
mov rcx, rbp
call fcn.140044360
jmp 0x1400458c2
lea rdx, str.client.show_message
mov rcx, rbx
call qword [sym.imp.MSVCR120.dll__stricmp]
test eax, eax
jne 0x14004589a
mov r8, rsi
mov rdx, rdi
mov rcx, rbp
call fcn.1400451a0
jmp 0x1400458c2
cmp dword [0x1402c7bbc], 0
je 0x1400458b7
lea rdx, str.unknown_stratum_method__s_
mov r8, rbx
mov ecx, 1
call fcn.140040950
mov rdx, rdi
mov rcx, rbp
call fcn.1400453e0
mov rsi, qword [rsp + 0x168]
mov edi, eax
mov rbx, qword [rsp + 0x160]
mov rax, qword [r14 + 8]
cmp rax, 0xffffffffffffffff
je 0x1400458ef
dec rax
mov qword [r14 + 8], rax
jne 0x1400458ef
mov rcx, r14
call fcn.14002e4b0
mov eax, edi
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.1401bddc0
add rsp, 0x130
pop r14
pop rdi
pop rbp
ret