Function at 0x180037460
Capabilities:
Hash data with crc32

Disassembly:
mov rax, rsp
push rbx
push rsi
push rdi
sub rsp, 0x60
mov rsi, qword [0x180078a28]
xor r9d, r9d
mov qword [rax + 0x20], rbp
mov rdi, rsi
mov qword [rax - 0x20], r12
mov qword [rax - 0x30], r14
mov r14d, r9d
movaps xmmword [rax - 0x58], xmm7
mov eax, dword [rsi + 0x4878]
sub eax, 1
mov byte [rsp + 0x88], r9b
js 0x1800374d1
movsxd rdx, eax
mov rax, qword [rsi + 0x4880]
imul r8, rdx, 0x38
add rax, 8
add r8, rax
mov rbp, qword [r8]
test rbp, rbp
je 0x1800374c7
test dword [rbp + 0x14], 0x8000000
jne 0x18003758a
sub r8, 0x38
sub rdx, 1
jns 0x1800374b2
mov rax, qword [rsi + 0x4a18]
mov rbp, r9
xorps xmm7, xmm7
cmp qword [rsi + 0x4a20], r9
je 0x180037526
test rax, rax
jne 0x180037526
comiss xmm7, dword [rsi + 0x4a4c]
movss xmm0, dword [rsi + 0x18]
movss xmm1, dword [rsi + 0x4a34]
mulss xmm0, dword [0x18006d460]
subss xmm1, xmm0
maxss xmm1, xmm7
movss dword [rsi + 0x4a34], xmm1
jb 0x180037526
comiss xmm7, xmm1
jb 0x180037526
mov qword [rsi + 0x4a20], r9
mov esi, 0xffffffff
lea rdx, [0x18006cac9]
mov ebx, esi
lea r9, [0x180067140]
mov r8b, 0x23
nop
cmp r8b, 0x23
jne 0x180037552
cmp byte [rdx], r8b
jne 0x180037552
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 0x180037540
mov eax, dword [rdi + 8]
not ebx
mov rsi, qword [0x180078a28]
test al, 2
je 0x180037599
test byte [rdi + 0xc], 1
je 0x180037599
mov r12b, 1
jmp 0x18003759c
mov qword [rsi + 0x4a18], r9
mov rax, r9
jmp 0x1800374db
xor r12b, r12b
and al, 1
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x90], eax
test rbp, rbp
jne 0x1800375d5
mov ecx, dword [rdi + 0x4a10]
test ecx, ecx
je 0x1800375d5
mov edx, ebx
call fcn.180032720
mov rsi, qword [0x180078a28]
test al, al
je 0x1800375d5
mov r15b, 1
jmp 0x1800375dd
xor r15b, r15b
test rbp, rbp
jne 0x1800375fe
mov ecx, dword [rdi + 0x4a14]
test ecx, ecx
je 0x1800375fe
mov edx, ebx
call fcn.180032720
mov rsi, qword [0x180078a28]
test al, al
je 0x1800375fe
mov r13b, 1
jmp 0x180037606
xor r13b, r13b
test rbp, rbp
jne 0x18003762c
test r12b, r12b
je 0x18003762c
cmp qword [rdi + 0x4a18], r14
jne 0x18003762c
xor r8d, r8d
xor edx, edx
mov ecx, 0x26b
call fcn.180030820
test al, al
je 0x18003762c
mov r12b, 1
jmp 0x18003763d
xor r12b, r12b
test rbp, rbp
jne 0x18003764c
cmp qword [rdi + 0x4a18], r14
jne 0x18003764c
test r15b, r15b
jne 0x180037647
test r13b, r13b
je 0x18003764c
mov bpl, 1
jmp 0x18003764f
xor bpl, bpl
test r12b, r12b
jne 0x18003765d
test bpl, bpl
je 0x180037771
mov rax, qword [rdi + 0x48b0]
test rax, rax
jne 0x180037688
mov ecx, dword [rdi + 0x3e80]
lea r8d, [rax - 1]
dec ecx
mov edx, 0x80000001
call fcn.180037330
test rax, rax
je 0x180037771
mov rax, qword [rax + 0x378]
mov qword [rdi + 0x4a20], rax
mov qword [rdi + 0x4a18], rax
xor eax, eax
mov qword [rdi + 0x4a30], rax
mov qword [rdi + 0x4a44], rax
mov qword [rdi + 0x4a3c], rax
movzx eax, bpl
xor eax, 1
mov byte [rdi + 0x4a38], r12b
add eax, 2
mov dword [rdi + 0x48e4], eax
test r15b, r15b
jne 0x1800376d9
test r13b, r13b
je 0x180037771
mov eax, dword [rdi + 0x4a14]
or eax, dword [rdi + 0x4a10]
bt eax, 0xc
jae 0x1800376ff
mov dword [rsi + 0x45dc], ebx
mov dword [rsi + 0x45d8], ebx
mov word [rsi + 0x45e0], r14w
bt eax, 0xd
jae 0x180037719
mov dword [rsi + 0x45e8], ebx
mov dword [rsi + 0x45e4], ebx
mov word [rsi + 0x45ec], r14w
bt eax, 0xe
jae 0x180037733
mov dword [rsi + 0x45f4], ebx
mov dword [rsi + 0x45f0], ebx
mov word [rsi + 0x45f8], r14w
bt eax, 0xf
jae 0x18003774d
mov dword [rsi + 0x4600], ebx
mov dword [rsi + 0x45fc], ebx
mov word [rsi + 0x4604], r14w
bt eax, 0xb
jae 0x180037771
cmp byte [rsi + 0x79], r14b
mov eax, 0x45d8
mov ecx, 0x45fc
cmovne eax, ecx
mov dword [rax + rsi + 4], ebx
mov dword [rax + rsi], ebx
mov word [rax + rsi + 8], r14w
movss xmm0, dword [rdi + 0x4a30]
mov r12d, 1
mov rbp, qword [rdi + 0x4a18]
movss xmm5, dword [0x18006d408]
mov rdx, rbp
movaps xmmword [rsp + 0x30], xmm6
addss xmm0, dword [rdi + 0x18]
movss dword [rdi + 0x4a30], xmm0
test rbp, rbp
je 0x180037898
cmp dword [rdi + 0x48e4], 3
jne 0x1800378a1
subss xmm0, dword [0x18006d3bc]
divss xmm0, dword [0x18006d3ac]
comiss xmm7, xmm0
jbe 0x1800377d3
movaps xmm1, xmm7
jmp 0x1800377da
movaps xmm1, xmm5
minss xmm1, xmm0
movss xmm6, dword [rdi + 0x4a34]
mov r8d, r12d
maxss xmm6, xmm1
xor edx, edx
mov ecx, 0x273
movss dword [rdi + 0x4a34], xmm6
call fcn.180030820
mov r8d, r12d
movzx ebx, al
xor edx, edx
mov ecx, 0x274
call fcn.180030820
movzx edx, al
mov ecx, ebx
sub ecx, edx
je 0x180037831
call fcn.1800373c0
mov rbp, qword [rdi + 0x4a18]
movaps xmm6, xmm5
mov dword [rdi + 0x4a34], 0x3f800000
mov edx, 0x26b
mov rcx, rsi
call fcn.180030110
cmp byte [rax], r14b
je 0x180037856
mov rdx, qword [rdi + 0x4a18]
mov rbp, rdx
cmp byte [rsi + 0x4484], r14b
je 0x180037898
comiss xmm5, xmm6
seta al
and byte [rdi + 0x4a38], al
je 0x180037885
cmp qword [rdi + 0x48b0], r14
je 0x180037888
mov byte [rsp + 0x88], r12b
mov qword [rdi + 0x4a18], 0
jmp 0x18003794a
mov r14, rbp
mov qword [rdi + 0x4a18], 0
jmp 0x18003794a
test rdx, rdx
je 0x18003794a
cmp dword [rdi + 0x48e4], 2
jne 0x18003794a
mov eax, dword [rdi + 0x4a10]
mov ecx, 0xf800
movss xmm0, dword [rdi + 0x4a30]
test eax, eax
subss xmm0, dword [0x18006d3bc]
cmovne ecx, eax
mov r8d, 0xf800
mov eax, dword [rdi + 0x4a14]
test eax, eax
cmovne r8d, eax
divss xmm0, dword [0x18006d3ac]
and r8d, ecx
mov ecx, r8d
and ecx, 0xf800
comiss xmm7, xmm0
jbe 0x1800378fe
movaps xmm5, xmm7
jmp 0x180037902
minss xmm5, xmm0
movss xmm0, dword [rdi + 0x4a34]
maxss xmm0, xmm5
movss dword [rdi + 0x4a34], xmm0
test r15b, r15b
jne 0x180037937
test r13b, r13b
jne 0x180037937
mov eax, dword [rdi + 0xe28]
and eax, r8d
and eax, 0xf800
cmp eax, ecx
je 0x18003794a
mov r14, rdx
jmp 0x18003794a
movzx ecx, r15b
xor ecx, r12d
lea ecx, [rcx*2 - 1]
call fcn.1800373c0
cmp byte [rsp + 0x90], 0
mov r15, qword [rsp + 0x40]
mov r13, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x98]
je 0x18003798d
xor r8d, r8d
mov edx, 0xffffffff
mov ecx, 0x4000
call fcn.180030820
test al, al
je 0x18003798d
mov byte [rdi + 0x4a38], r12b
mov dword [rdi + 0x48e4], 2
cmp byte [rdi + 0x4a38], 0
je 0x180037ac4
cmp dword [rdi + 0x48e4], 2
jne 0x180037ac4
cmp dword [rdi + 0x37c0], 0
jg 0x1800379d4
cmp byte [rdi + 0xe24], 0
jne 0x1800379d4
cmp byte [rdi + 0xe25], 0
jne 0x1800379d4
cmp byte [rdi + 0xe27], 0
jne 0x1800379d4
cmp dword [rsi + 0x45f0], 0xffffffff
je 0x1800379db
mov byte [rdi + 0x4a38], 0
mov edx, 0x4000
mov rcx, rsi
call fcn.180030110
comiss xmm7, dword [rax + 8]
ja 0x180037aa2
cmp byte [rax], 0
jne 0x180037aa2
cmp byte [rsi + 0x45f8], 0
jne 0x180037aa2
cmp byte [rdi + 0x4a38], 0
je 0x180037aa2
cmp dword [rdi + 0x3f30], 0
je 0x180037a27
cmp byte [rdi + 0x3f3d], 0
je 0x180037aa2
lea rax, [rdi + 0x36f0]
test rax, rax
jne 0x180037a3a
lea rax, [rsi + 0xe08]
movss xmm0, dword [rax]
movss xmm1, dword [0x18006d51c]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x180037a5b
comiss xmm2, xmm1
jb 0x180037a5b
movzx ecx, r12b
jmp 0x180037a5d
xor cl, cl
lea rax, [rdi + 0xe08]
test rax, rax
jne 0x180037a70
lea rax, [rsi + 0xe08]
movss xmm0, dword [rax]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x180037a89
comiss xmm2, xmm1
jb 0x180037a89
movzx eax, r12b
jmp 0x180037a8b
xor al, al
mov edx, dword [rsp + 0x88]
cmp al, cl
movzx edx, dl
cmove edx, r12d
mov dword [rsp + 0x88], edx
mov edx, 0x4000
mov rcx, rsi
call fcn.180030110
cmp byte [rax], 0
je 0x180037abd
cmp byte [rsi + 0x45f8], 0
je 0x180037ac4
mov byte [rdi + 0x4a38], 0
mov rax, qword [rdi + 0x4a18]
test rax, rax
je 0x180037c6b
test byte [rax + 0x14], 4
jne 0x180037c6b
mov eax, dword [rdi + 0x48e4]
cmp eax, 2
jne 0x180037b2a
cmp byte [rdi + 0xe25], 0
jne 0x180037c6b
mov edx, 0x203
mov rcx, rsi
call fcn.180030110
mov edx, 0x201
mov rcx, rsi
mov r10, rax
call fcn.180030110
mov edx, 0x202
mov rcx, rsi
mov r9, rax
call fcn.180030110
mov edx, 0x204
jmp 0x180037b65
cmp eax, 3
jne 0x180037c6b
mov edx, 0x27b
mov rcx, rsi
call fcn.180030110
mov edx, 0x279
mov rcx, rsi
mov r10, rax
call fcn.180030110
mov edx, 0x27a
mov rcx, rsi
mov r9, rax
call fcn.180030110
mov edx, 0x27c
movss xmm2, dword [rax + 0xc]
mov rcx, rsi
subss xmm2, dword [r9 + 0xc]
call fcn.180030110
ucomiss xmm2, xmm7
movss xmm3, dword [rax + 0xc]
subss xmm3, dword [r10 + 0xc]
jp 0x180037b95
jne 0x180037b95
ucomiss xmm3, xmm7
jp 0x180037b95
je 0x180037c6b
movss xmm1, dword [rdi + 0x70]
xorps xmm6, xmm6
movss xmm0, dword [rdi + 0x18]
xorps xmm5, xmm5
minss xmm1, dword [rdi + 0x74]
mulss xmm0, dword [0x18006d4e0]
mov byte [rdi + 0x48ef], r12b
mulss xmm1, xmm0
mulss xmm2, xmm1
mulss xmm3, xmm1
addss xmm2, dword [rdi + 0x4a3c]
addss xmm3, dword [rdi + 0x4a40]
cvttss2si eax, xmm2
movss dword [rdi + 0x4a3c], xmm2
movss dword [rdi + 0x4a40], xmm3
cvtsi2ss xmm6, eax
cvttss2si eax, xmm3
ucomiss xmm6, xmm7
cvtsi2ss xmm5, eax
jp 0x180037c03
jne 0x180037c03
ucomiss xmm5, xmm7
jp 0x180037c03
je 0x180037c6b
mov rax, qword [rdi + 0x4a18]
lea rdx, [rsp + 0x80]
movaps xmm0, xmm6
movaps xmm1, xmm5
mov r8d, r12d
mov rcx, qword [rax + 0x378]
addss xmm0, dword [rcx + 0x20]
addss xmm1, dword [rcx + 0x24]
movss dword [rsp + 0x80], xmm0
movss dword [rsp + 0x84], xmm1
call fcn.18002fe10
movss xmm0, dword [rdi + 0x4a40]
movss xmm4, dword [rdi + 0x4a3c]
subss xmm0, xmm5
subss xmm4, xmm6
movss dword [rdi + 0x4a40], xmm0
movss dword [rdi + 0x4a3c], xmm4
movaps xmm7, xmmword [rsp + 0x20]
movaps xmm6, xmmword [rsp + 0x30]
test r14, r14
je 0x180037d08
mov rax, qword [rdi + 0x48b0]
test rax, rax
je 0x180037c93
cmp r14, qword [rax + 0x378]
je 0x180037cfd
call fcn.180027ae0
mov rax, qword [0x180078a28]
mov word [rax + 0x48ed], r12w
mov byte [rax + 0x48ef], r12b
mov rax, qword [r14 + 0x398]
test rax, rax
je 0x180037cc5
cmp byte [rax + 0xb7], 0
cmovne r14, rax
xor edx, edx
mov rcx, r14
call fcn.180033420
mov rcx, r14
call fcn.18002fa60
cmp dword [r14 + 0x3a0], 0
jne 0x180037ceb
xor edx, edx
mov rcx, r14
call fcn.180034f00
cmp word [r14 + 0x15e], 2
jne 0x180037cfd
mov dword [rdi + 0x48e8], r12d
mov qword [rdi + 0x4a18], 0
cmp byte [rsp + 0x88], 0
mov r14, qword [rsp + 0x48]
mov r12, qword [rsp + 0x58]
je 0x180037ddc
cmp qword [rdi + 0x48b0], 0
je 0x180037ddc
call fcn.180027ae0
mov rsi, qword [rdi + 0x48b0]
mov rbx, rsi
lea rcx, [rsi + 0x368]
cmp qword [rcx], 0
je 0x180037d8c
nop word [rax + rax]
test byte [rbx + 0x15c], 2
jne 0x180037d78
mov eax, dword [rbx + 0x14]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x180037d78
mov rbx, qword [rcx]
lea rcx, [rbx + 0x368]
cmp qword [rcx], 0
jne 0x180037d50
cmp rbx, rsi
je 0x180037d8c
mov rcx, rbx
call fcn.18002fa60
mov qword [rbx + 0x398], rsi
mov rax, qword [rdi + 0x48b0]
test byte [rax + 0x15c], 2
je 0x180037da7
mov ecx, dword [rdi + 0x48e8]
xor ecx, 1
jmp 0x180037da9
xor ecx, ecx
cmp ecx, dword [rdi + 0x48e8]
je 0x180037ddc
cmp ecx, 1
jne 0x180037dc0
mov dword [rax + 0x3a4], 0
call fcn.180034e10
mov rax, qword [0x180078a28]
mov word [rax + 0x48ed], 1
mov byte [rax + 0x48ef], 1
add rsp, 0x60
pop rdi
pop rsi
pop rbx
ret