Function at 0x180030b50
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 [0x1800821d8]
xor esi, esi
mov r13d, ecx
mov rbp, qword [rdi + 0x1a80]
test cl, 0x10
jne 0x180030e23
mov ebx, dword [rbp + 0x114]
test ebx, ebx
je 0x180030b8d
cmp dword [rdi + 0x1ac8], ebx
jne 0x180030e16
cmp byte [rdi + 0x138], sil
je 0x180030e16
test ebx, ebx
jne 0x180030da3
test r13b, 8
je 0x180030e16
test byte [rbp + 0x118], 1
jne 0x180030bce
cmp dword [rdi + 0x1ac8], esi
je 0x180030e16
cmp qword [rdi + 0x1af8], rbp
jne 0x180030e16
lea rdx, [rbp + 0x11c]
mov qword [rsp + 0x90], r15
mov rcx, rbp
call fcn.180034d70
mov dword [rbp + 0x114], eax
mov ebx, eax
mov rsi, qword [0x1800821d8]
mov eax, dword [rsi + 0x1ab4]
test eax, eax
je 0x180030c13
cmp eax, ebx
je 0x180030c13
cmp byte [rsi + 0x1ab8], 0
jne 0x180030c13
xor sil, sil
jmp 0x180030d8f
mov qword [rsp + 0x88], r14
mov r14, qword [rsi + 0x1a80]
cmp qword [rsi + 0x1a88], r14
je 0x180030c33
xor sil, sil
jmp 0x180030d87
mov eax, dword [rsi + 0x1ac8]
test eax, eax
je 0x180030c52
cmp eax, ebx
je 0x180030c52
cmp byte [rsi + 0x1ad5], 0
jne 0x180030c52
xor sil, sil
jmp 0x180030d87
mov r8b, 1
mov qword [rsp + 0x80], r12
lea rdx, [rbp + 0x124]
lea rcx, [rbp + 0x11c]
call fcn.180036a90
test al, al
je 0x180030d7c
cmp byte [rsi + 0x1c4f], 0
jne 0x180030d7c
mov rax, qword [rsi + 0x1bf8]
test rax, rax
je 0x180030cc3
mov rax, qword [rax + 0x368]
test rax, rax
je 0x180030cc3
cmp byte [rax + 0x7f], 0
je 0x180030cc3
cmp rax, qword [r14 + 0x368]
je 0x180030cc3
mov ecx, dword [rax + 0xc]
bt ecx, 0x1b
jb 0x180030d7c
bt ecx, 0x1a
jb 0x180030d7c
test byte [r14 + 0x1b8], 4
jne 0x180030d7c
mov rax, qword [0x1800821d8]
mov dword [rax + 0x1ab4], ebx
mov byte [rax + 0x1ab8], 0
test ebx, ebx
je 0x180030cfc
cmp dword [rax + 0x1abc], ebx
je 0x180030cfc
mov qword [rax + 0x1ac0], 0
cmp byte [rsi + 0x2ffc], 0
je 0x180030d53
cmp dword [rsi + 0x1abc], ebx
jne 0x180030d53
movss xmm0, dword [0x1800733ec]
lea r8, [rbp + 0x124]
mov rcx, qword [0x1800821d8]
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.180044bd0
cmp dword [rsi + 0x3000], ebx
jne 0x180030d5c
int3
cmp byte [rdi + 0x428], 0
mov sil, 1
je 0x180030d7f
mov rdx, rbp
mov ecx, ebx
call fcn.18003efc0
mov rcx, rbp
call fcn.1800345e0
jmp 0x180030d7f
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 0x180030e16
jmp 0x180030da9
mov eax, dword [rdi + 0x1ac8]
mov byte [rdi + 0x1ad5], sil
cmp eax, ebx
jne 0x180030e16
mov rax, qword [rbp + 0xc8]
movsxd rcx, dword [rbp + 0xc0]
mov esi, dword [rax + rcx*4 - 4]
mov rax, qword [0x1800821d8]
cmp byte [rax + 0x138], 0
jne 0x180030dda
xor al, al
jmp 0x180030df8
mov rax, qword [0x1800821d8]
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 0x180030ee4
xor al, al
add rsp, 0x50
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov eax, dword [0x180073c10]
xor ebp, ebp
cmp byte [0x180073c15], sil
movsd xmm0, qword [0x180073c08]
mov dword [rsp + 0x48], eax
movzx eax, word [0x180073c14]
mov word [rsp + 0x4c], ax
movsd qword [rsp + 0x40], xmm0
je 0x180030e92
xor r8d, r8d
movabs r9, 0x4e5e0a72f0539783
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, 0x31
movzx eax, r8b
sub al, cl
add al, 0x31
xor byte [rsp + r8 + 0x40], al
inc r8
cmp r8, 0xe
jb 0x180030e60
movzx r8d, byte [rsp + 0x40]
lea rdx, [rsp + 0x41]
mov r9d, 0xffffffff
mov ebx, r9d
test r8b, r8b
je 0x180030ee2
lea r10, [0x180073550]
cmp r8b, 0x23
jne 0x180030ec5
cmp byte [rdx], r8b
jne 0x180030ec5
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 0x180030eb2
not ebx
cmp byte [rdi + 0x1f1c], 0
jne 0x180030f16
call fcn.180032440
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 0x180030f65
xor edx, edx
xor ecx, ecx
call fcn.180031350
cmp dword [rdi + 0x1f90], 0
je 0x180030f65
test dword [rdi + 0x1f84], 0x1000
je 0x180030f65
mov rax, qword [rdi + 0x1a80]
mov byte [rax + 0x83], 1
mov dword [rax + 0x9c], 1
test r13b, 0x12
jne 0x180030f72
and dword [rbp + 0x118], 0xfffffffe
mov al, 1
add rsp, 0x50
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret