Function at 0x140083050
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xd8
mov rax, qword [rsp + 0xe0]
mov eax, dword [rax + 4]
and eax, 8
test eax, eax
jne 0x14008308a
mov r8d, 0xae0
lea rdx, [0x14021f870]
lea rcx, str.table__Flags__ImGuiTableFlags_Sortable
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
xor eax, eax
mov dword [rsp + 0x24], 0
mov qword [rsp + 0x60], 0
mov dword [rsp + 0x38], 0
jmp 0x1400830af
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0xe0]
mov eax, dword [rax + 0x6c]
cmp dword [rsp + 0x38], eax
jge 0x140083181
mov rax, qword [rsp + 0xe0]
add rax, 0x18
mov qword [rsp + 0x70], rax
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x70]
call fcn.14000c150
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
movsx eax, word [rax + 0x5a]
cmp eax, 0xffffffff
je 0x140083111
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax + 0x62]
test eax, eax
jne 0x140083111
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x50]
mov word [rcx + 0x5a], ax
mov rax, qword [rsp + 0x50]
movsx eax, word [rax + 0x5a]
cmp eax, 0xffffffff
jne 0x140083121
jmp 0x1400830a5
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x50]
movsx eax, word [rax + 0x5a]
mov ecx, 1
mov qword [rsp + 0x78], rcx
movzx ecx, al
mov rax, qword [rsp + 0x78]
shl rax, cl
mov rcx, qword [rsp + 0x60]
or rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
cmp dword [rsp + 0x24], 0x40
jl 0x14008317c
mov r8d, 0xaee
lea rdx, [0x14021f940]
lea rcx, str.sort_order_count____int_sizeof_sort_order_mask___8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
xor eax, eax
jmp 0x1400830a5
mov eax, dword [rsp + 0x24]
mov ecx, 1
mov qword [rsp + 0x80], rcx
movzx ecx, al
mov rax, qword [rsp + 0x80]
shl rax, cl
mov rcx, qword [rsp + 0x60]
inc rcx
cmp rax, rcx
je 0x1400831b4
mov byte [rsp + 0x20], 1
jmp 0x1400831b9
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x28], al
cmp dword [rsp + 0x24], 1
jle 0x1400831e4
mov rax, qword [rsp + 0xe0]
mov eax, dword [rax + 4]
and eax, 0x4000000
test eax, eax
jne 0x1400831e4
mov byte [rsp + 0x21], 1
jmp 0x1400831e9
mov byte [rsp + 0x21], 0
movzx eax, byte [rsp + 0x21]
mov byte [rsp + 0x22], al
movzx eax, byte [rsp + 0x28]
test eax, eax
jne 0x140083208
movzx eax, byte [rsp + 0x22]
test eax, eax
je 0x14008342f
mov qword [rsp + 0x68], 0
mov dword [rsp + 0x3c], 0
jmp 0x140083225
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 0x3c], eax
jge 0x14008342f
mov dword [rsp + 0x30], 0xffffffff
mov dword [rsp + 0x2c], 0
jmp 0x14008324f
mov eax, dword [rsp + 0x2c]
inc eax
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0xe0]
mov eax, dword [rax + 0x6c]
cmp dword [rsp + 0x2c], eax
jge 0x140083338
movsxd rax, dword [rsp + 0x2c]
mov ecx, 1
mov qword [rsp + 0x88], rcx
movzx ecx, al
mov rax, qword [rsp + 0x88]
shl rax, cl
mov rcx, qword [rsp + 0x68]
and rcx, rax
mov rax, rcx
test rax, rax
jne 0x140083333
mov rax, qword [rsp + 0xe0]
add rax, 0x18
mov qword [rsp + 0x90], rax
mov edx, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x90]
call fcn.14000c150
movsx eax, word [rax + 0x5a]
cmp eax, 0xffffffff
je 0x140083333
cmp dword [rsp + 0x30], 0xffffffff
je 0x14008332b
mov rax, qword [rsp + 0xe0]
add rax, 0x18
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xe0]
add rax, 0x18
mov qword [rsp + 0x98], rax
mov edx, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x98]
call fcn.14000c150
movsx eax, word [rax + 0x5a]
mov dword [rsp + 0x58], eax
mov edx, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0xa0]
call fcn.14000c150
movsx eax, word [rax + 0x5a]
mov ecx, dword [rsp + 0x58]
cmp eax, ecx
jge 0x140083333
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x30], eax
jmp 0x140083245
cmp dword [rsp + 0x30], 0xffffffff
jne 0x14008335b
mov r8d, 0xaff
lea rdx, [0x14021fa30]
lea rcx, str.column_with_smallest_sort_order____1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
xor eax, eax
mov eax, dword [rsp + 0x30]
mov ecx, 1
mov qword [rsp + 0xa8], rcx
movzx ecx, al
mov rax, qword [rsp + 0xa8]
shl rax, cl
mov rcx, qword [rsp + 0x68]
or rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0xe0]
add rax, 0x18
mov qword [rsp + 0xb0], rax
mov edx, dword [rsp + 0x30]
mov rcx, qword [rsp + 0xb0]
call fcn.14000c150
movzx ecx, word [rsp + 0x3c]
mov word [rax + 0x5a], cx
movzx eax, byte [rsp + 0x22]
test eax, eax
je 0x14008342a
mov dword [rsp + 0x24], 1
mov dword [rsp + 0x34], 0
jmp 0x1400833dd
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0xe0]
mov eax, dword [rax + 0x6c]
cmp dword [rsp + 0x34], eax
jge 0x140083428
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x34], eax
je 0x140083426
mov rax, qword [rsp + 0xe0]
add rax, 0x18
mov qword [rsp + 0xb8], rax
mov edx, dword [rsp + 0x34]
mov rcx, qword [rsp + 0xb8]
call fcn.14000c150
mov ecx, 0xffffffff
mov word [rax + 0x5a], cx
jmp 0x1400833d3
jmp 0x14008342f
jmp 0x14008321b
cmp dword [rsp + 0x24], 0
jne 0x14008350c
mov rax, qword [rsp + 0xe0]
mov eax, dword [rax + 4]
and eax, 0x8000000
test eax, eax
jne 0x14008350c
mov dword [rsp + 0x40], 0
jmp 0x140083466
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0xe0]
mov eax, dword [rax + 0x6c]
cmp dword [rsp + 0x40], eax
jge 0x14008350c
mov rax, qword [rsp + 0xe0]
add rax, 0x18
mov qword [rsp + 0xc0], rax
mov edx, dword [rsp + 0x40]
mov rcx, qword [rsp + 0xc0]
call fcn.14000c150
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax + 0x62]
test eax, eax
je 0x140083507
mov rax, qword [rsp + 0x48]
mov eax, dword [rax]
and eax, 0x200
test eax, eax
jne 0x140083507
mov dword [rsp + 0x24], 1
xor eax, eax
mov rcx, qword [rsp + 0x48]
mov word [rcx + 0x5a], ax
xor edx, edx
mov rcx, qword [rsp + 0x48]
call fcn.14007dd10
mov dword [rsp + 0x5c], eax
movzx eax, byte [rsp + 0x5c]
and al, 3
mov rcx, qword [rsp + 0x48]
movzx ecx, byte [rcx + 0x6d]
and cl, 0xfc
or cl, al
movzx eax, cl
mov rcx, qword [rsp + 0x48]
mov byte [rcx + 0x6d], al
jmp 0x14008350c
jmp 0x14008345c
mov rax, qword [rsp + 0xe0]
movzx ecx, word [rsp + 0x24]
mov word [rax + 0x1f8], cx
add rsp, 0xd8
ret