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

Disassembly:
mov rax, rsp
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x188]
sub rsp, 0x248
movaps xmmword [rax - 0x58], xmm6
movaps xmmword [rax - 0x68], xmm7
call fcn.180055d10
mov rcx, rax
mov r12, rax
call fcn.180055c08
xor esi, esi
mov rcx, r12
mov ebx, esi
mov r13, rax
mov dword [rbp + 0x198], ebx
call fcn.180055afc
test rax, rax
je 0x18005a816
mov rax, qword [r13]
mov dword [rbp + 0x190], esi
mov r15, qword [rax]
mov rcx, r15
call fcn.1800558f8
test rax, rax
je 0x18005a7f6
mov rbx, rsi
mov rdx, qword [r15]
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rsi
or r8, 0xffffffffffffffff
mov qword [rsp + 0x60], rsi
inc r8
cmp byte [rdx + r8], sil
jne 0x18005a069
lea rcx, [rsp + 0x48]
call fcn.180052b60
mov rdx, rbx
mov rcx, r15
call fcn.1800559f8
xor edi, edi
xorps xmm0, xmm0
mov r14, rax
mov qword [rbp], rdi
movups xmmword [rbp - 0x10], xmm0
mov rsi, qword [rax + 0x10]
or r8, 0xffffffffffffffff
mov rbx, qword [rax + 0x18]
mov qword [rbp + 8], rdi
inc r8
cmp byte [rbx + r8], dil
jne 0x18005a0a7
mov rdx, rbx
lea rcx, [rbp - 0x10]
call fcn.180052b60
cmp qword [rbp], rdi
mov rdx, qword [rbp + 8]
sete dil
cmp rdx, 0xf
jbe 0x18005a0ff
mov rcx, qword [rbp - 0x10]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005a0fa
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005a84d
call fcn.1800c8a0c
xor edx, edx
mov qword [rbp + 8], recv
mov qword [rbp], rdx
movabs rcx, 0x95616bf6da677d06
mov byte [rbp - 0x10], dl
test dil, dil
je 0x18005a29e
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 + 0x70], rax
mov qword [rsp + 0x40], rcx
or rcx, 0xffffffffffffffff
mov rax, qword [rsp + 0x40]
movdqa xmm0, xmmword [rsp + 0x70]
mov qword [rbp + 0x78], rax
lea rax, [rsp + 0x70]
xorps xmm0, xmmword [rbp + 0x70]
movdqa xmmword [rsp + 0x70], xmm0
inc rcx
cmp byte [rax + rcx], dl
jne 0x18005a18a
mov r8, qword [rsp + 0x58]
movabs rax, 0x7fffffffffffffff
sub rax, r8
cmp rax, rcx
jb 0x18005a860
mov qword [rsp + 0x30], rcx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x48]
mov edi, recv
mov qword [rsp + 0x20], r8
cmp qword [rsp + 0x60], rdi
lea rcx, [rbp + 0x10]
cmova r9, qword [rsp + 0x48]
call fcn.1800a5e14
mov rdx, rsi
lea rcx, [rbp + 0x10]
call fcn.1800a34bc
mov rdx, qword [rsp + 0x60]
xor esi, esi
movups xmm6, xmmword [rax]
movups xmm7, xmmword [rax + 0x10]
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov byte [rax], sil
movups xmmword [rbp + 0xe0], xmm6
movups xmmword [rbp + 0xf0], xmm7
cmp rdx, rdi
jbe 0x18005a249
mov rcx, qword [rsp + 0x48]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005a244
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005a838
call fcn.1800c8a0c
mov rdx, qword [rbp + 0x28]
movups xmmword [rsp + 0x48], xmm6
movups xmmword [rsp + 0x58], xmm7
cmp rdx, rdi
jbe 0x18005a28d
mov rcx, qword [rbp + 0x10]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005a288
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005a838
call fcn.1800c8a0c
mov qword [rbp + 0x20], rsi
mov qword [rbp + 0x28], rdi
mov byte [rbp + 0x10], sil
jmp 0x18005a558
movabs rdx, 0x63ad2a4f36db38f3
movabs r8, 0x63ad2a4f36db02c9
mov qword [rsp + 0x40], rdx
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x20], rax
mov qword [rsp + 0x40], rcx
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x18], rax
mov qword [rsp + 0x40], r8
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x40], rcx
mov qword [rbp + 0x80], rax
mov rax, qword [rsp + 0x40]
movdqa xmm0, xmmword [rbp - 0x20]
mov qword [rbp + 0x88], rax
xorps xmm0, xmmword [rbp + 0x80]
movdqa xmmword [rbp - 0x20], xmm0
mov qword [rsp + 0x40], rdx
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 + 0x90], rax
mov qword [rsp + 0x40], rcx
or rcx, 0xffffffffffffffff
mov rax, qword [rsp + 0x40]
xor edi, edi
movdqa xmm0, xmmword [rbp - 0x80]
mov qword [rbp + 0x98], rax
lea rax, [rbp - 0x80]
xorps xmm0, xmmword [rbp + 0x90]
movdqa xmmword [rbp - 0x80], xmm0
inc rcx
cmp byte [rax + rcx], dil
jne 0x18005a35a
mov r8, qword [rsp + 0x58]
movabs rax, 0x7fffffffffffffff
sub rax, r8
cmp rax, rcx
jb 0x18005a85a
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 + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r8
call fcn.1800a5e14
mov rdx, rbx
lea rcx, [rbp + 0x30]
call fcn.1800a34bc
mov qword [rbp - 0x30], rdi
lea rdx, [rbp - 0x20]
mov qword [rbp - 0x28], rdi
lea rcx, [rbp - 0x40]
xorps xmm0, xmm0
mov ebx, recv
movups xmmword [rbp - 0x40], xmm0
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 rdx, qword [rsp + 0x60]
xor esi, esi
mov edi, ebx
movups xmm6, xmmword [rax]
movups xmm7, xmmword [rax + 0x10]
mov qword [rax + 0x18], rbx
mov ebx, 0x1000
mov qword [rax + 0x10], rsi
mov byte [rax], sil
movups xmmword [rbp + 0x100], xmm6
movups xmmword [rbp + 0x110], xmm7
cmp rdx, rdi
jbe 0x18005a488
mov rcx, qword [rsp + 0x48]
inc rdx
mov rax, rcx
cmp rdx, rbx
jb 0x18005a483
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005a83f
call fcn.1800c8a0c
mov rdx, qword [rbp - 0x48]
movups xmmword [rsp + 0x48], xmm6
movups xmmword [rsp + 0x58], xmm7
cmp rdx, rdi
jbe 0x18005a4c8
mov rcx, qword [rbp - 0x60]
inc rdx
mov rax, rcx
cmp rdx, rbx
jb 0x18005a4c3
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005a83f
call fcn.1800c8a0c
mov rdx, qword [rbp - 0x28]
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x48], rdi
mov byte [rbp - 0x60], sil
cmp rdx, rdi
jbe 0x18005a50a
mov rcx, qword [rbp - 0x40]
inc rdx
mov rax, rcx
cmp rdx, rbx
jb 0x18005a505
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005a83f
call fcn.1800c8a0c
mov rdx, qword [rbp + 0x48]
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x28], rdi
mov byte [rbp - 0x40], sil
cmp rdx, rdi
jbe 0x18005a54c
mov rcx, qword [rbp + 0x30]
inc rdx
mov rax, rcx
cmp rdx, rbx
jb 0x18005a547
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005a83f
call fcn.1800c8a0c
mov qword [rbp + 0x40], rsi
mov qword [rbp + 0x48], rdi
mov byte [rbp + 0x30], sil
mov qword [rbp + 0x1a8], rsi
jmp 0x18005a776
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 + 0xa8], rax
lea rax, [rbp - 0x70]
mov qword [rbp + 0xa0], rcx
or rcx, 0xffffffffffffffff
xorps xmm0, xmmword [rbp + 0xa0]
movdqa xmmword [rbp - 0x70], xmm0
inc rcx
cmp byte [rax + rcx], sil
jne 0x18005a5e4
mov rdx, qword [rsp + 0x58]
movabs rax, 0x7fffffffffffffff
sub rax, rdx
cmp rax, rcx
jb 0x18005a854
cmp qword [rsp + 0x60], 0xf
lea rax, [rbp - 0x70]
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], rdx
call fcn.1800a5e14
mov rdx, rdi
lea rcx, [rbp + 0x50]
call fcn.1800a34bc
mov edi, recv
movups xmm7, xmmword [rax]
movups xmm6, xmmword [rax + 0x10]
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov byte [rax], sil
mov rdx, qword [rbp + 0x68]
movups xmmword [rbp + 0xb0], xmm7
movups xmmword [rbp + 0xc0], xmm6
cmp rdx, rdi
jbe 0x18005a6a0
mov rcx, qword [rbp + 0x50]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005a69b
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005a846
call fcn.1800c8a0c
mov rcx, rbx
mov qword [rbp + 0x60], rsi
mov qword [rbp + 0x68], rdi
mov byte [rbp + 0x50], sil
call fcn.1800555fc
psrldq xmm6, 8
lea rdx, [rbp + 0xb0]
movq rdi, xmm6
movq rbx, xmm7
cmp rdi, 0xf
mov r10d, eax
cmova rdx, rbx
or rcx, 0xffffffffffffffff
inc rcx
cmp byte [rdx + rcx], sil
jne 0x18005a6d9
cmp rdi, 0xf
lea r8, [rbp + 0xb0]
cmova r8, rbx
or edx, 0xffffffff
test ecx, ecx
je 0x18005a71d
mov r9d, ecx
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 0x18005a6fb
not edx
mov dword [rbp + 0x1a4], r10d
mov dword [rbp + 0x1a0], edx
lea r8, [rbp + 0x1a0]
lea rdx, [rbp + 0xd0]
call fcn.1800a4310
cmp rdi, 0xf
jbe 0x18005a776
lea rdx, [rdi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x18005a76e
mov rbx, qword [rbx - 8]
add rdx, 0x27
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005a84d
mov rcx, rbx
call fcn.1800c8a0c
lea rdx, [rbp + 0x1a8]
mov rcx, r14
call fcn.1800557f4
mov rbx, rax
test rax, rax
jne 0x18005a564
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x18005a7ce
mov rcx, qword [rsp + 0x48]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005a7c9
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005a84d
call fcn.1800c8a0c
mov edi, dword [rbp + 0x190]
mov rcx, r15
inc edi
mov dword [rbp + 0x190], edi
movsxd rbx, edi
call fcn.1800558f8
cmp rbx, rax
jb 0x18005a050
mov ebx, dword [rbp + 0x198]
inc ebx
mov rcx, r12
mov dword [rbp + 0x198], ebx
add r13, 8
call fcn.180055afc
movsxd rcx, ebx
cmp rcx, rax
jb 0x18005a02f
lea r11, [rsp + 0x248]
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
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180052794
int3
call fcn.180052794
int3
call fcn.180052794
int3