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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xe0
mov rax, qword [0x14009c010]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rsi, rdx
mov qword [rbp - 0x49], rdx
cmp word [rcx + 8], 0x1e
je 0x14004699d
movabs rax, 0xb5b51de8bb042e13
mov qword [rbp - 0x29], rax
movabs rax, 0xe04b28bd8123da10
mov qword [rbp - 0x21], rax
movabs rax, 0x7178aae6c747959d
mov qword [rbp - 0x19], rax
movabs rax, 0xa4ddb7b3ddd566f2
mov qword [rbp - 0x11], rax
movabs rcx, 0xdad17381cc581450
mov qword [rbp - 0x69], rcx
movabs rcx, 0x853f5bc4f27fa967
mov qword [rbp - 0x61], rcx
movabs rcx, 0x7178aae69b75a6f0
mov qword [rbp - 0x59], rcx
mov qword [rbp - 0x51], rax
movdqa xmm0, xmmword [rbp - 0x29]
pxor xmm0, xmmword [rbp - 0x69]
movdqa xmmword [rbp - 0x69], xmm0
movdqa xmm1, xmmword [rbp - 0x59]
pxor xmm1, xmmword [rbp - 0x19]
movdqa xmmword [rbp - 0x59], xmm1
xor r14d, r14d
mov qword [rdx], r14
mov qword [rdx + 0x10], r14
mov r13d, recv
mov qword [rdx + 0x18], r13
mov byte [rdx], r14b
lea rax, [rbp - 0x69]
mov rdi, 0xffffffffffffffff
nop word [rax + rax]
inc rdi
cmp byte [rax + rdi], 0
jne 0x140046980
mov r8, rdi
lea rdx, [rbp - 0x69]
mov rcx, rsi
call fcn.140001bf0
jmp 0x140046d42
xorps xmm0, xmm0
movups xmmword [rbp + 0x17], xmm0
mov dword [rbp - 0x39], reloc.WS2_32.dll_recv
mov ecx, 0xc496907c
call fcn.140002180
lea rdx, [rbp - 0x39]
lea rcx, [rbp + 0x17]
call rax
movabs rbx, 0xcbf29ce484222325
mov eax, dword [rbp - 0x39]
test eax, eax
je 0x1400469f4
lea rcx, [rbp + 0x17]
mov edx, eax
movabs r8, 0x100000001b3
imul rbx, r8
movzx eax, byte [rcx]
xor rbx, rax
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x1400469e0
movabs rax, 0xb5b51de8bb042e13
mov qword [rbp - 9], rax
movabs rax, 0xe04b28bd8123da10
mov qword [rbp - 1], rax
movabs rax, 0x7178aae6c747959d
mov qword [rbp + 7], rax
movabs rax, 0xa4ddb7b3ddd566f2
mov qword [rbp + 0xf], rax
movabs rcx, 0xc7d2729aeb581450
mov qword [rbp - 0x69], rcx
movabs rcx, 0x932e44d4c703b771
mov qword [rbp - 0x61], rcx
movabs rcx, 0x7178aae6c74795c1
mov qword [rbp - 0x59], rcx
mov qword [rbp - 0x51], rax
movdqa xmm0, xmmword [rbp - 9]
pxor xmm0, xmmword [rbp - 0x69]
movdqa xmmword [rbp - 0x69], xmm0
movdqa xmm1, xmmword [rbp - 0x59]
pxor xmm1, xmmword [rbp + 7]
movdqa xmmword [rbp - 0x59], xmm1
xor r14d, r14d
mov qword [rbp - 0x29], r14
mov qword [rbp - 0x19], r14
mov r13d, recv
mov qword [rbp - 0x11], r13
mov byte [rbp - 0x29], r14b
lea rax, [rbp - 0x69]
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop
inc r8
cmp byte [rax + r8], 0
jne 0x140046aa0
lea rdx, [rbp - 0x69]
lea rcx, [rbp - 0x29]
call fcn.140001bf0
nop
lea r9, [rbp + 0xc]
movabs r8, 0xcccccccccccccccd
nop word [rax + rax]
dec r9
mov rax, r8
mul rbx
shr rdx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub bl, cl
add bl, 0x30
mov byte [r9], bl
mov rbx, rdx
test rdx, rdx
jne 0x140046ad0
mov qword [rbp - 0x69], r14
mov r12, r14
mov qword [rbp - 0x59], r14
mov qword [rbp - 0x51], r13
mov byte [rbp - 0x69], r12b
lea rax, [rbp + 0xc]
cmp r9, rax
je 0x140046b2f
lea r8, [rbp + 0xc]
sub r8, r9
mov rdx, r9
lea rcx, [rbp - 0x69]
call fcn.140001bf0
mov r13, qword [rbp - 0x51]
mov r12, qword [rbp - 0x59]
lea r9, [rbp - 0x69]
mov r15, qword [rbp - 0x69]
cmp r13, 0x10
cmovae r9, r15
mov rcx, qword [rbp - 0x19]
mov qword [rbp - 0x49], rcx
mov rdx, qword [rbp - 0x11]
mov rax, rdx
sub rax, rcx
cmp r12, rax
ja 0x140046b87
lea rax, [rcx + r12]
mov qword [rbp - 0x19], rax
lea rbx, [rbp - 0x29]
cmp rdx, 0x10
cmovae rbx, qword [rbp - 0x29]
add rcx, rbx
mov r8, r12
mov rdx, r9
call fcn.140055ab0
mov rax, qword [rbp - 0x49]
add rax, rbx
mov byte [rax + r12], 0
jmp 0x140046ba5
mov qword [rsp + 0x20], r12
movzx r8d, byte [rbp - 0x79]
mov rdx, r12
lea rcx, [rbp - 0x29]
call fcn.140001ed0
mov r13, qword [rbp - 0x51]
mov r15, qword [rbp - 0x69]
cmp r13, 0x10
jb 0x140046bdc
lea rdx, [r13 + 1]
mov rax, r15
cmp rdx, 0x1000
jb 0x140046bd4
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140046d78
mov rcx, r15
call fcn.140050f34
movabs rax, 0xb5b51de8bb042e13
mov qword [rbp - 9], rax
movabs rax, 0xe04b28bd8123da10
mov qword [rbp - 1], rax
movabs rcx, 0xb5b51de8bb042e4f
mov qword [rbp - 0x49], rcx
mov qword [rbp - 0x41], rax
movdqa xmm0, xmmword [rbp - 9]
pxor xmm0, xmmword [rbp - 0x49]
movdqa xmmword [rbp - 0x49], xmm0
lea rax, [rbp - 0x49]
nop dword [rax]
inc rdi
cmp byte [rax + rdi], 0
jne 0x140046c20
mov rcx, qword [rbp - 0x19]
mov rdx, qword [rbp - 0x11]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x140046c69
lea rax, [rdi + rcx]
mov qword [rbp - 0x19], rax
lea rbx, [rbp - 0x29]
cmp rdx, 0x10
cmovae rbx, qword [rbp - 0x29]
add rbx, rcx
mov r8, rdi
lea rdx, [rbp - 0x49]
mov rcx, rbx
call fcn.140055ab0
mov byte [rdi + rbx], 0
jmp 0x140046c83
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x49]
movzx r8d, byte [rbp - 0x79]
mov rdx, rdi
lea rcx, [rbp - 0x29]
call fcn.140001ed0
lea rbx, [rbp - 0x29]
cmp qword [rbp - 0x11], 0x10
cmovae rbx, qword [rbp - 0x29]
mov ecx, 0x349003e3
call fcn.140002180
mov rcx, rbx
call rax
cmp eax, 0xffffffff
jne 0x140046d33
lea rax, [rbp - 0x29]
cmp qword [rbp - 0x11], 0x10
cmovae rax, qword [rbp - 0x29]
mov qword [rbp - 9], rax
mov rax, qword [rbp - 0x19]
mov qword [rbp - 1], rax
lea rdx, [rbp - 9]
lea rcx, [rbp - 0x69]
call fcn.140050dc0
nop
mov qword [rbp - 0x49], r14
lea rax, [0x1401f2440]
mov qword [rbp - 0x41], rax
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x69]
call fcn.14002a8d0
cmp dword [rbp - 0x49], 0
jne 0x140046d7e
mov rdx, qword [rbp - 0x51]
cmp rdx, 8
jb 0x140046d33
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140046d2e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140046d72
call fcn.140050f34
movups xmm0, xmmword [rbp - 0x29]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rbp - 0x19]
movups xmmword [rsi + 0x10], xmm1
mov rax, rsi
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140050ed0
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14005d2f0
nop
call fcn.14005d2f0
nop
lea r8, [rbp - 0x69]
lea rdx, [rbp - 0x49]
lea rcx, str.create_directories
call fcn.14001d440
int3