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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1a8]
sub rsp, 0x280
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x1801b5040]
xor rax, rsp
mov qword [rbp + 0x150], rax
xor r15d, r15d
mov r14d, r15d
mov dword [rsp + 0x40], r15d
call fcn.180042070
mov rsi, rax
mov qword [rbp - 0x58], rax
mov rcx, rax
call fcn.180041f40
mov rbx, rax
mov qword [rsp + 0x58], rax
mov edi, r15d
mov dword [rsp + 0x48], r15d
mov rcx, rsi
call fcn.180041e00
test rax, rax
je 0x180046b1e
nop
mov rax, qword [rbx]
mov r12, qword [rax]
mov qword [rbp - 0x60], r12
mov r13d, r15d
mov rcx, r12
call fcn.180041a90
test rax, rax
je 0x180046afb
mov rbx, r15
mov rdx, qword [r12]
xorps xmm0, xmm0
movups xmmword [rbp + 0xc8], xmm0
mov qword [rbp + 0xd8], r15
mov qword [rbp + 0xe0], r15
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x180046414
lea rcx, [rbp + 0xc8]
call fcn.180010f40
nop
mov rdx, rbx
mov rcx, r12
call fcn.180041bb0
mov r15, rax
mov rsi, qword [rax + 0x10]
mov rdi, qword [rax + 0x18]
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
xor eax, eax
mov qword [rbp], rax
mov qword [rbp + 8], rax
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdi + r8], al
jne 0x180046460
mov rdx, rdi
lea rcx, [rbp - 0x10]
call fcn.180010f40
cmp qword [rbp], 0
sete bl
lea rcx, [rbp - 0x10]
call fcn.180010470
movabs rcx, 0x7e95b143ccf801b8
test bl, bl
je 0x18004661f
movabs rax, 0xdcd8854a878e2e2d
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x40], rcx
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x68], rax
movabs rax, 0xdcd8854a878e1417
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x110], rax
mov qword [rsp + 0x40], rcx
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x118], rax
movdqa xmm0, xmmword [rsp + 0x60]
xorps xmm0, xmmword [rbp + 0x110]
movdqa xmmword [rsp + 0x60], xmm0
lea rax, [rsp + 0x60]
mov rcx, 0xffffffffffffffff
nop dword [rax + rax]
inc rcx
cmp byte [rax + rcx], 0
jne 0x180046510
movabs rax, 0x7fffffffffffffff
mov rdx, qword [rbp + 0xd8]
sub rax, rdx
cmp rax, rcx
jb 0x180046b72
lea r9, [rbp + 0xc8]
cmp qword [rbp + 0xe0], 0xf
cmova r9, qword [rbp + 0xc8]
mov qword [rsp + 0x30], rcx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
lea rcx, [rbp + 0x50]
call fcn.180011d20
or r14d, 8
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rsi + r8], 0
jne 0x180046575
mov rdx, rsi
lea rcx, [rbp + 0x50]
call fcn.1800104d0
movups xmm6, xmmword [rax]
movups xmmword [rbp + 0x10], xmm6
movups xmm7, xmmword [rax + 0x10]
movups xmmword [rbp + 0x20], xmm7
xor ebx, ebx
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], bl
or r14d, 0x10
mov rdx, qword [rbp + 0xe0]
cmp rdx, 0xf
jbe 0x1800465ef
inc rdx
mov rcx, qword [rbp + 0xc8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800465ea
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180046b58
call fcn.180150c1c
movups xmmword [rbp + 0xc8], xmm6
movups xmmword [rbp + 0xd8], xmm7
mov qword [rbp + 0x20], rbx
mov qword [rbp + 0x28], 0xf
mov byte [rbp + 0x10], bl
lea rcx, [rbp + 0x10]
call fcn.180010470
nop
lea rcx, [rbp + 0x50]
jmp 0x18004689c
movabs rdx, 0xdcd8854a878e2e2d
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
movabs r8, 0xdcd8854a878e1417
mov qword [rsp + 0x40], r8
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x120], rax
mov qword [rsp + 0x40], rcx
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x128], rax
movdqa xmm0, xmmword [rbp - 0x80]
xorps xmm0, xmmword [rbp + 0x120]
movdqa xmmword [rbp - 0x80], xmm0
mov qword [rsp + 0x40], rdx
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
mov qword [rsp + 0x40], r8
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x130], rax
mov qword [rsp + 0x40], rcx
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x138], rax
movdqa xmm0, xmmword [rsp + 0x70]
xorps xmm0, xmmword [rbp + 0x130]
movdqa xmmword [rsp + 0x70], xmm0
lea rax, [rsp + 0x70]
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [rax + rcx], 0
jne 0x1800466e1
movabs rax, 0x7fffffffffffffff
mov rdx, qword [rbp + 0xd8]
sub rax, rdx
cmp rax, rcx
jb 0x180046b6c
lea r9, [rbp + 0xc8]
cmp qword [rbp + 0xe0], 0xf
cmova r9, qword [rbp + 0xc8]
mov qword [rsp + 0x30], rcx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
lea rcx, [rbp + 0x70]
call fcn.180011d20
or r14d, 0x40
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdi + r8], 0
jne 0x180046746
mov rdx, rdi
lea rcx, [rbp + 0x70]
call fcn.1800104d0
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
xor ebx, ebx
mov qword [rbp - 0x20], rbx
mov qword [rbp - 0x18], rbx
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x20], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], bl
lea rax, [rbp - 0x80]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x180046795
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x30]
call fcn.1800104d0
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x38], rbx
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x40], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rsi + r8], 0
jne 0x1800467e0
mov rdx, rsi
lea rcx, [rbp - 0x50]
call fcn.1800104d0
movups xmm6, xmmword [rax]
movups xmmword [rbp + 0x30], xmm6
movups xmm7, xmmword [rax + 0x10]
movups xmmword [rbp + 0x40], xmm7
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
or r14d, 0xa4
mov rdx, qword [rbp + 0xe0]
cmp rdx, 0xf
jbe 0x18004685c
inc rdx
mov rcx, qword [rbp + 0xc8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180046857
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180046b5f
call fcn.180150c1c
movups xmmword [rbp + 0xc8], xmm6
movups xmmword [rbp + 0xd8], xmm7
mov qword [rbp + 0x40], rbx
mov qword [rbp + 0x48], 0xf
mov byte [rbp + 0x30], 0
lea rcx, [rbp + 0x30]
call fcn.180010470
nop
lea rcx, [rbp - 0x50]
call fcn.180010470
nop
lea rcx, [rbp - 0x30]
call fcn.180010470
nop
lea rcx, [rbp + 0x70]
call fcn.180010470
mov qword [rbp + 0xc0], rbx
lea rdx, [rbp + 0xc0]
mov rcx, r15
call fcn.180041960
mov rdi, rax
test rax, rax
je 0x180046ac5
xor esi, esi
mov rcx, rdi
call fcn.1800415f0
mov rbx, rax
movabs rax, 0xdcd8854a878e2e2d
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x40]
mov qword [rbp - 0x70], rcx
movabs rax, 0x7e95b143ccf801b8
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x40]
mov qword [rbp - 0x68], rcx
movabs rcx, 0xdcd8854a878e1417
mov qword [rsp + 0x40], rcx
mov rcx, qword [rsp + 0x40]
mov qword [rbp + 0x140], rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x148], rax
movdqa xmm0, xmmword [rbp - 0x70]
xorps xmm0, xmmword [rbp + 0x140]
movdqa xmmword [rbp - 0x70], xmm0
lea rax, [rbp - 0x70]
mov rcx, 0xffffffffffffffff
nop dword [rax + rax]
inc rcx
cmp byte [rax + rcx], 0
jne 0x180046950
movabs rax, 0x7fffffffffffffff
mov rdx, qword [rbp + 0xd8]
sub rax, rdx
cmp rax, rcx
jb 0x180046b66
lea r9, [rbp + 0xc8]
cmp qword [rbp + 0xe0], 0xf
cmova r9, qword [rbp + 0xc8]
mov qword [rsp + 0x30], rcx
lea rax, [rbp - 0x70]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
lea rcx, [rbp + 0x90]
call fcn.180011d20
nop
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rbx + r8], 0
jne 0x1800469b4
mov rdx, rbx
lea rcx, [rbp + 0x90]
call fcn.1800104d0
movups xmm7, xmmword [rax]
movups xmmword [rbp + 0xe8], xmm7
movups xmm6, xmmword [rax + 0x10]
movups xmmword [rbp + 0xf8], xmm6
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
or r14d, 3
lea rcx, [rbp + 0x90]
call fcn.180010470
mov rcx, rdi
call fcn.180041710
mov r11d, eax
lea rdx, [rbp + 0xe8]
psrldq xmm6, 8
movq rcx, xmm6
cmp rcx, 0xf
seta r10b
movq r9, xmm7
cmova rdx, r9
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [rdx + rcx], 0
jne 0x180046a35
lea r8, [rbp + 0xe8]
test r10b, r10b
cmovne r8, r9
mov eax, 0xffffffff
test ecx, ecx
je 0x180046a81
mov r9d, ecx
lea r12, [0x180192eb0]
nop
movsx edx, byte [r8]
mov ecx, eax
xor rdx, rcx
movzx ecx, dl
shr eax, 8
xor eax, dword [r12 + rcx*4]
lea r8, [r8 + 1]
sub r9, 1
jne 0x180046a60
mov r12, qword [rbp - 0x60]
not eax
mov dword [rsp + 0x4c], eax
mov dword [rsp + 0x50], r11d
lea r8, [rsp + 0x4c]
lea rdx, [rbp + 0xb0]
call fcn.1800a0200
nop
lea rcx, [rbp + 0xe8]
call fcn.180010470
lea rdx, [rbp + 0xc0]
mov rcx, r15
call fcn.180041960
mov rdi, rax
test rax, rax
jne 0x1800468c5
lea rcx, [rbp + 0xc8]
call fcn.180010470
inc r13d
movsxd rbx, r13d
mov rcx, r12
call fcn.180041a90
cmp rbx, rax
mov r15d, 0
jb 0x1800463f1
mov rbx, qword [rsp + 0x58]
mov edi, dword [rsp + 0x48]
mov rsi, qword [rbp - 0x58]
inc edi
mov dword [rsp + 0x48], edi
add rbx, 8
mov qword [rsp + 0x58], rbx
mov rcx, rsi
call fcn.180041e00
movsxd rcx, edi
cmp rcx, rax
jb 0x1800463d0
mov rcx, qword [rbp + 0x150]
xor rcx, rsp
call fcn.180150350
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1800051b0
int3
call fcn.1800051b0
int3
call fcn.1800051b0
int3