Function at 0x140006130
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 [0x140458f40]
cmp byte [rbx], 0
jne 0x14000615a
cmp byte [rbx + 0x5be9], 0
je 0x140006174
mov r8d, 0xdcd
lea rdx, str.C:UsersMUHA7Desktopimgui_facturaimgui.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, [0x140154029]
mov r9b, 0x57
lea r14, [0x140158e10]
cmp r9b, 0x23
jne 0x1400061b6
cmp byte [r8], r9b
jne 0x1400061b6
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 0x1400061a4
not edx
mov dword [rbp - 0x21], edx
lea rax, [0x14001e590]
mov qword [rbp - 0x19], rax
lea rax, [0x14001e650]
mov qword [rbp - 9], rax
lea rax, [0x14001e6f0]
mov qword [rbp - 1], rax
lea rax, [0x14001e7c0]
mov qword [rbp + 7], rax
lea rax, [0x14001e970]
mov qword [rbp + 0xf], rax
lea rcx, [rbp - 0x29]
call fcn.14001dbf0
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, [0x14015ed75]
mov r9b, 0x54
nop word [rax + rax]
cmp r9b, 0x23
jne 0x140006252
cmp byte [r8], r9b
jne 0x140006252
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 0x140006240
not edx
mov dword [rbp - 0x21], edx
lea rax, [0x140036470]
mov qword [rbp - 0x19], rax
lea rax, [0x140036660]
mov qword [rbp - 9], rax
lea rax, [0x140036700]
mov qword [rbp - 1], rax
lea rax, [0x140036580]
mov qword [rbp + 7], rax
lea rax, [0x140036980]
mov qword [rbp + 0xf], rax
lea rcx, [rbp - 0x29]
call fcn.14001dbf0
mov rcx, qword [0x140458f40]
mov rax, qword [str.Size_column_to_fitSizeOne]
mov qword [rcx + 0x5c48], rax
mov rax, qword [str.Size_all_columns_to_fitSizeAll]
mov qword [rcx + 0x5c50], rax
mov rax, qword [str.Size_all_columns_to_defaultSizeAll]
mov qword [rcx + 0x5c58], rax
mov rax, qword [str.Reset_orderResetOrder]
mov qword [rcx + 0x5c60], rax
mov rax, qword [str._Main_menu_bar_]
mov qword [rcx + 0x5c68], rax
mov rax, qword [str._Popup_]
mov qword [rcx + 0x5c70], rax
mov rax, qword [str._Untitled_]
mov qword [rcx + 0x5c78], rax
lea rax, [0x14001ec70]
mov qword [rbx + 0xb0], rax
lea rax, [0x14001edd0]
mov qword [rbx + 0xb8], rax
mov qword [rbx + 0xc0], rbx
lea rax, [0x14001eea0]
mov qword [rbx + 0xc8], rax
test rcx, rcx
je 0x140006359
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 0x1400063ed
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, [0x14001f530]
mov qword [rsp + 0x20], rax
lea r9, [0x14001fda0]
mov edx, reloc.WS2_32.dll_recv
lea r8d, [rdx - 0xe]
call fcn.1401244d8
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 0x1400063f0
mov rdi, rsi
mov ecx, dword [rbx + 0x48cc]
mov r14d, dword [rbx + 0x48c8]
mov esi, 8
cmp r14d, ecx
jne 0x14000649e
inc r14d
test ecx, ecx
je 0x14000641d
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x14000641f
mov eax, esi
cmp eax, r14d
cmovg r14d, eax
cmp r14d, ecx
jle 0x14000649e
mov rax, qword [0x140458f40]
test rax, rax
je 0x14000643d
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 + 0x48d0]
test rdx, rdx
je 0x140006490
movsxd r8, dword [rbx + 0x48c8]
shl r8, 3
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rbx + 0x48d0]
test rcx, rcx
je 0x14000648a
mov rax, qword [0x140458f40]
test rax, rax
je 0x14000648a
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x48d0], r15
mov dword [rbx + 0x48cc], r14d
movsxd rcx, dword [rbx + 0x48c8]
mov rax, qword [rbx + 0x48d0]
mov qword [rax + rcx*8], rdi
inc dword [rbx + 0x48c8]
lea rdi, [rbx + 0x5e40]
mov ecx, dword [rdi + 4]
cmp ecx, 0xc01
jge 0x1400064e8
test ecx, ecx
je 0x1400064d6
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.140020080
movsxd rax, dword [rdi]
cmp eax, 0xc01
jge 0x140006514
mov rcx, rax
cmp rax, 0xc01
jge 0x140006514
nop dword [rax]
mov rax, qword [rdi + 8]
mov byte [rcx + rax], 0
inc rcx
cmp rcx, 0xc01
jl 0x140006500
mov dword [rdi], 0xc01
mov byte [rbx], 1
add rsp, 0x98
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret