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

Disassembly:
push rbp
push rsi
push r12
push r13
push r14
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov rax, qword [0x1400da040]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov eax, dword [rcx + 0xb0]
mov rsi, rcx
mov r14, qword [0x140141918]
inc eax
mov r13, rdx
mov dword [rsp + 0x50], eax
movzx r8d, byte [rsi + 0xcc]
mov ecx, dword [r14 + 0x40a8]
mov dword [rbp - 0x78], ecx
test r8b, 0x40
je 0x14003c3cc
mov byte [rbp - 0x73], 1
cmp eax, ecx
je 0x14003c3d0
mov byte [rbp - 0x73], 0
xor r12d, r12d
cmp dword [rsi + 0xc0], r12d
je 0x14003c3e8
mov dword [rsp + 0x70], 1
cmp eax, ecx
je 0x14003c3ed
mov dword [rsp + 0x70], r12d
and r8b, 0xbf
mov dword [rsi + 0xc0], r12d
mov byte [rsi + 0xcc], r8b
mov rdx, rsi
mov rax, qword [rsi + 0x18]
mov qword [rbp - 0x80], rdx
test rax, rax
je 0x14003c421
nop
mov qword [rbp - 0x80], rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x14003c410
mov rdx, qword [rbp - 0x80]
mov rax, qword [r14 + 0x4ee0]
mov qword [rsp + 0x190], rbx
test rax, rax
je 0x14003c444
cmp qword [rax + 0x460], rsi
sete bl
jmp 0x14003c4e6
mov rcx, qword [r14 + 0x4d10]
test rcx, rcx
je 0x14003c4e4
mov eax, dword [rsi]
cmp dword [rdx + 0xb8], eax
jne 0x14003c4e4
mov rcx, qword [rcx + 0x3c8]
test dword [rcx + 0x14], 0x10000000
je 0x14003c489
mov rax, qword [rcx + 0x3b8]
mov rcx, qword [rax + 0x3c8]
test dword [rcx + 0x14], 0x10000000
jne 0x14003c472
mov rax, qword [rcx + 0x468]
test rax, rax
jne 0x14003c4a1
mov rax, qword [rcx + 0x460]
test rax, rax
je 0x14003c4e4
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x14003c4bc
nop word [rax + rax]
mov rax, rcx
mov rcx, qword [rcx + 0x18]
test rcx, rcx
jne 0x14003c4b0
cmp rax, rdx
je 0x14003c5d1
mov rax, qword [rax + 0x88]
test rax, rax
je 0x14003c4e4
mov rax, qword [rax + 0x3c8]
mov rax, qword [rax + 0x460]
test rax, rax
jne 0x14003c4a1
xor bl, bl
mov ecx, dword [rsi + 0x10]
mov eax, ecx
shr eax, 0xd
mov byte [rsp + 0x30], bl
test al, 1
jne 0x14003d418
mov eax, ecx
shr eax, 0xc
test al, 1
jne 0x14003d418
movzx eax, byte [r13 + 0x104]
shr ecx, 0xa
mov qword [rsp + 0x148], rdi
mov qword [rsp + 0x140], r15
mov byte [rsp + 0x31], al
test cl, 1
jne 0x14003c53d
mov byte [r13 + 0x104], r12b
mov dword [r13 + 0x1a0], 1
mov ecx, dword [rsi]
call fcn.14002b190
mov rax, qword [rsi + 0x40]
mov qword [rsp + 0x38], rax
mov rdi, rax
test rax, rax
jne 0x14003c561
mov rcx, rsi
call fcn.14003d4b0
mov rdi, qword [rsi + 0x40]
and byte [rsi + 0xcc], 0xfd
movzx eax, bl
add al, al
mov dword [rsp + 0x48], r12d
or byte [rsi + 0xcc], al
test dword [rsi + 0x10], 0x4000
jne 0x14003c5d8
cmp dword [r14 + 0x3a20], 0xffffffff
je 0x14003c5d8
mov byte [rbp - 0x74], 1
call fcn.14002f890
test al, al
je 0x14003c5e0
mov r15d, dword [rdi + 0x1c]
mov rdx, rdi
mov rcx, rsi
call fcn.14003c1c0
mov eax, dword [rdi + 0x1c]
test eax, eax
je 0x14003c5bb
cmp eax, r15d
mov ecx, r12d
cmovne ecx, eax
mov dword [rsp + 0x48], ecx
movzx eax, byte [rsi + 0xcc]
shr al, 1
and al, 1
or al, bl
movzx ebx, al
mov byte [rsp + 0x30], al
jmp 0x14003c5e0
mov bl, 1
jmp 0x14003c4e6
mov byte [rbp - 0x74], r12b
mov byte [rsp + 0x30], bl
xorps xmm0, xmm0
mov qword [rsp + 0x58], r12
xorps xmm1, xmm1
mov qword [rsp + 0x78], r12
lea rax, [rsp + 0x78]
mov rcx, rsi
lea r9, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x60]
lea rdx, [rbp - 0x70]
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm1
call fcn.14003d7d0
mov r15d, r12d
mov eax, dword [rdi]
mov dword [rsp + 0x4c], eax
cmp dword [rsi + 0x30], r12d
jle 0x14003c692
mov rbx, r12
nop dword [rax]
mov rax, qword [rsi + 0x38]
mov r10, qword [rbx + rax]
mov r8d, dword [r10 + 0xc0]
test r8d, r8d
je 0x14003c670
mov edx, dword [rdi]
mov eax, r12d
test edx, edx
jle 0x14003c670
mov r9, qword [rdi + 8]
mov rcx, r9
cmp dword [rcx], r8d
je 0x14003c665
inc eax
add rcx, 0x38
cmp eax, edx
jl 0x14003c654
jmp 0x14003c670
cdqe
imul rcx, rax, 0x38
add rcx, r9
jne 0x14003c680
mov r8, r10
mov edx, 0x400000
mov rcx, rdi
call fcn.140076530
inc r15d
add rbx, 8
cmp r15d, dword [rsi + 0x30]
jl 0x14003c630
movzx ebx, byte [rsp + 0x30]
test bl, bl
je 0x14003c6a3
mov eax, dword [r14 + 0x40a8]
mov dword [rsi + 0xb4], eax
cmp byte [r13 + 0x102], r12b
je 0x14003c6b3
mov eax, 0xc
jmp 0x14003c6bf
test bl, bl
mov rax, r12
setne al
add rax, 0xa
mov rcx, qword [0x140141918]
add rax, 0xf
add rax, rax
movups xmm0, xmmword [rcx + rax*8 + 0x39f8]
movups xmmword [rsp + 0x60], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rcx + 0x39f8]
lea rcx, [rsp + 0x60]
movss dword [rsp + 0x6c], xmm0
call fcn.14001a120
movss xmm2, dword [r14 + 0x3ad4]
mov r11d, eax
movss xmm1, dword [r13 + 0x58]
movss xmm3, dword [r13 + 0x5c]
movaps xmm0, xmm1
addss xmm1, dword [r13 + 0x60]
addss xmm0, xmm2
subss xmm1, xmm2
comiss xmm0, dword [rbp - 0x70]
movss xmm0, dword [rbp - 0x68]
setae cl
comiss xmm0, xmm1
movss xmm0, dword [rbp - 0x64]
movaps xmm1, xmm3
addss xmm3, dword [r13 + 0x64]
setae r10b
addss xmm1, xmm2
subss xmm3, xmm2
comiss xmm1, dword [rbp - 0x6c]
setae dl
comiss xmm0, xmm3
setae r9b
test dl, dl
je 0x14003c765
test cl, cl
je 0x14003c765
mov eax, 0x10
jmp 0x14003c76c
mov eax, r12d
test dl, dl
je 0x14003c777
mov r8d, 0x20
test r10b, r10b
jne 0x14003c77a
mov r8d, r12d
test r9b, r9b
je 0x14003c78a
test cl, cl
je 0x14003c78a
mov edx, 0x40
jmp 0x14003c792
mov edx, r12d
test r9b, r9b
je 0x14003c79c
mov ecx, 0x180
test r10b, r10b
jne 0x14003c7a1
mov ecx, pe_nt_image_headers64
movss xmm0, dword [r13 + 0x90]
or eax, r8d
or eax, edx
lea r8, [rbp - 0x68]
or eax, ecx
lea rdx, [rbp - 0x70]
mov rcx, qword [r13 + 0x2e8]
mov r9d, r11d
mov dword [rsp + 0x28], eax
movss dword [rsp + 0x20], xmm0
call fcn.14004f9a0
cmp byte [rbp - 0x74], r12b
je 0x14003c8a9
movsxd rax, dword [r13 + 0x138]
lea rcx, str.COLLAPSE
mov r8, qword [r13 + 0x140]
xor edx, edx
mov r8d, dword [r8 + rax*4 - 4]
call fcn.140019ab0
mov rcx, qword [r13]
mov r15d, eax
cmp dword [rcx + 0x419c], eax
jne 0x14003c81f
lea r8, str.COLLAPSE
mov edx, 0xb
mov ecx, eax
call fcn.1400429c0
mov r8, rsi
lea rdx, [rsp + 0x58]
mov ecx, r15d
call fcn.140066ae0
test al, al
je 0x14003c841
xor edx, edx
lea rcx, str.WindowMenu
call fcn.14002f900
mov rax, qword [0x140141918]
mov ecx, dword [rax + 0x41b4]
test ecx, ecx
je 0x14003c861
cmp ecx, dword [rax + 0x4b08]
jne 0x14003c861
mov eax, dword [rdi + 0x18]
mov dword [rsp + 0x48], eax
mov ecx, 0x11000
call fcn.14001f190
test al, al
je 0x14003c8a9
movss xmm0, dword [r14 + 0x41a8]
comiss xmm0, dword [0x1400c8e7c]
jbe 0x14003c8a9
mov rax, qword [0x140141918]
lea rdx, [0x1400c0900]
mov rcx, qword [rax + 0x6238]
test rcx, rcx
cmovne rdx, rcx
lea rcx, [0x1400b9df4]
call fcn.14002f6c0
mov r15d, dword [rdi]
lea ecx, [r15 - 1]
test ecx, ecx
js 0x14003c8e4
movsxd rax, ecx
imul rdx, rax, 0x38
nop dword [rax + rax]
mov r8, qword [rdi + 8]
mov eax, dword [r8 + rdx + 4]
bt eax, 0x16
jae 0x14003c8e4
btr eax, 0x16
mov r15d, ecx
mov dword [r8 + rdx + 4], eax
sub rdx, 0x38
sub ecx, 1
jns 0x14003c8c0
mov r8d, dword [rdi]
cmp r8d, r15d
jle 0x14003ca20
test dword [r14 + 0x6284], 0x100
je 0x14003c927
mov edx, dword [rsi]
lea eax, [r15 + 1]
cmp r8d, eax
lea rcx, str.__will_sort_
lea r9, [0x1400b9b4c]
cmovg r9, rcx
sub r8d, r15d
lea rcx, str._docking__In_node_0x_08X:__d_new_appearing_tabs:_s_n
call fcn.1400425d0
mov ecx, r15d
mov dword [rsp + 0x60], ecx
cmp r15d, dword [rdi]
jge 0x14003c9b2
movsxd rax, r15d
imul rbx, rax, 0x38
nop
test dword [r14 + 0x6284], 0x100
mov rdx, qword [rdi + 8]
je 0x14003c99f
mov rax, qword [rbx + rdx + 8]
test rax, rax
je 0x14003c969
mov r8, qword [rax + 8]
movsx r9d, word [rax + 0x446]
jmp 0x14003c98c
movsxd rax, dword [rbx + rdx + 0x28]
mov r9d, 0xffffffff
cmp eax, r9d
jne 0x14003c982
lea r8, [0x1400ba088]
jmp 0x14003c98c
mov r8, rax
add r8, qword [rdi + 0x98]
mov edx, dword [rbx + rdx]
lea rcx, str._docking____Tab_0x_08X__s_Order__d_n
call fcn.1400425d0
mov ecx, dword [rsp + 0x60]
inc ecx
add rbx, 0x38
mov dword [rsp + 0x60], ecx
cmp ecx, dword [rdi]
jl 0x14003c940
movzx ebx, byte [rsp + 0x30]
test dword [r14 + 0x6284], 0x100
je 0x14003c9ec
mov rax, qword [r14 + 0x4d10]
test rax, rax
je 0x14003c9d4
mov r8d, dword [rax + 0xc0]
jmp 0x14003c9da
mov r8d, 0xffffffff
mov edx, dword [rsi + 0xbc]
lea rcx, str._docking__SelectedTabId__0x_08X__NavWindow__TabId__0x_08X_n
call fcn.1400425d0
mov ecx, dword [rdi]
lea eax, [r15 + 1]
cmp ecx, eax
jle 0x14003ca20
sub ecx, r15d
movsxd rdx, ecx
cmp rdx, 1
jbe 0x14003ca20
movsxd rax, r15d
lea r9, [0x14003c030]
imul rcx, rax, 0x38
mov r8d, 0x38
add rcx, qword [rdi + 8]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_qsort]
mov rax, qword [r14 + 0x4d10]
test rax, rax
je 0x14003ca45
mov rax, qword [rax + 0x3c8]
cmp qword [rax + 0x460], rsi
jne 0x14003ca45
mov eax, dword [rax + 0xc0]
mov dword [rdi + 0x18], eax
cmp qword [rsp + 0x38], r12
jne 0x14003ca78
mov edx, dword [rsi + 0xbc]
test edx, edx
je 0x14003ca78
mov r8d, dword [rdi]
mov eax, r12d
test r8d, r8d
jle 0x14003ca78
mov rcx, qword [rdi + 8]
cmp dword [rcx], edx
je 0x14003d033
inc eax
add rcx, 0x38
cmp eax, r8d
jl 0x14003ca65
movsxd rax, dword [rdi]
cmp eax, dword [rsp + 0x4c]
jle 0x14003ca9a
imul rcx, rax, 0x38
mov rax, qword [rdi + 8]
mov rcx, qword [rcx + rax - 0x30]
mov eax, dword [rcx + 0xc0]
mov dword [rdi + 0x1c], eax
mov dword [rdi + 0x18], eax
mov r15d, 0x500003
cmp byte [r13 + 0x102], r12b
jne 0x14003cab4
test bl, bl
mov eax, 0x700003
cmovne r15d, eax
mov rax, qword [0x140141918]
lea rcx, str.TabBar
xor edx, edx
mov rbx, qword [rax + 0x4150]
movsxd rax, dword [rbx + 0x138]
mov r8, qword [rbx + 0x140]
mov r8d, dword [r8 + rax*4 - 4]
call fcn.140019ab0
mov rcx, qword [rbx]
mov dword [rsp + 0x4c], eax
cmp dword [rcx + 0x419c], eax
jne 0x14003cb09
lea r8, str.TabBar
mov edx, 0xb
mov ecx, eax
call fcn.1400429c0
mov eax, dword [rsp + 0x4c]
mov dword [rdi + 0x14], eax
lea rdx, [rbp - 0x60]
movss xmm0, dword [r13 + 0x94]
mov r8d, r15d
addss xmm0, dword [rsi + 0x48]
mov rcx, rdi
movss dword [rdi + 0x64], xmm0
movss xmm1, dword [rsi + 0x50]
addss xmm1, dword [rsi + 0x48]
subss xmm1, dword [r13 + 0x94]
movss dword [rdi + 0x68], xmm1
call fcn.140074fb0
movups xmm0, xmmword [r14 + 0x3cf8]
mov dword [rsp + 0x60], r12d
movups xmm1, xmmword [r14 + 0x3ae8]
movaps xmmword [rbp - 0x30], xmm0
movups xmm0, xmmword [r14 + 0x3d08]
movaps xmmword [rbp - 0x40], xmm1
movaps xmmword [rbp - 0x20], xmm0
movups xmm0, xmmword [r14 + 0x3d18]
movaps xmmword [rbp - 0x10], xmm0
movups xmm0, xmmword [r14 + 0x3d28]
movaps xmmword [rbp], xmm0
movups xmm0, xmmword [r14 + 0x3d38]
mov qword [rsi + 0x90], r12
movaps xmmword [rbp + 0x10], xmm0
cmp dword [rsi + 0x30], r12d
jle 0x14003cfa0
mov rbx, r12
movaps xmmword [rsp + 0x130], xmm6
movss xmm6, dword [0x1400c8e28]
mov qword [rsp + 0x58], rbx
nop dword [rax]
mov rax, qword [rsi + 0x38]
mov rbx, qword [rbx + rax]
cmp byte [rbp - 0x73], r12b
jne 0x14003cbda
mov eax, dword [rsp + 0x70]
cmp eax, dword [rbx + 0xc0]
jne 0x14003cbf0
cmp byte [rbx + 0x10a], r12b
je 0x14003cbf0
test dword [rbx + 0x14], 0x40000
je 0x14003cf73
mov eax, dword [rbx + 0x2a8]
inc eax
cmp eax, dword [r14 + 0x40a8]
jge 0x14003cc0e
mov eax, dword [rbp - 0x78]
cmp dword [rsp + 0x50], eax
je 0x14003cf73
mov ecx, dword [rbx + 0x448]
xorps xmm3, xmm3
mov r8d, dword [rbx + 0x34]
xorps xmm2, xmm2
mov edx, dword [rdi + 0x10]
xorps xmm1, xmm1
movzx eax, cl
xorps xmm0, xmm0
or r8d, 1
test dword [rbx + 0x14], 0x40000
cvtsi2ss xmm3, rax
cmove r8d, dword [rbx + 0x34]
mov eax, ecx
shr eax, 8
movzx eax, al
cvtsi2ss xmm2, rax
mov eax, ecx
shr ecx, 0x18
shr eax, 0x10
movzx eax, al
mulss xmm3, xmm6
cvtsi2ss xmm1, rax
mov eax, ecx
cvtsi2ss xmm0, rax
shufps xmm3, xmm3, 0xe1
mulss xmm2, xmm6
mulss xmm1, xmm6
movss xmm3, xmm2
mulss xmm0, xmm6
shufps xmm3, xmm3, 0xc6
xorps xmm2, xmm2
movss xmm3, xmm1
xorps xmm1, xmm1
shufps xmm3, xmm3, 0x27
movss xmm3, xmm0
xorps xmm0, xmm0
shufps xmm3, xmm3, 0x39
movups xmmword [r14 + 0x3ae8], xmm3
mov ecx, dword [rbx + 0x44c]
xorps xmm3, xmm3
movzx eax, cl
cvtsi2ss xmm3, rax
mov eax, ecx
shr eax, 8
movzx eax, al
cvtsi2ss xmm2, rax
mov eax, ecx
shr ecx, 0x18
shr eax, 0x10
movzx eax, al
mulss xmm3, xmm6
cvtsi2ss xmm1, rax
mov eax, ecx
shufps xmm3, xmm3, 0xe1
cvtsi2ss xmm0, rax
mulss xmm2, xmm6
mulss xmm1, xmm6
movss xmm3, xmm2
mulss xmm0, xmm6
shufps xmm3, xmm3, 0xc6
xorps xmm2, xmm2
movss xmm3, xmm1
xorps xmm1, xmm1
shufps xmm3, xmm3, 0x27
movss xmm3, xmm0
shufps xmm3, xmm3, 0x39
movups xmmword [r14 + 0x3cf8], xmm3
mov ecx, dword [rbx + 0x450]
movzx eax, cl
xorps xmm3, xmm3
cvtsi2ss xmm3, rax
mov eax, ecx
shr eax, 8
movzx eax, al
cvtsi2ss xmm2, rax
mov eax, ecx
shr eax, 0x10
movzx eax, al
mulss xmm3, xmm6
cvtsi2ss xmm1, rax
mulss xmm2, xmm6
shufps xmm3, xmm3, 0xe1
xorps xmm0, xmm0
movss xmm3, xmm2
shr ecx, 0x18
shufps xmm3, xmm3, 0xc6
xorps xmm2, xmm2
mov eax, ecx
mulss xmm1, xmm6
cvtsi2ss xmm0, rax
movss xmm3, xmm1
xorps xmm1, xmm1
shufps xmm3, xmm3, 0x27
mulss xmm0, xmm6
movss xmm3, xmm0
xorps xmm0, xmm0
shufps xmm3, xmm3, 0x39
movups xmmword [r14 + 0x3d08], xmm3
mov ecx, dword [rbx + 0x454]
xorps xmm3, xmm3
movzx eax, cl
cvtsi2ss xmm3, rax
mov eax, ecx
shr eax, 8
movzx eax, al
mulss xmm3, xmm6
cvtsi2ss xmm2, rax
mov eax, ecx
shr ecx, 0x18
shr eax, 0x10
movzx eax, al
shufps xmm3, xmm3, 0xe1
cvtsi2ss xmm1, rax
mov eax, ecx
cvtsi2ss xmm0, rax
mulss xmm2, xmm6
mulss xmm1, xmm6
movss xmm3, xmm2
mulss xmm0, xmm6
shufps xmm3, xmm3, 0xc6
xorps xmm2, xmm2
movss xmm3, xmm1
xorps xmm1, xmm1
shufps xmm3, xmm3, 0x27
movss xmm3, xmm0
xorps xmm0, xmm0
shufps xmm3, xmm3, 0x39
movups xmmword [r14 + 0x3d18], xmm3
mov ecx, dword [rbx + 0x458]
xorps xmm3, xmm3
movzx eax, cl
cvtsi2ss xmm3, rax
mov eax, ecx
shr eax, 8
movzx eax, al
mulss xmm3, xmm6
cvtsi2ss xmm2, rax
mov eax, ecx
shr ecx, 0x18
shr eax, 0x10
movzx eax, al
shufps xmm3, xmm3, 0xe1
cvtsi2ss xmm1, rax
mov eax, ecx
cvtsi2ss xmm0, rax
mulss xmm2, xmm6
mulss xmm1, xmm6
movss xmm3, xmm2
mulss xmm0, xmm6
shufps xmm3, xmm3, 0xc6
movss xmm3, xmm1
shufps xmm3, xmm3, 0x27
movss xmm3, xmm0
shufps xmm3, xmm3, 0x39
movups xmmword [r14 + 0x3d28], xmm3
mov ecx, dword [rbx + 0x45c]
movzx eax, cl
xorps xmm3, xmm3
cvtsi2ss xmm3, rax
mov eax, ecx
shr eax, 8
mulss xmm3, xmm6
shufps xmm3, xmm3, 0xe1
mov r9d, r8d
movzx eax, al
or r9d, 4
xorps xmm2, xmm2
mov qword [rsp + 0x20], rbx
xorps xmm1, xmm1
xorps xmm0, xmm0
cvtsi2ss xmm2, rax
mov eax, ecx
shr ecx, 0x18
shr eax, 0x10
test dl, 8
movzx eax, al
cmove r9d, r8d
lea r8, [rbp - 0x74]
cvtsi2ss xmm1, rax
mov eax, ecx
mov rcx, rdi
cvtsi2ss xmm0, rax
mulss xmm2, xmm6
mulss xmm1, xmm6
movss xmm3, xmm2
mulss xmm0, xmm6
shufps xmm3, xmm3, 0xc6
movss xmm3, xmm1
shufps xmm3, xmm3, 0x27
movss xmm3, xmm0
shufps xmm3, xmm3, 0x39
movups xmmword [r14 + 0x3d38], xmm3
cmp byte [rbx + 0x10a], r12b
mov rdx, qword [rbx + 8]
cmove r8, r12
mov byte [rbp - 0x74], 1
movups xmmword [rsp + 0x38], xmm3
call fcn.140076f00
cmp byte [rbp - 0x74], r12b
jne 0x14003cf1a
mov eax, dword [rbx + 0xc0]
mov dword [rsi + 0xc0], eax
mov eax, dword [rbx + 0xc0]
cmp dword [rdi + 0x20], eax
jne 0x14003cf2c
mov qword [rsi + 0x90], rbx
mov eax, dword [r14 + 0x4b10]
mov dword [rbx + 0x474], eax
movups xmm0, xmmword [r14 + 0x4b14]
movups xmmword [rbx + 0x478], xmm0
mov rax, qword [r14 + 0x4d10]
test rax, rax
je 0x14003cf73
cmp qword [rax + 0x3c8], rbx
jne 0x14003cf73
test byte [rbx + 0x1a4], 2
jne 0x14003cf73
mov eax, dword [rbx + 0xc0]
mov dword [r13 + 0x404], eax
mov eax, dword [rsp + 0x60]
mov rbx, qword [rsp + 0x58]
inc eax
add rbx, 8
mov dword [rsp + 0x60], eax
mov qword [rsp + 0x58], rbx
cmp eax, dword [rsi + 0x30]
jl 0x14003cbc0
movaps xmm6, xmmword [rsp + 0x130]
movaps xmm1, xmmword [rbp - 0x40]
movaps xmm0, xmmword [rbp - 0x30]
movups xmmword [r14 + 0x3ae8], xmm1
movaps xmm1, xmmword [rbp - 0x20]
movups xmmword [r14 + 0x3cf8], xmm0
movaps xmm0, xmmword [rbp - 0x10]
movups xmmword [r14 + 0x3d08], xmm1
movaps xmm1, xmmword [rbp]
movups xmmword [r14 + 0x3d18], xmm0
movaps xmm0, xmmword [rbp + 0x10]
movups xmmword [r14 + 0x3d28], xmm1
movups xmmword [r14 + 0x3d38], xmm0
mov rcx, qword [rsi + 0x90]
test rcx, rcx
je 0x14003d00b
mov rax, qword [rbp - 0x80]
cmp byte [rsp + 0x30], r12b
jne 0x14003d004
cmp qword [rax + 0x90], r12
jne 0x14003d00b
mov qword [rax + 0x90], rcx
movzx eax, byte [rsi + 0xcc]
and al, 8
je 0x14003d04e
mov rcx, qword [rsi + 0x90]
test rcx, rcx
je 0x14003d04e
cmp byte [rcx + 0x10a], r12b
je 0x14003d04e
mov r15b, 1
jmp 0x14003d13f
cdqe
imul rcx, rax, 0x38
add rcx, qword [rdi + 8]
je 0x14003ca78
mov dword [rdi + 0x1c], edx
mov dword [rdi + 0x18], edx
jmp 0x14003ca9a
test al, al
je 0x14003d255
mov rbx, qword [0x140141918]
mov eax, dword [rbx + 0x4ad4]
lea r15, [rbx + 0x4c40]
or eax, 4
mov dword [rbx + 0x4ad4], eax
mov ecx, dword [r15 + 4]
mov r8d, dword [r15]
mov dword [rsp + 0x50], eax
cmp r8d, ecx
jne 0x14003d0b3
inc r8d
test ecx, ecx
je 0x14003d095
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x14003d09a
mov eax, 8
cmp eax, r8d
mov rcx, r15
cmovg r8d, eax
mov edx, r8d
call fcn.140015970
mov rbx, qword [0x140141918]
movsxd rcx, dword [r15]
mov rax, qword [r15 + 8]
mov edx, dword [rsp + 0x50]
mov dword [rbp - 0x60], r12d
mov dword [rax + rcx*4], edx
lea rcx, [rbx + 0x4c00]
inc dword [r15]
lea rdx, [rbp - 0x60]
movss xmm0, dword [r14 + 0x3ae8]
movss xmm1, dword [r14 + 0x3aec]
movss dword [rsp + 0x38], xmm0
movss xmm0, dword [r14 + 0x3af0]
movss dword [rsp + 0x3c], xmm1
movss xmm1, dword [r14 + 0x3af4]
mulss xmm1, dword [0x1400c8e6c]
movss dword [rsp + 0x40], xmm0
movups xmm0, xmmword [rbx + 0x3ae8]
movss dword [rsp + 0x44], xmm1
movups xmmword [rbp - 0x5c], xmm0
call fcn.140015830
xor r15b, r15b
cmp dword [rbx + 0x4bfc], r12d
je 0x14003d13f
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rbx + 0x3ae8], xmm0
movsxd rax, dword [r13 + 0x138]
lea rcx, str.CLOSE
mov r8, qword [r13 + 0x140]
xor edx, edx
mov r8d, dword [r8 + rax*4 - 4]
call fcn.140019ab0
mov rcx, qword [r13]
mov ebx, eax
cmp dword [rcx + 0x419c], eax
jne 0x14003d181
lea r8, str.CLOSE
mov edx, 0xb
mov ecx, eax
call fcn.1400429c0
lea rdx, [rsp + 0x78]
mov ecx, ebx
call fcn.140066740
test al, al
je 0x14003d1f4
or byte [rsi + 0xcc], 0x40
mov r8d, r12d
cmp dword [rdi], r12d
jle 0x14003d1f4
mov rcx, r12
nop dword [rax]
nop word [rax + rax]
mov rdx, qword [rdi + 8]
mov eax, dword [rcx + rdx + 4]
bt eax, 0x15
jb 0x14003d1e8
test eax, 0x101
mov eax, dword [rcx + rdx]
jne 0x14003d1e0
mov byte [rcx + rdx + 0x30], 1
cmp dword [rdi + 0x20], eax
jne 0x14003d1e8
mov dword [rcx + rdx + 0x10], 0xffffffff
mov qword [rdi + 0x18], r12
jmp 0x14003d1e8
cmp dword [rdi + 0x20], eax
je 0x14003d1e8
mov dword [rdi + 0x1c], eax
inc r8d
add rcx, 0x38
cmp r8d, dword [rdi]
jl 0x14003d1b0
test r15b, r15b
jne 0x14003d255
mov rbx, qword [0x140141918]
movsxd rax, dword [rbx + 0x4c00]
cmp eax, 1
jl 0x14003d232
mov rcx, qword [rbx + 0x4c08]
lea rdx, [rax + rax*4]
movsxd rax, dword [rcx + rdx*4 - 0x14]
movups xmm0, xmmword [rcx + rdx*4 - 0x10]
add rax, rax
movups xmmword [rbx + rax*8 + 0x3ae8], xmm0
dec dword [rbx + 0x4c00]
movsxd rcx, dword [rbx + 0x4c40]
lea eax, [rcx - 1]
mov dword [rbx + 0x4c40], eax
mov rax, qword [rbx + 0x4c48]
mov ecx, dword [rax + rcx*4 - 8]
mov dword [rbx + 0x4ad4], ecx
jmp 0x14003d25c
mov rbx, qword [0x140141918]
movsxd rax, dword [r13 + 0x138]
lea rcx, str.TITLEBAR
mov r8, qword [r13 + 0x140]
xor edx, edx
mov r8d, dword [r8 + rax*4 - 4]
call fcn.140019ab0
mov rcx, qword [r13]
mov r15d, eax
cmp dword [rcx + 0x419c], eax
jne 0x14003d2a6
lea r8, str.TITLEBAR
mov edx, 0xb
mov ecx, eax
call fcn.1400429c0
mov rbx, qword [0x140141918]
mov eax, dword [r14 + 0x41a0]
test eax, eax
je 0x14003d2c3
cmp eax, r15d
je 0x14003d2c3
cmp dword [r14 + 0x41b4], r15d
jne 0x14003d379
cmp dword [rbx + 0x41b4], r15d
jne 0x14003d2d3
mov dword [rbx + 0x41b8], r15d
cmp dword [rbx + 0x41e4], r15d
jne 0x14003d2e3
mov byte [rbx + 0x41e8], 1
lea r9, [rbp - 0x73]
mov dword [rsp + 0x20], 0x1000
xor r8d, r8d
lea rcx, [rbp - 0x70]
mov edx, r15d
call fcn.140065710
cmp dword [r14 + 0x41a0], r15d
jne 0x14003d30e
mov dword [r14 + 0x4b08], r15d
cmp byte [rbp - 0x73], r12b
je 0x14003d379
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.14002be80
test al, al
je 0x14003d32b
mov eax, dword [rdi + 0x18]
mov dword [rsp + 0x48], eax
mov edx, dword [rdi + 0x18]
test edx, edx
je 0x14003d379
mov r8d, dword [rdi]
mov eax, r12d
test r8d, r8d
jle 0x14003d379
mov rcx, qword [rdi + 8]
cmp dword [rcx], edx
je 0x14003d352
inc eax
add rcx, 0x38
cmp eax, r8d
jl 0x14003d341
jmp 0x14003d379
cdqe
imul rcx, rax, 0x38
add rcx, qword [rdi + 8]
je 0x14003d379
mov rcx, qword [rcx + 8]
test rcx, rcx
jne 0x14003d36e
mov rcx, qword [rsi + 0x88]
xor r8d, r8d
mov rdx, rsi
call fcn.14001f9a0
mov edx, dword [rdi + 0x1c]
test edx, edx
mov r15, qword [rsp + 0x140]
cmove edx, dword [rsp + 0x48]
test edx, edx
je 0x14003d3d8
mov r8d, dword [rdi]
mov eax, r12d
test r8d, r8d
jle 0x14003d3d8
mov rcx, qword [rdi + 8]
nop
cmp dword [rcx], edx
je 0x14003d3b1
inc eax
add rcx, 0x38
cmp eax, r8d
jl 0x14003d3a0
jmp 0x14003d3d8
cdqe
imul rbx, rax, 0x38
add rbx, qword [rdi + 8]
je 0x14003d3d8
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14003d3d8
xor edx, edx
call fcn.14002a0c0
mov rcx, qword [rbx + 8]
xor edx, edx
call fcn.140031a30
call fcn.1400753b0
mov rax, qword [0x140141918]
mov rdi, qword [rsp + 0x148]
mov rcx, qword [rax + 0x4150]
dec dword [rcx + 0x138]
mov eax, dword [rsi + 0x10]
shr eax, 0xa
test al, 1
jne 0x14003d482
movzx eax, byte [rsp + 0x31]
mov byte [r13 + 0x104], al
mov dword [r13 + 0x1a0], r12d
jmp 0x14003d482
cmp dword [rsi + 0x30], r12d
jle 0x14003d425
mov rax, qword [rsi + 0x38]
mov r12, qword [rax]
and r8b, 0xfd
mov qword [rsi + 0x90], r12
movzx eax, bl
add al, al
or al, r8b
mov byte [rsi + 0xcc], al
test bl, bl
je 0x14003d44f
mov eax, dword [r14 + 0x40a8]
mov dword [rsi + 0xb4], eax
test r12, r12
je 0x14003d482
test bl, bl
jne 0x14003d462
cmp qword [rdx + 0x90], 0
jne 0x14003d469
mov qword [rdx + 0x90], r12
mov rdx, qword [rsi + 0x40]
test rdx, rdx
je 0x14003d482
mov rax, qword [rsi + 0x90]
mov ecx, dword [rax + 0xc0]
mov dword [rdx + 0x20], ecx
mov rbx, qword [rsp + 0x190]
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.1400b3c10
add rsp, 0x150
pop r14
pop r13
pop r12
pop rsi
pop rbp
ret