Function at 0x180013580
Capabilities:
Hash data with crc32

Disassembly:
push rsi
push r14
sub rsp, 0x48
mov r14, qword [0x18003c9c8]
mov qword [rsp + 0x60], rbx
mov rbx, rdx
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x38], rdi
mov rdi, rcx
cmp byte [r14], 0
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x68], r14
jne 0x1800135ce
mov r8d, 0x24a4
lea rdx, str.D:cheat_new_cheatImguiGuiGenshinImGui_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 [r14 + 0x2ef4], 0
jne 0x1800135e2
cmp dword [r14 + 0x19b0], 0
je 0x1800135fc
mov r8d, 0x24a5
lea rdx, str.D:cheat_new_cheatImguiGuiGenshinImGui_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 0x180013619
mov rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp byte [rdi + rbx], 0
jne 0x180013610
mov rax, qword [0x18003c9c8]
test rax, rax
je 0x18001362b
inc dword [rax + 0x3bc]
lea rcx, [rbx + 1]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r8, rbx
mov rdx, rdi
mov rcx, rax
mov qword [rsp + 0x78], rax
mov rsi, 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, rsi
cmp rsi, r13
jae 0x1800137e3
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x20], r15
movzx eax, byte [rcx]
cmp al, 0xa
je 0x1800138a3
cmp al, 0xd
je 0x1800138a3
mov rsi, rcx
cmp rcx, r13
jae 0x1800136a3
nop
movzx eax, byte [rsi]
cmp al, 0xa
je 0x1800136a3
cmp al, 0xd
je 0x1800136a3
inc rsi
cmp rsi, r13
jb 0x180013690
mov byte [rsi], 0
movzx eax, byte [rcx]
cmp al, 0x3b
je 0x1800137c7
cmp al, 0x5b
jne 0x18001387d
cmp rsi, rcx
jbe 0x18001387d
cmp byte [rsi - 1], 0x5d
lea rdi, [rsi - 1]
jne 0x18001387d
lea r15, [rcx + 1]
mov byte [rdi], 0
mov r8, rdi
mov rcx, r15
sub r8, r15
mov edx, 0x5d
call sub.VCRUNTIME140.dll_memchr
mov r14, rax
test rax, rax
je 0x1800137c2
lea rcx, [rax + 1]
mov edx, 0x5b
sub rdi, rcx
mov r8, rdi
call sub.VCRUNTIME140.dll_memchr
mov r12, rax
test rax, rax
je 0x1800137c2
mov byte [r14], 0
lea rdx, [r15 + 1]
movzx r8d, byte [r15]
mov ebx, 0xffffffff
mov r14, qword [0x18003c9c8]
test r8b, r8b
je 0x180013771
mov r13d, ebx
cmp r8b, 0x23
jne 0x180013749
cmp byte [rdx], r8b
jne 0x180013749
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, [0x180031060]
inc rdx
xor ebx, dword [rax + rcx*4]
test r8b, r8b
jne 0x180013736
mov r13, qword [rsp + 0x70]
mov eax, dword [r14 + 0x2f10]
xor edi, edi
not ebx
test eax, eax
jle 0x1800137be
xor ebp, ebp
cmp edi, eax
jl 0x1800137a0
mov r8d, 0x4f8
lea rdx, str.D:cheat_new_cheatImguiGuiGenshinImGui_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 rax, qword [r14 + 0x2f18]
cmp dword [rax + rbp + 8], ebx
je 0x180013827
mov eax, dword [r14 + 0x2f10]
inc edi
add rbp, 0x30
cmp edi, eax
jl 0x1800137a0
xor ebx, ebx
xor ebp, ebp
mov r14, qword [rsp + 0x68]
lea rcx, [rsi + 1]
cmp rcx, r13
jb 0x180013673
mov rsi, 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 rsi, rsi
je 0x18001380e
mov rax, qword [0x18003c9c8]
test rax, rax
je 0x18001380e
dec dword [rax + 0x3bc]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [r14 + 0x2ef4], 1
add rsp, 0x48
pop r14
pop rsi
ret
cmp edi, dword [r14 + 0x2f10]
jl 0x18001384a
mov r8d, 0x4f8
lea rdx, str.D:cheat_new_cheatImguiGuiGenshinImGui_DirectX_11_Kiero_Hookimguiimgui.h
lea rcx, str.i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rax, edi
lea rbx, [rax + rax*2]
shl rbx, 4
add rbx, qword [r14 + 0x2f18]
je 0x1800137c0
mov r14, qword [rsp + 0x68]
lea r8, [r12 + 1]
mov rcx, r14
mov rdx, rbx
call qword [rbx + 0x10]
mov rbp, rax
jmp 0x1800137c7
test rbx, rbx
je 0x1800137c7
test rbp, rbp
je 0x1800137c7
mov r9, rcx
mov r8, rbp
mov rcx, r14
mov rdx, rbx
call qword [rbx + 0x18]
jmp 0x1800137c7
inc rcx
jmp 0x180013673