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

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x1b8
mov rax, qword [0x1404ee340]
xor rax, rsp
mov qword [rsp + 0x1a8], rax
mov rax, qword [rsp + 0x1c0]
movzx eax, byte [rax + 0x6b]
test eax, eax
je 0x140165eda
mov rcx, qword [rsp + 0x1c0]
call fcn.140163a40
mov rax, qword [0x14055a538]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0x1c10]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
movzx eax, byte [rax + 0xa3]
test eax, eax
je 0x140165f14
xor al, al
jmp 0x140166ca0
mov rax, qword [rsp + 0x70]
add rax, 0x1560
mov qword [rsp + 0xd0], rax
mov rdx, qword [rsp + 0x1c8]
mov rcx, qword [rsp + 0x1c0]
call fcn.140164c60
mov dword [rsp + 0x54], eax
xor eax, eax
test eax, eax
jne 0x140165f40
cmp qword [rsp + 0x1d0], 0
je 0x140165f94
mov rax, qword [rsp + 0x1d0]
movzx eax, byte [rax]
test eax, eax
jne 0x140165f94
mov dl, 1
mov ecx, Ordinal_27
call fcn.14011a0b0
lea rcx, [rsp + 0x128]
call fcn.1401041f0
xor r8d, r8d
mov edx, dword [rsp + 0x54]
mov rcx, rax
call fcn.14011b800
call fcn.14011a1a0
xor al, al
jmp 0x140166ca0
cmp qword [rsp + 0x1d0], 0
je 0x140165fca
mov eax, dword [rsp + 0x1d8]
and eax, 0x200000
test eax, eax
je 0x140165fca
mov r8d, 0x207d
lea rdx, [0x1404824c0]
lea rcx, str._p_open____flags__ImGuiTabItemFlags_Button_
call fcn.140239ec4
xor eax, eax
mov eax, dword [rsp + 0x1d8]
and eax, 0xc0
cmp eax, 0xc0
jne 0x140165ff8
mov r8d, 0x207e
lea rdx, [0x1404826b0]
lea rcx, str._flags___ImGuiTabItemFlags_Leading__ImGuiTabItemFlags_Trailing______ImGuiTabItemFlags_Leading__ImGuiTabItemFlags_Trailing_
call fcn.140239ec4
xor eax, eax
mov eax, dword [rsp + 0x1d8]
and eax, 0x100000
test eax, eax
je 0x140166016
mov qword [rsp + 0x1d0], 0
jmp 0x140166033
cmp qword [rsp + 0x1d0], 0
jne 0x140166033
mov eax, dword [rsp + 0x1d8]
bts eax, 0x14
mov dword [rsp + 0x1d8], eax
cmp qword [rsp + 0x1d0], 0
je 0x140166045
mov byte [rsp + 0x5b], 1
jmp 0x14016604a
mov byte [rsp + 0x5b], 0
movzx r8d, byte [rsp + 0x5b]
mov rdx, qword [rsp + 0x1c8]
lea rcx, [rsp + 0x188]
call fcn.140166cc0
mov edx, dword [rsp + 0x54]
mov rcx, qword [rsp + 0x1c0]
call fcn.140164d00
mov qword [rsp + 0x68], rax
mov byte [rsp + 0x60], 0
cmp qword [rsp + 0x68], 0
jne 0x1401660e9
lea rcx, [rsp + 0x148]
call fcn.140149710
mov rcx, qword [rsp + 0x1c0]
mov rdx, rax
call fcn.1401677a0
mov rax, qword [rsp + 0x1c0]
mov rcx, rax
call fcn.140167870
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov ecx, dword [rsp + 0x54]
mov dword [rax], ecx
mov rax, qword [rsp + 0x68]
movss xmm0, dword [rsp + 0x188]
movss dword [rax + 0x14], xmm0
mov rax, qword [rsp + 0x1c0]
mov byte [rax + 0x6d], 1
mov byte [rsp + 0x60], 1
mov rax, qword [rsp + 0x1c0]
mov rdx, qword [rsp + 0x68]
mov rcx, rax
call fcn.140167710
mov rcx, qword [rsp + 0x1c0]
mov word [rcx + 0x70], ax
mov rax, qword [rsp + 0x68]
movss xmm0, dword [rsp + 0x188]
movss dword [rax + 0x18], xmm0
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x1c0]
movzx ecx, word [rcx + 0x6e]
mov word [rax + 0x1e], cx
mov rax, qword [rsp + 0x1c0]
movzx eax, word [rax + 0x6e]
inc ax
mov rcx, qword [rsp + 0x1c0]
mov word [rcx + 0x6e], ax
mov rax, qword [rsp + 0x1c0]
mov eax, dword [rax + 0x28]
inc eax
mov rcx, qword [rsp + 0x70]
cmp eax, dword [rcx + 0x1b90]
jge 0x14016616e
mov byte [rsp + 0x5c], 1
jmp 0x140166173
mov byte [rsp + 0x5c], 0
movzx eax, byte [rsp + 0x5c]
mov byte [rsp + 0x58], al
mov rax, qword [rsp + 0x1c0]
mov eax, dword [rax + 0x10]
and eax, 0x200000
test eax, eax
je 0x140166197
mov byte [rsp + 0x5d], 1
jmp 0x14016619c
mov byte [rsp + 0x5d], 0
movzx eax, byte [rsp + 0x5d]
mov byte [rsp + 0x64], al
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 8]
inc eax
mov rcx, qword [rsp + 0x70]
cmp eax, dword [rcx + 0x1b90]
jge 0x1401661c3
mov byte [rsp + 0x5e], 1
jmp 0x1401661c8
mov byte [rsp + 0x5e], 0
movzx eax, byte [rsp + 0x5e]
mov byte [rsp + 0x59], al
mov eax, dword [rsp + 0x1d8]
and eax, 0x200000
test eax, eax
je 0x1401661e8
mov byte [rsp + 0x5f], 1
jmp 0x1401661ed
mov byte [rsp + 0x5f], 0
movzx eax, byte [rsp + 0x5f]
mov byte [rsp + 0x50], al
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
mov ecx, dword [rcx + 0x1b90]
mov dword [rax + 8], ecx
mov rax, qword [rsp + 0x68]
mov ecx, dword [rsp + 0x1d8]
mov dword [rax + 4], ecx
mov rax, qword [rsp + 0x1c0]
add rax, 0x88
mov rcx, rax
call fcn.1401034c0
mov rcx, qword [rsp + 0x68]
mov word [rcx + 0x1c], ax
mov rax, qword [rsp + 0x1c8]
mov qword [rsp + 0xe0], rax
mov qword [rsp + 0xb0], 0xffffffffffffffff
inc qword [rsp + 0xb0]
mov rax, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0xb0]
cmp byte [rax + rcx], 0
jne 0x140166253
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x1c8]
lea rax, [rcx + rax + 1]
mov rcx, qword [rsp + 0x1c0]
add rcx, 0x88
mov r8, rax
mov rdx, qword [rsp + 0x1c8]
call fcn.140109a50
movzx eax, byte [rsp + 0x59]
test eax, eax
je 0x1401662fd
mov rax, qword [rsp + 0x1c0]
mov eax, dword [rax + 0x10]
and eax, 2
test eax, eax
je 0x1401662fd
mov rax, qword [rsp + 0x1c0]
cmp dword [rax + 0x1c], 0
jne 0x1401662fd
movzx eax, byte [rsp + 0x58]
test eax, eax
je 0x1401662e5
mov rax, qword [rsp + 0x1c0]
cmp dword [rax + 0x18], 0
jne 0x1401662fd
movzx eax, byte [rsp + 0x50]
test eax, eax
jne 0x1401662fd
mov rax, qword [rsp + 0x1c0]
mov ecx, dword [rsp + 0x54]
mov dword [rax + 0x1c], ecx
mov eax, dword [rsp + 0x1d8]
and eax, 2
test eax, eax
je 0x140166334
mov rax, qword [rsp + 0x1c0]
mov ecx, dword [rsp + 0x54]
cmp dword [rax + 0x18], ecx
je 0x140166334
movzx eax, byte [rsp + 0x50]
test eax, eax
jne 0x140166334
mov rax, qword [rsp + 0x1c0]
mov ecx, dword [rsp + 0x54]
mov dword [rax + 0x1c], ecx
mov rax, qword [rsp + 0x1c0]
mov ecx, dword [rsp + 0x54]
cmp dword [rax + 0x20], ecx
jne 0x140166352
mov dword [rsp + 0x8c], 1
jmp 0x14016635d
mov dword [rsp + 0x8c], 0
movzx eax, byte [rsp + 0x8c]
mov byte [rsp + 0x51], al
movzx eax, byte [rsp + 0x51]
test eax, eax
je 0x14016637e
mov rax, qword [rsp + 0x1c0]
mov byte [rax + 0x6c], 1
movzx eax, byte [rsp + 0x51]
test eax, eax
jne 0x1401663c2
mov rax, qword [rsp + 0x1c0]
cmp dword [rax + 0x18], 0
jne 0x1401663c2
movzx eax, byte [rsp + 0x58]
test eax, eax
je 0x1401663c2
mov rax, qword [rsp + 0x1c0]
cmp dword [rax], 1
jne 0x1401663c2
mov rax, qword [rsp + 0x1c0]
mov eax, dword [rax + 0x10]
and eax, 2
test eax, eax
jne 0x1401663c2
mov byte [rsp + 0x51], 1
movzx eax, byte [rsp + 0x59]
test eax, eax
je 0x140166424
movzx eax, byte [rsp + 0x58]
test eax, eax
je 0x1401663dd
movzx eax, byte [rsp + 0x60]
test eax, eax
je 0x140166424
mov dl, 1
mov ecx, Ordinal_27
call fcn.14011a0b0
lea rcx, [rsp + 0x138]
call fcn.1401041f0
xor r8d, r8d
mov edx, dword [rsp + 0x54]
mov rcx, rax
call fcn.14011b800
call fcn.14011a1a0
movzx eax, byte [rsp + 0x50]
test eax, eax
je 0x14016641a
xor al, al
jmp 0x140166ca0
movzx eax, byte [rsp + 0x51]
jmp 0x140166ca0
mov rax, qword [rsp + 0x1c0]
mov ecx, dword [rsp + 0x54]
cmp dword [rax + 0x18], ecx
jne 0x140166448
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
mov ecx, dword [rcx + 0x1b90]
mov dword [rax + 0xc], ecx
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0xe8]
mov qword [rsp + 0x198], rax
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 4]
and eax, 0xc0
test eax, eax
jne 0x140166477
mov byte [rsp + 0x61], 1
jmp 0x14016647c
mov byte [rsp + 0x61], 0
movzx eax, byte [rsp + 0x61]
mov byte [rsp + 0x62], al
mov rax, qword [rsp + 0x68]
movss xmm0, dword [rax + 0x14]
movss dword [rsp + 0x188], xmm0
movzx eax, byte [rsp + 0x62]
test eax, eax
je 0x140166506
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x1c0]
movss xmm0, dword [rax + 0x10]
subss xmm0, dword [rcx + 0x4c]
cvttss2si eax, xmm0
cvtsi2ss xmm0, eax
xorps xmm2, xmm2
movaps xmm1, xmm0
lea rcx, [rsp + 0xf0]
call fcn.1400a0590
mov rcx, qword [rsp + 0x1c0]
add rcx, 0x2c
mov r8, rax
mov rdx, rcx
lea rcx, [rsp + 0xe8]
call fcn.140103b60
mov rax, qword [rax]
mov rcx, qword [rsp + 0x80]
mov qword [rcx + 0xe8], rax
jmp 0x140166551
xorps xmm2, xmm2
mov rax, qword [rsp + 0x68]
movss xmm1, dword [rax + 0x10]
lea rcx, [rsp + 0xf8]
call fcn.1400a0590
mov rcx, qword [rsp + 0x1c0]
add rcx, 0x2c
mov r8, rax
mov rdx, rcx
lea rcx, [rsp + 0x100]
call fcn.140103b60
mov rax, qword [rax]
mov rcx, qword [rsp + 0x80]
mov qword [rcx + 0xe8], rax
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0xe8]
mov qword [rsp + 0x190], rax
lea r8, [rsp + 0x188]
lea rdx, [rsp + 0x190]
lea rcx, [rsp + 0x108]
call fcn.140103b60
mov r8, rax
lea rdx, [rsp + 0x190]
lea rcx, [rsp + 0x170]
call fcn.140104230
movzx eax, byte [rsp + 0x62]
test eax, eax
je 0x1401665db
mov rax, qword [rsp + 0x1c0]
movss xmm0, dword [rax + 0x5c]
comiss xmm0, dword [rsp + 0x170]
ja 0x1401665d4
mov rax, qword [rsp + 0x1c0]
movss xmm0, dword [rsp + 0x178]
comiss xmm0, dword [rax + 0x60]
jbe 0x1401665db
mov byte [rsp + 0x63], 1
jmp 0x1401665e0
mov byte [rsp + 0x63], 0
movzx eax, byte [rsp + 0x63]
mov byte [rsp + 0x5a], al
movzx eax, byte [rsp + 0x5a]
test eax, eax
je 0x140166688
movss xmm2, dword [rsp + 0x17c]
mov rax, qword [rsp + 0x1c0]
movss xmm1, dword [rax + 0x60]
lea rcx, [rsp + 0x110]
call fcn.1400a0590
mov qword [rsp + 0xd8], rax
movss xmm0, dword [rsp + 0x174]
subss xmm0, dword [0x1404bfed8]
movss dword [rsp + 0xb8], xmm0
mov rcx, qword [rsp + 0x1c0]
movss xmm1, dword [rcx + 0x5c]
movss xmm0, dword [rsp + 0x170]
call fcn.140128840
movss xmm1, dword [rsp + 0xb8]
movaps xmm2, xmm1
movaps xmm1, xmm0
lea rcx, [rsp + 0x118]
call fcn.1400a0590
mov r8b, 1
mov rcx, qword [rsp + 0xd8]
mov rdx, rcx
mov rcx, rax
call fcn.140110890
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x100]
mov qword [rsp + 0x1a0], rax
lea rdx, [rsp + 0x120]
lea rcx, [rsp + 0x170]
call fcn.140104330
mov rcx, qword [rsp + 0xd0]
movss xmm1, dword [rcx + 0x3c]
mov rcx, rax
call fcn.14011b570
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x1a0]
mov qword [rax + 0x100], rcx
xor r8d, r8d
mov edx, dword [rsp + 0x54]
lea rcx, [rsp + 0x170]
call fcn.14011b800
movzx eax, al
test eax, eax
jne 0x14016672a
movzx eax, byte [rsp + 0x5a]
test eax, eax
je 0x140166709
call fcn.140110920
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x198]
mov qword [rax + 0xe8], rcx
movzx eax, byte [rsp + 0x51]
jmp 0x140166ca0
movzx eax, byte [rsp + 0x50]
test eax, eax
je 0x140166740
mov dword [rsp + 0x90], reloc.WLDAP32.dll_Ordinal_32
jmp 0x14016674b
mov dword [rsp + 0x90], reloc.WS2_32.dll_recv
mov eax, dword [rsp + 0x90]
bts eax, 0xc
mov dword [rsp + 0x88], eax
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax + 0x1f4c]
test eax, eax
je 0x14016677f
mov eax, dword [rsp + 0x88]
bts eax, 9
mov dword [rsp + 0x88], eax
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x20], eax
lea r9, [rsp + 0x180]
lea r8, [rsp + 0x181]
mov edx, dword [rsp + 0x54]
lea rcx, [rsp + 0x170]
call fcn.14014a4f0
mov byte [rsp + 0x65], al
movzx eax, byte [rsp + 0x65]
test eax, eax
je 0x1401667d0
movzx eax, byte [rsp + 0x50]
test eax, eax
jne 0x1401667d0
mov rax, qword [rsp + 0x1c0]
mov ecx, dword [rsp + 0x54]
mov dword [rax + 0x1c], ecx
mov rax, qword [rsp + 0x70]
mov ecx, dword [rsp + 0x54]
cmp dword [rax + 0x1c44], ecx
jne 0x1401667ee
mov dword [rsp + 0x94], 1
jmp 0x1401667f9
mov dword [rsp + 0x94], 0
movzx eax, byte [rsp + 0x181]
or eax, dword [rsp + 0x94]
mov byte [rsp + 0x181], al
mov rax, qword [rsp + 0x70]
mov ecx, dword [rsp + 0x54]
cmp dword [rax + 0x1c58], ecx
je 0x140166825
call fcn.140112020
movzx eax, byte [rsp + 0x180]
test eax, eax
je 0x140166919
movzx eax, byte [rsp + 0x59]
test eax, eax
jne 0x140166919
movss xmm1, dword [0x1404c02c4]
xor ecx, ecx
call fcn.140111d50
movzx eax, al
test eax, eax
je 0x140166919
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax + 0x1f4c]
test eax, eax
jne 0x140166919
mov rax, qword [rsp + 0x1c0]
mov eax, dword [rax + 0x10]
and eax, 1
test eax, eax
je 0x140166919
mov rax, qword [rsp + 0x70]
xorps xmm0, xmm0
comiss xmm0, dword [rax + 0x3b8]
jbe 0x1401668ce
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rsp + 0x170]
comiss xmm0, dword [rax + 0x128]
jbe 0x1401668ce
mov rax, qword [rsp + 0x70]
mov r8, qword [rax + 0x128]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x1c0]
call fcn.140165170
jmp 0x140166919
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rax + 0x3b8]
comiss xmm0, dword [0x1404bfc40]
jbe 0x140166919
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rax + 0x128]
comiss xmm0, dword [rsp + 0x178]
jbe 0x140166919
mov rax, qword [rsp + 0x70]
mov r8, qword [rax + 0x128]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x1c0]
call fcn.140165170
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x2c8]
mov qword [rsp + 0xc8], rax
movzx eax, byte [rsp + 0x180]
test eax, eax
jne 0x1401669c5
movzx eax, byte [rsp + 0x181]
test eax, eax
jne 0x1401669c5
movzx eax, byte [rsp + 0x51]
test eax, eax
je 0x140166986
movzx eax, byte [rsp + 0x64]
test eax, eax
je 0x14016696b
mov dword [rsp + 0x98], reloc.WLDAP32.dll_Ordinal_35
jmp 0x140166976
mov dword [rsp + 0x98], Ordinal_41
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0xa0], eax
jmp 0x1401669b5
movzx eax, byte [rsp + 0x64]
test eax, eax
je 0x14016699c
mov dword [rsp + 0xa4], reloc.WLDAP32.dll_Ordinal_33
jmp 0x1401669a7
mov dword [rsp + 0xa4], Ordinal_41
mov eax, dword [rsp + 0xa4]
mov dword [rsp + 0xa0], eax
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0xa8], eax
jmp 0x1401669d0
mov dword [rsp + 0xa8], Ordinal_41
movss xmm1, dword [0x1404bfed8]
mov ecx, dword [rsp + 0xa8]
call fcn.140109dd0
mov dword [rsp + 0xbc], eax
mov r9d, dword [rsp + 0xbc]
mov r8d, dword [rsp + 0x1d8]
lea rdx, [rsp + 0x170]
mov rcx, qword [rsp + 0xc8]
call fcn.140166e10
mov r8d, 1
mov edx, dword [rsp + 0x54]
lea rcx, [rsp + 0x170]
call fcn.14010b6b0
mov ecx, 8
call fcn.14010c8f0
mov byte [rsp + 0x78], al
movzx eax, byte [rsp + 0x78]
test eax, eax
je 0x140166a7a
xor edx, edx
mov ecx, 1
call fcn.140111b60
movzx eax, al
test eax, eax
jne 0x140166a62
mov ecx, 1
call fcn.140111c50
movzx eax, al
test eax, eax
je 0x140166a7a
movzx eax, byte [rsp + 0x50]
test eax, eax
jne 0x140166a7a
mov rax, qword [rsp + 0x1c0]
mov ecx, dword [rsp + 0x54]
mov dword [rax + 0x1c], ecx
mov rax, qword [rsp + 0x1c0]
mov eax, dword [rax + 0x10]
and eax, 8
test eax, eax
je 0x140166a9d
mov eax, dword [rsp + 0x1d8]
or eax, 4
mov dword [rsp + 0x1d8], eax
cmp qword [rsp + 0x1d0], 0
je 0x140166ac4
mov r8d, dword [rsp + 0x54]
xor edx, edx
lea rcx, str.CLOSE
call fcn.14011aca0
mov dword [rsp + 0x9c], eax
jmp 0x140166acf
mov dword [rsp + 0x9c], 0
mov eax, dword [rsp + 0x9c]
mov dword [rsp + 0xc0], eax
lea rax, [rsp + 0x182]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x183]
mov qword [rsp + 0x40], rax
movzx eax, byte [rsp + 0x51]
mov byte [rsp + 0x38], al
mov eax, dword [rsp + 0xc0]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x1c8]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x1c0]
mov r9, qword [rax + 0x78]
mov r8d, dword [rsp + 0x1d8]
lea rdx, [rsp + 0x170]
mov rcx, qword [rsp + 0xc8]
call fcn.1401671b0
movzx eax, byte [rsp + 0x183]
test eax, eax
je 0x140166b7d
cmp qword [rsp + 0x1d0], 0
je 0x140166b7d
mov rax, qword [rsp + 0x1d0]
mov byte [rax], 0
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x1c0]
call fcn.140164d70
movzx eax, byte [rsp + 0x5a]
test eax, eax
je 0x140166b8b
call fcn.140110920
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x198]
mov qword [rax + 0xe8], rcx
movzx eax, byte [rsp + 0x182]
test eax, eax
je 0x140166c4a
mov rax, qword [rsp + 0x70]
mov ecx, dword [rsp + 0x54]
cmp dword [rax + 0x1c44], ecx
jne 0x140166c4a
movzx eax, byte [rsp + 0x180]
test eax, eax
jne 0x140166c4a
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x70]
movss xmm0, dword [rax + 0x1c54]
comiss xmm0, dword [rcx + 0x2ff4]
jbe 0x140166c4a
xor ecx, ecx
call fcn.14010c8f0
movzx eax, al
test eax, eax
je 0x140166c4a
mov rax, qword [rsp + 0x1c0]
mov eax, dword [rax + 0x10]
and eax, 0x20
test eax, eax
jne 0x140166c4a
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 4]
and eax, 0x10
test eax, eax
jne 0x140166c4a
xor edx, edx
mov rcx, qword [rsp + 0x1c8]
call fcn.14010a500
sub rax, qword [rsp + 0x1c8]
mov r8, qword [rsp + 0x1c8]
mov edx, eax
lea rcx, str._.s
call fcn.14011d570
movzx eax, byte [rsp + 0x50]
test eax, eax
je 0x140166c8b
mov rax, qword [rsp + 0x1c0]
mov rcx, qword [rsp + 0x68]
mov ecx, dword [rcx]
cmp dword [rax + 0x18], ecx
jne 0x140166c8b
movzx eax, byte [rsp + 0x50]
test eax, eax
je 0x140166c8b
mov r8d, 0x2133
lea rdx, [0x140482840]
lea rcx, str._is_tab_button____tab_bar__SelectedTabId__tab__ID__is_tab_button_
call fcn.140239ec4
xor eax, eax
movzx eax, byte [rsp + 0x50]
test eax, eax
je 0x140166c9b
movzx eax, byte [rsp + 0x65]
jmp 0x140166ca0
movzx eax, byte [rsp + 0x51]
mov rcx, qword [rsp + 0x1a8]
xor rcx, rsp
call fcn.1402217a0
add rsp, 0x1b8
ret