Function at 0x1400058f0
Capabilities:
Hash data with crc32

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x2f]
sub rsp, 0x98
mov rbx, qword [0x140058998]
cmp byte [rbx], 0
jne 0x14000591a
cmp byte [rbx + 0x5bb1], 0
je 0x140005934
mov r8d, 0xd9a
lea rdx, str.D:MoonLight_dx11MoonLight_dx11imgui.cpp
lea rcx, str._g.Initialized___g.SettingsLoaded
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
xor esi, esi
mov dword [rbp - 0x1d], esi
mov qword [rbp - 0x11], rsi
mov qword [rbp + 0x17], rsi
lea rax, str.Window
mov qword [rbp - 0x29], rax
mov edi, 0xffffffff
mov edx, edi
lea r8, [0x140043599]
mov r9b, 0x57
lea r14, [0x140047cb0]
cmp r9b, 0x23
jne 0x140005976
cmp byte [r8], r9b
jne 0x140005976
cmp byte [r8 + 1], r9b
cmove edx, edi
movzx ecx, dl
movzx eax, r9b
xor rcx, rax
shr edx, 8
xor edx, dword [r14 + rcx*4]
movzx r9d, byte [r8]
inc r8
test r9b, r9b
jne 0x140005964
not edx
mov dword [rbp - 0x21], edx
lea rax, [0x14001b020]
mov qword [rbp - 0x19], rax
lea rax, [0x14001b0e0]
mov qword [rbp - 9], rax
lea rax, [0x14001b160]
mov qword [rbp - 1], rax
lea rax, [0x14001b230]
mov qword [rbp + 7], rax
lea rax, [0x14001b3e0]
mov qword [rbp + 0xf], rax
lea rcx, [rbp - 0x29]
call fcn.14001a8d0
mov dword [rbp - 0x1d], esi
mov qword [rbp - 0x11], rsi
mov qword [rbp + 0x17], rsi
lea rax, str.Table
mov qword [rbp - 0x29], rax
mov edx, edi
lea r8, [0x14004f21d]
mov r9b, 0x54
nop word [rax + rax]
cmp r9b, 0x23
jne 0x140005a12
cmp byte [r8], r9b
jne 0x140005a12
cmp byte [r8 + 1], r9b
cmove edx, edi
movzx ecx, dl
movzx eax, r9b
xor rcx, rax
shr edx, 8
xor edx, dword [r14 + rcx*4]
movzx r9d, byte [r8]
inc r8
test r9b, r9b
jne 0x140005a00
not edx
mov dword [rbp - 0x21], edx
lea rax, [0x140031eb0]
mov qword [rbp - 0x19], rax
lea rax, [0x1400320a0]
mov qword [rbp - 9], rax
lea rax, [0x140032140]
mov qword [rbp - 1], rax
lea rax, [0x140031fc0]
mov qword [rbp + 7], rax
lea rax, [0x1400323c0]
mov qword [rbp + 0xf], rax
lea rcx, [rbp - 0x29]
call fcn.14001a8d0
mov rcx, qword [0x140058998]
mov rax, qword [str.Size_column_to_fitSizeOne]
mov qword [rcx + 0x5c10], rax
mov rax, qword [str.Size_all_columns_to_fitSizeAll]
mov qword [rcx + 0x5c18], rax
mov rax, qword [str.Size_all_columns_to_defaultSizeAll]
mov qword [rcx + 0x5c20], rax
mov rax, qword [str.Reset_orderResetOrder]
mov qword [rcx + 0x5c28], rax
mov rax, qword [str._Main_menu_bar_]
mov qword [rcx + 0x5c30], rax
mov rax, qword [str._Popup_]
mov qword [rcx + 0x5c38], rax
mov rax, qword [str._Untitled_]
mov qword [rcx + 0x5c40], rax
test rcx, rcx
je 0x140005ae8
inc dword [rcx + 0xf4]
mov ecx, 0xb8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
mov qword [rbp + 0x6f], rax
lea rax, [rbp + 0x67]
mov qword [rbp + 0x77], rax
mov qword [rbp + 0x7f], rdi
test rdi, rdi
je 0x140005b7c
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi + 0x20], xmm0
movups xmmword [rdi + 0x48], xmm0
movups xmmword [rdi + 0x58], xmm0
movups xmmword [rdi + 0x68], xmm0
lea rcx, [rdi + 0x78]
mov qword [rbp - 0x39], rcx
lea rax, [0x14001bf50]
mov qword [rsp + 0x20], rax
lea r9, [0x14001c850]
mov edx, 0x10
lea r8d, [rdx - 0xe]
call fcn.14004022c
mov qword [rdi + 0x98], rsi
mov qword [rdi + 0xa0], rsi
mov qword [rdi + 0xa8], rsi
mov qword [rdi + 0xb0], rsi
mov qword [rdi + 0x30], 0xffffffffffffffff
mov qword [rdi + 0x40], rsi
mov qword [rdi + 0x38], rsi
jmp 0x140005b7f
mov rdi, rsi
mov ecx, dword [rbx + 0x48a4]
mov r14d, dword [rbx + 0x48a0]
mov esi, 8
cmp r14d, ecx
jne 0x140005c2d
inc r14d
test ecx, ecx
je 0x140005bac
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x140005bae
mov eax, esi
cmp eax, r14d
cmovg r14d, eax
cmp r14d, ecx
jle 0x140005c2d
mov rax, qword [0x140058998]
test rax, rax
je 0x140005bcc
inc dword [rax + 0xf4]
movsxd rcx, r14d
shl rcx, 3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r15, rax
mov rdx, qword [rbx + 0x48a8]
test rdx, rdx
je 0x140005c1f
movsxd r8, dword [rbx + 0x48a0]
shl r8, 3
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rbx + 0x48a8]
test rcx, rcx
je 0x140005c19
mov rax, qword [0x140058998]
test rax, rax
je 0x140005c19
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x48a8], r15
mov dword [rbx + 0x48a4], r14d
movsxd rcx, dword [rbx + 0x48a0]
mov rax, qword [rbx + 0x48a8]
mov qword [rax + rcx*8], rdi
inc dword [rbx + 0x48a0]
lea rdi, [rbx + 0x5e00]
mov ecx, dword [rdi + 4]
cmp ecx, 0xc01
jge 0x140005c77
test ecx, ecx
je 0x140005c65
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
lea esi, [rcx + rax]
mov edx, 0xc01
cmp esi, edx
cmovg edx, esi
mov rcx, rdi
call fcn.14001cb30
movsxd rax, dword [rdi]
cmp eax, 0xc01
jge 0x140005ca4
mov rcx, rax
cmp rax, 0xc01
jge 0x140005ca4
nop dword [rax]
mov rax, qword [rdi + 8]
mov byte [rcx + rax], 0
inc rcx
cmp rcx, 0xc01
jl 0x140005c90
mov dword [rdi], 0xc01
mov byte [rbx], 1
add rsp, 0x98
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret