Function at 0x180022d50
Capabilities:
Hash data with crc32

Disassembly:
mov r11, rsp
push rbx
push rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x180312040]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rsi, qword [0x180313130]
xor r9d, r9d
mov qword [r11 + 8], rbp
mov rdi, rsi
mov qword [r11 + 0x10], r12
mov qword [r11 - 0x20], r14
mov eax, dword [rsi + 0x4c88]
sub eax, 1
mov qword [r11 - 0x28], r15
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [r11 - 0x58], xmm10
mov qword [rsp + 0x30], r9
mov byte [rsp + 0x24], r9b
js 0x180022ddf
movsxd rdx, eax
mov rax, qword [rsi + 0x4c90]
imul r8, rdx, 0x38
add rax, 8
add r8, rax
nop dword [rax]
mov rbp, qword [r8]
test rbp, rbp
je 0x180022dd5
test dword [rbp + 0x14], 0x8000000
jne 0x180022f15
sub r8, 0x38
sub rdx, 1
jns 0x180022dc0
lea r14, [rsi + 0x4f38]
mov rbp, r9
mov rax, qword [r14]
xorps xmm10, xmm10
cmp qword [rsi + 0x4f40], r9
je 0x180022e3b
test rax, rax
jne 0x180022e3b
comiss xmm10, dword [rsi + 0x4f70]
movss xmm0, dword [rsi + 0x18]
movss xmm1, dword [rsi + 0x4f54]
mulss xmm0, dword [0x180301cd8]
subss xmm1, xmm0
maxss xmm1, xmm10
movss dword [rsi + 0x4f54], xmm1
jb 0x180022e3b
comiss xmm10, xmm1
jb 0x180022e3b
mov qword [rsi + 0x4f40], r9
mov esi, 0xffffffff
lea rdx, [0x1802bb249]
mov ebx, esi
lea r9, [0x1802bc0e0]
mov r8b, 0x23
cmp r8b, 0x23
jne 0x180022e65
cmp byte [rdx], r8b
jne 0x180022e65
cmp byte [rdx + 1], r8b
cmove ebx, esi
movzx ecx, bl
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr ebx, 8
inc rdx
xor ebx, dword [r9 + rcx*4]
test r8b, r8b
jne 0x180022e53
mov eax, dword [rdi + 8]
not ebx
mov rsi, qword [0x180313130]
test al, 2
je 0x180022e9d
test byte [rdi + 0xc], 1
mov byte [rsp + 0x28], 1
jne 0x180022ea2
mov byte [rsp + 0x28], 0
and al, 1
mov qword [rsp + 0xc0], r13
mov dword [rsp + 0x38], eax
test rbp, rbp
jne 0x180022f2e
mov r12d, dword [rdi + 0x4f30]
test r12d, r12d
je 0x180022f2e
lea eax, [rbx + 1]
mov r15d, ebx
test eax, 0xfffffffe
jne 0x180022edf
lea eax, [rbx + 1]
test eax, 0xfffffffe
jne 0x180022edf
mov r15d, dword [rsi + 0x4b00]
mov r8d, 0x11001
mov edx, r15d
mov ecx, r12d
call fcn.18001ab80
test al, al
je 0x180022f27
mov r8d, 0x11021
mov edx, r15d
mov ecx, r12d
call fcn.18001d020
test al, al
je 0x180022f27
mov rsi, qword [0x180313130]
mov r13b, 1
jmp 0x180022f36
lea r14, [rsi + 0x4f38]
mov rax, r9
mov qword [r14], r9
jmp 0x180022dec
mov rsi, qword [0x180313130]
xor r13b, r13b
test rbp, rbp
jne 0x180022f9d
mov r12d, dword [rdi + 0x4f34]
test r12d, r12d
je 0x180022f9d
lea eax, [rbx + 1]
mov r15d, ebx
test eax, 0xfffffffe
jne 0x180022f60
lea eax, [rbx + 1]
test eax, 0xfffffffe
jne 0x180022f60
mov r15d, dword [rsi + 0x4b00]
mov r8d, 0x11001
mov edx, r15d
mov ecx, r12d
call fcn.18001ab80
test al, al
je 0x180022f96
mov r8d, 0x11021
mov edx, r15d
mov ecx, r12d
call fcn.18001d020
test al, al
je 0x180022f96
mov rsi, qword [0x180313130]
mov r12b, 1
jmp 0x180022fa5
mov rsi, qword [0x180313130]
xor r12b, r12b
test rbp, rbp
jne 0x180022fca
cmp byte [rsp + 0x28], 0
je 0x180022fca
cmp qword [r14], 0
jne 0x180022fca
xor r8d, r8d
xor edx, edx
mov ecx, 0x279
call fcn.18001aea0
test al, al
je 0x180022fca
mov r15b, 1
jmp 0x180022fd7
xor r15b, r15b
test rbp, rbp
jne 0x180022fe6
cmp qword [r14], rbp
jne 0x180022fe6
test r13b, r13b
jne 0x180022fe1
test r12b, r12b
je 0x180022fe6
mov bpl, 1
jmp 0x180022fe9
xor bpl, bpl
test r15b, r15b
jne 0x180022ff7
test bpl, bpl
je 0x18002310c
mov rax, qword [rdi + 0x4d40]
test rax, rax
jne 0x180023022
mov ecx, dword [rdi + 0x4130]
lea r8d, [rax - 1]
dec ecx
mov edx, 0x80000001
call fcn.180022c20
test rax, rax
je 0x18002310c
mov rax, qword [rax + 0x3c0]
mov qword [rdi + 0x4f40], rax
mov qword [r14], rax
xor eax, eax
mov qword [rdi + 0x4f50], rax
mov qword [rdi + 0x4f68], rax
mov qword [rdi + 0x4f60], rax
movzx eax, bpl
xor eax, 1
mov byte [rdi + 0x4f58], r15b
add eax, 2
mov dword [rdi + 0x4d8c], eax
test r13b, r13b
jne 0x18002306f
test r12b, r12b
je 0x18002310c
mov eax, dword [rdi + 0x4f34]
or eax, dword [rdi + 0x4f30]
bt eax, 0xc
jae 0x180023096
mov dword [rsi + 0x4968], ebx
mov dword [rsi + 0x4964], ebx
mov word [rsi + 0x496c], 0
bt eax, 0xd
jae 0x1800230b1
mov dword [rsi + 0x4974], ebx
mov dword [rsi + 0x4970], ebx
mov word [rsi + 0x4978], 0
bt eax, 0xe
jae 0x1800230cc
mov dword [rsi + 0x4980], ebx
mov dword [rsi + 0x497c], ebx
mov word [rsi + 0x4984], 0
bt eax, 0xf
jae 0x1800230e7
mov dword [rsi + 0x498c], ebx
mov dword [rsi + 0x4988], ebx
mov word [rsi + 0x4990], 0
bt eax, 0xb
jae 0x18002310c
cmp byte [rsi + 0x61], 0
mov eax, 0x4964
mov ecx, 0x4988
cmovne eax, ecx
mov dword [rax + rsi + 4], ebx
mov dword [rax + rsi], ebx
mov word [rax + rsi + 8], 0
movss xmm0, dword [rdi + 0x4f50]
mov r15d, 1
mov rbp, qword [r14]
movss xmm6, dword [0x180301b8c]
mov rdx, rbp
movaps xmmword [rsp + 0x60], xmm7
addss xmm0, dword [rdi + 0x18]
movss dword [rdi + 0x4f50], xmm0
test rbp, rbp
je 0x18002321f
cmp dword [rdi + 0x4d8c], 3
jne 0x180023228
subss xmm0, dword [0x180301b24]
divss xmm0, dword [0x180301b00]
comiss xmm10, xmm0
jbe 0x18002316c
movaps xmm1, xmm10
jmp 0x180023173
movaps xmm1, xmm6
minss xmm1, xmm0
movss xmm7, dword [rdi + 0x4f54]
mov r8d, r15d
maxss xmm7, xmm1
xor edx, edx
mov ecx, 0x282
movss dword [rdi + 0x4f54], xmm7
call fcn.18001aea0
mov r8d, r15d
movzx ebx, al
xor edx, edx
mov ecx, 0x281
call fcn.18001aea0
movzx ecx, al
sub ecx, ebx
je 0x1800231c4
call fcn.180022cb0
mov rbp, qword [r14]
movaps xmm7, xmm6
mov dword [rdi + 0x4f54], 0x3f800000
mov edx, 0x279
mov rcx, rsi
call fcn.18001a520
cmp byte [rax], 0
je 0x1800231e5
cmp byte [rsi + 0x4810], 0
mov rdx, qword [r14]
mov rbp, rdx
je 0x18002321f
comiss xmm6, xmm7
seta al
and byte [rdi + 0x4f58], al
je 0x18002320e
cmp qword [rdi + 0x4d40], 0
je 0x180023213
mov byte [rsp + 0x24], r15b
mov qword [r14], 0
jmp 0x1800232d3
mov qword [rsp + 0x30], rbp
mov qword [r14], 0
jmp 0x1800232d3
test rdx, rdx
je 0x1800232d3
cmp dword [rdi + 0x4d8c], 2
jne 0x1800232d3
mov eax, dword [rdi + 0x4f30]
mov ecx, 0xf800
movss xmm0, dword [rdi + 0x4f50]
test eax, eax
subss xmm0, dword [0x180301b24]
cmovne ecx, eax
mov r8d, 0xf800
mov eax, dword [rdi + 0x4f34]
test eax, eax
cmovne r8d, eax
divss xmm0, dword [0x180301b00]
and r8d, ecx
mov ecx, r8d
and ecx, 0xf800
comiss xmm10, xmm0
jbe 0x180023287
movaps xmm6, xmm10
jmp 0x18002328b
minss xmm6, xmm0
movss xmm0, dword [rdi + 0x4f54]
maxss xmm0, xmm6
movss dword [rdi + 0x4f54], xmm0
test r13b, r13b
jne 0x1800232c0
test r12b, r12b
jne 0x1800232c0
mov eax, dword [rdi + 0xe6c]
and eax, r8d
and eax, 0xf800
cmp eax, ecx
je 0x1800232d3
mov r12, rdx
jmp 0x1800232d8
movzx ecx, r13b
xor ecx, r15d
lea ecx, [rcx*2 - 1]
call fcn.180022cb0
mov r12, qword [rsp + 0x30]
mov r15d, dword [rsp + 0x38]
lea rbx, [rsp + 0x40]
movaps xmm7, xmmword [rsp + 0x60]
mov r13, qword [rsp + 0xc0]
mov dword [rsp + 0x40], 0x211
mov dword [rsp + 0x44], 0x215
nop
mov ebp, dword [rbx]
test r15b, r15b
je 0x18002331a
xor r8d, r8d
mov edx, 0xffffffff
mov ecx, ebp
call fcn.18001aea0
test al, al
jne 0x18002332a
add rbx, 4
lea rax, [rsp + 0x48]
cmp rbx, rax
jne 0x180023300
jmp 0x180023341
mov byte [rdi + 0x4f58], 1
mov dword [rdi + 0x4f5c], ebp
mov dword [rdi + 0x4d8c], 2
cmp byte [rdi + 0x4f58], 0
mov r15, qword [rsp + 0x80]
je 0x1800234e9
cmp dword [rdi + 0x4d8c], 2
jne 0x1800234e9
cmp dword [rdi + 0x3910], 0
jg 0x180023387
cmp byte [rdi + 0xe68], 0
jne 0x180023387
cmp byte [rdi + 0xe69], 0
jne 0x180023387
cmp byte [rdi + 0xe6b], 0
je 0x18002338e
mov byte [rdi + 0x4f58], 0
mov r11d, dword [rdi + 0x4f5c]
lea eax, [r11 - 0x200]
cmp eax, 0x99
jbe 0x1800233d0
cmp r11d, 0x1000
je 0x1800233d0
cmp r11d, 0x2000
je 0x1800233d0
cmp r11d, 0x4000
je 0x1800233d0
cmp r11d, 0x8000
je 0x1800233d0
cmp r11d, 0x800
jne 0x180023412
cmp byte [rsi + 0x4af4], 0
je 0x1800233f8
cmp dword [rsi + 0x41e4], 0xffffffff
je 0x1800233f8
lea eax, [r11 - 0x200]
cmp eax, 0x76
ja 0x1800233f8
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x24], eax
jmp 0x180023423
mov edx, r11d
mov rcx, rsi
call fcn.1800085d0
cmp dword [rax], 0xffffffff
je 0x180023412
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x24], eax
jmp 0x180023423
cmp dword [rsi + 0x497c], 0xffffffff
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x24], eax
je 0x18002342a
mov byte [rdi + 0x4f58], 0
mov ecx, r11d
call fcn.18001b010
test al, al
je 0x1800234d0
cmp byte [rdi + 0x4f58], 0
je 0x1800234d0
cmp dword [rdi + 0x41e4], 0
je 0x180023459
cmp byte [rdi + 0x41f1], 0
je 0x1800234d0
lea rax, [rdi + 0x3814]
test rax, rax
jne 0x18002346c
lea rax, [rsi + 0xe48]
movss xmm0, dword [rax]
movss xmm1, dword [0x180301de0]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x18002348b
comiss xmm2, xmm1
jb 0x18002348b
mov cl, 1
jmp 0x18002348d
xor cl, cl
lea rax, [rdi + 0xe48]
test rax, rax
jne 0x1800234a0
lea rax, [rsi + 0xe48]
movss xmm0, dword [rax]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x1800234b7
comiss xmm2, xmm1
jb 0x1800234b7
mov al, 1
jmp 0x1800234b9
xor al, al
mov edx, dword [rsp + 0x24]
cmp al, cl
movzx edx, dl
mov ebp, 1
cmove edx, ebp
mov dword [rsp + 0x24], edx
jmp 0x1800234d5
mov ebp, 1
mov ecx, r11d
call fcn.18001ae20
test al, al
jne 0x1800234ee
mov byte [rdi + 0x4f58], al
jmp 0x1800234ee
mov ebp, 1
mov rax, qword [r14]
test rax, rax
je 0x18002368b
test byte [rax + 0x14], 4
jne 0x18002368b
mov eax, dword [rdi + 0x4d8c]
cmp eax, 2
jne 0x180023550
cmp byte [rdi + 0xe69], 0
jne 0x18002368b
mov edx, 0x203
mov rcx, rsi
call fcn.18001a520
mov edx, 0x201
mov rcx, rsi
mov r10, rax
call fcn.18001a520
mov edx, 0x202
mov rcx, rsi
mov r9, rax
call fcn.18001a520
mov edx, 0x204
jmp 0x18002358b
cmp eax, 3
jne 0x18002368b
mov edx, 0x289
mov rcx, rsi
call fcn.18001a520
mov edx, 0x287
mov rcx, rsi
mov r10, rax
call fcn.18001a520
mov edx, 0x288
mov rcx, rsi
mov r9, rax
call fcn.18001a520
mov edx, 0x28a
movss xmm2, dword [rax + 0xc]
mov rcx, rsi
subss xmm2, dword [r9 + 0xc]
call fcn.18001a520
ucomiss xmm2, xmm10
movss xmm3, dword [rax + 0xc]
subss xmm3, dword [r10 + 0xc]
jp 0x1800235bd
jne 0x1800235bd
ucomiss xmm3, xmm10
jp 0x1800235bd
je 0x18002368b
movss xmm1, dword [rdi + 0x50]
xorps xmm6, xmm6
minss xmm1, dword [rdi + 0x54]
movss xmm0, dword [rdi + 0x18]
xorps xmm5, xmm5
mulss xmm0, dword [0x180301d48]
mov byte [rdi + 0x4da3], 1
mulss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm1, xmm3
mulss xmm0, xmm2
addss xmm1, dword [rdi + 0x4f64]
addss xmm0, dword [rdi + 0x4f60]
movss dword [rdi + 0x4f64], xmm1
cvttss2si eax, xmm0
movss dword [rdi + 0x4f60], xmm0
cvtsi2ss xmm6, eax
cvttss2si eax, xmm1
ucomiss xmm6, xmm10
cvtsi2ss xmm5, eax
jp 0x180023630
jne 0x180023630
ucomiss xmm5, xmm10
jp 0x180023630
je 0x18002368b
mov rax, qword [r14]
lea rdx, [rsp + 0x30]
movaps xmm0, xmm6
movaps xmm1, xmm5
mov r8d, ebp
mov rcx, qword [rax + 0x3d0]
addss xmm0, dword [rcx + 0x58]
addss xmm1, dword [rcx + 0x5c]
movss dword [rsp + 0x30], xmm0
movss dword [rsp + 0x34], xmm1
call fcn.180019f00
movss xmm0, dword [rdi + 0x4f64]
movss xmm4, dword [rdi + 0x4f60]
subss xmm0, xmm5
subss xmm4, xmm6
movss dword [rdi + 0x4f64], xmm0
movss dword [rdi + 0x4f60], xmm4
movaps xmm10, xmmword [rsp + 0x50]
movaps xmm6, xmmword [rsp + 0x70]
test r12, r12
je 0x180023738
mov rax, qword [rdi + 0x4d40]
test rax, rax
je 0x1800236ba
cmp r12, qword [rax + 0x3c0]
je 0x180023731
mov rsi, qword [rax + 0x40]
jmp 0x1800236bc
xor esi, esi
xor edx, edx
xor ecx, ecx
call fcn.18000e4a0
mov rax, qword [0x180313130]
xor edx, edx
mov rcx, r12
mov word [rax + 0x4da1], 1
mov byte [rax + 0x4da3], 1
call fcn.18001eb10
mov edx, ebp
mov rcx, r12
call fcn.180019850
mov rbx, qword [rdi + 0x4d40]
cmp dword [rbx + 0x3f8], 0
jne 0x18002370a
xor edx, edx
mov rcx, rbx
call fcn.180020800
cmp word [rbx + 0x19e], 2
jne 0x18002371a
mov dword [rdi + 0x4d90], ebp
mov rcx, qword [rbx + 0x40]
cmp rcx, rsi
je 0x180023731
mov rax, qword [rdi + 0x3958]
test rax, rax
je 0x180023731
call rax
mov qword [r14], 0
cmp byte [rsp + 0x24], 0
mov r14, qword [rsp + 0x88]
mov r12, qword [rsp + 0xb8]
mov rbp, qword [rsp + 0xb0]
je 0x180023828
cmp qword [rdi + 0x4d40], 0
je 0x180023828
xor edx, edx
xor ecx, ecx
call fcn.18000e4a0
mov rsi, qword [rdi + 0x4d40]
mov rbx, rsi
lea rcx, [rsi + 0x3b0]
cmp qword [rcx], 0
je 0x1800237ce
nop dword [rax]
test byte [rbx + 0x19c], 2
jne 0x1800237b8
mov eax, dword [rbx + 0x14]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x1800237b8
mov rbx, qword [rcx]
lea rcx, [rbx + 0x3b0]
cmp qword [rcx], 0
jne 0x180023790
cmp rbx, rsi
je 0x1800237ce
xor edx, edx
mov rcx, rbx
call fcn.180019850
mov qword [rbx + 0x3f0], rsi
mov rax, qword [rdi + 0x4d40]
test byte [rax + 0x19c], 2
je 0x1800237e9
mov ecx, dword [rdi + 0x4d90]
xor ecx, 1
jmp 0x1800237eb
xor ecx, ecx
cmp ecx, dword [rdi + 0x4d90]
je 0x180023828
cmp ecx, 1
jne 0x18002380c
cmp qword [rbx + 0x460], 0
jne 0x18002380c
mov dword [rax + 0x3fc], 0
call fcn.180020750
mov rax, qword [0x180313130]
mov word [rax + 0x4da1], 1
mov byte [rax + 0x4da3], 1
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.18009ce10
add rsp, 0x90
pop rdi
pop rsi
pop rbx
ret