Function at 0x180047830
Capabilities:
Hash data with crc32

Disassembly:
mov rax, rsp
push rbx
push rsi
push rdi
sub rsp, 0x80
mov rdi, qword [0x1800d24a8]
xor r9d, r9d
mov qword [rax + 0x20], rbp
mov qword [rax - 0x28], r13
mov qword [rax - 0x30], r14
mov qword [rax - 0x38], r15
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
movaps xmmword [rax - 0x78], xmm9
mov eax, dword [rdi + 0x4888]
sub eax, 1
mov qword [rsp + 0xa0], rdi
mov qword [rsp + 0xb0], r9
mov byte [rsp + 0xa8], r9b
js 0x1800478c0
movsxd rdx, eax
mov rax, qword [rdi + 0x4890]
imul r8, rdx, 0x38
add rax, 8
add r8, rax
mov rsi, qword [r8]
test rsi, rsi
je 0x1800478b6
test dword [rsi + 0x14], 0x8000000
jne 0x180047982
sub r8, 0x38
sub rdx, 1
jns 0x1800478a1
lea r14, [rdi + 0x4a48]
mov rsi, r9
mov rax, qword [r14]
xorps xmm8, xmm8
cmp qword [rdi + 0x4a50], r9
je 0x18004791c
test rax, rax
jne 0x18004791c
comiss xmm8, dword [rdi + 0x4a7c]
movss xmm0, dword [rdi + 0x18]
movss xmm1, dword [rdi + 0x4a64]
mulss xmm0, dword [0x1800c11f4]
subss xmm1, xmm0
maxss xmm1, xmm8
movss dword [rdi + 0x4a64], xmm1
jb 0x18004791c
comiss xmm8, xmm1
jb 0x18004791c
mov qword [rdi + 0x4a50], r9
mov edi, 0xffffffff
lea rdx, [0x1800b7331]
mov ebx, edi
lea r9, [0x1800b7e00]
mov r8b, 0x23
cmp r8b, 0x23
jne 0x180047946
cmp byte [rdx], r8b
jne 0x180047946
cmp byte [rdx + 1], r8b
cmove ebx, edi
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 0x180047934
mov rdi, qword [rsp + 0xa0]
not ebx
mov r13d, dword [rdi + 8]
test r13b, 2
je 0x180047994
test byte [rdi + 0xc], 1
je 0x180047994
mov r15b, 1
jmp 0x180047997
lea r14, [rdi + 0x4a48]
mov rax, r9
mov qword [r14], r9
jmp 0x1800478cd
xor r15b, r15b
and r13b, 1
mov qword [rsp + 0x78], r12
test rsi, rsi
jne 0x1800479c5
mov ecx, dword [rdi + 0x4a40]
test ecx, ecx
je 0x1800479c5
mov r8d, 0x1001
mov edx, ebx
call fcn.180040310
test al, al
je 0x1800479c5
mov bpl, 1
jmp 0x1800479cd
xor bpl, bpl
test rsi, rsi
jne 0x1800479ed
mov ecx, dword [rdi + 0x4a44]
test ecx, ecx
je 0x1800479ed
mov r8d, 0x1001
mov edx, ebx
call fcn.180040310
test al, al
je 0x1800479ed
mov r12b, 1
jmp 0x1800479f5
xor r12b, r12b
test rsi, rsi
jne 0x180047a18
test r15b, r15b
je 0x180047a18
cmp qword [r14], 0
jne 0x180047a18
xor r8d, r8d
xor edx, edx
mov ecx, 0x26b
call fcn.18003da90
test al, al
je 0x180047a18
mov r15b, 1
jmp 0x180047a20
xor r15b, r15b
test rsi, rsi
jne 0x180047a35
cmp qword [r14], 0
jne 0x180047a35
test bpl, bpl
jne 0x180047a30
test r12b, r12b
je 0x180047a35
mov sil, 1
jmp 0x180047a38
xor sil, sil
test r15b, r15b
jne 0x180047a46
test sil, sil
je 0x180047acf
mov rax, qword [rdi + 0x48c0]
test rax, rax
jne 0x180047a6d
mov ecx, dword [rdi + 0x3e88]
lea r8d, [rax - 1]
dec ecx
mov edx, 0x80000001
call fcn.1800476c0
test rax, rax
je 0x180047acf
mov rax, qword [rax + 0x378]
mov qword [rdi + 0x4a50], rax
mov qword [r14], rax
xor eax, eax
mov qword [rdi + 0x4a60], rax
mov qword [rdi + 0x4a74], rax
mov qword [rdi + 0x4a6c], rax
movzx eax, sil
xor eax, 1
mov byte [rdi + 0x4a68], r15b
add eax, 2
mov dword [rdi + 0x48f4], eax
test bpl, bpl
jne 0x180047ab6
test r12b, r12b
je 0x180047acf
mov ecx, dword [rdi + 0x4a44]
mov edx, ebx
or ecx, dword [rdi + 0x4a40]
and ecx, 0xf800
call fcn.180040160
cmp qword [r14], 0
mov r15d, 1
movss xmm0, dword [rdi + 0x18]
addss xmm0, dword [rdi + 0x4a60]
movss xmm7, dword [0x1800c111c]
movss xmm9, dword [0x1800c1104]
movss xmm6, dword [0x1800c1178]
movss dword [rdi + 0x4a60], xmm0
je 0x180047ca8
cmp dword [rdi + 0x48f4], 3
jne 0x180047bea
subss xmm0, xmm7
divss xmm0, xmm9
comiss xmm8, xmm0
jbe 0x180047b2f
movaps xmm1, xmm8
jmp 0x180047b36
movaps xmm1, xmm6
minss xmm1, xmm0
movss xmm0, dword [rdi + 0x4a64]
mov r8d, r15d
maxss xmm0, xmm1
xor edx, edx
mov ecx, 0x273
movss dword [rdi + 0x4a64], xmm0
call fcn.18003da90
mov r8d, r15d
movzx ebx, al
xor edx, edx
mov ecx, 0x274
call fcn.18003da90
movzx ecx, al
mov eax, ebx
sub eax, ecx
je 0x180047b85
mov ecx, eax
call fcn.180047760
mov dword [rdi + 0x4a64], 0x3f800000
mov rcx, qword [0x1800d24a8]
mov edx, 0x26b
call fcn.18003d1c0
cmp byte [rax], 0
je 0x180047bb2
mov rcx, qword [0x1800d24a8]
mov edx, 0x26b
call fcn.18002d1d0
cmp byte [rax + 8], 0
je 0x180047bea
comiss xmm6, dword [rdi + 0x4a64]
seta al
and byte [rdi + 0x4a68], al
je 0x180047bd8
cmp qword [rdi + 0x48c0], 0
je 0x180047be3
mov byte [rsp + 0xa8], r15b
jmp 0x180047be3
mov rax, qword [r14]
mov qword [rsp + 0xb0], rax
mov qword [r14], 0
cmp qword [r14], 0
je 0x180047ca8
cmp dword [rdi + 0x48f4], 2
jne 0x180047ca8
mov eax, dword [rdi + 0x4a40]
mov ecx, 0xf800
test eax, eax
mov ebx, 0xf800
cmovne ecx, eax
mov eax, dword [rdi + 0x4a44]
test eax, eax
cmovne ebx, eax
and ebx, ecx
and ebx, 0xf800
jne 0x180047c45
mov r8d, 0x2f71
lea rdx, str.D:SourceTishSelchimguiimgui.cpp
lea rcx, str.shared_mods___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movss xmm0, dword [rdi + 0x4a60]
subss xmm0, xmm7
divss xmm0, xmm9
comiss xmm8, xmm0
jbe 0x180047c62
movaps xmm6, xmm8
jmp 0x180047c66
minss xmm6, xmm0
movss xmm0, dword [rdi + 0x4a64]
maxss xmm0, xmm6
movss dword [rdi + 0x4a64], xmm0
test bpl, bpl
jne 0x180047c95
test r12b, r12b
jne 0x180047c95
mov eax, dword [rdi + 0xe20]
and eax, ebx
cmp eax, ebx
je 0x180047ca8
mov rbp, qword [r14]
jmp 0x180047cb0
movzx ecx, bpl
xor ecx, r15d
lea ecx, [rcx*2 - 1]
call fcn.180047760
mov rbp, qword [rsp + 0xb0]
mov r12, qword [rsp + 0x78]
test r13b, r13b
mov r13, qword [rsp + 0x70]
je 0x180047ce6
xor r8d, r8d
mov edx, 0xffffffff
mov ecx, 0x4000
call fcn.18003da90
test al, al
je 0x180047ce6
mov byte [rdi + 0x4a68], r15b
mov dword [rdi + 0x48f4], 2
cmp byte [rdi + 0x4a68], 0
je 0x180047eaa
cmp dword [rdi + 0x48f4], 2
jne 0x180047eaa
cmp dword [rdi + 0x37b8], 0
jg 0x180047d3a
cmp byte [rdi + 0xe1c], 0
jne 0x180047d3a
cmp byte [rdi + 0xe1d], 0
jne 0x180047d3a
cmp byte [rdi + 0xe1f], 0
jne 0x180047d3a
mov rcx, qword [0x1800d24a8]
mov edx, 0x4000
call fcn.18002d1d0
cmp dword [rax], 0xffffffff
je 0x180047d41
mov byte [rdi + 0x4a68], 0
mov rcx, qword [0x1800d24a8]
mov edx, 0x4000
call fcn.18003d1c0
comiss xmm8, dword [rax + 8]
ja 0x180047e76
cmp byte [rax], 0
jne 0x180047e76
mov rcx, qword [0x1800d24a8]
mov edx, 0x4000
call fcn.18002d1d0
cmp byte [rax + 8], 0
jne 0x180047e76
cmp byte [rdi + 0x4a68], 0
je 0x180047e76
cmp dword [rdi + 0x3f38], 0
je 0x180047da4
cmp byte [rdi + 0x3f45], 0
je 0x180047e76
mov rcx, qword [0x1800d24a8]
lea rbx, [rdi + 0xe00]
test rcx, rcx
jne 0x180047dd8
mov r8d, 0x20e0
lea rdx, str.D:SourceTishSelchimguiimgui.cpp
lea rcx, str.GImGui___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [0x1800d24a8]
test rbx, rbx
jne 0x180047de4
lea rbx, [rcx + 0xe00]
movss xmm0, dword [rbx]
movss xmm6, dword [0x1800c12a0]
comiss xmm0, xmm6
movss xmm1, dword [rbx + 4]
jb 0x180047e05
comiss xmm1, xmm6
jb 0x180047e05
movzx esi, r15b
jmp 0x180047e08
xor sil, sil
lea rbx, [rdi + 0x36e8]
test rcx, rcx
jne 0x180047e35
mov r8d, 0x20e0
lea rdx, str.D:SourceTishSelchimguiimgui.cpp
lea rcx, str.GImGui___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [0x1800d24a8]
test rbx, rbx
jne 0x180047e41
lea rbx, [rcx + 0xe00]
movss xmm0, dword [rbx]
comiss xmm0, xmm6
movss xmm1, dword [rbx + 4]
jb 0x180047e5a
comiss xmm1, xmm6
jb 0x180047e5a
movzx eax, r15b
jmp 0x180047e5c
xor al, al
mov edx, dword [rsp + 0xa8]
cmp sil, al
movzx edx, dl
cmove edx, r15d
mov dword [rsp + 0xa8], edx
jmp 0x180047e7d
mov rcx, qword [0x1800d24a8]
mov edx, 0x4000
call fcn.18003d1c0
cmp byte [rax], 0
je 0x180047ea3
mov rcx, qword [0x1800d24a8]
mov edx, 0x4000
call fcn.18002d1d0
cmp byte [rax + 8], 0
je 0x180047eaa
mov byte [rdi + 0x4a68], 0
mov rax, qword [r14]
test rax, rax
je 0x180048093
test byte [rax + 0x14], 4
jne 0x180048093
cmp dword [rdi + 0x48f4], 2
movaps xmm2, xmm8
movaps xmm7, xmm8
jne 0x180047f3c
cmp byte [rdi + 0xe1d], 0
jne 0x180047f3c
mov rcx, qword [0x1800d24a8]
mov edx, 0x204
call fcn.18003d1c0
mov rcx, qword [0x1800d24a8]
mov edx, 0x203
mov rbx, rax
call fcn.18003d1c0
mov rcx, qword [0x1800d24a8]
mov edx, 0x202
movss xmm7, dword [rbx + 0xc]
movss xmm6, dword [rax + 0xc]
call fcn.18003d1c0
mov rcx, qword [0x1800d24a8]
mov edx, 0x201
mov rbx, rax
call fcn.18003d1c0
movss xmm2, dword [rbx + 0xc]
subss xmm7, xmm6
subss xmm2, dword [rax + 0xc]
cmp dword [rdi + 0x48f4], 3
jne 0x180047fa7
mov rcx, qword [0x1800d24a8]
mov edx, 0x27c
call fcn.18003d1c0
mov rcx, qword [0x1800d24a8]
mov edx, 0x27b
mov rbx, rax
call fcn.18003d1c0
mov rcx, qword [0x1800d24a8]
mov edx, 0x27a
movss xmm7, dword [rbx + 0xc]
movss xmm6, dword [rax + 0xc]
call fcn.18003d1c0
mov rcx, qword [0x1800d24a8]
mov edx, 0x279
mov rbx, rax
call fcn.18003d1c0
movss xmm2, dword [rbx + 0xc]
subss xmm7, xmm6
subss xmm2, dword [rax + 0xc]
ucomiss xmm2, xmm8
jp 0x180047fbb
jne 0x180047fbb
ucomiss xmm7, xmm8
jp 0x180047fbb
je 0x180048093
movss xmm1, dword [rdi + 0x50]
xorps xmm9, xmm9
movss xmm0, dword [rdi + 0x18]
xorps xmm6, xmm6
minss xmm1, dword [rdi + 0x54]
mulss xmm0, dword [0x1800c1250]
mov byte [rdi + 0x48ff], r15b
mulss xmm1, xmm0
mulss xmm2, xmm1
mulss xmm7, xmm1
addss xmm2, dword [rdi + 0x4a6c]
addss xmm7, dword [rdi + 0x4a70]
cvttss2si eax, xmm2
movss dword [rdi + 0x4a6c], xmm2
movss dword [rdi + 0x4a70], xmm7
cvtsi2ss xmm9, eax
cvttss2si eax, xmm7
ucomiss xmm9, xmm8
cvtsi2ss xmm6, eax
jp 0x18004802d
jne 0x18004802d
ucomiss xmm6, xmm8
jp 0x18004802d
je 0x180048093
mov rax, qword [r14]
lea rdx, [rsp + 0xa0]
movaps xmm0, xmm9
movaps xmm1, xmm6
mov r8d, r15d
mov rcx, qword [rax + 0x378]
addss xmm0, dword [rcx + 0x20]
addss xmm1, dword [rcx + 0x24]
movss dword [rsp + 0xa0], xmm0
movss dword [rsp + 0xa4], xmm1
call fcn.18003ca90
movss xmm0, dword [rdi + 0x4a6c]
movss xmm1, dword [rdi + 0x4a70]
subss xmm0, xmm9
subss xmm1, xmm6
movss dword [rdi + 0x4a6c], xmm0
movss dword [rdi + 0x4a70], xmm1
movaps xmm9, xmmword [rsp + 0x20]
movaps xmm8, xmmword [rsp + 0x30]
movaps xmm7, xmmword [rsp + 0x40]
movaps xmm6, xmmword [rsp + 0x50]
test rbp, rbp
je 0x180048129
mov rax, qword [rdi + 0x48c0]
test rax, rax
je 0x1800480c3
cmp rbp, qword [rax + 0x378]
je 0x180048122
xor edx, edx
xor ecx, ecx
call fcn.180032280
mov rax, qword [0x1800d24a8]
xor edx, edx
mov rcx, rbp
mov word [rax + 0x48fd], r15w
mov byte [rax + 0x48ff], r15b
call fcn.180042670
mov edx, r15d
mov rcx, rbp
call fcn.18003c080
mov rbx, qword [rdi + 0x48c0]
cmp dword [rbx + 0x3a0], 0
jne 0x180048111
xor edx, edx
mov rcx, rbx
call fcn.180044990
cmp word [rbx + 0x15e], 2
jne 0x180048122
mov dword [rdi + 0x48f8], r15d
mov qword [r14], 0
cmp byte [rsp + 0xa8], 0
mov r15, qword [rsp + 0x60]
mov r14, qword [rsp + 0x68]
mov rbp, qword [rsp + 0xb8]
je 0x180048205
cmp qword [rdi + 0x48c0], 0
je 0x180048205
xor edx, edx
xor ecx, ecx
call fcn.180032280
mov rsi, qword [rdi + 0x48c0]
mov rbx, rsi
lea rcx, [rsi + 0x368]
cmp qword [rcx], 0
je 0x1800481b5
test byte [rbx + 0x15c], 2
jne 0x18004819f
mov eax, dword [rbx + 0x14]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x18004819f
mov rbx, qword [rcx]
lea rcx, [rbx + 0x368]
cmp qword [rcx], 0
jne 0x180048177
cmp rbx, rsi
je 0x1800481b5
xor edx, edx
mov rcx, rbx
call fcn.18003c080
mov qword [rbx + 0x398], rsi
mov rax, qword [rdi + 0x48c0]
test byte [rax + 0x15c], 2
je 0x1800481d0
mov ecx, dword [rdi + 0x48f8]
xor ecx, 1
jmp 0x1800481d2
xor ecx, ecx
cmp ecx, dword [rdi + 0x48f8]
je 0x180048205
cmp ecx, 1
jne 0x1800481e9
mov dword [rax + 0x3a4], 0
call fcn.1800448d0
mov rax, qword [0x1800d24a8]
mov word [rax + 0x48fd], 1
mov byte [rax + 0x48ff], 1
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret