Function at 0x140013390
Capabilities:
Hash data with crc32

Disassembly:
push rsi
push r13
sub rsp, 0x48
mov r13, qword [0x140156830]
mov qword [rsp + 0x60], rbx
mov rbx, rdx
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x38], rdi
mov rdi, rcx
cmp byte [r13], 0
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x68], r13
jne 0x1400133df
mov r8d, 0x23b5
lea rdx, str.F:_Grand_Theft_Auto_V__Entropy_Loaderimguiimgui.cpp
lea rcx, str.g.Initialized
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
cmp byte [r13 + 0x2eac], 0
jne 0x1400133f3
cmp dword [r13 + 0x1998], 0
je 0x14001340d
mov r8d, 0x23b6
lea rdx, str.F:_Grand_Theft_Auto_V__Entropy_Loaderimguiimgui.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 0x140013429
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp byte [rdi + rbx], 0
jne 0x140013420
mov rax, qword [0x140156830]
test rax, rax
je 0x14001343b
inc dword [rax + 0x3b0]
mov rdx, qword [0x140156820]
lea rcx, [rbx + 1]
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov r8, rbx
mov qword [rsp + 0x70], rax
mov rdx, rdi
mov rcx, rax
mov rsi, rax
lea r12, [rax + rbx]
call sub.VCRUNTIME140.dll_memcpy
xor ebp, ebp
mov byte [r12], 0
xor edi, edi
mov rbx, rsi
cmp rsi, r12
jae 0x14001365c
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
movzx eax, byte [rbx]
cmp al, 0xa
je 0x1400136a6
cmp al, 0xd
je 0x1400136a6
mov rsi, rbx
cmp rbx, r12
jae 0x1400134b3
nop
movzx eax, byte [rsi]
cmp al, 0xa
je 0x1400134b3
cmp al, 0xd
je 0x1400134b3
inc rsi
cmp rsi, r12
jb 0x1400134a0
mov byte [rsi], 0
movzx eax, byte [rbx]
cmp al, 0x3b
je 0x140013640
cmp al, 0x5b
jne 0x140013627
cmp rsi, rbx
jbe 0x140013627
cmp byte [rsi - 1], 0x5d
lea r14, [rsi - 1]
jne 0x140013627
lea rdi, [rbx + 1]
mov byte [r14], 0
mov r8, r14
mov rcx, rdi
sub r8, rdi
mov edx, 0x5d
call sub.VCRUNTIME140.dll_memchr
mov r15, rax
test rax, rax
je 0x140013522
lea rcx, [rax + 1]
mov edx, 0x5b
sub r14, rcx
mov r8, r14
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x140013522
mov byte [r15], 0
jmp 0x14001352c
lea rdi, str.Window
mov rax, rbx
movzx r8d, byte [rdi]
lea r15, [rax + 1]
mov r14, qword [0x140156830]
mov ebx, 0xffffffff
lea rdx, [rdi + 1]
test r8b, r8b
je 0x14001358b
mov r13d, ebx
nop dword [rax]
cmp r8b, 0x23
jne 0x140013563
cmp byte [rdx], r8b
jne 0x140013563
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, [0x1400b8870]
inc rdx
xor ebx, dword [rax + rcx*4]
test r8b, r8b
jne 0x140013550
mov r13, qword [rsp + 0x68]
mov eax, dword [r14 + 0x2ec8]
xor edi, edi
not ebx
test eax, eax
jle 0x1400135d8
xor ebp, ebp
cmp edi, eax
jl 0x1400135ba
mov r8d, 0x4e6
lea rdx, str.F:_Grand_Theft_Auto_V__Entropy_Loaderimguiimgui.h
lea rcx, str.i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [r14 + 0x2ed0]
mov eax, dword [r14 + 0x2ec8]
cmp dword [rcx + rbp + 8], ebx
je 0x1400135de
inc edi
add rbp, 0x30
cmp edi, eax
jl 0x1400135ba
xor edi, edi
xor ebp, ebp
jmp 0x140013640
cmp edi, eax
jl 0x140013603
mov r8d, 0x4e6
lea rdx, str.F:_Grand_Theft_Auto_V__Entropy_Loaderimguiimgui.h
lea rcx, str.i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [r14 + 0x2ed0]
movsxd rax, edi
lea rdi, [rax + rax*2]
shl rdi, 4
add rdi, rcx
je 0x1400135da
mov rax, qword [rdi + 0x10]
mov r8, r15
mov rdx, rdi
mov rcx, r13
call rax
mov rbp, rax
jmp 0x140013640
test rdi, rdi
je 0x140013640
test rbp, rbp
je 0x140013640
mov r9, rbx
mov r8, rbp
mov rdx, rdi
mov rcx, r13
call qword [rdi + Ordinal_26]
lea rbx, [rsi + 1]
cmp rbx, r12
jb 0x140013484
mov rsi, qword [rsp + 0x70]
mov r15, qword [rsp + 0x20]
mov r14, qword [rsp + 0x28]
mov r12, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x60]
test rsi, rsi
je 0x140013687
mov rax, qword [0x140156830]
test rax, rax
je 0x140013687
dec dword [rax + 0x3b0]
mov rdx, qword [0x140156820]
mov rcx, rsi
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov byte [r13 + 0x2eac], 1
add rsp, 0x48
pop r13
pop rsi
ret
inc rbx
jmp 0x140013484