Function at 0x1400059c0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x48]
sub rsp, 0x148
mov rsi, r8
mov rbx, rcx
mov r8d, edx
lea rdx, [rsp + 0x40]
call fcn.140004980
mov rdi, qword [rsp + 0x40]
test rdi, rdi
je 0x140005d35
mov eax, dword [rdi + 8]
lea rcx, [rbp - 0x40]
mov qword [rbp - 0x50], rbx
mov dword [rbp - 0x48], eax
mov r8, qword [rdi + 0x18]
mov rdx, qword [rdi + 0x10]
mov qword [rsp + 0x170], r12
mov qword [rsp + 0x178], r14
mov r14, qword [rbx + 0x20]
mov qword [rsp + 0x140], r15
call fcn.1400027c0
lea rdx, [rsi + 0x10]
mov r8d, 1
lea rcx, [rbp - 8]
call qword [rsi + reloc.WS2_32.dll_htonl]
mov rax, qword [rsi]
lea r12, [0x140007eb0]
mov qword [rbp - 0x18], rax
xor r9d, r9d
mov rax, qword [rsi + 8]
xor esi, esi
mov qword [rbp - 0x10], rax
lea rax, [0x140007b10]
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], 0xfffffffa
lea edx, [rsi + 8]
mov qword [rbp - 0x70], rax
lea ecx, [rsi + 0x58]
mov qword [rbp - 0x68], r12
lea r8d, [rsi + 0xb]
mov dword [rsp + 0x20], esi
call fcn.140025790
mov rbx, rax
test rax, rax
je 0x140005ac6
mov rcx, qword [rbp - 0x50]
lea rdx, [rbp - 0x40]
mov qword [rax], rcx
mov ecx, dword [rbp - 0x48]
mov dword [rax + 8], ecx
lea rcx, [rax + 0x10]
call fcn.1400030e0
lea rcx, [rbx + 0x48]
lea r8d, [rsi + 1]
lea rdx, [rbp - 8]
call qword [rbp - 0x10]
mov rax, qword [rbp - 0x18]
mov qword [rbx + 0x38], rax
mov rax, qword [rbp - 0x10]
mov qword [rbx + 0x40], rax
jmp 0x140005ac9
mov rbx, rsi
mov r9, qword [rbp - 0x68]
mov qword [rbp - 0x60], rbx
cmp r9, r12
jne 0x140005adc
mov qword [rbp - 0x80], rbx
jmp 0x140005af1
mov r8d, 2
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x80]
call r9
mov r9, qword [rbp - 0x68]
mov rax, qword [rbp - 0x70]
lea r15, [fcn.140002a40]
mov qword [rsp + 0x70], rax
lea rcx, [0x1400dccf1]
mov qword [rsp + 0x78], r9
mov eax, 0x44
mov qword [rbp - 0x70], rsi
mov r9d, 0x811c9dc5
mov qword [rbp - 0x68], r15
xor eax, r9d
lea rcx, [rcx + 1]
imul r9d, eax, 0x1000193
movzx eax, byte [rcx - 1]
test eax, eax
jne 0x140005b20
lea r8, str.D:BuildServerDworkpackage_cache_blz3.11.14include_blzmem_unique_ptr.h
mov dword [rsp + 0x20], 0x20e
lea edx, [rax + 0xb]
lea ecx, [rax + 0x38]
call fcn.140025410
test rax, rax
je 0x140005b79
mov rcx, qword [rdi + 0x10]
lea rdx, [rbp + 8]
mov qword [rbp + 8], rcx
xor r8d, r8d
mov rcx, qword [rdi + 0x18]
mov qword [rbp + 0x10], rcx
mov rcx, rax
call fcn.1400374b0
mov rdi, rax
jmp 0x140005b7c
mov rdi, rsi
mov r9, qword [rsp + 0x78]
cmp r9, r12
jne 0x140005b91
mov rax, qword [rbp - 0x80]
mov qword [rsp + 0x60], rax
jmp 0x140005ba8
mov r8d, 2
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x60]
call r9
mov r9, qword [rsp + 0x78]
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x50], rax
lea rax, [0x140007a20]
mov qword [rsp + 0x58], r9
xor r9d, r9d
mov qword [rbp + 0x18], rax
lea rax, [0x140007ca0]
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], 0xfffffffa
lea edx, [r9 + 8]
mov qword [rsp + 0x70], rsi
lea ecx, [rdx + 0x18]
mov qword [rsp + 0x78], r15
lea r8d, [r9 + 0xb]
mov qword [rbp + 0x20], rax
mov dword [rsp + 0x20], esi
call fcn.140025790
mov rbx, rax
test rax, rax
je 0x140005c46
mov r9, qword [rsp + 0x58]
cmp r9, r12
jne 0x140005c17
mov rcx, qword [rsp + 0x60]
mov qword [rax + 0x10], rcx
jmp 0x140005c29
mov r8d, 2
lea rdx, [rsp + 0x60]
lea rcx, [rax + 0x10]
call r9
mov rax, qword [rsp + 0x50]
mov qword [rbx], rax
mov rax, qword [rsp + 0x58]
mov qword [rbx + 8], rax
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], r15
jmp 0x140005c49
mov rbx, rsi
lea r8, [rbp + 0x18]
mov qword [rbp + 0x28], rbx
lea rdx, [rbp + 0x88]
mov qword [rbp + 0x88], rdi
mov rcx, r14
call fcn.14000e6b0
mov rax, qword [rsp + 0x58]
mov r14, qword [rsp + 0x178]
mov r12, qword [rsp + 0x170]
cmp rax, r15
je 0x140005c8d
xor r8d, r8d
lea rcx, [rsp + 0x60]
xor edx, edx
call rax
mov rax, qword [rsp + 0x78]
cmp rax, r15
je 0x140005ca2
xor r8d, r8d
lea rcx, [rbp - 0x80]
xor edx, edx
call rax
mov rax, qword [rbp - 0x68]
cmp rax, r15
mov r15, qword [rsp + 0x140]
je 0x140005cbe
xor r8d, r8d
lea rcx, [rbp - 0x60]
xor edx, edx
call rax
xor r8d, r8d
lea rcx, [rbp - 8]
xor edx, edx
call qword [rbp - 0x10]
cmp qword [rbp - 0x30], rsi
jl 0x140005ce7
mov rcx, qword [rbp - 0x40]
lea rdx, [0x1401262a0]
xor r9d, r9d
lea r8d, [r9 - 6]
call fcn.140025f00
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140005d27
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140005d27
mov rbx, qword [rsp + 0x48]
mov rcx, rbx
mov rax, qword [rbx]
call qword [rax + reloc.WS2_32.dll_recv]
lock xadd dword [rbx + 0xc], edi
lea eax, [rdi - 1]
test eax, eax
jne 0x140005d27
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
call qword [rax + 0x18]
mov al, 1
add rsp, 0x148
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140005d75
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140005d75
mov rbx, qword [rsp + 0x48]
mov rcx, rbx
mov rax, qword [rbx]
call qword [rax + reloc.WS2_32.dll_recv]
lock xadd dword [rbx + 0xc], edi
lea eax, [rdi - 1]
test eax, eax
jne 0x140005d75
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
call qword [rax + 0x18]
mov rax, qword [rsi]
test rax, rax
je 0x140005d85
lea rdx, [rsi + 0x10]
mov cl, inet_ntoa
call rax
xor al, al
add rsp, 0x148
pop rdi
pop rsi
pop rbx
pop rbp
ret