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

Disassembly:
mov rax, rsp
mov dword [rax + 8], ecx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1b8]
sub rsp, 0x278
mov ebx, ecx
movaps xmmword [rax - 0x58], xmm6
lea rcx, [rbp + 0x20]
movaps xmmword [rax - 0x68], xmm7
call fcn.1800a31f0
mov edx, ebx
mov rcx, rax
call fcn.1800a3eec
xor edi, edi
test al, al
je 0x180057c5a
lea rdx, [rbp + 0x1c0]
call fcn.1800a311c
mov eax, dword [rax]
jmp 0x180058559
call fcn.180055d10
mov rcx, rax
mov r14, rax
call fcn.180055c08
mov ebx, edi
mov rcx, r14
mov dword [rbp + 0x1c8], ebx
mov r13, rax
call fcn.180055afc
test rax, rax
je 0x180058557
movabs rsi, 0x95616bf6da677d06
mov rax, qword [r13]
mov r12d, edi
mov r15, qword [rax]
mov rcx, r15
call fcn.1800558f8
test rax, rax
je 0x180058537
mov rdx, qword [r15]
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rdi
or r8, 0xffffffffffffffff
mov qword [rsp + 0x60], rdi
inc r8
cmp byte [rdx + r8], dil
jne 0x180057cc4
lea rcx, [rsp + 0x48]
call fcn.180052b60
movabs rax, 0x63ad2a4f5ab766e7
lea rdx, [rbp - 0x20]
mov qword [rbp + 0x1d8], rax
lea rcx, [rsp + 0x48]
mov rax, qword [rbp + 0x1d8]
mov qword [rbp - 0x20], rax
mov qword [rbp + 0x1d8], rsi
mov rax, qword [rbp + 0x1d8]
mov qword [rbp - 0x18], rax
movabs rax, 0x63ad2a4f36db02c9
mov qword [rbp + 0x1d8], rax
mov rax, qword [rbp + 0x1d8]
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x1d8], rsi
mov rax, qword [rbp + 0x1d8]
movdqa xmm0, xmmword [rbp - 0x20]
mov qword [rbp + 0x98], rax
xorps xmm0, xmmword [rbp + 0x90]
movdqa xmmword [rbp - 0x20], xmm0
call fcn.1800a3400
mov rbx, qword [rsp + 0x58]
cmp rbx, rax
jb 0x180058637
mov rcx, rbx
mov edx, 4
sub rcx, rax
cmp rcx, rdx
cmovb rdx, rcx
cmp qword [rsp + 0x60], 0xf
lea rcx, [rsp + 0x48]
cmova rcx, qword [rsp + 0x48]
sub rbx, rdx
add rcx, rax
mov r8, rbx
sub r8, rax
add rdx, rcx
inc r8
call sub.VCRUNTIME140.dll_memmove
movsxd rdx, r12d
mov rcx, r15
mov qword [rsp + 0x58], rbx
call fcn.1800559f8
xor ebx, ebx
mov qword [rbp + 0x1d8], rax
xorps xmm0, xmm0
mov qword [rbp + 0x10], rbx
movups xmmword [rbp], xmm0
mov rsi, qword [rax + 0x10]
or r8, 0xffffffffffffffff
mov rdi, qword [rax + 0x18]
mov qword [rbp + 0x18], rbx
inc r8
cmp byte [rdi + r8], bl
jne 0x180057dd4
mov rdx, rdi
lea rcx, [rbp]
call fcn.180052b60
cmp qword [rbp + 0x10], rbx
mov rdx, qword [rbp + 0x18]
sete bl
cmp rdx, 0xf
jbe 0x180057e2b
mov rcx, qword [rbp]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180057e26
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005862a
call fcn.1800c8a0c
xor edx, edx
mov qword [rbp + 0x18], recv
mov qword [rbp + 0x10], rdx
movabs rcx, 0x95616bf6da677d06
mov byte [rbp], dl
test bl, bl
je 0x180057fd4
movabs rax, 0x63ad2a4f36db38f3
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x40], rcx
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x78], rax
movabs rax, 0x63ad2a4f36db02c9
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0xa0], rax
mov qword [rsp + 0x40], rcx
or rcx, 0xffffffffffffffff
mov rax, qword [rsp + 0x40]
xor edi, edi
movdqa xmm0, xmmword [rsp + 0x70]
mov qword [rbp + 0xa8], rax
lea rax, [rsp + 0x70]
xorps xmm0, xmmword [rbp + 0xa0]
movdqa xmmword [rsp + 0x70], xmm0
inc rcx
cmp byte [rax + rcx], dil
jne 0x180057ec0
mov r8, qword [rsp + 0x58]
movabs rax, 0x7fffffffffffffff
sub rax, r8
cmp rax, rcx
jb 0x18005863d
cmp qword [rsp + 0x60], 0xf
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rcx
lea r9, [rsp + 0x48]
cmova r9, qword [rsp + 0x48]
lea rcx, [rbp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r8
call fcn.1800a5e14
mov rdx, rsi
lea rcx, [rbp + 0x30]
call fcn.1800a34bc
mov esi, recv
movups xmm6, xmmword [rax]
movups xmm7, xmmword [rax + 0x10]
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], rsi
mov byte [rax], dil
mov rdx, qword [rsp + 0x60]
movups xmmword [rbp + 0x110], xmm6
movups xmmword [rbp + 0x120], xmm7
cmp rdx, rsi
jbe 0x180057f7f
mov rcx, qword [rsp + 0x48]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180057f7a
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005857b
call fcn.1800c8a0c
mov rdx, qword [rbp + 0x48]
movups xmmword [rsp + 0x48], xmm6
movups xmmword [rsp + 0x58], xmm7
cmp rdx, rsi
jbe 0x180057fc3
mov rcx, qword [rbp + 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180057fbe
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005857b
call fcn.1800c8a0c
mov qword [rbp + 0x40], rdi
mov qword [rbp + 0x48], rsi
mov byte [rbp + 0x30], dil
jmp 0x180058289
movabs r9, 0x63ad2a4f36db38f3
movabs r8, 0x63ad2a4f36db02c9
mov qword [rsp + 0x40], r9
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x10], rax
mov qword [rsp + 0x40], rcx
mov rax, qword [rsp + 0x40]
mov qword [rbp - 8], rax
mov qword [rsp + 0x40], r8
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x40], rcx
mov qword [rbp + 0xb0], rax
mov rax, qword [rsp + 0x40]
movdqa xmm0, xmmword [rbp - 0x10]
mov qword [rbp + 0xb8], rax
xorps xmm0, xmmword [rbp + 0xb0]
movdqa xmmword [rbp - 0x10], xmm0
mov qword [rsp + 0x40], r9
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x80], rax
mov qword [rsp + 0x40], rcx
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x78], rax
mov qword [rsp + 0x40], r8
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0xc0], rax
mov qword [rsp + 0x40], rcx
or rcx, 0xffffffffffffffff
mov rax, qword [rsp + 0x40]
movdqa xmm0, xmmword [rbp - 0x80]
mov qword [rbp + 0xc8], rax
lea rax, [rbp - 0x80]
xorps xmm0, xmmword [rbp + 0xc0]
movdqa xmmword [rbp - 0x80], xmm0
inc rcx
cmp byte [rax + rcx], dl
jne 0x18005808e
mov r8, qword [rsp + 0x58]
movabs rax, 0x7fffffffffffffff
sub rax, r8
cmp rax, rcx
jb 0x180058631
cmp qword [rsp + 0x60], 0xf
lea rax, [rbp - 0x80]
mov qword [rsp + 0x30], rcx
lea r9, [rsp + 0x48]
cmova r9, qword [rsp + 0x48]
lea rcx, [rbp + 0x50]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r8
call fcn.1800a5e14
mov rdx, rdi
lea rcx, [rbp + 0x50]
call fcn.1800a34bc
xor edi, edi
lea rdx, [rbp - 0x10]
mov qword [rbp - 0x30], rdi
lea rcx, [rbp - 0x40]
mov qword [rbp - 0x28], rdi
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
lea ebx, [rdi + 0xf]
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x30], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], rbx
mov byte [rax], dil
call fcn.1800a34bc
mov qword [rbp - 0x50], rdi
lea rcx, [rbp - 0x60]
mov qword [rbp - 0x48], rdi
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov rdx, rsi
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x50], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], rbx
mov byte [rax], dil
call fcn.1800a34bc
mov esi, ebx
movups xmm6, xmmword [rax]
movups xmm7, xmmword [rax + 0x10]
mov qword [rax + 0x18], rbx
mov ebx, 0x1000
mov qword [rax + 0x10], rdi
mov byte [rax], dil
mov rdx, qword [rsp + 0x60]
movups xmmword [rbp + 0x130], xmm6
movups xmmword [rbp + 0x140], xmm7
cmp rdx, rsi
jbe 0x1800581b9
mov rcx, qword [rsp + 0x48]
inc rdx
mov rax, rcx
cmp rdx, rbx
jb 0x1800581b4
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180058582
call fcn.1800c8a0c
mov rdx, qword [rbp - 0x48]
movups xmmword [rsp + 0x48], xmm6
movups xmmword [rsp + 0x58], xmm7
cmp rdx, rsi
jbe 0x1800581f9
mov rcx, qword [rbp - 0x60]
inc rdx
mov rax, rcx
cmp rdx, rbx
jb 0x1800581f4
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180058582
call fcn.1800c8a0c
mov rdx, qword [rbp - 0x28]
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x48], rsi
mov byte [rbp - 0x60], dil
cmp rdx, rsi
jbe 0x18005823b
mov rcx, qword [rbp - 0x40]
inc rdx
mov rax, rcx
cmp rdx, rbx
jb 0x180058236
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180058582
call fcn.1800c8a0c
mov rdx, qword [rbp + 0x68]
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x28], rsi
mov byte [rbp - 0x40], dil
cmp rdx, rsi
jbe 0x18005827d
mov rcx, qword [rbp + 0x50]
inc rdx
mov rax, rcx
cmp rdx, rbx
jb 0x180058278
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180058582
call fcn.1800c8a0c
mov qword [rbp + 0x60], rdi
mov qword [rbp + 0x68], rsi
mov byte [rbp + 0x50], dil
mov rcx, qword [rbp + 0x1d8]
lea rdx, [rbp + 0x1d0]
mov qword [rbp + 0x1d0], rdi
call fcn.1800557f4
mov rbx, rax
test rax, rax
je 0x1800584d3
jmp 0x1800582b6
mov esi, recv
mov rcx, rbx
call fcn.180055508
mov rdi, rax
movabs rax, 0x63ad2a4f36db38f3
mov qword [rsp + 0x40], rax
movabs rax, 0x95616bf6da677d06
mov rcx, qword [rsp + 0x40]
mov qword [rbp - 0x70], rcx
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x40]
mov qword [rbp - 0x68], rcx
movabs rcx, 0x63ad2a4f36db02c9
mov qword [rsp + 0x40], rcx
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
movdqa xmm0, xmmword [rbp - 0x70]
mov qword [rbp + 0xd8], rax
lea rax, [rbp - 0x70]
mov qword [rbp + 0xd0], rcx
or rcx, 0xffffffffffffffff
xorps xmm0, xmmword [rbp + 0xd0]
movdqa xmmword [rbp - 0x70], xmm0
inc rcx
cmp byte [rax + rcx], 0
jne 0x180058336
mov rdx, qword [rsp + 0x58]
movabs rax, 0x7fffffffffffffff
sub rax, rdx
cmp rax, rcx
jb 0x180058643
cmp qword [rsp + 0x60], rsi
lea rax, [rbp - 0x70]
mov qword [rsp + 0x30], rcx
lea r9, [rsp + 0x48]
cmova r9, qword [rsp + 0x48]
lea rcx, [rbp + 0x70]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
call fcn.1800a5e14
mov rdx, rdi
lea rcx, [rbp + 0x70]
call fcn.1800a34bc
xor r9d, r9d
movups xmm7, xmmword [rax]
movups xmm6, xmmword [rax + 0x10]
mov qword [rax + 0x10], r9
mov qword [rax + 0x18], rsi
mov byte [rax], r9b
mov rdx, qword [rbp + 0x88]
movups xmmword [rbp + 0xe0], xmm7
movups xmmword [rbp + 0xf0], xmm6
cmp rdx, rsi
jbe 0x1800583f5
mov rcx, qword [rbp + 0x70]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800583ed
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180058589
call fcn.1800c8a0c
xor r9d, r9d
psrldq xmm6, 8
lea rcx, [rbp + 0xe0]
mov qword [rbp + 0x88], rsi
movq rdi, xmm7
movq rsi, xmm6
mov qword [rbp + 0x80], r9
cmp rsi, 0xf
mov byte [rbp + 0x70], r9b
cmova rcx, rdi
or rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], r9b
jne 0x180058429
cmp rsi, 0xf
lea r8, [rbp + 0xe0]
cmova r8, rdi
or edx, 0xffffffff
test eax, eax
je 0x18005846d
mov r9d, eax
movsx ecx, byte [r8]
mov eax, edx
xor rcx, rax
shr edx, 8
movzx eax, cl
inc r8
lea rcx, [0x18003eb10]
xor edx, dword [rcx + rax*4]
sub r9, 1
jne 0x18005844b
not edx
cmp edx, dword [rbp + 0x1c0]
je 0x180058590
cmp rsi, 0xf
jbe 0x1800584b2
lea rdx, [rsi + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1800584aa
mov rdi, qword [rdi - 8]
add rdx, 0x27
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005862a
mov rcx, rdi
call fcn.1800c8a0c
mov rcx, qword [rbp + 0x1d8]
lea rdx, [rbp + 0x1d0]
call fcn.1800557f4
xor edi, edi
mov rbx, rax
test rax, rax
jne 0x1800582b1
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x180058510
mov rcx, qword [rsp + 0x48]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005850b
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005862a
call fcn.1800c8a0c
mov rcx, r15
inc r12d
call fcn.1800558f8
movsxd rcx, r12d
movabs rsi, 0x95616bf6da677d06
cmp rcx, rax
jb 0x180057cab
mov ebx, dword [rbp + 0x1c8]
inc ebx
mov rcx, r14
mov dword [rbp + 0x1c8], ebx
add r13, 8
call fcn.180055afc
movsxd rcx, ebx
cmp rcx, rax
jb 0x180057c90
xor eax, eax
lea r11, [rsp + 0x278]
movaps xmm6, xmmword [r11 - 0x18]
movaps xmm7, xmmword [r11 - 0x28]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.1800555fc
mov ecx, dword [rbp + 0x1c0]
lea r8, [rbp + 0x20]
mov ebx, eax
lea rdx, [rbp + 0x100]
mov dword [rbp + 0x24], ebx
mov dword [rbp + 0x20], ecx
call fcn.1800a4310
cmp rsi, 0xf
jbe 0x1800585e9
lea rdx, [rsi + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1800585e1
mov rdi, qword [rdi - 8]
add rdx, 0x27
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005862a
mov rcx, rdi
call fcn.1800c8a0c
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x180058622
mov rcx, qword [rsp + 0x48]
inc rdx
mov r8, rcx
cmp rdx, 0x1000
jb 0x18005861d
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub r8, rcx
add r8, 0xfffffffffffffff8
cmp r8, 0x1f
ja 0x18005862a
call fcn.1800c8a0c
mov rax, rbx
jmp 0x180058559
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180052794
int3
call fcn.180052b14
int3
call fcn.180052794
int3
call fcn.180052794
int3