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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1c8]
sub rsp, 0x2a0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x1801b5040]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov ebx, ecx
mov dword [rbp + 0xd8], ecx
xor r14d, r14d
mov dword [rsp + 0x40], r14d
lea rcx, [rbp]
call fcn.18009d440
mov edx, ebx
mov rcx, rax
call fcn.1800a0080
test al, al
je 0x1800429e9
lea rdx, [rbp + 0xd8]
call fcn.18009d340
mov eax, dword [rax]
jmp 0x180043278
call fcn.180042070
mov rsi, rax
mov qword [rsp + 0x50], rax
mov rcx, rax
call fcn.180041f40
mov rbx, rax
mov qword [rsp + 0x58], rax
xor edi, edi
mov dword [rsp + 0x48], edi
mov rcx, rsi
call fcn.180041e00
test rax, rax
je 0x180043276
movabs r15, 0x7e95b143ccf801b8
nop word [rax + rax]
mov rax, qword [rbx]
mov r13, qword [rax]
mov qword [rsp + 0x60], r13
xor r12d, r12d
mov rcx, r13
call fcn.180041a90
test rax, rax
je 0x180043253
xor ebx, ebx
mov rdx, qword [r13]
xorps xmm0, xmm0
movups xmmword [rbp + 0xe0], xmm0
mov qword [rbp + 0xf0], rbx
mov qword [rbp + 0xf8], rbx
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x180042a74
lea rcx, [rbp + 0xe0]
call fcn.180010f40
nop
movabs rax, 0xdcd8854aebe27039
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x40], r15
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x78], rax
movabs rax, 0xdcd8854a878e1417
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x120], rax
mov qword [rsp + 0x40], r15
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x128], rax
movdqa xmm0, xmmword [rsp + 0x70]
xorps xmm0, xmmword [rbp + 0x120]
movdqa xmmword [rsp + 0x70], xmm0
lea rax, [rsp + 0x70]
mov rdx, 0xffffffffffffffff
nop
inc rdx
cmp byte [rax + rdx], 0
jne 0x180042b00
lea rcx, [rbp + 0xe0]
cmp qword [rbp + 0xf8], 0xf
seta sil
mov rdi, qword [rbp + 0xe0]
cmova rcx, rdi
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x70]
mov rbx, qword [rbp + 0xf0]
mov rdx, rbx
call fcn.1800a16c0
cmp rbx, rax
jb 0x18004330d
mov rcx, rbx
sub rcx, rax
mov edx, 4
cmp rcx, rdx
cmovb rdx, rcx
lea rcx, [rbp + 0xe0]
test sil, sil
cmovne rcx, rdi
add rcx, rax
sub rbx, rdx
mov r8, rbx
sub r8, rax
inc r8
add rdx, rcx
call sub.VCRUNTIME140.dll_memmove
mov qword [rbp + 0xf0], rbx
movsxd rdx, r12d
mov rcx, r13
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 + 0x20], rax
mov qword [rbp + 0x28], rax
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdi + r8], al
jne 0x180042bb5
mov rdx, rdi
lea rcx, [rbp + 0x10]
call fcn.180010f40
cmp qword [rbp + 0x20], 0
sete bl
lea rcx, [rbp + 0x10]
call fcn.180010470
movabs rcx, 0x7e95b143ccf801b8
test bl, bl
je 0x180042d6f
movabs rax, 0xdcd8854a878e2e2d
mov qword [rsp + 0x40], rax
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 rax, 0xdcd8854a878e1417
mov qword [rsp + 0x40], rax
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 [rbp - 0x80]
xorps xmm0, xmmword [rbp + 0x130]
movdqa xmmword [rbp - 0x80], xmm0
lea rax, [rbp - 0x80]
mov rcx, 0xffffffffffffffff
nop dword [rax + rax]
inc rcx
cmp byte [rax + rcx], 0
jne 0x180042c60
movabs rax, 0x7fffffffffffffff
mov rdx, qword [rbp + 0xf0]
sub rax, rdx
cmp rax, rcx
jb 0x180043313
lea r9, [rbp + 0xe0]
cmp qword [rbp + 0xf8], 0xf
cmova r9, qword [rbp + 0xe0]
mov qword [rsp + 0x30], rcx
lea rax, [rbp - 0x80]
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 [rsi + r8], 0
jne 0x180042cc4
mov rdx, rsi
lea rcx, [rbp + 0x70]
call fcn.1800104d0
movups xmm6, xmmword [rax]
movups xmmword [rbp + 0x30], xmm6
movups xmm7, xmmword [rax + 0x10]
movups xmmword [rbp + 0x40], xmm7
xor ebx, ebx
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], bl
bts r14d, 7
mov rdx, qword [rbp + 0xf8]
cmp rdx, 0xf
jbe 0x180042d3f
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180042d3a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800432b2
call fcn.180150c1c
movups xmmword [rbp + 0xe0], xmm6
movups xmmword [rbp + 0xf0], xmm7
mov qword [rbp + 0x40], rbx
mov qword [rbp + 0x48], 0xf
mov byte [rbp + 0x30], bl
lea rcx, [rbp + 0x30]
call fcn.180010470
nop
lea rcx, [rbp + 0x70]
jmp 0x180042ffc
movabs r8, 0xdcd8854a878e2e2d
mov qword [rsp + 0x40], r8
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x60], rax
mov qword [rsp + 0x40], rcx
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x58], rax
movabs rdx, 0xdcd8854a878e1417
mov qword [rsp + 0x40], rdx
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x140], rax
mov qword [rsp + 0x40], rcx
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x148], rax
movdqa xmm0, xmmword [rbp - 0x60]
xorps xmm0, xmmword [rbp + 0x140]
movdqa xmmword [rbp - 0x60], xmm0
mov qword [rsp + 0x40], r8
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x70], rax
mov qword [rsp + 0x40], rcx
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x68], rax
mov qword [rsp + 0x40], rdx
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x150], rax
mov qword [rsp + 0x40], rcx
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x158], rax
movdqa xmm0, xmmword [rbp - 0x70]
xorps xmm0, xmmword [rbp + 0x150]
movdqa xmmword [rbp - 0x70], xmm0
lea rax, [rbp - 0x70]
mov rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp byte [rax + rcx], 0
jne 0x180042e30
movabs rax, 0x7fffffffffffffff
mov rdx, qword [rbp + 0xf0]
sub rax, rdx
cmp rax, rcx
jb 0x180043307
lea r9, [rbp + 0xe0]
cmp qword [rbp + 0xf8], 0xf
cmova r9, qword [rbp + 0xe0]
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
or r14d, 4
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rdi + r8], 0
jne 0x180042ea0
mov rdx, rdi
lea rcx, [rbp + 0x90]
call fcn.1800104d0
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
xor ebx, ebx
mov qword [rbp - 0x10], rbx
mov qword [rbp - 8], rbx
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x10], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], bl
lea rax, [rbp - 0x60]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x180042ef2
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x20]
call fcn.1800104d0
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], rbx
mov qword [rbp - 0x28], rbx
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x30], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rsi + r8], 0
jne 0x180042f40
mov rdx, rsi
lea rcx, [rbp - 0x40]
call fcn.1800104d0
movups xmm6, xmmword [rax]
movups xmmword [rbp + 0x50], xmm6
movups xmm7, xmmword [rax + 0x10]
movups xmmword [rbp + 0x60], xmm7
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
or r14d, 0x38
mov rdx, qword [rbp + 0xf8]
cmp rdx, 0xf
jbe 0x180042fb9
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180042fb4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800432b9
call fcn.180150c1c
movups xmmword [rbp + 0xe0], xmm6
movups xmmword [rbp + 0xf0], xmm7
mov qword [rbp + 0x60], rbx
mov qword [rbp + 0x68], 0xf
mov byte [rbp + 0x50], 0
lea rcx, [rbp + 0x50]
call fcn.180010470
nop
lea rcx, [rbp - 0x40]
call fcn.180010470
nop
lea rcx, [rbp - 0x20]
call fcn.180010470
nop
lea rcx, [rbp + 0x90]
call fcn.180010470
mov qword [rbp + 0xd0], rbx
lea rdx, [rbp + 0xd0]
mov rcx, r15
call fcn.180041960
mov rdi, rax
test rax, rax
je 0x180043218
movabs rsi, 0xdcd8854a878e1417
nop dword [rax]
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 - 0x50], rcx
movabs rax, 0x7e95b143ccf801b8
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x40]
mov qword [rbp - 0x48], rcx
mov qword [rsp + 0x40], rsi
mov rcx, qword [rsp + 0x40]
mov qword [rbp + 0x160], rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x168], rax
movdqa xmm0, xmmword [rbp - 0x50]
xorps xmm0, xmmword [rbp + 0x160]
movdqa xmmword [rbp - 0x50], xmm0
lea rax, [rbp - 0x50]
mov rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp byte [rax + rcx], 0
jne 0x1800430b0
movabs rax, 0x7fffffffffffffff
mov rdx, qword [rbp + 0xf0]
sub rax, rdx
cmp rax, rcx
jb 0x180043319
lea r9, [rbp + 0xe0]
cmp qword [rbp + 0xf8], 0xf
cmova r9, qword [rbp + 0xe0]
mov qword [rsp + 0x30], rcx
lea rax, [rbp - 0x50]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
lea rcx, [rbp + 0xb0]
call fcn.180011d20
nop
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rbx + r8], 0
jne 0x180043114
mov rdx, rbx
lea rcx, [rbp + 0xb0]
call fcn.1800104d0
movups xmm7, xmmword [rax]
movups xmmword [rbp + 0x100], xmm7
movups xmm6, xmmword [rax + 0x10]
movups xmmword [rbp + 0x110], xmm6
xor ebx, ebx
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], bl
or r14d, 3
lea rcx, [rbp + 0xb0]
call fcn.180010470
lea rdx, [rbp + 0x100]
psrldq xmm6, 8
movq rax, xmm6
cmp rax, 0xf
seta r10b
movq r9, xmm7
cmova rdx, r9
mov rcx, 0xffffffffffffffff
nop dword [rax + rax]
inc rcx
cmp byte [rdx + rcx], 0
jne 0x180043190
lea r8, [rbp + 0x100]
test r10b, r10b
cmovne r8, r9
mov eax, 0xffffffff
test ecx, ecx
je 0x1800431e3
mov r9d, ecx
lea r13, [0x180192eb0]
nop word [rax + rax]
movsx edx, byte [r8]
mov ecx, eax
xor rdx, rcx
movzx ecx, dl
shr eax, 8
xor eax, dword [r13 + rcx*4]
lea r8, [r8 + 1]
sub r9, 1
jne 0x1800431c0
mov r13, qword [rsp + 0x60]
not eax
cmp eax, dword [rbp + 0xd8]
je 0x1800432c0
lea rcx, [rbp + 0x100]
call fcn.180010470
lea rdx, [rbp + 0xd0]
mov rcx, r15
call fcn.180041960
mov rdi, rax
test rax, rax
jne 0x180043030
lea rcx, [rbp + 0xe0]
call fcn.180010470
inc r12d
mov rcx, r13
call fcn.180041a90
movsxd rcx, r12d
cmp rcx, rax
movabs r15, 0x7e95b143ccf801b8
jb 0x180042a51
mov rbx, qword [rsp + 0x58]
mov edi, dword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
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 0x180042a30
xor eax, eax
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.180150350
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
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
mov rcx, rdi
call fcn.180041710
mov ebx, eax
mov ecx, dword [rbp + 0xd8]
mov dword [rsp + 0x50], ecx
mov dword [rsp + 0x54], ebx
lea r8, [rsp + 0x50]
lea rdx, [rbp]
call fcn.1800a0200
nop
lea rcx, [rbp + 0x100]
call fcn.180010470
nop
lea rcx, [rbp + 0xe0]
call fcn.180010470
mov eax, ebx
jmp 0x180043278
call fcn.1800051b0
int3
call fcn.1800105d0
int3
call fcn.1800051b0
int3
call fcn.1800051b0
int3