Function at 0x18013fd60
Capabilities:
Hash data with crc32

Disassembly:
push rsi
push r14
sub rsp, 0x48
mov rsi, qword [0x1804e5b30]
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 0x18013fdac
mov r8d, 0x2504
lea rdx, str.D:FolderscodingCAsteroid_PCAsteroidPCimguiimgui.cpp
lea rcx, str.g.Initialized
call fcn.1803a3ad8
cmp byte [rsi + 0x2ef4], 0
jne 0x18013fdbe
cmp dword [rsi + 0x19b0], 0
je 0x18013fdd7
mov r8d, 0x2505
lea rdx, str.D:FolderscodingCAsteroid_PCAsteroidPCimguiimgui.cpp
lea rcx, str.g.SettingsLoaded__false__g.FrameCount__0
call fcn.1803a3ad8
test rbx, rbx
jne 0x18013fdec
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rdi + rbx], 0
jne 0x18013fde3
mov rax, qword [0x1804e5b30]
test rax, rax
je 0x18013fdfe
inc dword [rax + 0x3bc]
lea rcx, [rbx + 1]
call fcn.1803a3b90
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 fcn.1803c8f80
xor ebp, ebp
mov byte [r13], 0
xor ebx, ebx
mov rcx, r14
cmp r14, r13
jae 0x18013ffb2
mov qword [rsp + 0x20], r15
mov qword [rsp + 0x30], r12
movzx eax, byte [rcx]
cmp al, 0xa
je 0x180140072
cmp al, 0xd
je 0x180140072
mov rdi, rcx
cmp rcx, r13
jae 0x18013fe73
movzx eax, byte [rdi]
cmp al, 0xa
je 0x18013fe73
cmp al, 0xd
je 0x18013fe73
inc rdi
cmp rdi, r13
jb 0x18013fe60
mov byte [rdi], 0
movzx eax, byte [rcx]
cmp al, 0x3b
je 0x18013ff96
cmp al, 0x5b
jne 0x18014004c
cmp rdi, rcx
jbe 0x18014004c
cmp byte [rdi - 1], 0x5d
lea rsi, [rdi - 1]
jne 0x180140047
lea r14, [rcx + 1]
mov byte [rsi], 0
mov r8, rsi
mov rcx, r14
sub r8, r14
mov edx, 0x5d
call fcn.1803c9aa0
mov r15, rax
test rax, rax
je 0x18013ff91
lea rcx, [rax + 1]
mov edx, 0x5b
sub rsi, rcx
mov r8, rsi
call fcn.1803c9aa0
mov r12, rax
test rax, rax
je 0x18013ff91
mov byte [r15], 0
lea rdx, [r14 + 1]
movzx r8d, byte [r14]
mov ebx, 0xffffffff
mov r15, qword [0x1804e5b30]
test r8b, r8b
je 0x18013ff41
mov r13d, ebx
cmp r8b, 0x23
jne 0x18013ff19
cmp byte [rdx], r8b
jne 0x18013ff19
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, [0x18048c2e0]
inc rdx
xor ebx, dword [rax + rcx*4]
test r8b, r8b
jne 0x18013ff06
mov r13, qword [rsp + 0x70]
mov ecx, dword [r15 + 0x2f10]
xor esi, esi
not ebx
test ecx, ecx
jle 0x18013ff8d
xor ebp, ebp
cmp esi, ecx
jl 0x18013ff6f
mov r8d, 0x4fa
lea rdx, str.D:FolderscodingCAsteroid_PCAsteroidPCimguiimgui.h
lea rcx, str.i___Size
call fcn.1803a3ad8
mov rax, qword [r15 + 0x2f18]
mov ecx, dword [r15 + 0x2f10]
cmp dword [rax + rbp + 8], ebx
je 0x18013fff4
inc esi
add rbp, 0x30
cmp esi, ecx
jl 0x18013ff6f
xor ebx, ebx
xor ebp, ebp
mov rsi, qword [rsp + 0x68]
lea rcx, [rdi + 1]
cmp rcx, r13
jb 0x18013fe45
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 0x18013ffdd
mov rax, qword [0x1804e5b30]
test rax, rax
je 0x18013ffdd
dec dword [rax + 0x3bc]
mov rcx, r14
call fcn.18039da98
mov byte [rsi + 0x2ef4], 1
add rsp, 0x48
pop r14
pop rsi
ret
cmp esi, ecx
jl 0x180140011
mov r8d, 0x4fa
lea rdx, str.D:FolderscodingCAsteroid_PCAsteroidPCimguiimgui.h
lea rcx, str.i___Size
call fcn.1803a3ad8
movsxd rax, esi
lea rbx, [rax + rax*2]
shl rbx, 4
add rbx, qword [r15 + 0x2f18]
je 0x18013ff8f
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 0x18013ff96
mov rsi, qword [rsp + 0x68]
test rbx, rbx
je 0x18013ff96
test rbp, rbp
je 0x18013ff96
mov r9, rcx
mov r8, rbp
mov rcx, rsi
mov rdx, rbx
call qword [rbx + Ordinal_26]
jmp 0x18013ff96
inc rcx
jmp 0x18013fe45