Function at 0x180012740
Capabilities:
Hash data with crc32

Disassembly:
push rsi
push r14
sub rsp, 0x48
mov rsi, qword [0x180042ad0]
mov qword [rsp + 0x60], rbx
mov rbx, rdx
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x38], rdi
mov rdi, rcx
cmp byte [rsi], 0
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x68], rsi
jne 0x18001278d
mov r8d, 0x24a4
lea rdx, str.C:UsersCoderDesktopRust_CheatImGui_DirectX_11_Kiero_Hookimguiimgui.cpp
lea rcx, str.g.Initialized
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
cmp byte [rsi + 0x2ef4], 0
jne 0x18001279f
cmp dword [rsi + 0x19b0], 0
je 0x1800127b9
mov r8d, 0x24a5
lea rdx, str.C:UsersCoderDesktopRust_CheatImGui_DirectX_11_Kiero_Hookimguiimgui.cpp
lea rcx, str.g.SettingsLoaded__false__g.FrameCount__0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test rbx, rbx
jne 0x1800127ce
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rdi + rbx], 0
jne 0x1800127c5
mov rax, qword [0x180042ad0]
test rax, rax
je 0x1800127e0
inc dword [rax + 0x3bc]
mov rdx, qword [0x180042ac0]
lea rcx, [rbx + 1]
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov r8, rbx
mov qword [rsp + 0x78], rax
mov rdx, rdi
mov rcx, rax
mov r14, rax
lea r13, [rax + rbx]
mov qword [rsp + 0x70], r13
call sub.VCRUNTIME140.dll_memcpy
xor ebp, ebp
mov byte [r13], 0
xor ebx, ebx
mov rcx, r14
cmp r14, r13
jae 0x1800129a3
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x20], r15
nop
movzx eax, byte [rcx]
cmp al, 0xa
je 0x180012a6e
cmp al, 0xd
je 0x180012a6e
mov rdi, rcx
cmp rcx, r13
jae 0x180012863
nop dword [rax + rax]
movzx eax, byte [rdi]
cmp al, 0xa
je 0x180012863
cmp al, 0xd
je 0x180012863
inc rdi
cmp rdi, r13
jb 0x180012850
mov byte [rdi], 0
movzx eax, byte [rcx]
cmp al, 0x3b
je 0x180012987
cmp al, 0x5b
jne 0x180012a48
cmp rdi, rcx
jbe 0x180012a48
cmp byte [rdi - 1], 0x5d
lea rsi, [rdi - 1]
jne 0x180012a43
lea r14, [rcx + 1]
mov byte [rsi], 0
mov r8, rsi
mov rcx, r14
sub r8, r14
mov edx, 0x5d
call sub.VCRUNTIME140.dll_memchr
mov r15, rax
test rax, rax
je 0x180012982
lea rcx, [rax + 1]
mov edx, 0x5b
sub rsi, rcx
mov r8, rsi
call sub.VCRUNTIME140.dll_memchr
mov r12, rax
test rax, rax
je 0x180012982
mov byte [r15], 0
lea rdx, [r14 + 1]
movzx r8d, byte [r14]
mov ebx, 0xffffffff
mov r15, qword [0x180042ad0]
test r8b, r8b
je 0x180012931
mov r13d, ebx
cmp r8b, 0x23
jne 0x180012909
cmp byte [rdx], r8b
jne 0x180012909
cmp byte [rdx + 1], r8b
cmove ebx, r13d
movzx ecx, bl
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr ebx, 8
lea rax, [0x180034280]
inc rdx
xor ebx, dword [rax + rcx*4]
test r8b, r8b
jne 0x1800128f6
mov r13, qword [rsp + 0x70]
mov eax, dword [r15 + 0x2f10]
xor esi, esi
not ebx
test eax, eax
jle 0x18001297e
xor ebp, ebp
cmp esi, eax
jl 0x180012960
mov r8d, 0x4f8
lea rdx, str.C:UsersCoderDesktopRust_CheatImGui_DirectX_11_Kiero_Hookimguiimgui.h
lea rcx, str.i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [r15 + 0x2f18]
mov eax, dword [r15 + 0x2f10]
cmp dword [rcx + rbp + 8], ebx
je 0x1800129ec
inc esi
add rbp, 0x30
cmp esi, eax
jl 0x180012960
xor ebx, ebx
xor ebp, ebp
mov rsi, qword [rsp + 0x68]
lea rcx, [rdi + 1]
cmp rcx, r13
jb 0x180012830
mov r14, qword [rsp + 0x78]
mov r15, qword [rsp + 0x20]
mov r12, qword [rsp + 0x30]
mov r13, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x60]
test r14, r14
je 0x1800129ce
mov rax, qword [0x180042ad0]
test rax, rax
je 0x1800129ce
dec dword [rax + 0x3bc]
mov rdx, qword [0x180042ac0]
mov rcx, r14
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov byte [rsi + 0x2ef4], 1
add rsp, 0x48
pop r14
pop rsi
ret
cmp esi, eax
jl 0x180012a11
mov r8d, 0x4f8
lea rdx, str.C:UsersCoderDesktopRust_CheatImGui_DirectX_11_Kiero_Hookimguiimgui.h
lea rcx, str.i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [r15 + 0x2f18]
movsxd rax, esi
lea rbx, [rax + rax*2]
shl rbx, 4
add rbx, rcx
je 0x180012980
mov rsi, qword [rsp + 0x68]
lea r8, [r12 + 1]
mov rax, qword [rbx + 0x10]
mov rcx, rsi
mov rdx, rbx
call rax
mov rbp, rax
jmp 0x180012987
mov rsi, qword [rsp + 0x68]
test rbx, rbx
je 0x180012987
test rbp, rbp
je 0x180012987
mov r9, rcx
mov r8, rbp
mov rcx, rsi
mov rdx, rbx
call qword [rbx + 0x18]
jmp 0x180012987
inc rcx
jmp 0x180012830