Function at 0x1801596d0
Capabilities:
Hash data with crc32

Disassembly:
mov rax, rsp
push rbx
push rsi
push rdi
sub rsp, 0x80
mov rbx, qword [0x1802eec40]
xor r9d, r9d
mov qword [rax + 0x20], rbp
mov qword [rax - 0x28], r13
mov qword [rax - 0x30], r14
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x68], xmm8
mov eax, dword [rbx + 0x4b68]
sub eax, 1
mov qword [rsp + 0xa0], rbx
mov qword [rsp + 0xb0], r9
mov byte [rsp + 0xa8], r9b
js 0x180159753
movsxd rdx, eax
mov rax, qword [rbx + 0x4b70]
imul r8, rdx, 0x38
add rax, 8
add r8, rax
mov rsi, qword [r8]
test rsi, rsi
je 0x180159749
test dword [rsi + 0x14], 0x8000000
jne 0x180159819
sub r8, 0x38
sub rdx, 1
jns 0x180159734
mov rsi, r9
xorps xmm8, xmm8
cmp qword [rbx + 0x4d90], r9
je 0x1801597a9
cmp qword [rbx + 0x4d88], r9
jne 0x1801597a9
comiss xmm8, dword [rbx + 0x4dc0]
movss xmm0, dword [rbx + 0x18]
movss xmm1, dword [rbx + 0x4da4]
mulss xmm0, dword [0x1801d8184]
subss xmm1, xmm0
maxss xmm1, xmm8
movss dword [rbx + 0x4da4], xmm1
jb 0x1801597a9
comiss xmm8, xmm1
jb 0x1801597a9
mov qword [rbx + 0x4d90], r9
mov ebx, 0xffffffff
lea rdx, [0x18022f199]
mov edi, ebx
lea r9, [0x18022d4c0]
mov r8b, 0x23
cmp r8b, 0x23
jne 0x1801597d3
cmp byte [rdx], r8b
jne 0x1801597d3
cmp byte [rdx + 1], r8b
cmove edi, ebx
movzx ecx, dil
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr edi, 8
inc rdx
xor edi, dword [r9 + rcx*4]
test r8b, r8b
jne 0x1801597c1
mov rbx, qword [rsp + 0xa0]
not edi
mov qword [rsp + 0x60], r15
mov r13d, dword [rbx + 8]
movzx eax, r13b
test r13b, 2
je 0x180159825
test byte [rbx + 0xc], 1
je 0x180159825
mov r15b, 1
jmp 0x18015982c
mov qword [rbx + 0x4d88], r9
jmp 0x180159756
xor r15b, r15b
movzx r13d, al
and r13b, 1
mov qword [rsp + 0x78], r12
test rsi, rsi
jne 0x1801598a9
mov ebp, dword [rbx + 0x4d7c]
test ebp, ebp
je 0x1801598a9
mov rcx, qword [0x1802eec40]
lea eax, [rdi + 1]
mov r14d, edi
test eax, 0xfffffffe
jne 0x18015985f
mov r14d, dword [rcx + 0x49fc]
test dword [rcx + 0x4a00], 0x400
jne 0x1801598a9
mov r8d, r14d
mov edx, 0x2001
mov ecx, ebp
call fcn.1801617b0
test al, al
je 0x1801598a9
mov r8d, r14d
mov edx, 0x2021
mov ecx, ebp
call fcn.180154170
test al, al
je 0x1801598a9
and ebp, 0xf000
xor r8d, r8d
mov ecx, ebp
mov edx, r14d
call fcn.180161290
mov r12b, 1
jmp 0x1801598b1
xor r12b, r12b
test rsi, rsi
jne 0x180159920
mov ebp, dword [rbx + 0x4d80]
test ebp, ebp
je 0x180159920
mov rcx, qword [0x1802eec40]
lea eax, [rdi + 1]
mov r14d, edi
test eax, 0xfffffffe
jne 0x1801598d6
mov r14d, dword [rcx + 0x49fc]
test dword [rcx + 0x4a00], 0x400
jne 0x180159920
mov r8d, r14d
mov edx, 0x2001
mov ecx, ebp
call fcn.1801617b0
test al, al
je 0x180159920
mov r8d, r14d
mov edx, 0x2021
mov ecx, ebp
call fcn.180154170
test al, al
je 0x180159920
and ebp, 0xf000
xor r8d, r8d
mov ecx, ebp
mov edx, r14d
call fcn.180161290
mov bpl, 1
jmp 0x180159928
xor bpl, bpl
test rsi, rsi
jne 0x18015996b
test r15b, r15b
je 0x18015996b
cmp qword [rbx + 0x4d88], 0
jne 0x18015996b
mov rax, qword [0x1802eec40]
cmp byte [rax + 0x28c4], 0
je 0x18015996b
movss xmm0, dword [rax + 0x28c8]
comiss xmm8, xmm0
ja 0x18015996b
ucomiss xmm0, xmm8
jp 0x18015996b
jne 0x18015996b
cmp byte [rax + 0x4710], 0
jne 0x18015996b
mov r11b, 1
jmp 0x18015997c
xor r11b, r11b
test rsi, rsi
jne 0x18015998b
cmp qword [rbx + 0x4d88], rsi
jne 0x18015998b
test r12b, r12b
jne 0x180159986
test bpl, bpl
je 0x18015998b
mov sil, 1
jmp 0x18015998e
xor sil, sil
test r11b, r11b
jne 0x18015999c
test sil, sil
je 0x180159a83
mov rax, qword [rbx + 0x4ba8]
test rax, rax
jne 0x180159a0e
mov r8d, dword [rbx + 0x4028]
sub r8d, 1
mov r9, qword [0x1802eec40]
js 0x180159a07
movsxd r10, dword [r9 + 0x4028]
movsxd rdx, r8d
cmp rdx, r10
jge 0x180159a07
cmp rdx, 0xffffffff80000001
je 0x180159a07
mov rax, qword [r9 + 0x4030]
mov rcx, qword [rax + rdx*8]
cmp byte [rcx + 0xcb], 0
je 0x1801599fe
cmp rcx, qword [rcx + 0x390]
jne 0x1801599fe
test dword [rcx + 0x14], 0x20000
je 0x180159a7a
dec r8d
sub rdx, 1
jns 0x1801599c6
xor eax, eax
test rax, rax
je 0x180159a83
mov rax, qword [rax + 0x390]
xor r15d, r15d
mov qword [rbx + 0x4d90], rax
mov qword [rbx + 0x4d88], rax
movzx eax, sil
xor eax, 1
mov qword [rbx + 0x4da0], r15
add eax, 2
mov qword [rbx + 0x4db8], r15
mov qword [rbx + 0x4db0], r15
mov byte [rbx + 0x4da8], r11b
mov dword [rbx + 0x4bf0], eax
test r12b, r12b
jne 0x180159a5c
test bpl, bpl
je 0x180159a86
mov ecx, dword [rbx + 0x4d80]
xor r8d, r8d
or ecx, dword [rbx + 0x4d7c]
mov edx, edi
and ecx, 0xf000
call fcn.180161290
jmp 0x180159a86
movsxd rcx, r8d
mov rax, qword [rax + rcx*8]
jmp 0x180159a09
xor r15d, r15d
cmp qword [rbx + 0x4d88], 0
movss xmm0, dword [rbx + 0x18]
addss xmm0, dword [rbx + 0x4da0]
movss xmm5, dword [0x1801d8384]
movss xmm6, dword [0x18022f3c4]
movss xmm4, dword [0x1801d8180]
movss dword [rbx + 0x4da0], xmm0
je 0x180159cb1
cmp dword [rbx + 0x4bf0], 3
jne 0x180159cb1
subss xmm0, xmm5
divss xmm0, xmm6
comiss xmm8, xmm0
jbe 0x180159ae2
movaps xmm1, xmm8
jmp 0x180159ae9
movaps xmm1, xmm4
minss xmm1, xmm0
movss xmm0, dword [rbx + 0x4da4]
mov edx, 0xffffffff
maxss xmm0, xmm1
movss dword [rbx + 0x4da4], xmm0
mov rdi, qword [0x1802eec40]
cmp byte [rdi + 0x2944], 0
je 0x180159ba8
movss xmm0, dword [rdi + 0x2948]
comiss xmm8, xmm0
ja 0x180159ba8
ucomiss xmm0, xmm8
jp 0x180159b30
je 0x180159b99
movss xmm2, dword [rdi + 0x74]
comiss xmm0, xmm2
movss xmm3, dword [rdi + 0x78]
jbe 0x180159ba8
ucomiss xmm0, xmm8
movaps xmm1, xmm0
subss xmm1, dword [rdi + 0x18]
jp 0x180159b4f
je 0x180159b99
comiss xmm1, xmm0
jae 0x180159ba8
comiss xmm8, xmm3
jb 0x180159b69
comiss xmm2, xmm1
jbe 0x180159b64
comiss xmm0, xmm2
jae 0x180159b99
mov eax, r15d
jmp 0x180159b95
comiss xmm2, xmm1
jbe 0x180159b72
mov ecx, edx
jmp 0x180159b7e
subss xmm1, xmm2
divss xmm1, xmm3
cvttss2si ecx, xmm1
comiss xmm2, xmm0
jbe 0x180159b87
mov eax, edx
jmp 0x180159b93
subss xmm0, xmm2
divss xmm0, xmm3
cvttss2si eax, xmm0
sub eax, ecx
test eax, eax
jle 0x180159ba8
cmp byte [rdi + 0x4770], 0
mov ecx, r15d
sete cl
jmp 0x180159bab
mov ecx, r15d
cmp byte [rdi + 0x2954], 0
je 0x180159c46
movss xmm0, dword [rdi + 0x2958]
comiss xmm8, xmm0
ja 0x180159c46
ucomiss xmm0, xmm8
jp 0x180159bd2
je 0x180159c37
movss xmm2, dword [rdi + 0x74]
comiss xmm0, xmm2
movss xmm3, dword [rdi + 0x78]
jbe 0x180159c46
ucomiss xmm0, xmm8
movaps xmm1, xmm0
subss xmm1, dword [rdi + 0x18]
jp 0x180159bf1
je 0x180159c37
comiss xmm1, xmm0
jae 0x180159c46
comiss xmm8, xmm3
jb 0x180159c0b
comiss xmm2, xmm1
jbe 0x180159c06
comiss xmm0, xmm2
jae 0x180159c37
mov edx, r15d
jmp 0x180159c33
comiss xmm2, xmm1
jbe 0x180159c14
mov eax, edx
jmp 0x180159c20
subss xmm1, xmm2
divss xmm1, xmm3
cvttss2si eax, xmm1
comiss xmm2, xmm0
ja 0x180159c31
subss xmm0, xmm2
divss xmm0, xmm3
cvttss2si edx, xmm0
sub edx, eax
test edx, edx
jle 0x180159c46
cmp byte [rdi + 0x477c], 0
mov eax, r15d
sete al
jmp 0x180159c49
mov eax, r15d
sub ecx, eax
je 0x180159c63
call fcn.18015a3b0
mov dword [rbx + 0x4da4], 0x3f800000
mov rdi, qword [0x1802eec40]
cmp byte [rdi + 0x28c4], 0
je 0x180159c75
cmp byte [rdi + 0x4710], 0
je 0x180159cb8
comiss xmm4, dword [rbx + 0x4da4]
seta al
and byte [rbx + 0x4da8], al
je 0x180159c9b
cmp qword [rbx + 0x4ba8], 0
je 0x180159caa
mov byte [rsp + 0xa8], 1
jmp 0x180159caa
mov rax, qword [rbx + 0x4d88]
mov qword [rsp + 0xb0], rax
mov qword [rbx + 0x4d88], r15
mov rdi, qword [0x1802eec40]
cmp qword [rbx + 0x4d88], 0
je 0x180159d76
cmp dword [rbx + 0x4bf0], 2
jne 0x180159d76
mov eax, dword [rbx + 0x4d7c]
mov ecx, 0xf000
movss xmm0, dword [rbx + 0x4da0]
test eax, eax
subss xmm0, xmm5
mov edx, 0xf000
cmovne ecx, eax
mov eax, dword [rbx + 0x4d80]
test eax, eax
cmovne edx, eax
and edx, ecx
divss xmm0, xmm6
mov ecx, edx
and ecx, 0xf000
comiss xmm8, xmm0
jbe 0x180159d19
movaps xmm4, xmm8
jmp 0x180159d1d
minss xmm4, xmm0
movss xmm0, dword [rbx + 0x4da4]
maxss xmm0, xmm4
movss dword [rbx + 0x4da4], xmm0
test r12b, r12b
jne 0x180159d5c
test bpl, bpl
jne 0x180159d5c
mov eax, dword [rbx + 0x130]
mov rdi, qword [0x1802eec40]
and eax, edx
and eax, 0xf000
cmp eax, ecx
je 0x180159d76
mov r14, qword [rbx + 0x4d88]
jmp 0x180159d7e
movzx ecx, r12b
xor ecx, 1
lea ecx, [rcx*2 - 1]
call fcn.18015a3b0
mov rdi, qword [0x1802eec40]
mov r14, qword [rsp + 0xb0]
mov r12, qword [rsp + 0x78]
lea rsi, [rsp + 0x20]
mov ebp, 0x211
mov dword [rsp + 0x24], 0x215
mov dword [rsp + 0x20], ebp
nop dword [rax]
test r13b, r13b
je 0x180159db8
xor edx, edx
mov r8d, 0xffffffff
mov ecx, ebp
call fcn.180154440
test al, al
jne 0x180159dca
add rsi, 4
lea rax, [rsp + 0x28]
cmp rsi, rax
je 0x180159de8
mov ebp, dword [rsi]
jmp 0x180159da0
mov byte [rbx + 0x4da8], 1
mov dword [rbx + 0x4dac], ebp
mov dword [rbx + 0x4bf0], 2
mov rdi, qword [0x1802eec40]
cmp byte [rbx + 0x4da8], 0
mov ebp, 1
mov r13, qword [rsp + 0x70]
je 0x180159fc1
cmp dword [rbx + 0x4bf0], 2
jne 0x180159fc1
cmp dword [rbx + 0x2ba8], 0
jg 0x180159e30
cmp byte [rbx + 0x12c], 0
jne 0x180159e30
cmp byte [rbx + 0x12d], 0
jne 0x180159e30
cmp byte [rbx + 0x12f], 0
je 0x180159e3e
mov byte [rbx + 0x4da8], 0
mov rdi, qword [0x1802eec40]
mov ecx, dword [rbx + 0x4dac]
lea eax, [rcx - 0x200]
cmp eax, 0x99
jbe 0x180159e71
cmp ecx, 0x1000
je 0x180159e71
cmp ecx, 0x2000
je 0x180159e71
cmp ecx, 0x4000
je 0x180159e71
cmp ecx, 0x8000
jne 0x180159ee2
cmp byte [rdi + 0x49f4], 0
je 0x180159e8e
cmp dword [rdi + 0x40e4], 0xffffffff
je 0x180159e8e
lea eax, [rcx - 0x200]
cmp eax, 0x76
jbe 0x180159eeb
test ecx, 0xf000
je 0x180159ed1
cmp ecx, 0x1000
jne 0x180159ea5
mov ecx, 0x296
jmp 0x180159ed1
cmp ecx, 0x2000
jne 0x180159eb4
mov ecx, 0x297
jmp 0x180159ed1
cmp ecx, 0x4000
jne 0x180159ec3
mov ecx, 0x298
jmp 0x180159ed1
cmp ecx, 0x8000
mov eax, 0x299
cmove ecx, eax
movsxd rax, ecx
lea rcx, [rax + rax*2]
cmp dword [rdi + rcx*4 + 0x295c], 0xffffffff
jne 0x180159eeb
cmp dword [rdi + 0x487c], 0xffffffff
je 0x180159ef9
mov byte [rbx + 0x4da8], 0
mov rdi, qword [0x1802eec40]
mov ecx, dword [rbx + 0x4dac]
call fcn.180154620
test al, al
je 0x180159fa5
cmp byte [rbx + 0x4da8], 0
je 0x180159fa5
cmp dword [rbx + 0x40e4], 0
je 0x180159f2b
cmp byte [rbx + 0x40f1], 0
je 0x180159fa5
lea rax, [rbx + 0x110]
test rax, rax
jne 0x180159f3e
lea rax, [rdi + 0x110]
movss xmm0, dword [rax]
movss xmm1, dword [0x18022f434]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x180159f5f
comiss xmm2, xmm1
jb 0x180159f5f
movzx ecx, bpl
jmp 0x180159f61
xor cl, cl
lea rax, [rbx + 0x2ad8]
test rax, rax
jne 0x180159f74
lea rax, [rdi + 0x110]
movss xmm0, dword [rax]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x180159f8d
comiss xmm2, xmm1
jb 0x180159f8d
movzx eax, bpl
jmp 0x180159f8f
xor al, al
mov edx, dword [rsp + 0xa8]
cmp cl, al
movzx edx, dl
cmove edx, ebp
mov dword [rsp + 0xa8], edx
mov ecx, dword [rbx + 0x4dac]
call fcn.180154290
test al, al
jne 0x180159fc1
mov byte [rbx + 0x4da8], al
mov rdi, qword [0x1802eec40]
mov rax, qword [rbx + 0x4d88]
test rax, rax
je 0x18015a134
test byte [rax + 0x14], 4
jne 0x18015a134
mov eax, dword [rbx + 0x4bf0]
movaps xmm2, xmm8
movaps xmm3, xmm8
cmp eax, 2
jne 0x18015a019
cmp byte [rbx + 0x12d], 0
jne 0x18015a03e
movss xmm2, dword [rdi + 0x2160]
movss xmm3, dword [rdi + 0x2180]
subss xmm2, dword [rdi + 0x2150]
subss xmm3, dword [rdi + 0x2170]
jmp 0x18015a03e
cmp eax, 3
jne 0x18015a03e
movss xmm2, dword [rdi + 0x29c0]
movss xmm3, dword [rdi + 0x29e0]
subss xmm2, dword [rdi + 0x29b0]
subss xmm3, dword [rdi + 0x29d0]
ucomiss xmm2, xmm8
jp 0x18015a052
jne 0x18015a052
ucomiss xmm3, xmm8
jp 0x18015a052
je 0x18015a134
movss xmm1, dword [rbx + 0x50]
xorps xmm6, xmm6
movss xmm0, dword [rbx + 0x18]
minss xmm1, dword [rbx + 0x54]
mulss xmm0, dword [0x18022f424]
mov byte [rbx + 0x4c03], bpl
movaps xmmword [rsp + 0x40], xmm7
xorps xmm7, xmm7
mulss xmm1, xmm0
mulss xmm2, xmm1
mulss xmm3, xmm1
addss xmm2, dword [rbx + 0x4db0]
addss xmm3, dword [rbx + 0x4db4]
cvttss2si eax, xmm2
movss dword [rbx + 0x4db0], xmm2
movss dword [rbx + 0x4db4], xmm3
cvtsi2ss xmm7, eax
cvttss2si eax, xmm3
ucomiss xmm7, xmm8
cvtsi2ss xmm6, eax
jp 0x18015a0c7
jne 0x18015a0c7
ucomiss xmm6, xmm8
jp 0x18015a0c7
je 0x18015a12f
mov rax, qword [rbx + 0x4d88]
lea rdx, [rsp + 0xa0]
movaps xmm0, xmm7
movaps xmm1, xmm6
mov r8d, ebp
mov rcx, qword [rax + 0x390]
addss xmm0, dword [rcx + 0x28]
addss xmm1, dword [rcx + 0x2c]
movss dword [rsp + 0xa0], xmm0
movss dword [rsp + 0xa4], xmm1
call fcn.180161b70
movss xmm0, dword [rbx + 0x4db0]
movss xmm1, dword [rbx + 0x4db4]
subss xmm0, xmm7
subss xmm1, xmm6
movss dword [rbx + 0x4db0], xmm0
movss dword [rbx + 0x4db4], xmm1
movaps xmm7, xmmword [rsp + 0x40]
movaps xmm8, xmmword [rsp + 0x30]
movaps xmm6, xmmword [rsp + 0x50]
test r14, r14
je 0x18015a2bf
mov rax, qword [rbx + 0x4ba8]
test rax, rax
je 0x18015a161
cmp r14, qword [rax + 0x390]
je 0x18015a2b8
call fcn.18014c4a0
mov rax, qword [0x1802eec40]
mov word [rax + 0x4c01], bp
mov byte [rax + 0x4c03], bpl
mov rdi, qword [0x1802eec40]
mov r11d, dword [rdi + 0x4b68]
test r11d, r11d
je 0x18015a284
mov esi, r15d
jle 0x18015a20e
mov r9, qword [rdi + 0x4b70]
mov r10, r15
add r9, 8
cmp qword [r9], 0
je 0x18015a1ff
mov r8d, esi
cmp esi, r11d
jge 0x18015a284
mov rdx, qword [rdi + 0x4b70]
add rdx, 8
add rdx, r10
mov rcx, qword [rdx]
test rcx, rcx
je 0x18015a1f1
mov rax, r14
cmp qword [r14 + 0x390], rcx
je 0x18015a1ff
nop dword [rax]
cmp rax, rcx
je 0x18015a1ff
mov rax, qword [rax + 0x388]
test rax, rax
jne 0x18015a1e0
inc r8d
add rdx, 0x38
cmp r8d, r11d
jl 0x18015a1c5
jmp 0x18015a213
inc esi
add r10, 0x38
add r9, 0x38
cmp esi, r11d
jl 0x18015a1a5
cmp esi, r11d
jge 0x18015a284
test byte [rdi + 0x6184], 4
je 0x18015a24d
mov rdx, qword [r14 + 8]
lea rcx, str._popup__ClosePopupsOverWindow___s___n
call fcn.18014d8c0
mov rdi, qword [0x1802eec40]
test byte [rdi + 0x6184], 4
je 0x18015a24d
xor r8d, r8d
lea rcx, str._popup__ClosePopupToLevel__d___restore_under_d_n
mov edx, esi
call fcn.18014d8c0
mov ecx, dword [rdi + 0x4b6c]
cmp esi, ecx
jle 0x18015a27e
test ecx, ecx
je 0x18015a266
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18015a26b
mov eax, 8
cmp eax, esi
lea rcx, [rdi + 0x4b68]
mov edx, esi
cmovg edx, eax
call fcn.180167f20
mov dword [rdi + 0x4b68], esi
mov edx, ebp
mov rcx, r14
call fcn.18014feb0
mov rdi, qword [rbx + 0x4ba8]
cmp dword [rdi + 0x3c0], 0
jne 0x18015a2a8
xor edx, edx
mov rcx, rdi
call fcn.180156260
cmp word [rdi + 0x176], 2
jne 0x18015a2b8
mov dword [rbx + 0x4bb8], ebp
mov qword [rbx + 0x4d88], r15
cmp byte [rsp + 0xa8], 0
mov r14, qword [rsp + 0x68]
mov rbp, qword [rsp + 0xb8]
je 0x18015a394
cmp qword [rbx + 0x4ba8], 0
je 0x18015a394
call fcn.18014c4a0
mov rdi, qword [rbx + 0x4ba8]
lea rcx, [rdi + 0x380]
cmp qword [rcx], 0
je 0x18015a329
test byte [rdi + 0x174], 2
jne 0x18015a329
mov eax, dword [rdi + 0x14]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x18015a329
mov rdi, qword [rcx]
lea rcx, [rdi + 0x380]
cmp qword [rcx], 0
jne 0x18015a301
mov rsi, qword [rbx + 0x4ba8]
cmp rdi, rsi
je 0x18015a346
xor edx, edx
mov rcx, rdi
call fcn.18014feb0
mov qword [rdi + 0x3b8], rsi
mov rax, qword [rbx + 0x4ba8]
test byte [rax + 0x174], 2
je 0x18015a361
mov ecx, dword [rbx + 0x4bb8]
xor ecx, 1
jmp 0x18015a364
mov ecx, r15d
cmp ecx, dword [rbx + 0x4bb8]
je 0x18015a394
cmp ecx, 1
jne 0x18015a378
mov dword [rax + 0x3c4], r15d
call fcn.180157050
mov rax, qword [0x1802eec40]
mov word [rax + 0x4c01], 1
mov byte [rax + 0x4c03], 1
mov r15, qword [rsp + 0x60]
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret