Function at 0x140039840
Capabilities:
Hash data with crc32

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x2f]
sub rsp, 0x88
mov rdi, qword [0x14014f9f0]
xor r14d, r14d
mov dword [rbp - 0x1d], r14d
mov qword [rbp - 0x11], r14
mov qword [rbp + 0x17], r14
lea rax, str.Window
mov qword [rbp - 0x29], rax
mov ebx, 0xffffffff
mov edx, ebx
lea r8, [0x140136f05]
mov r9b, 0x57
lea rsi, [0x140132770]
nop
cmp r9b, 0x23
jne 0x1400398a2
cmp byte [r8], r9b
jne 0x1400398a2
cmp byte [r8 + 1], r9b
cmove edx, ebx
movzx ecx, dl
movzx eax, r9b
xor rcx, rax
shr edx, 8
xor edx, dword [rsi + rcx*4]
movzx r9d, byte [r8]
inc r8
test r9b, r9b
jne 0x140039890
not edx
mov dword [rbp - 0x21], edx
lea rax, [0x14004d580]
mov qword [rbp - 0x19], rax
lea rax, [0x14004d610]
mov qword [rbp - 9], rax
lea rax, [0x14004d6e0]
mov qword [rbp - 1], rax
lea rax, [0x14004d7b0]
mov qword [rbp + 7], rax
lea rax, [0x14004d900]
mov qword [rbp + 0xf], rax
lea rcx, [rbp - 0x29]
call fcn.14004cec0
mov dword [rbp - 0x1d], r14d
mov qword [rbp - 0x11], r14
mov qword [rbp + 0x17], r14
lea rax, str.Table
mov qword [rbp - 0x29], rax
mov edx, ebx
lea r8, [0x140130f91]
mov r9b, 0x54
cmp r9b, 0x23
jne 0x140039938
cmp byte [r8], r9b
jne 0x140039938
cmp byte [r8 + 1], r9b
cmove edx, ebx
movzx ecx, dl
movzx eax, r9b
xor rcx, rax
shr edx, 8
xor edx, dword [rsi + rcx*4]
movzx r9d, byte [r8]
inc r8
test r9b, r9b
jne 0x140039926
not edx
mov dword [rbp - 0x21], edx
lea rax, [0x14001dcd0]
mov qword [rbp - 0x19], rax
lea rax, [0x14001ddc0]
mov qword [rbp - 9], rax
lea rax, [0x14001dea0]
mov qword [rbp - 1], rax
lea rax, [0x14001dd70]
mov qword [rbp + 7], rax
lea rax, [0x14001e120]
mov qword [rbp + 0xf], rax
lea rcx, [rbp - 0x29]
call fcn.14004cec0
mov rcx, qword [0x14014f9f0]
mov rax, qword [str.Dear_ImGui_1.89.9_WIP__18983_]
mov qword [rcx + 0x5c68], rax
mov rax, qword [str.Size_column_to_fitSizeOne]
mov qword [rcx + 0x5c70], rax
mov rax, qword [str.Size_all_columns_to_fitSizeAll]
mov qword [rcx + 0x5c78], rax
mov rax, qword [str.Size_all_columns_to_defaultSizeAll]
mov qword [rcx + 0x5c80], rax
mov rax, qword [str.Reset_orderResetOrder]
mov qword [rcx + 0x5c88], rax
mov rax, qword [str._Main_menu_bar_]
mov qword [rcx + 0x5c90], rax
mov rax, qword [str._Popup_]
mov qword [rcx + 0x5c98], rax
mov rax, qword [str._Untitled_]
mov qword [rcx + 0x5ca0], rax
lea rax, [0x14004db80]
mov qword [rdi + 0xa8], rax
lea rax, [0x14004dce0]
mov qword [rdi + 0xb0], rax
mov qword [rdi + 0xb8], rdi
lea rax, [0x14004ddb0]
mov qword [rdi + 0xc0], rax
test rcx, rcx
je 0x140039a4c
inc dword [rcx + 0xf0]
mov ecx, reloc.WLDAP32.dll_Ordinal_200
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
mov qword [rbp + 0x6f], rax
lea rax, [rbp + 0x67]
mov qword [rbp + 0x77], rax
mov qword [rbp + 0x7f], rsi
test rsi, rsi
je 0x140039b01
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm0
movups xmmword [rsi + 0x20], xmm0
lea rbx, [rsi + 0x48]
mov qword [rbp - 0x39], rbx
lea rcx, [rbx + 0x10]
mov qword [rcx], r14
mov qword [rcx + 8], r14
mov qword [rbx + 0x20], r14
mov qword [rbx + 0x28], r14
mov qword [rbx + 0x30], r14
mov byte [rbx], 0
mov qword [rbx + 8], r14
mov dword [rbx + 4], r14d
xor edx, edx
call fcn.14004ec00
mov qword [rbx + 0x30], r14
mov qword [rbx + 0x28], r14
mov qword [rbx + 0x20], r14
mov qword [rbx + 0x38], r14
xorps xmm0, xmm0
movups xmmword [rsi + 0x88], xmm0
movups xmmword [rsi + 0x98], xmm0
mov qword [rsi + 0xa8], r14
mov qword [rsi + 0xb0], r14
mov qword [rsi + 0xb8], r14
mov qword [rsi + 0xc0], r14
mov qword [rsi + 0x30], 0xffffffffffffffff
mov qword [rsi + 0x40], r14
mov qword [rsi + 0x38], r14
jmp 0x140039b04
mov rsi, r14
mov ecx, dword [rdi + 0x48c4]
mov ebx, dword [rdi + 0x48c0]
mov r14d, 8
cmp ebx, ecx
jne 0x140039bad
inc ebx
test ecx, ecx
je 0x140039b2f
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x140039b32
mov eax, r14d
cmp eax, ebx
cmovg ebx, eax
cmp ebx, ecx
jle 0x140039bad
mov rax, qword [0x14014f9f0]
test rax, rax
je 0x140039b4d
inc dword [rax + 0xf0]
movsxd rcx, ebx
shl rcx, 3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r15, rax
mov rdx, qword [rdi + 0x48c8]
test rdx, rdx
je 0x140039ba0
movsxd r8, dword [rdi + 0x48c0]
shl r8, 3
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rdi + 0x48c8]
test rcx, rcx
je 0x140039b9a
mov rax, qword [0x14014f9f0]
test rax, rax
je 0x140039b9a
dec dword [rax + 0xf0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x48c8], r15
mov dword [rdi + 0x48c4], ebx
movsxd rcx, dword [rdi + 0x48c0]
mov rax, qword [rdi + 0x48c8]
mov qword [rax + rcx*8], rsi
inc dword [rdi + 0x48c0]
lea rbx, [rdi + 0x5e68]
mov ecx, dword [rbx + 4]
cmp ecx, 0xc01
jge 0x140039bfa
test ecx, ecx
je 0x140039be6
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
lea r14d, [rcx + rax]
mov edx, 0xc01
cmp r14d, edx
cmovg edx, r14d
mov rcx, rbx
call fcn.14001eec0
movsxd rax, dword [rbx]
cmp eax, 0xc01
jge 0x140039c24
mov rcx, rax
cmp rax, 0xc01
jge 0x140039c24
nop
mov rax, qword [rbx + 8]
mov byte [rcx + rax], 0
inc rcx
cmp rcx, 0xc01
jl 0x140039c10
mov dword [rbx], 0xc01
mov byte [rdi], 1
add rsp, 0x88
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret