Function at 0x405940
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42f933
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x438040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [0x438490]
or eax, 0xffffffff
mov dword [ebp - 0x3c], 0
mov esi, 0x430379
mov dword [ebp - 0x28], 0
mov cl, 0x57
mov dword [ebp - 0x48], str.Window
or ebx, 0xffffffff
cmp cl, 0x23
jne 0x4059a2
cmp byte [esi], cl
jne 0x4059a2
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x431358]
test cl, cl
jne 0x405993
not eax
mov dword [ebp - 0x40], 0x417dc0
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x38], 0x417e00
mov dword [ebp - 0x34], 0x417e70
mov dword [ebp - 0x30], 0x417f70
mov dword [ebp - 0x2c], 0x418080
call fcn.00417800
mov dword [ebp - 0x3c], 0
or edx, 0xffffffff
mov dword [ebp - 0x28], 0
mov esi, 0x43575d
mov dword [ebp - 0x48], str.Table
mov al, 0x54
nop word [eax + eax]
cmp al, 0x23
jne 0x405a1e
cmp byte [esi], al
jne 0x405a1e
cmp byte [esi + 1], al
cmove edx, ebx
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
mov al, byte [esi]
inc esi
xor edx, dword [ecx*4 + 0x431358]
test al, al
jne 0x405a10
not edx
mov dword [ebp - 0x40], 0x42b370
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x38], 0x42b410
mov dword [ebp - 0x34], 0x42b4c0
mov dword [ebp - 0x30], 0x42b3c0
mov dword [ebp - 0x2c], 0x42b710
call fcn.00417800
mov eax, dword [str.Dear_ImGui_1.90.1_WIP__19001_]
mov ecx, dword [0x438490]
push 0xa4
mov dword [ecx + 0x5d98], eax
mov eax, dword [str.Size_column_to_fitSizeOne]
mov dword [ecx + 0x5d9c], eax
mov eax, dword [str.Size_all_columns_to_fitSizeAll]
mov dword [ecx + 0x5da0], eax
mov eax, dword [str.Size_all_columns_to_defaultSizeAll]
mov dword [ecx + 0x5da4], eax
mov eax, dword [str.Reset_orderResetOrder]
mov dword [ecx + 0x5da8], eax
mov eax, dword [str._Main_menu_bar_]
mov dword [ecx + 0x5dac], eax
mov eax, dword [str._Popup_]
mov dword [ecx + 0x5db0], eax
mov eax, dword [str._Untitled_]
mov dword [ecx + 0x5db4], eax
mov dword [edi + 0x7c], 0x4182c0
mov dword [edi + 0x80], 0x4183a0
mov dword [edi + 0x84], edi
mov dword [edi + 0x88], 0x418430
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov esi, dword [0x438490]
add esp, 4
mov dword [ebp - 0x20], 6
mov ecx, eax
test esi, esi
je 0x405b4d
movsx edx, word [esi + 0x5e50]
lea eax, [esi + 0x5e54]
mov ebx, dword [esi + 0x3f08]
lea eax, [eax + edx*8]
cmp dword [eax], ebx
je 0x405b43
lea eax, [edx + 1]
cdq
idiv dword [ebp - 0x20]
movzx eax, dx
mov word [esi + 0x5e50], ax
cwde
lea eax, [eax*8 + 0x5e54]
add eax, esi
xor edx, edx
mov dword [eax], ebx
mov dword [eax + 4], edx
inc word [eax + 4]
inc dword [esi + 0x5e48]
lea eax, [ebp - 0x11]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 0
test ecx, ecx
je 0x405b6d
call fcn.004021b0
mov ebx, eax
jmp 0x405b6f
xor ebx, ebx
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [edi + 0x49f8]
mov esi, dword [edi + 0x49f4]
cmp esi, ecx
jne 0x405c67
inc esi
test ecx, ecx
je 0x405b9a
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x405b9f
mov eax, 8
cmp eax, esi
cmovg esi, eax
cmp esi, ecx
jle 0x405c67
lea ecx, [esi*4]
call fcn.004077c0
mov edx, dword [edi + 0x49fc]
mov dword [ebp - 0x24], eax
test edx, edx
je 0x405c5b
mov ecx, dword [edi + 0x49f4]
shl ecx, 2
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov edx, dword [edi + 0x49fc]
add esp, 0xc
mov dword [ebp - 0x1c], edx
test edx, edx
je 0x405c4e
mov ecx, dword [0x438490]
test ecx, ecx
je 0x405c4e
mov eax, dword [ecx + 0x3f08]
mov dword [ebp - 0x18], eax
movsx eax, word [ecx + 0x5e50]
mov edx, dword [ebp - 0x18]
lea eax, [eax*8 + 0x5e54]
add eax, ecx
cmp dword [eax], edx
mov edx, dword [ebp - 0x1c]
je 0x405c44
movsx eax, word [ecx + 0x5e50]
inc eax
cdq
idiv dword [ebp - 0x20]
movzx eax, dx
mov edx, dword [ebp - 0x18]
mov word [ecx + 0x5e50], ax
cwde
lea eax, [eax*8 + 0x5e54]
add eax, ecx
mov dword [eax], edx
xor edx, edx
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x1c]
inc word [eax + 6]
inc dword [ecx + 0x5e4c]
push edx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [ebp - 0x24]
add esp, 4
mov dword [edi + 0x49fc], eax
mov dword [edi + 0x49f8], esi
mov ecx, dword [edi + 0x49f4]
lea esi, [edi + 0x5f8c]
mov eax, dword [edi + 0x49fc]
mov dword [eax + ecx*4], ebx
inc dword [edi + 0x49f4]
mov ebx, dword [esi + 4]
cmp ebx, 0xc01
jge 0x405cb5
test ebx, ebx
je 0x405c9e
mov eax, ebx
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, ebx
jmp 0x405ca3
mov ecx, 8
mov eax, 0xc01
cmp ecx, eax
cmovg eax, ecx
mov ecx, esi
push eax
call fcn.00419840
mov ecx, dword [esi]
cmp ecx, 0xc01
jge 0x405cd0
nop
mov eax, dword [esi + 8]
mov byte [ecx + eax], 0
inc ecx
cmp ecx, 0xc01
jl 0x405cc0
mov dword [esi], 0xc01
mov byte [edi], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042e57b
mov esp, ebp
pop ebp
ret