Function at 0x1400383d0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0x890]
sub rsp, 0x990
mov rax, qword [0x140068008]
xor rax, rsp
mov qword [rbp + 0x880], rax
mov r13, qword [rbp + 0x8f0]
lea r9, [rbp + 0x80]
xor r12d, r12d
mov qword [rsp + 0x60], rdx
lea r10, [rbp + 0x81]
mov qword [rsp + 0x58], rcx
mov rsi, rdx
mov qword [rbp - 0x78], select
movups xmm0, xmmword [r13 + 0x40]
mov eax, dword [r13 + 0x80]
mov rdi, rcx
mov r14d, dword [r13 + 0x78]
add rax, r8
mov ebx, dword [r13 + 0x84]
sub r9, rax
movups xmmword [rsp + 0x70], xmm0
sub r10, rax
mov r8, 0xfffffffffffffffe
movsd xmm0, qword [r13 + 0x50]
lea rcx, [rax + 2]
movsd qword [rsp + 0x68], xmm0
mov edx, 0x66747032
mov dword [rsp + 0x50], r14d
sub r8, rax
mov qword [rbp - 0x80], r12
mov byte [rbp + 0x80], r12b
nop
lea rax, [r8 + rcx]
cmp rax, rbx
jae 0x1400384cb
movzx eax, dl
xor al, byte [rcx - 2]
mov byte [r9 + rcx - 2], al
mov eax, edx
shr eax, 8
xor al, byte [rcx - 1]
mov byte [r10 + rcx - 2], al
mov eax, edx
shr eax, 0x10
xor al, byte [rcx]
mov byte [rcx + r9], al
mov eax, edx
shr eax, 0x18
xor al, byte [rcx + 1]
mov byte [r10 + rcx], al
add rcx, 4
ror edx, 0x1f
lea rax, [r8 + rcx]
cmp rax, 0x800
jb 0x140038480
movzx eax, byte [rbp + 0x82]
mov edx, 0xffffffff
movzx r9d, byte [rbp + 0x83]
shl r9d, 8
or r9d, eax
movzx eax, byte [rbp + 0x81]
shl r9d, 8
or r9d, eax
movzx eax, byte [rbp + 0x80]
shl r9d, 8
or r9d, eax
xor eax, eax
mov dword [rbp + 0x80], eax
test ebx, ebx
je 0x14003853d
lea r8, [rbp + 0x80]
mov r10, rbx
lea r11, [0x140053c10]
nop
movzx eax, byte [r8]
lea r8, [r8 + 1]
mov ecx, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
xor edx, dword [r11 + rax*4]
sub r10, 1
jne 0x140038520
not edx
mov qword [rsp + 0x9e0], r15
cmp r9d, edx
jne 0x14003886e
cmp ebx, 0x10
jb 0x14003886e
cmp dword [rbp + 0x84], 0x7265744c
jne 0x14003886e
mov r9d, recv
lea r8, str.ZeroAccess:
lea rcx, [rbp - 0x80]
lea edx, [r9 + 3]
call fcn.140010460
movzx eax, byte [rbp + 0x8e]
movzx r15d, byte [rbp + 0x8f]
shl r15d, 8
or r15d, eax
movzx eax, byte [rbp + 0x8d]
shl r15d, 8
or r15d, eax
movzx eax, byte [rbp + 0x8c]
shl r15d, 8
or r15d, eax
cmp r15d, 0x100
ja 0x14003886e
lea eax, [r15*8 + 0x10]
cmp eax, ebx
ja 0x14003886e
test r15d, r15d
je 0x1400387a4
nop dword [rax + rax]
lea edx, [r12*8]
lea eax, [rdx + 0x13]
movzx r10d, byte [rbp + rax + 0x80]
lea rcx, [rbp + 0x60]
lea eax, [rdx + 0x12]
mov dword [rsp + 0x30], r10d
movzx r8d, byte [rbp + rax + 0x80]
lea eax, [rdx + 0x11]
movzx edx, byte [rbp + rax + 0x80]
lea eax, [r12*8 + 0x10]
movzx r9d, byte [rbp + rax + 0x80]
mov dword [rsp + 0x28], r8d
lea r8, str._u._u._u._u
mov dword [rsp + 0x20], edx
mov edx, socket
call fcn.140004c90
lea rax, [rbp + 0x60]
mov r14, 0xffffffffffffffff
nop word [rax + rax]
inc r14
cmp byte [rax + r14], 0
jne 0x140038650
lea rbx, [rbp - 0x80]
nop
cmp dword [rbx + 8], 0xe
je 0x140038670
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140038660
jmp 0x140038675
test rbx, rbx
jne 0x1400386c3
cmp dword [rbp - 0x78], 0
jne 0x14003868e
cmp dword [rbp - 0x74], 0
jne 0x14003868e
mov dword [rbp - 0x78], select
lea rbx, [rbp - 0x80]
jmp 0x1400386c3
mov edx, 0xe0
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov rbx, rax
test rax, rax
je 0x1400387d4
mov dword [rax + 8], select
mov dword [rax + 0x10], 0xc8
mov rax, qword [rbp - 0x80]
mov qword [rbx], rax
mov qword [rbp - 0x80], rbx
mov ecx, dword [rbx + 0xc]
mov eax, dword [rbx + 0x10]
add rcx, r14
cmp rcx, rax
jb 0x14003876f
nop word [rax + rax]
mov eax, dword [rbx + 0x10]
lea rsi, [rbp - 0x80]
lea ecx, [rax + rax]
add rcx, 0x14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
je 0x1400387f5
mov r8d, dword [rbx + 0x10]
mov rdx, rbx
add r8, 0x14
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [rdi + 0x10]
lea rax, [rbp - 0x80]
add ecx, ecx
mov dword [rdi + 0x10], ecx
cmp rbx, rax
jne 0x140038730
xor eax, eax
mov qword [rbp - 0x80], rdi
mov qword [rbx + 8], rax
jmp 0x14003875a
mov rcx, qword [rbp - 0x80]
cmp rcx, rbx
je 0x14003874e
nop dword [rax]
mov rax, qword [rcx]
mov rsi, rcx
mov rcx, rax
cmp rax, rbx
jne 0x140038740
mov rcx, rbx
mov qword [rsi], rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, dword [rdi + 0xc]
mov rbx, rdi
mov eax, dword [rdi + 0x10]
add rcx, r14
cmp rcx, rax
jae 0x1400386e0
mov ecx, dword [rbx + 0xc]
lea rdx, [rbp + 0x60]
add rcx, 0x14
mov r8, r14
add rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
add dword [rbx + 0xc], r14d
inc r12d
cmp r12d, r15d
jb 0x1400385e0
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov r14d, dword [rsp + 0x50]
movups xmm0, xmmword [rsp + 0x70]
lea rax, [rbp - 0x80]
movsd xmm1, qword [rsp + 0x68]
movaps xmmword [rbp + 0x60], xmm0
movsd qword [rbp + 0x70], xmm1
nop dword [rax]
cmp dword [rax + 8], 0xe
je 0x140038816
mov rax, qword [rax]
test rax, rax
jne 0x1400387c0
xor edx, edx
mov ecx, edx
jmp 0x14003881b
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.____out_of_memory__aborting_n
call fcn.140001010
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.____out_of_memory__aborting_n
call fcn.140001010
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
mov ecx, dword [rax + 0xc]
xor edx, edx
lea r8, [rbp - 0x80]
nop
cmp word [r8 + 8], 0xe
je 0x140038830
mov r8, qword [r8]
test r8, r8
jne 0x140038820
mov dword [rsp + 0x40], ecx
lea rax, [r8 + 0x14]
test r8, r8
mov r9d, select
lea r8, [rbp + 0x60]
mov rcx, rdi
cmove rax, rdx
mov rdx, rsi
mov qword [rsp + 0x38], rax
mov eax, dword [r13 + 0x28]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], select
mov dword [rsp + 0x20], r14d
call fcn.140034650
mov r15, qword [rsp + 0x9e0]
xor eax, eax
mov rcx, qword [rbp + 0x880]
xor rcx, rsp
call fcn.14004da00
add rsp, 0x990
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret