Function at 0x180015680
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x38
mov rbp, qword [0x1800a3bd8]
mov rsi, rdx
mov r14, rcx
mov qword [rsp + 0x98], rbp
cmp byte [rbp], 0
jne 0x1800156cf
mov r8d, 0x282a
lea rdx, str.D:_spcool2imguiimgui.cpp
lea rcx, str.g.Initialized
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test rsi, rsi
jne 0x1800156f2
mov rsi, 0xffffffffffffffff
nop dword [rax + rax]
inc rsi
cmp byte [r14 + rsi], 0
jne 0x1800156e0
mov qword [rsp + 0x88], rsi
mov ecx, dword [rbp + 0x30ac]
lea ebx, [rsi + 1]
cmp ebx, ecx
jle 0x180015726
test ecx, ecx
je 0x18001570e
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180015713
mov eax, 8
cmp eax, ebx
lea rcx, [rbp + 0x30a8]
mov edx, ebx
cmovg edx, eax
call fcn.180022160
mov dword [rbp + 0x30a8], ebx
mov r8, rsi
mov r12, qword [rbp + 0x30b0]
mov rdx, r14
mov rcx, r12
mov qword [rsp + 0x28], r12
lea rax, [r12 + rsi]
mov qword [rsp + 0x90], rax
call sub.VCRUNTIME140.dll_memcpy
xor r15d, r15d
mov byte [r12 + rsi], 0
mov ecx, dword [rbp + 0x30b8]
mov ebx, r15d
test ecx, ecx
jle 0x180015827
mov edi, r15d
nop
test ebx, ebx
js 0x180015778
cmp ebx, ecx
jl 0x180015798
mov r8d, 0x6bd
lea rdx, str.D:_spcool2imguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov ecx, dword [rbp + 0x30b8]
mov rax, qword [rbp + 0x30c0]
cmp qword [rax + rdi + 0x18], r15
je 0x180015813
test ebx, ebx
js 0x1800157ae
cmp ebx, ecx
jl 0x1800157ce
mov r8d, 0x6bd
lea rdx, str.D:_spcool2imguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov ecx, dword [rbp + 0x30b8]
mov rax, qword [rbp + 0x30c0]
mov rsi, qword [rax + rdi + 0x18]
test ebx, ebx
js 0x1800157e2
cmp ebx, ecx
jl 0x1800157fc
mov r8d, 0x6bd
lea rdx, str.D:_spcool2imguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rax, ebx
lea rcx, [rax + rax*8]
mov rax, qword [rbp + 0x30c0]
lea rdx, [rax + rcx*8]
mov rcx, rbp
call rsi
mov ecx, dword [rbp + 0x30b8]
inc ebx
add rdi, 0x48
cmp ebx, ecx
jl 0x180015770
mov rbx, qword [rsp + 0x90]
mov r13, r15
mov r14, r15
mov rcx, r12
cmp r12, rbx
jae 0x1800159cc
movzx eax, byte [rcx]
cmp al, 0xa
je 0x180015b5b
cmp al, 0xd
je 0x180015b5b
mov rsi, rcx
cmp rcx, rbx
jae 0x180015873
nop dword [rax]
movzx eax, byte [rsi]
cmp al, 0xa
je 0x180015873
cmp al, 0xd
je 0x180015873
inc rsi
cmp rsi, rbx
jb 0x180015860
mov byte [rsi], r15b
movzx eax, byte [rcx]
cmp al, 0x3b
je 0x1800159ba
cmp al, 0x5b
jne 0x180015b34
cmp rsi, rcx
jbe 0x180015b34
cmp byte [rsi - 1], 0x5d
lea rbx, [rsi - 1]
jne 0x180015b2c
lea rdi, [rcx + 1]
mov byte [rbx], r15b
mov r8, rbx
mov rcx, rdi
sub r8, rdi
mov edx, 0x5d
call sub.VCRUNTIME140.dll_memchr
mov r12, rax
test rax, rax
je 0x1800159b2
lea rcx, [rax + 1]
mov edx, 0x5b
sub rbx, rcx
mov r8, rbx
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x1800159b2
mov byte [r12], r15b
lea rdx, [rdi + 1]
movzx r8d, byte [rdi]
inc rax
mov r13, qword [0x1800a3bd8]
mov ebx, 0xffffffff
mov qword [rsp + 0x20], rax
test r8b, r8b
je 0x18001594d
mov ebp, ebx
nop word [rax + rax]
cmp r8b, 0x23
jne 0x180015922
cmp byte [rdx], r8b
jne 0x180015922
cmp byte [rdx + 1], r8b
cmove ebx, ebp
movzx ecx, bl
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr ebx, 8
lea rax, [0x18008ec10]
inc rdx
xor ebx, dword [rax + rcx*4]
test r8b, r8b
jne 0x180015910
mov rbp, qword [rsp + 0x98]
mov eax, dword [r13 + 0x30b8]
not ebx
mov edi, r15d
mov r12, r15
test eax, eax
jle 0x1800159ac
mov r14, r15
test r12, r12
js 0x18001596c
cmp edi, eax
jl 0x180015986
mov r8d, 0x6bd
lea rdx, str.D:_spcool2imguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [r13 + 0x30c0]
cmp dword [r14 + rax + 8], ebx
je 0x180015ad1
mov eax, dword [r13 + 0x30b8]
inc edi
inc r12
add r14, 0x48
cmp edi, eax
jl 0x180015963
mov r14, r15
mov r13, r15
mov rbx, qword [rsp + 0x90]
lea rcx, [rsi + 1]
cmp rcx, rbx
jb 0x180015841
mov r12, qword [rsp + 0x28]
mov r8, qword [rsp + 0x88]
mov rcx, r12
mov rdx, qword [rsp + 0x80]
mov byte [rbp + 0x30a1], 1
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [rbp + 0x30b8]
test ecx, ecx
jle 0x180015ac0
mov rbx, r15
nop dword [rax]
test r15d, r15d
js 0x180015a0a
cmp r15d, ecx
jl 0x180015a2a
mov r8d, 0x6bd
lea rdx, str.D:_spcool2imguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov ecx, dword [rbp + 0x30b8]
mov rax, qword [rbp + 0x30c0]
cmp qword [rax + rbx + 0x30], 0
je 0x180015aaa
test r15d, r15d
js 0x180015a43
cmp r15d, ecx
jl 0x180015a63
mov r8d, 0x6bd
lea rdx, str.D:_spcool2imguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov ecx, dword [rbp + 0x30b8]
mov rax, qword [rbp + 0x30c0]
mov rdi, qword [rax + rbx + 0x30]
test r15d, r15d
js 0x180015a79
cmp r15d, ecx
jl 0x180015a93
mov r8d, 0x6bd
lea rdx, str.D:_spcool2imguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rax, r15d
lea rcx, [rax + rax*8]
mov rax, qword [rbp + 0x30c0]
lea rdx, [rax + rcx*8]
mov rcx, rbp
call rdi
mov ecx, dword [rbp + 0x30b8]
inc r15d
add rbx, 0x48
cmp r15d, ecx
jl 0x180015a00
add rsp, 0x38
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
test edi, edi
js 0x180015ade
cmp edi, dword [r13 + 0x30b8]
jl 0x180015af8
mov r8d, 0x6bd
lea rdx, str.D:_spcool2imguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rax, edi
lea rcx, [rax + rax*8]
mov rax, qword [r13 + 0x30c0]
lea r14, [rax + rcx*8]
test r14, r14
je 0x1800159af
mov rax, qword [r14 + 0x20]
mov rdx, r14
mov r8, qword [rsp + 0x20]
mov rcx, rbp
call rax
mov r13, rax
jmp 0x1800159b2
mov rbx, qword [rsp + 0x90]
test r14, r14
je 0x1800159ba
test r13, r13
je 0x1800159ba
mov r9, rcx
mov r8, r13
mov rcx, rbp
mov rdx, r14
call qword [r14 + 0x28]
jmp 0x1800159ba
inc rcx
jmp 0x180015841