Function at 0x180047420
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 0x1800474b0
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 0x1800474a6
test dword [rsi + 0x14], 0x8000000
jne 0x180047572
sub r8, 0x38
sub rdx, 1
jns 0x180047491
lea r14, [rdi + 0x4a48]
mov rsi, r9
mov rax, qword [r14]
xorps xmm8, xmm8
cmp qword [rdi + 0x4a50], r9
je 0x18004750c
test rax, rax
jne 0x18004750c
comiss xmm8, dword [rdi + 0x4a7c]
movss xmm0, dword [rdi + 0x18]
movss xmm1, dword [rdi + 0x4a64]
mulss xmm0, dword [0x1800c10f4]
subss xmm1, xmm0
maxss xmm1, xmm8
movss dword [rdi + 0x4a64], xmm1
jb 0x18004750c
comiss xmm8, xmm1
jb 0x18004750c
mov qword [rdi + 0x4a50], r9
mov edi, 0xffffffff
lea rdx, [0x1800b7261]
mov ebx, edi
lea r9, [0x1800b7d30]
mov r8b, 0x23
cmp r8b, 0x23
jne 0x180047536
cmp byte [rdx], r8b
jne 0x180047536
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 0x180047524
mov rdi, qword [rsp + 0xa0]
not ebx
mov r13d, dword [rdi + 8]
test r13b, 2
je 0x180047584
test byte [rdi + 0xc], 1
je 0x180047584
mov r15b, 1
jmp 0x180047587
lea r14, [rdi + 0x4a48]
mov rax, r9
mov qword [r14], r9
jmp 0x1800474bd
xor r15b, r15b
and r13b, 1
mov qword [rsp + 0x78], r12
test rsi, rsi
jne 0x1800475b5
mov ecx, dword [rdi + 0x4a40]
test ecx, ecx
je 0x1800475b5
mov r8d, 0x1001
mov edx, ebx
call fcn.18003ff00
test al, al
je 0x1800475b5
mov bpl, 1
jmp 0x1800475bd
xor bpl, bpl
test rsi, rsi
jne 0x1800475dd
mov ecx, dword [rdi + 0x4a44]
test ecx, ecx
je 0x1800475dd
mov r8d, 0x1001
mov edx, ebx
call fcn.18003ff00
test al, al
je 0x1800475dd
mov r12b, 1
jmp 0x1800475e5
xor r12b, r12b
test rsi, rsi
jne 0x180047608
test r15b, r15b
je 0x180047608
cmp qword [r14], 0
jne 0x180047608
xor r8d, r8d
xor edx, edx
mov ecx, 0x26b
call fcn.18003d680
test al, al
je 0x180047608
mov r15b, 1
jmp 0x180047610
xor r15b, r15b
test rsi, rsi
jne 0x180047625
cmp qword [r14], 0
jne 0x180047625
test bpl, bpl
jne 0x180047620
test r12b, r12b
je 0x180047625
mov sil, 1
jmp 0x180047628
xor sil, sil
test r15b, r15b
jne 0x180047636
test sil, sil
je 0x1800476bf
mov rax, qword [rdi + 0x48c0]
test rax, rax
jne 0x18004765d
mov ecx, dword [rdi + 0x3e88]
lea r8d, [rax - 1]
dec ecx
mov edx, 0x80000001
call fcn.1800472b0
test rax, rax
je 0x1800476bf
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 0x1800476a6
test r12b, r12b
je 0x1800476bf
mov ecx, dword [rdi + 0x4a44]
mov edx, ebx
or ecx, dword [rdi + 0x4a40]
and ecx, 0xf800
call fcn.18003fd50
cmp qword [r14], 0
mov r15d, 1
movss xmm0, dword [rdi + 0x18]
addss xmm0, dword [rdi + 0x4a60]
movss xmm7, dword [0x1800c101c]
movss xmm9, dword [0x1800c1004]
movss xmm6, dword [0x1800c1078]
movss dword [rdi + 0x4a60], xmm0
je 0x180047898
cmp dword [rdi + 0x48f4], 3
jne 0x1800477da
subss xmm0, xmm7
divss xmm0, xmm9
comiss xmm8, xmm0
jbe 0x18004771f
movaps xmm1, xmm8
jmp 0x180047726
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.18003d680
mov r8d, r15d
movzx ebx, al
xor edx, edx
mov ecx, 0x274
call fcn.18003d680
movzx ecx, al
mov eax, ebx
sub eax, ecx
je 0x180047775
mov ecx, eax
call fcn.180047350
mov dword [rdi + 0x4a64], 0x3f800000
mov rcx, qword [0x1800d24a8]
mov edx, 0x26b
call fcn.18003cdb0
cmp byte [rax], 0
je 0x1800477a2
mov rcx, qword [0x1800d24a8]
mov edx, 0x26b
call fcn.18002cdc0
cmp byte [rax + 8], 0
je 0x1800477da
comiss xmm6, dword [rdi + 0x4a64]
seta al
and byte [rdi + 0x4a68], al
je 0x1800477c8
cmp qword [rdi + 0x48c0], 0
je 0x1800477d3
mov byte [rsp + 0xa8], r15b
jmp 0x1800477d3
mov rax, qword [r14]
mov qword [rsp + 0xb0], rax
mov qword [r14], 0
cmp qword [r14], 0
je 0x180047898
cmp dword [rdi + 0x48f4], 2
jne 0x180047898
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 0x180047835
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 0x180047852
movaps xmm6, xmm8
jmp 0x180047856
minss xmm6, xmm0
movss xmm0, dword [rdi + 0x4a64]
maxss xmm0, xmm6
movss dword [rdi + 0x4a64], xmm0
test bpl, bpl
jne 0x180047885
test r12b, r12b
jne 0x180047885
mov eax, dword [rdi + 0xe20]
and eax, ebx
cmp eax, ebx
je 0x180047898
mov rbp, qword [r14]
jmp 0x1800478a0
movzx ecx, bpl
xor ecx, r15d
lea ecx, [rcx*2 - 1]
call fcn.180047350
mov rbp, qword [rsp + 0xb0]
mov r12, qword [rsp + 0x78]
test r13b, r13b
mov r13, qword [rsp + 0x70]
je 0x1800478d6
xor r8d, r8d
mov edx, 0xffffffff
mov ecx, 0x4000
call fcn.18003d680
test al, al
je 0x1800478d6
mov byte [rdi + 0x4a68], r15b
mov dword [rdi + 0x48f4], 2
cmp byte [rdi + 0x4a68], 0
je 0x180047a9a
cmp dword [rdi + 0x48f4], 2
jne 0x180047a9a
cmp dword [rdi + 0x37b8], 0
jg 0x18004792a
cmp byte [rdi + 0xe1c], 0
jne 0x18004792a
cmp byte [rdi + 0xe1d], 0
jne 0x18004792a
cmp byte [rdi + 0xe1f], 0
jne 0x18004792a
mov rcx, qword [0x1800d24a8]
mov edx, 0x4000
call fcn.18002cdc0
cmp dword [rax], 0xffffffff
je 0x180047931
mov byte [rdi + 0x4a68], 0
mov rcx, qword [0x1800d24a8]
mov edx, 0x4000
call fcn.18003cdb0
comiss xmm8, dword [rax + 8]
ja 0x180047a66
cmp byte [rax], 0
jne 0x180047a66
mov rcx, qword [0x1800d24a8]
mov edx, 0x4000
call fcn.18002cdc0
cmp byte [rax + 8], 0
jne 0x180047a66
cmp byte [rdi + 0x4a68], 0
je 0x180047a66
cmp dword [rdi + 0x3f38], 0
je 0x180047994
cmp byte [rdi + 0x3f45], 0
je 0x180047a66
mov rcx, qword [0x1800d24a8]
lea rbx, [rdi + 0xe00]
test rcx, rcx
jne 0x1800479c8
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 0x1800479d4
lea rbx, [rcx + 0xe00]
movss xmm0, dword [rbx]
movss xmm6, dword [0x1800c11a0]
comiss xmm0, xmm6
movss xmm1, dword [rbx + 4]
jb 0x1800479f5
comiss xmm1, xmm6
jb 0x1800479f5
movzx esi, r15b
jmp 0x1800479f8
xor sil, sil
lea rbx, [rdi + 0x36e8]
test rcx, rcx
jne 0x180047a25
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 0x180047a31
lea rbx, [rcx + 0xe00]
movss xmm0, dword [rbx]
comiss xmm0, xmm6
movss xmm1, dword [rbx + 4]
jb 0x180047a4a
comiss xmm1, xmm6
jb 0x180047a4a
movzx eax, r15b
jmp 0x180047a4c
xor al, al
mov edx, dword [rsp + 0xa8]
cmp sil, al
movzx edx, dl
cmove edx, r15d
mov dword [rsp + 0xa8], edx
jmp 0x180047a6d
mov rcx, qword [0x1800d24a8]
mov edx, 0x4000
call fcn.18003cdb0
cmp byte [rax], 0
je 0x180047a93
mov rcx, qword [0x1800d24a8]
mov edx, 0x4000
call fcn.18002cdc0
cmp byte [rax + 8], 0
je 0x180047a9a
mov byte [rdi + 0x4a68], 0
mov rax, qword [r14]
test rax, rax
je 0x180047c83
test byte [rax + 0x14], 4
jne 0x180047c83
cmp dword [rdi + 0x48f4], 2
movaps xmm2, xmm8
movaps xmm7, xmm8
jne 0x180047b2c
cmp byte [rdi + 0xe1d], 0
jne 0x180047b2c
mov rcx, qword [0x1800d24a8]
mov edx, 0x204
call fcn.18003cdb0
mov rcx, qword [0x1800d24a8]
mov edx, 0x203
mov rbx, rax
call fcn.18003cdb0
mov rcx, qword [0x1800d24a8]
mov edx, 0x202
movss xmm7, dword [rbx + 0xc]
movss xmm6, dword [rax + 0xc]
call fcn.18003cdb0
mov rcx, qword [0x1800d24a8]
mov edx, 0x201
mov rbx, rax
call fcn.18003cdb0
movss xmm2, dword [rbx + 0xc]
subss xmm7, xmm6
subss xmm2, dword [rax + 0xc]
cmp dword [rdi + 0x48f4], 3
jne 0x180047b97
mov rcx, qword [0x1800d24a8]
mov edx, 0x27c
call fcn.18003cdb0
mov rcx, qword [0x1800d24a8]
mov edx, 0x27b
mov rbx, rax
call fcn.18003cdb0
mov rcx, qword [0x1800d24a8]
mov edx, 0x27a
movss xmm7, dword [rbx + 0xc]
movss xmm6, dword [rax + 0xc]
call fcn.18003cdb0
mov rcx, qword [0x1800d24a8]
mov edx, 0x279
mov rbx, rax
call fcn.18003cdb0
movss xmm2, dword [rbx + 0xc]
subss xmm7, xmm6
subss xmm2, dword [rax + 0xc]
ucomiss xmm2, xmm8
jp 0x180047bab
jne 0x180047bab
ucomiss xmm7, xmm8
jp 0x180047bab
je 0x180047c83
movss xmm1, dword [rdi + 0x50]
xorps xmm9, xmm9
movss xmm0, dword [rdi + 0x18]
xorps xmm6, xmm6
minss xmm1, dword [rdi + 0x54]
mulss xmm0, dword [0x1800c1150]
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 0x180047c1d
jne 0x180047c1d
ucomiss xmm6, xmm8
jp 0x180047c1d
je 0x180047c83
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.18003c680
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 0x180047d19
mov rax, qword [rdi + 0x48c0]
test rax, rax
je 0x180047cb3
cmp rbp, qword [rax + 0x378]
je 0x180047d12
xor edx, edx
xor ecx, ecx
call fcn.180031e70
mov rax, qword [0x1800d24a8]
xor edx, edx
mov rcx, rbp
mov word [rax + 0x48fd], r15w
mov byte [rax + 0x48ff], r15b
call fcn.180042260
mov edx, r15d
mov rcx, rbp
call fcn.18003bc70
mov rbx, qword [rdi + 0x48c0]
cmp dword [rbx + 0x3a0], 0
jne 0x180047d01
xor edx, edx
mov rcx, rbx
call fcn.180044580
cmp word [rbx + 0x15e], 2
jne 0x180047d12
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 0x180047df5
cmp qword [rdi + 0x48c0], 0
je 0x180047df5
xor edx, edx
xor ecx, ecx
call fcn.180031e70
mov rsi, qword [rdi + 0x48c0]
mov rbx, rsi
lea rcx, [rsi + 0x368]
cmp qword [rcx], 0
je 0x180047da5
test byte [rbx + 0x15c], 2
jne 0x180047d8f
mov eax, dword [rbx + 0x14]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x180047d8f
mov rbx, qword [rcx]
lea rcx, [rbx + 0x368]
cmp qword [rcx], 0
jne 0x180047d67
cmp rbx, rsi
je 0x180047da5
xor edx, edx
mov rcx, rbx
call fcn.18003bc70
mov qword [rbx + 0x398], rsi
mov rax, qword [rdi + 0x48c0]
test byte [rax + 0x15c], 2
je 0x180047dc0
mov ecx, dword [rdi + 0x48f8]
xor ecx, 1
jmp 0x180047dc2
xor ecx, ecx
cmp ecx, dword [rdi + 0x48f8]
je 0x180047df5
cmp ecx, 1
jne 0x180047dd9
mov dword [rax + 0x3a4], 0
call fcn.1800444c0
mov rax, qword [0x1800d24a8]
mov word [rax + 0x48fd], 1
mov byte [rax + 0x48ff], 1
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret