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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r13
sub rsp, 0x50
mov rdi, qword [0x180147368]
xor esi, esi
mov r13d, ecx
mov rbp, qword [rdi + 0x1a80]
test cl, 0x10
jne 0x180044343
mov ebx, dword [rbp + 0x114]
test ebx, ebx
je 0x1800440ad
cmp dword [rdi + 0x1ac8], ebx
jne 0x180044336
cmp byte [rdi + 0x138], sil
je 0x180044336
test ebx, ebx
jne 0x1800442c3
test r13b, 8
je 0x180044336
test byte [rbp + 0x118], 1
jne 0x1800440ee
cmp dword [rdi + 0x1ac8], esi
je 0x180044336
cmp qword [rdi + 0x1af8], rbp
jne 0x180044336
lea rdx, [rbp + 0x11c]
mov qword [rsp + 0x90], r15
mov rcx, rbp
call fcn.180048360
mov dword [rbp + 0x114], eax
mov ebx, eax
mov rsi, qword [0x180147368]
mov eax, dword [rsi + 0x1ab4]
test eax, eax
je 0x180044133
cmp eax, ebx
je 0x180044133
cmp byte [rsi + 0x1ab8], 0
jne 0x180044133
xor sil, sil
jmp 0x1800442af
mov qword [rsp + 0x88], r14
mov r14, qword [rsi + 0x1a80]
cmp qword [rsi + 0x1a88], r14
je 0x180044153
xor sil, sil
jmp 0x1800442a7
mov eax, dword [rsi + 0x1ac8]
test eax, eax
je 0x180044172
cmp eax, ebx
je 0x180044172
cmp byte [rsi + 0x1ad5], 0
jne 0x180044172
xor sil, sil
jmp 0x1800442a7
mov r8b, 1
mov qword [rsp + 0x80], r12
lea rdx, [rbp + 0x124]
lea rcx, [rbp + 0x11c]
call fcn.18004a0f0
test al, al
je 0x18004429c
cmp byte [rsi + 0x1c4f], 0
jne 0x18004429c
mov rax, qword [rsi + 0x1bf8]
test rax, rax
je 0x1800441e3
mov rax, qword [rax + 0x368]
test rax, rax
je 0x1800441e3
cmp byte [rax + 0x7f], 0
je 0x1800441e3
cmp rax, qword [r14 + 0x368]
je 0x1800441e3
mov ecx, dword [rax + 0xc]
bt ecx, 0x1b
jb 0x18004429c
bt ecx, 0x1a
jb 0x18004429c
test byte [r14 + 0x1b8], 4
jne 0x18004429c
mov rax, qword [0x180147368]
mov dword [rax + 0x1ab4], ebx
mov byte [rax + 0x1ab8], 0
test ebx, ebx
je 0x18004421c
cmp dword [rax + 0x1abc], ebx
je 0x18004421c
mov qword [rax + 0x1ac0], 0
cmp byte [rsi + 0x2ffc], 0
je 0x180044273
cmp dword [rsi + 0x1abc], ebx
jne 0x180044273
movss xmm0, dword [0x180004c54]
lea r8, [rbp + 0x124]
mov rcx, qword [0x180147368]
lea rdx, [rbp + 0x11c]
movss dword [rsp + 0x30], xmm0
xorps xmm1, xmm1
mov dword [rsp + 0x28], 0xf
add rcx, 0x1e70
mov r9d, 0xff00ffff
movss dword [rsp + 0x20], xmm1
call fcn.18006f940
cmp dword [rsi + 0x3000], ebx
jne 0x18004427c
int3
cmp byte [rdi + 0x428], 0
mov sil, 1
je 0x18004429f
mov rdx, rbp
mov ecx, ebx
call fcn.180052a50
mov rcx, rbp
call fcn.180047b00
jmp 0x18004429f
xor sil, sil
mov r12, qword [rsp + 0x80]
mov r14, qword [rsp + 0x88]
mov eax, dword [rdi + 0x1ac8]
mov r15, qword [rsp + 0x90]
cmp eax, ebx
jne 0x180044336
jmp 0x1800442c9
mov eax, dword [rdi + 0x1ac8]
mov byte [rdi + 0x1ad5], sil
cmp eax, ebx
jne 0x180044336
mov rax, qword [rbp + 0xc8]
movsxd rcx, dword [rbp + 0xc0]
mov esi, dword [rax + rcx*4 - 4]
mov rax, qword [0x180147368]
cmp byte [rax + 0x138], 0
jne 0x1800442fa
xor al, al
jmp 0x180044318
mov rax, qword [0x180147368]
movss xmm1, dword [rax + 0x38]
movss xmm0, dword [rax + 0x494]
mulss xmm1, xmm1
comiss xmm0, xmm1
setae al
mov qword [rdi + 0x1adc], 0xffffffffffffffff
mov qword [rdi + 0x1ae8], 0xffffffffffffffff
test al, al
jne 0x180044404
xor al, al
add rsp, 0x50
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov eax, dword [0x180005c08]
xor ebp, ebp
cmp byte [0x180005c0d], sil
movsd xmm0, qword [0x180005c00]
mov dword [rsp + 0x48], eax
movzx eax, word [0x180005c0c]
mov word [rsp + 0x4c], ax
movsd qword [rsp + 0x40], xmm0
je 0x1800443b2
xor r8d, r8d
movabs r9, 0x47ae147ae147ae15
nop
mov rax, r9
mul r8
mov rax, r8
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 5
movsx eax, al
imul ecx, eax, 0x32
movzx eax, r8b
sub al, cl
add al, 0x31
xor byte [rsp + r8 + 0x40], al
inc r8
cmp r8, 0xe
jb 0x180044380
movzx r8d, byte [rsp + 0x40]
lea rdx, [rsp + 0x41]
mov r9d, 0xffffffff
mov ebx, r9d
test r8b, r8b
je 0x180044402
lea r10, [0x180005550]
cmp r8b, 0x23
jne 0x1800443e5
cmp byte [rdx], r8b
jne 0x1800443e5
cmp byte [rdx + 1], r8b
cmove ebx, r9d
movzx ecx, bl
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr ebx, 8
inc rdx
xor ebx, dword [r10 + rcx*4]
test r8b, r8b
jne 0x1800443d2
not ebx
cmp byte [rdi + 0x1f1c], 0
jne 0x180044436
call fcn.180045960
mov dword [rdi + 0x1f3c], ebx
mov dword [rdi + 0x1f40], esi
mov byte [rdi + 0x1f1c], 1
mov dword [rdi + 0x1f20], r13d
mov dword [rdi + 0x1f28], 0
mov eax, dword [rdi + 0x1a08]
mov dword [rdi + 0x1f24], eax
mov byte [rdi + 0x1f1d], 1
test r13b, 1
jne 0x180044485
xor edx, edx
xor ecx, ecx
call fcn.180044870
cmp dword [rdi + 0x1f90], 0
je 0x180044485
test dword [rdi + 0x1f84], 0x1000
je 0x180044485
mov rax, qword [rdi + 0x1a80]
mov byte [rax + 0x83], 1
mov dword [rax + 0x9c], 1
test r13b, 0x12
jne 0x180044492
and dword [rbp + 0x118], 0xfffffffe
mov al, 1
add rsp, 0x50
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret