Function at 0x140006840
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 [0x14022f730]
cmp byte [rbx], 0
jne 0x14000686a
cmp byte [rbx + 0x5bc1], 0
je 0x140006884
mov r8d, 0xd9c
lea rdx, str.C:UsershuyngDownloadsOnlyRed_Unpack_Por_ExcludeOnlyRed_Unpack_Por_Excludeimgui.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, [0x1400d1829]
mov r9b, 0x57
lea r14, [0x1400d6680]
cmp r9b, 0x23
jne 0x1400068c6
cmp byte [r8], r9b
jne 0x1400068c6
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 0x1400068b4
not edx
mov dword [rbp - 0x21], edx
lea rax, [0x14001e960]
mov qword [rbp - 0x19], rax
lea rax, [0x14001ea20]
mov qword [rbp - 9], rax
lea rax, [0x14001eac0]
mov qword [rbp - 1], rax
lea rax, [0x14001eb90]
mov qword [rbp + 7], rax
lea rax, [0x14001ed40]
mov qword [rbp + 0xf], rax
lea rcx, [rbp - 0x29]
call fcn.14001dfa0
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, [0x1400dca55]
mov r9b, 0x54
nop word [rax + rax]
cmp r9b, 0x23
jne 0x140006962
cmp byte [r8], r9b
jne 0x140006962
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 0x140006950
not edx
mov dword [rbp - 0x21], edx
lea rax, [0x1400312e0]
mov qword [rbp - 0x19], rax
lea rax, [0x1400314d0]
mov qword [rbp - 9], rax
lea rax, [0x140031570]
mov qword [rbp - 1], rax
lea rax, [0x1400313f0]
mov qword [rbp + 7], rax
lea rax, [0x1400317f0]
mov qword [rbp + 0xf], rax
lea rcx, [rbp - 0x29]
call fcn.14001dfa0
mov rcx, qword [0x14022f730]
mov rax, qword [str.Size_column_to_fitSizeOne]
mov qword [rcx + 0x5c20], rax
mov rax, qword [str.Size_all_columns_to_fitSizeAll]
mov qword [rcx + 0x5c28], rax
mov rax, qword [str.Size_all_columns_to_defaultSizeAll]
mov qword [rcx + 0x5c30], rax
mov rax, qword [str.Reset_orderResetOrder]
mov qword [rcx + 0x5c38], rax
mov rax, qword [str._Main_menu_bar_]
mov qword [rcx + 0x5c40], rax
mov rax, qword [str._Popup_]
mov qword [rcx + 0x5c48], rax
mov rax, qword [str._Untitled_]
mov qword [rcx + 0x5c50], rax
test rcx, rcx
je 0x140006a38
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 0x140006acc
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, [0x14001fa70]
mov qword [rsp + 0x20], rax
lea r9, [0x1400202a0]
mov edx, 0x10
lea r8d, [rdx - 0xe]
call fcn.1400b1698
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 0x140006acf
mov rdi, rsi
mov ecx, dword [rbx + 0x48b4]
mov r14d, dword [rbx + 0x48b0]
mov esi, 8
cmp r14d, ecx
jne 0x140006b7d
inc r14d
test ecx, ecx
je 0x140006afc
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x140006afe
mov eax, esi
cmp eax, r14d
cmovg r14d, eax
cmp r14d, ecx
jle 0x140006b7d
mov rax, qword [0x14022f730]
test rax, rax
je 0x140006b1c
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 + 0x48b8]
test rdx, rdx
je 0x140006b6f
movsxd r8, dword [rbx + 0x48b0]
shl r8, 3
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rbx + 0x48b8]
test rcx, rcx
je 0x140006b69
mov rax, qword [0x14022f730]
test rax, rax
je 0x140006b69
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x48b8], r15
mov dword [rbx + 0x48b4], r14d
movsxd rcx, dword [rbx + 0x48b0]
mov rax, qword [rbx + 0x48b8]
mov qword [rax + rcx*8], rdi
inc dword [rbx + 0x48b0]
lea rdi, [rbx + 0x5e10]
mov ecx, dword [rdi + 4]
cmp ecx, 0xc01
jge 0x140006bc7
test ecx, ecx
je 0x140006bb5
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.140020570
movsxd rax, dword [rdi]
cmp eax, 0xc01
jge 0x140006bf4
mov rcx, rax
cmp rax, 0xc01
jge 0x140006bf4
nop dword [rax]
mov rax, qword [rdi + 8]
mov byte [rcx + rax], 0
inc rcx
cmp rcx, 0xc01
jl 0x140006be0
mov dword [rdi], 0xc01
mov byte [rbx], 1
add rsp, 0x98
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret