Function at 0x180039960
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 [0x18010bbc0]
mov rsi, rdx
mov r14, rcx
mov qword [rsp + 0x20], rbp
cmp byte [rbp], 0
jne 0x1800399ac
mov r8d, 0x2b77
lea rdx, str.C:UsersSeemoDesktopcodecave_hookcodecaveImGuiimgui.cpp
lea rcx, str.g.Initialized
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test rsi, rsi
jne 0x1800399d2
mov rsi, 0xffffffffffffffff
nop dword [rax + rax]
inc rsi
cmp byte [r14 + rsi], 0
jne 0x1800399c0
mov qword [rsp + 0x88], rsi
mov ecx, dword [rbp + 0x3204]
lea ebx, [rsi + 1]
cmp ebx, ecx
jle 0x180039a06
test ecx, ecx
je 0x1800399ee
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1800399f3
mov eax, 8
cmp eax, ebx
lea rcx, [rbp + 0x3200]
mov edx, ebx
cmovg edx, eax
call fcn.180048a80
mov dword [rbp + 0x3200], ebx
mov r8, rsi
mov rdi, qword [rbp + 0x3208]
mov rdx, r14
mov rcx, rdi
mov qword [rsp + 0x98], rdi
lea rax, [rdi + rsi]
mov qword [rsp + 0x90], rax
call sub.VCRUNTIME140.dll_memcpy
xor r12d, r12d
mov byte [rdi + rsi], 0
mov edx, dword [rbp + 0x3210]
mov ebx, r12d
test edx, edx
jle 0x180039b0f
mov edi, r12d
test ebx, ebx
js 0x180039a58
cmp ebx, edx
jl 0x180039a78
mov r8d, 0x6c7
lea rdx, str.C:UsersSeemoDesktopcodecave_hookcodecaveImGuiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov edx, dword [rbp + 0x3210]
mov rax, qword [rbp + 0x3218]
cmp qword [rax + rdi + 0x18], r12
je 0x180039af3
test ebx, ebx
js 0x180039a8e
cmp ebx, edx
jl 0x180039aae
mov r8d, 0x6c7
lea rdx, str.C:UsersSeemoDesktopcodecave_hookcodecaveImGuiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov edx, dword [rbp + 0x3210]
movsxd rax, ebx
lea rcx, [rax + rax*8]
mov rax, qword [rbp + 0x3218]
lea rsi, [rax + rcx*8]
test ebx, ebx
js 0x180039ac8
cmp ebx, edx
jl 0x180039ae2
mov r8d, 0x6c7
lea rdx, str.C:UsersSeemoDesktopcodecave_hookcodecaveImGuiimgui.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 [rbp + 0x3218]
mov rdx, rsi
mov rcx, rbp
call qword [rax + rdi + Ordinal_26]
mov edx, dword [rbp + 0x3210]
inc ebx
add rdi, 0x48
cmp ebx, edx
jl 0x180039a50
mov rdi, qword [rsp + 0x98]
mov rbx, qword [rsp + 0x90]
mov r13, r12
mov r15, r12
mov rcx, rdi
cmp rdi, rbx
jae 0x180039cc4
nop dword [rax]
movzx eax, byte [rcx]
cmp al, 0xa
je 0x180039e49
cmp al, 0xd
je 0x180039e49
mov rsi, rcx
cmp rcx, rbx
jae 0x180039b63
nop dword [rax + rax]
movzx eax, byte [rsi]
cmp al, 0xa
je 0x180039b63
cmp al, 0xd
je 0x180039b63
inc rsi
cmp rsi, rbx
jb 0x180039b50
mov byte [rsi], r12b
movzx eax, byte [rcx]
cmp al, 0x3b
je 0x180039ca7
cmp al, 0x5b
jne 0x180039e22
cmp rsi, rcx
jbe 0x180039e22
cmp byte [rsi - 1], 0x5d
lea rbx, [rsi - 1]
jne 0x180039e1a
lea rdi, [rcx + 1]
mov byte [rbx], r12b
mov r8, rbx
mov rcx, rdi
sub r8, rdi
mov edx, 0x5d
call sub.VCRUNTIME140.dll_memchr
mov r14, rax
test rax, rax
je 0x180039c9f
lea rcx, [rax + 1]
mov edx, 0x5b
sub rbx, rcx
mov r8, rbx
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x180039c9f
mov r13, qword [0x18010bbc0]
lea rdx, [rdi + 1]
inc rax
mov byte [r14], r12b
movzx r8d, byte [rdi]
mov ebx, 0xffffffff
mov qword [rsp + 0x28], rax
test r8b, r8b
je 0x180039c3a
mov ebp, ebx
nop dword [rax]
cmp r8b, 0x23
jne 0x180039c12
cmp byte [rdx], r8b
jne 0x180039c12
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, [0x1800e74c0]
inc rdx
xor ebx, dword [rax + rcx*4]
test r8b, r8b
jne 0x180039c00
mov rbp, qword [rsp + 0x20]
mov eax, dword [r13 + 0x3210]
not ebx
mov edi, r12d
mov r15, r12
test eax, eax
jle 0x180039c99
mov r14, r12
test r15, r15
js 0x180039c59
cmp edi, eax
jl 0x180039c73
mov r8d, 0x6c7
lea rdx, str.C:UsersSeemoDesktopcodecave_hookcodecaveImGuiimgui.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 + 0x3218]
cmp dword [rax + r14 + 8], ebx
je 0x180039dc1
mov eax, dword [r13 + 0x3210]
inc edi
inc r15
add r14, 0x48
cmp edi, eax
jl 0x180039c50
mov r15, r12
mov r13, r12
mov rbx, qword [rsp + 0x90]
lea rcx, [rsi + 1]
cmp rcx, rbx
jb 0x180039b30
mov r14, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x98]
mov r8, qword [rsp + 0x88]
mov rdx, r14
mov rcx, rdi
mov byte [rbp + 0x31f8], 1
call sub.VCRUNTIME140.dll_memcpy
mov edx, dword [rbp + 0x3210]
test edx, edx
jle 0x180039db0
mov rbx, r12
nop
test r12d, r12d
js 0x180039cfa
cmp r12d, edx
jl 0x180039d1a
mov r8d, 0x6c7
lea rdx, str.C:UsersSeemoDesktopcodecave_hookcodecaveImGuiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov edx, dword [rbp + 0x3210]
mov rax, qword [rbp + 0x3218]
cmp qword [rbx + rax + 0x30], 0
je 0x180039d9a
test r12d, r12d
js 0x180039d33
cmp r12d, edx
jl 0x180039d53
mov r8d, 0x6c7
lea rdx, str.C:UsersSeemoDesktopcodecave_hookcodecaveImGuiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov edx, dword [rbp + 0x3210]
movsxd rax, r12d
lea rcx, [rax + rax*8]
mov rax, qword [rbp + 0x3218]
lea rdi, [rax + rcx*8]
test r12d, r12d
js 0x180039d6f
cmp r12d, edx
jl 0x180039d89
mov r8d, 0x6c7
lea rdx, str.C:UsersSeemoDesktopcodecave_hookcodecaveImGuiimgui.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 [rbp + 0x3218]
mov rdx, rdi
mov rcx, rbp
call qword [rbx + rax + Ordinal_50]
mov edx, dword [rbp + 0x3210]
inc r12d
add rbx, 0x48
cmp r12d, edx
jl 0x180039cf0
add rsp, 0x38
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
test edi, edi
js 0x180039dce
cmp edi, dword [r13 + 0x3210]
jl 0x180039de8
mov r8d, 0x6c7
lea rdx, str.C:UsersSeemoDesktopcodecave_hookcodecaveImGuiimgui.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 + 0x3218]
lea r15, [rax + rcx*8]
test r15, r15
je 0x180039c9c
mov r8, qword [rsp + 0x28]
mov rdx, r15
mov rcx, rbp
call qword [r15 + reloc.WLDAP32.dll_Ordinal_32]
mov r13, rax
jmp 0x180039c9f
mov rbx, qword [rsp + 0x90]
test r15, r15
je 0x180039ca7
test r13, r13
je 0x180039ca7
mov r9, rcx
mov r8, r13
mov rcx, rbp
mov rdx, r15
call qword [r15 + Ordinal_41]
jmp 0x180039ca7
inc rcx
jmp 0x180039b30