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

Disassembly:
push rbp
push rsi
push r12
push r13
push r14
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov rax, qword [0x140073040]
xor rax, rsp
mov qword [rbp + 0x40], rax
mov eax, dword [rcx + 0xb0]
mov rsi, rcx
mov r14, qword [0x140073b48]
inc eax
mov r13, rdx
mov dword [rsp + 0x64], eax
movzx r8d, byte [rsi + 0xcc]
mov ecx, dword [r14 + 0x4128]
mov dword [rbp - 0x78], ecx
test r8b, 0x40
je 0x1400370dc
mov byte [rbp - 0x73], 1
cmp eax, ecx
je 0x1400370e0
mov byte [rbp - 0x73], 0
xor r12d, r12d
mov r9d, 1
cmp dword [rsi + 0xc0], r12d
je 0x1400370fb
mov dword [rsp + 0x70], r9d
cmp eax, ecx
je 0x140037100
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 0x140037133
mov qword [rbp - 0x80], rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x140037122
mov rdx, qword [rbp - 0x80]
mov rax, qword [r14 + 0x4f98]
mov qword [rsp + 0x160], r15
test rax, rax
je 0x140037157
cmp qword [rax + 0x468], rsi
sete r15b
jmp 0x140037207
mov rcx, qword [r14 + 0x4db8]
test rcx, rcx
je 0x140037204
mov eax, dword [rsi]
cmp dword [rdx + 0xb8], eax
jne 0x140037204
mov rcx, qword [rcx + 0x3c8]
test dword [rcx + 0x14], 0x10000000
je 0x1400371a7
nop word [rax + rax]
mov rax, qword [rcx + 0x3b8]
mov rcx, qword [rax + 0x3c8]
test dword [rcx + 0x14], 0x10000000
jne 0x140037190
mov rax, qword [rcx + 0x470]
test rax, rax
jne 0x1400371c0
mov rax, qword [rcx + 0x468]
test rax, rax
je 0x140037204
nop
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x1400371dc
nop dword [rax]
mov rax, rcx
mov rcx, qword [rcx + 0x18]
test rcx, rcx
jne 0x1400371d0
cmp rax, rdx
je 0x14003737e
mov rax, qword [rax + 0x88]
test rax, rax
je 0x140037204
mov rax, qword [rax + 0x3c8]
mov rax, qword [rax + 0x468]
test rax, rax
jne 0x1400371c0
xor r15b, r15b
mov ecx, dword [rsi + 0x10]
mov eax, ecx
shr eax, 0xd
test r9b, al
jne 0x1400383a4
mov eax, ecx
shr eax, 0xc
test r9b, al
jne 0x1400383a4
movzx eax, byte [r13 + 0x104]
mov qword [rsp + 0x1b0], rbx
shr ecx, 0xa
mov qword [rsp + 0x168], rdi
movaps xmmword [rsp + 0x150], xmm6
mov byte [rsp + 0x48], al
test r9b, cl
jne 0x140037260
mov byte [r13 + 0x104], r12b
mov dword [r13 + 0x1a0], r9d
mov ecx, dword [rsi]
call fcn.140026b00
mov rax, qword [rsi + 0x40]
mov qword [rsp + 0x38], rax
mov rdi, rax
test rax, rax
jne 0x140037284
mov rcx, rsi
call fcn.140038440
mov rdi, qword [rsi + 0x40]
and byte [rsi + 0xcc], 0xfd
movzx eax, r15b
add al, al
mov dword [rsp + 0x4c], r12d
or byte [rsi + 0xcc], al
xorps xmm6, xmm6
test dword [rsi + 0x10], 0x4000
jne 0x140037468
cmp dword [r14 + 0x3a68], 0xffffffff
je 0x140037468
mov rax, qword [0x140073b48]
lea rcx, str.WindowMenu
xor edx, edx
mov byte [rbp - 0x74], 1
mov rbx, qword [rax + 0x41e0]
movsxd rax, dword [rbx + 0x138]
mov r8, qword [rbx + 0x140]
mov r8d, dword [r8 + rax*4 - 4]
call fcn.1400153c0
mov rcx, qword [rbx]
mov r9d, eax
mov dword [rsp + 0x50], eax
cmp dword [rcx + 0x4238], eax
jne 0x140037317
lea r8, str.WindowMenu
mov edx, 0xc
mov ecx, eax
call fcn.14003d800
mov r9d, dword [rsp + 0x50]
mov rbx, qword [0x140073b48]
movsxd rax, dword [rbx + 0x4d18]
cmp dword [rbx + 0x4d08], eax
jle 0x14003746c
imul rcx, rax, 0x38
mov rax, qword [rbx + 0x4d10]
cmp dword [rcx + rax], r9d
jne 0x14003746c
mov eax, dword [rdi + 0x24]
movss xmm0, dword [rbx + 0x3a80]
addss xmm0, xmm0
movss xmm1, dword [rsi + 0x48]
mov dword [rsp + 0x50], eax
mov eax, 1
addss xmm0, dword [rbx + 0x3ef8]
addss xmm0, dword [rsi + 0x4c]
cmp dword [rbx + 0x3a68], r12d
jne 0x140037387
xorps xmm2, xmm2
jmp 0x140037394
movzx r15d, r9b
jmp 0x140037207
addss xmm1, dword [rsi + 0x50]
movss xmm2, dword [0x140067458]
or dword [rbx + 0x4c00], 1
movss dword [rbx + 0x4c14], xmm1
movss dword [rbx + 0x4c18], xmm0
movss dword [rbx + 0x4c1c], xmm2
movss dword [rbx + 0x4c20], xmm6
mov dword [rbx + 0x4c04], eax
mov byte [rbx + 0x4c40], 1
call fcn.14002b1d0
test al, al
je 0x14003743e
or byte [rsi + 0xcc], 2
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call qword [rbx + 0x54c0]
mov rbx, qword [0x140073b48]
mov rcx, qword [rbx + 0x41e0]
cmp qword [rbx + 0x4db8], rcx
jne 0x140037422
cmp byte [rbx + 0x4e51], r12b
je 0x140037422
cmp dword [rbx + 0x4dc8], r12d
jne 0x140037422
mov eax, dword [rbx + 0x4e54]
and eax, 0xfffffff2
or eax, 2
mov dword [rbx + 0x4e54], eax
test dword [rcx + 0x14], 0x1000000
je 0x140037432
mov byte [rbx + 0x413a], 1
call fcn.1400258c0
mov byte [rbx + 0x413a], r12b
mov eax, dword [rdi + 0x24]
test eax, eax
je 0x140037453
cmp eax, dword [rsp + 0x50]
mov ecx, r12d
cmovne ecx, eax
mov dword [rsp + 0x4c], ecx
movzx ebx, byte [rsi + 0xcc]
shr bl, 1
and bl, 1
or bl, r15b
mov byte [rsp + 0x30], bl
jmp 0x140037471
mov byte [rbp - 0x74], r12b
mov byte [rsp + 0x30], r15b
xorps xmm0, xmm0
mov qword [rsp + 0x68], r12
xorps xmm1, xmm1
mov qword [rsp + 0x78], r12
lea rax, [rsp + 0x78]
mov rcx, rsi
lea r9, [rsp + 0x68]
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.140038760
mov r15d, r12d
mov eax, dword [rdi + 8]
mov dword [rsp + 0x60], eax
cmp dword [rsi + 0x30], r12d
jle 0x14003751c
mov rbx, r12
nop dword [rax + rax]
mov rax, qword [rsi + 0x38]
mov r9, qword [rbx + rax]
mov r8d, dword [r9 + 0xc0]
test r8d, r8d
je 0x1400374ff
mov edx, dword [rdi + 8]
mov eax, r12d
test edx, edx
jle 0x1400374ff
mov rcx, qword [rdi + 0x10]
cmp dword [rcx], r8d
je 0x1400374f3
inc eax
add rcx, 0x38
cmp eax, edx
jl 0x1400374e2
jmp 0x1400374ff
cdqe
imul rcx, rax, 0x38
add rcx, qword [rdi + 0x10]
jne 0x14003750f
mov r8, r9
mov edx, 0x400000
mov rcx, rdi
call fcn.140059ac0
inc r15d
add rbx, 8
cmp r15d, dword [rsi + 0x30]
jl 0x1400374c0
movzx ebx, byte [rsp + 0x30]
test bl, bl
je 0x140037532
mov eax, dword [r14 + 0x4128]
mov dword [rsi + 0xb4], eax
cmp byte [r13 + 0x102], r12b
je 0x140037542
mov ecx, 0xc
jmp 0x14003754e
test bl, bl
mov rcx, r12
setne cl
add rcx, 0xa
mov rax, qword [0x140073b48]
add rcx, rcx
movups xmm0, xmmword [rax + rcx*8 + 0x3b34]
lea rcx, [rsp + 0x50]
movups xmmword [rsp + 0x50], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x3a40]
movss dword [rsp + 0x5c], xmm0
call fcn.140015970
movss xmm2, dword [r14 + 0x3b20]
mov r10d, eax
movss xmm1, dword [r13 + 0x58]
movaps xmm0, xmm2
movss xmm3, dword [r13 + 0x5c]
addss xmm0, xmm1
addss xmm1, dword [r13 + 0x60]
comiss xmm0, dword [rbp - 0x70]
movss xmm0, dword [rbp - 0x68]
subss xmm1, xmm2
setae cl
comiss xmm0, xmm1
movss xmm0, dword [rbp - 0x64]
movaps xmm1, xmm2
addss xmm1, xmm3
addss xmm3, dword [r13 + 0x64]
setae r9b
comiss xmm1, dword [rbp - 0x6c]
subss xmm3, xmm2
setae dl
comiss xmm0, xmm3
setae al
test dl, dl
je 0x1400375f0
test cl, cl
je 0x1400375f0
mov r8d, 0x10
jmp 0x1400375f7
mov r8d, r12d
test dl, dl
je 0x140037601
mov edx, 0x20
test r9b, r9b
jne 0x140037604
mov edx, r12d
test al, al
je 0x140037613
test cl, cl
je 0x140037613
mov ecx, 0x40
jmp 0x14003761a
mov ecx, r12d
test al, al
je 0x140037624
mov eax, 0x180
test r9b, r9b
jne 0x140037629
mov eax, 0x100
movss xmm0, dword [r13 + 0x90]
or eax, ecx
mov rcx, qword [r13 + 0x2e8]
or eax, r8d
or eax, edx
lea r8, [rbp - 0x68]
mov dword [rsp + 0x28], eax
lea rdx, [rbp - 0x70]
mov r9d, r10d
movss dword [rsp + 0x20], xmm0
call fcn.14004ad10
cmp byte [rbp - 0x74], r12b
je 0x140037728
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.1400153c0
mov rcx, qword [r13]
mov r15d, eax
cmp dword [rcx + 0x4238], eax
jne 0x1400376a7
lea r8, str.COLLAPSE
mov edx, 0xc
mov ecx, eax
call fcn.14003d800
mov r8, rsi
lea rdx, [rsp + 0x68]
mov ecx, r15d
call fcn.140053e60
test al, al
je 0x1400376c0
call fcn.14002ab20
mov rax, qword [0x140073b48]
mov ecx, dword [rax + 0x4254]
test ecx, ecx
je 0x1400376e0
cmp ecx, dword [rax + 0x4bb0]
jne 0x1400376e0
mov eax, dword [rdi + 0x20]
mov dword [rsp + 0x4c], eax
mov ecx, 0x11000
call fcn.14001ac70
test al, al
je 0x140037728
movss xmm0, dword [r14 + 0x4248]
comiss xmm0, dword [0x140067414]
jbe 0x140037728
mov rax, qword [0x140073b48]
lea rdx, str.Missing_Text
mov rcx, qword [rax + 0x5588]
test rcx, rcx
cmovne rdx, rcx
lea rcx, [0x140060a94]
call fcn.14002a9f0
mov r15d, dword [rdi + 8]
lea ecx, [r15 - 1]
test ecx, ecx
js 0x140037764
movsxd rax, ecx
imul rdx, rax, 0x38
nop dword [rax + rax]
mov r8, qword [rdi + 0x10]
mov eax, dword [r8 + rdx + 4]
bt eax, 0x16
jae 0x140037764
btr eax, 0x16
mov r15d, ecx
mov dword [r8 + rdx + 4], eax
sub rdx, 0x38
sub ecx, 1
jns 0x140037740
mov r8d, dword [rdi + 8]
cmp r8d, r15d
jle 0x1400378a2
test dword [r14 + 0x55d4], 0x100
je 0x1400377a8
mov edx, dword [rsi]
lea eax, [r15 + 1]
cmp r8d, eax
lea rcx, str.__will_sort_
lea r9, [0x14005fb38]
cmovg r9, rcx
sub r8d, r15d
lea rcx, str._docking__In_node_0x_08X:__d_new_appearing_tabs:_s_n
call fcn.14003d3f0
mov ecx, r15d
mov dword [rsp + 0x50], ecx
cmp r15d, dword [rdi + 8]
jge 0x140037833
movsxd rax, r15d
imul rbx, rax, 0x38
test dword [r14 + 0x55d4], 0x100
mov rdx, qword [rdi + 0x10]
je 0x14003781f
mov rax, qword [rbx + rdx + 8]
test rax, rax
je 0x1400377e9
mov r8, qword [rax + 8]
movsx r9d, word [rax + 0x446]
jmp 0x14003780c
movsxd rax, dword [rbx + rdx + 0x28]
mov r9d, 0xffffffff
cmp eax, r9d
jne 0x140037802
lea r8, [0x14006149c]
jmp 0x14003780c
mov r8, rax
add r8, qword [rdi + 0xa0]
mov edx, dword [rbx + rdx]
lea rcx, str._docking____Tab_0x_08X__s_Order__d_n
call fcn.14003d3f0
mov ecx, dword [rsp + 0x50]
inc ecx
add rbx, 0x38
mov dword [rsp + 0x50], ecx
cmp ecx, dword [rdi + 8]
jl 0x1400377c0
movzx ebx, byte [rsp + 0x30]
test dword [r14 + 0x55d4], 0x100
je 0x14003786d
mov rax, qword [r14 + 0x4db8]
test rax, rax
je 0x140037855
mov r8d, dword [rax + 0xc0]
jmp 0x14003785b
mov r8d, 0xffffffff
mov edx, dword [rsi + 0xbc]
lea rcx, str._docking__SelectedTabId__0x_08X__NavWindow__TabId__0x_08X_n
call fcn.14003d3f0
mov ecx, dword [rdi + 8]
lea eax, [r15 + 1]
cmp ecx, eax
jle 0x1400378a2
sub ecx, r15d
movsxd rdx, ecx
cmp rdx, 1
jbe 0x1400378a2
movsxd rax, r15d
lea r9, [0x140036f00]
imul rcx, rax, 0x38
mov r8d, 0x38
add rcx, qword [rdi + 0x10]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_qsort]
mov rax, qword [r14 + 0x4db8]
test rax, rax
je 0x1400378c7
mov rax, qword [rax + 0x3c8]
cmp qword [rax + 0x468], rsi
jne 0x1400378c7
mov eax, dword [rax + 0xc0]
mov dword [rdi + 0x20], eax
cmp qword [rsp + 0x38], r12
jne 0x1400378fb
mov edx, dword [rsi + 0xbc]
test edx, edx
je 0x1400378fb
mov r8d, dword [rdi + 8]
mov eax, r12d
test r8d, r8d
jle 0x1400378fb
mov rcx, qword [rdi + 0x10]
cmp dword [rcx], edx
je 0x140037fbf
inc eax
add rcx, 0x38
cmp eax, r8d
jl 0x1400378e8
movsxd rax, dword [rdi + 8]
cmp eax, dword [rsp + 0x60]
jle 0x14003791e
imul rcx, rax, 0x38
mov rax, qword [rdi + 0x10]
mov rcx, qword [rcx + rax - 0x30]
mov eax, dword [rcx + 0xc0]
mov dword [rdi + 0x24], eax
mov dword [rdi + 0x20], eax
mov r15d, 0x500043
cmp byte [r13 + 0x102], r12b
jne 0x140037938
test bl, bl
mov eax, 0x700043
cmovne r15d, eax
mov rax, qword [0x140073b48]
lea rcx, str.TabBar
xor edx, edx
mov rbx, qword [rax + 0x41e0]
movsxd rax, dword [rbx + 0x138]
mov r8, qword [rbx + 0x140]
mov r8d, dword [r8 + rax*4 - 4]
call fcn.1400153c0
mov rcx, qword [rbx]
mov dword [rsp + 0x60], eax
cmp dword [rcx + 0x4238], eax
jne 0x14003798d
lea r8, str.TabBar
mov edx, 0xc
mov ecx, eax
call fcn.14003d800
mov eax, dword [rsp + 0x60]
mov dword [rdi + 0x1c], eax
lea rdx, [rbp - 0x60]
movss xmm0, dword [rsi + 0x48]
mov r8d, r15d
addss xmm0, dword [r13 + 0x94]
mov rcx, rdi
movss dword [rdi + 0x6c], xmm0
movss xmm1, dword [rsi + 0x50]
addss xmm1, dword [rsi + 0x48]
subss xmm1, dword [r13 + 0x94]
movss dword [rdi + 0x70], xmm1
call fcn.140058630
movups xmm0, xmmword [r14 + 0x3d44]
mov dword [rsp + 0x50], r12d
movups xmm1, xmmword [r14 + 0x3b34]
movaps xmmword [rbp - 0x30], xmm0
movups xmm0, xmmword [r14 + 0x3d54]
movaps xmmword [rbp - 0x40], xmm1
movaps xmmword [rbp - 0x20], xmm0
movups xmm0, xmmword [r14 + 0x3d64]
movaps xmmword [rbp - 0x10], xmm0
movups xmm0, xmmword [r14 + 0x3d74]
movaps xmmword [rbp], xmm0
movups xmm0, xmmword [r14 + 0x3d84]
movaps xmmword [rbp + 0x10], xmm0
movups xmm0, xmmword [r14 + 0x3d94]
movaps xmmword [rbp + 0x20], xmm0
movups xmm0, xmmword [r14 + 0x3da4]
mov qword [rsi + 0x90], r12
movaps xmmword [rbp + 0x30], xmm0
cmp dword [rsi + 0x30], r12d
jle 0x140037f0c
movss xmm6, dword [0x1400673cc]
mov rbx, r12
mov qword [rsp + 0x68], rbx
mov rax, qword [rsi + 0x38]
mov rbx, qword [rbx + rax]
cmp byte [rbp - 0x73], r12b
jne 0x140037a6a
mov eax, dword [rsp + 0x70]
cmp eax, dword [rbx + 0xc0]
jne 0x140037a80
cmp byte [rbx + 0x10a], r12b
je 0x140037a80
test dword [rbx + 0x14], 0x40000
je 0x140037ee7
mov eax, dword [rbx + 0x2a8]
inc eax
cmp eax, dword [r14 + 0x4128]
jge 0x140037a9e
mov eax, dword [rbp - 0x78]
cmp dword [rsp + 0x64], eax
je 0x140037ee7
mov ecx, dword [rbx + 0x448]
xorps xmm3, xmm3
mov r8d, dword [rbx + 0x34]
xorps xmm2, xmm2
mov edx, dword [rdi + 0x18]
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 + 0x3b34], 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 + 0x3d44], 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 + 0x3d54], 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 + 0x3d64], 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 + 0x3d74], 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
xorps xmm2, xmm2
movzx eax, al
xorps xmm1, xmm1
xorps xmm0, xmm0
cvtsi2ss xmm2, rax
mov eax, ecx
shr ecx, 0x18
shr eax, 0x10
movzx eax, al
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 + 0x3d84], xmm3
mov ecx, dword [rbx + 0x460]
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
xorps xmm0, xmm0
shufps xmm3, xmm3, 0x39
movups xmmword [r14 + 0x3d94], xmm3
mov ecx, dword [rbx + 0x464]
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 eax, 0x10
movzx eax, al
shr ecx, 0x18
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
mov r9d, r8d
shufps xmm3, xmm3, 0x39
or r9d, 4
mov qword [rsp + 0x20], rbx
test dl, 8
mov rcx, rdi
movups xmmword [r14 + 0x3da4], xmm3
mov rdx, qword [rbx + 8]
cmove r9d, r8d
cmp byte [rbx + 0x10a], r12b
lea r8, [rbp - 0x74]
movups xmmword [rsp + 0x38], xmm3
cmove r8, r12
mov byte [rbp - 0x74], 1
call fcn.14005a540
cmp byte [rbp - 0x74], r12b
jne 0x140037e8e
mov eax, dword [rbx + 0xc0]
mov dword [rsi + 0xc0], eax
mov eax, dword [rbx + 0xc0]
cmp dword [rdi + 0x28], eax
jne 0x140037ea0
mov qword [rsi + 0x90], rbx
mov eax, dword [r14 + 0x4bb8]
mov dword [rbx + 0x47c], eax
movups xmm0, xmmword [r14 + 0x4bbc]
movups xmmword [rbx + 0x480], xmm0
mov rax, qword [r14 + 0x4db8]
test rax, rax
je 0x140037ee7
cmp qword [rax + 0x3c8], rbx
jne 0x140037ee7
test byte [rbx + 0x1a4], 2
jne 0x140037ee7
mov eax, dword [rbx + 0xc0]
mov dword [r13 + 0x404], eax
mov eax, dword [rsp + 0x50]
mov rbx, qword [rsp + 0x68]
inc eax
add rbx, 8
mov dword [rsp + 0x50], eax
mov qword [rsp + 0x68], rbx
cmp eax, dword [rsi + 0x30]
jl 0x140037a50
movaps xmm1, xmmword [rbp - 0x40]
movaps xmm0, xmmword [rbp - 0x30]
movaps xmm6, xmmword [rsp + 0x150]
movups xmmword [r14 + 0x3b34], xmm1
movaps xmm1, xmmword [rbp - 0x20]
movups xmmword [r14 + 0x3d44], xmm0
movaps xmm0, xmmword [rbp - 0x10]
movups xmmword [r14 + 0x3d54], xmm1
movaps xmm1, xmmword [rbp]
movups xmmword [r14 + 0x3d64], xmm0
movaps xmm0, xmmword [rbp + 0x10]
movups xmmword [r14 + 0x3d74], xmm1
movaps xmm1, xmmword [rbp + 0x20]
movups xmmword [r14 + 0x3d84], xmm0
movaps xmm0, xmmword [rbp + 0x30]
movups xmmword [r14 + 0x3d94], xmm1
movups xmmword [r14 + 0x3da4], xmm0
mov rcx, qword [rsi + 0x90]
test rcx, rcx
je 0x140037f97
mov rax, qword [rbp - 0x80]
cmp byte [rsp + 0x30], r12b
jne 0x140037f90
cmp qword [rax + 0x90], r12
jne 0x140037f97
mov qword [rax + 0x90], rcx
movzx eax, byte [rsi + 0xcc]
and al, 8
je 0x140037fda
mov rcx, qword [rsi + 0x90]
test rcx, rcx
je 0x140037fda
cmp byte [rcx + 0x10a], r12b
je 0x140037fda
mov r15b, 1
jmp 0x1400380cc
cdqe
imul rcx, rax, 0x38
add rcx, qword [rdi + 0x10]
je 0x1400378fb
mov dword [rdi + 0x24], edx
mov dword [rdi + 0x20], edx
jmp 0x14003791e
test al, al
je 0x1400381d7
mov rbx, qword [0x140073b48]
mov eax, dword [rbx + 0x4b70]
lea r15, [rbx + 0x4ce8]
bts eax, 0xa
mov dword [rbx + 0x4b70], eax
mov ecx, dword [r15 + 4]
mov r8d, dword [r15]
mov dword [rsp + 0x64], eax
cmp r8d, ecx
jne 0x140038040
inc r8d
test ecx, ecx
je 0x140038022
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x140038027
mov eax, 8
cmp eax, r8d
mov rcx, r15
cmovg r8d, eax
mov edx, r8d
call fcn.14003f5d0
mov rbx, qword [0x140073b48]
movsxd rcx, dword [r15]
mov rax, qword [r15 + 8]
mov edx, dword [rsp + 0x64]
mov dword [rbp - 0x60], r12d
mov dword [rax + rcx*4], edx
lea rcx, [rbx + 0x4ca8]
inc dword [r15]
lea rdx, [rbp - 0x60]
movss xmm0, dword [r14 + 0x3b34]
movss xmm1, dword [r14 + 0x3b38]
movss dword [rsp + 0x38], xmm0
movss xmm0, dword [r14 + 0x3b3c]
movss dword [rsp + 0x3c], xmm1
movss xmm1, dword [r14 + 0x3b40]
mulss xmm1, dword [0x140067400]
movss dword [rsp + 0x40], xmm0
movups xmm0, xmmword [rbx + 0x3b34]
movss dword [rsp + 0x44], xmm1
movups xmmword [rbp - 0x5c], xmm0
call fcn.14003e890
xor r15b, r15b
cmp dword [rbx + 0x4ca4], r12d
je 0x1400380cc
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rbx + 0x3b34], 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.1400153c0
mov rcx, qword [r13]
mov ebx, eax
cmp dword [rcx + 0x4238], eax
jne 0x14003810e
lea r8, str.CLOSE
mov edx, 0xc
mov ecx, eax
call fcn.14003d800
lea rdx, [rsp + 0x78]
mov ecx, ebx
call fcn.140053b10
test al, al
je 0x140038176
or byte [rsi + 0xcc], 0x40
mov r8d, r12d
cmp dword [rdi + 8], r12d
jle 0x140038176
mov rcx, r12
mov rdx, qword [rdi + 0x10]
mov eax, dword [rcx + rdx + 4]
bt eax, 0x15
jb 0x140038169
test eax, 0x101
mov eax, dword [rcx + rdx]
jne 0x140038161
mov byte [rcx + rdx + 0x30], 1
cmp dword [rdi + 0x28], eax
jne 0x140038169
mov dword [rcx + rdx + 0x10], 0xffffffff
mov qword [rdi + 0x20], r12
jmp 0x140038169
cmp dword [rdi + 0x28], eax
je 0x140038169
mov dword [rdi + 0x24], eax
inc r8d
add rcx, 0x38
cmp r8d, dword [rdi + 8]
jl 0x140038131
test r15b, r15b
jne 0x1400381d7
mov rbx, qword [0x140073b48]
movsxd rax, dword [rbx + 0x4ca8]
cmp eax, 1
jl 0x1400381b4
mov rcx, qword [rbx + 0x4cb0]
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 + 0x3b34], xmm0
dec dword [rbx + 0x4ca8]
movsxd rcx, dword [rbx + 0x4ce8]
lea eax, [rcx - 1]
mov dword [rbx + 0x4ce8], eax
mov rax, qword [rbx + 0x4cf0]
mov ecx, dword [rax + rcx*4 - 8]
mov dword [rbx + 0x4b70], ecx
jmp 0x1400381de
mov rbx, qword [0x140073b48]
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.1400153c0
mov rcx, qword [r13]
mov r15d, eax
cmp dword [rcx + 0x4238], eax
jne 0x140038228
lea r8, str.TITLEBAR
mov edx, 0xc
mov ecx, eax
call fcn.14003d800
mov rbx, qword [0x140073b48]
mov eax, dword [r14 + 0x423c]
test eax, eax
je 0x140038245
cmp eax, r15d
je 0x140038245
cmp dword [r14 + 0x4254], r15d
jne 0x1400382fc
cmp dword [rbx + 0x4254], r15d
jne 0x140038255
mov dword [rbx + 0x4258], r15d
cmp dword [rbx + 0x4284], r15d
jne 0x140038265
mov byte [rbx + 0x4288], 1
lea r9, [rbp - 0x73]
mov dword [rsp + 0x20], 0x1000
xor r8d, r8d
lea rcx, [rbp - 0x70]
mov edx, r15d
call fcn.140052c80
cmp dword [r14 + 0x423c], r15d
jne 0x140038290
mov dword [r14 + 0x4bb0], r15d
cmp byte [rbp - 0x73], r12b
je 0x1400382fc
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.140027920
test al, al
je 0x1400382ad
mov eax, dword [rdi + 0x20]
mov dword [rsp + 0x4c], eax
mov edx, dword [rdi + 0x20]
test edx, edx
je 0x1400382fc
mov r8d, dword [rdi + 8]
mov eax, r12d
test r8d, r8d
jle 0x1400382fc
mov rcx, qword [rdi + 0x10]
cmp dword [rcx], edx
je 0x1400382d5
inc eax
add rcx, 0x38
cmp eax, r8d
jl 0x1400382c4
jmp 0x1400382fc
cdqe
imul rcx, rax, 0x38
add rcx, qword [rdi + 0x10]
je 0x1400382fc
mov rcx, qword [rcx + 8]
test rcx, rcx
jne 0x1400382f1
mov rcx, qword [rsi + 0x88]
xor r8d, r8d
mov rdx, rsi
call fcn.14001b630
mov edx, dword [rdi + 0x24]
test edx, edx
cmove edx, dword [rsp + 0x4c]
test edx, edx
je 0x140038358
mov r8d, dword [rdi + 8]
mov eax, r12d
test r8d, r8d
jle 0x140038358
mov rcx, qword [rdi + 0x10]
nop word [rax + rax]
cmp dword [rcx], edx
je 0x140038331
inc eax
add rcx, 0x38
cmp eax, r8d
jl 0x140038320
jmp 0x140038358
cdqe
imul rbx, rax, 0x38
add rbx, qword [rdi + 0x10]
je 0x140038358
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140038358
xor edx, edx
call fcn.140025dc0
mov rcx, qword [rbx + 8]
xor edx, edx
call fcn.14002cb80
call fcn.140058a40
mov rax, qword [0x140073b48]
mov rdi, qword [rsp + 0x168]
mov rbx, qword [rsp + 0x1b0]
mov rcx, qword [rax + 0x41e0]
dec dword [rcx + 0x138]
mov eax, dword [rsi + 0x10]
shr eax, 0xa
test al, 1
jne 0x140038411
movzx eax, byte [rsp + 0x48]
mov byte [r13 + 0x104], al
mov dword [r13 + 0x1a0], r12d
jmp 0x140038411
cmp dword [rsi + 0x30], r12d
jle 0x1400383b1
mov rax, qword [rsi + 0x38]
mov r12, qword [rax]
and r8b, 0xfd
mov qword [rsi + 0x90], r12
movzx eax, r15b
add al, al
or al, r8b
mov byte [rsi + 0xcc], al
test r15b, r15b
je 0x1400383dd
mov eax, dword [r14 + 0x4128]
mov dword [rsi + 0xb4], eax
test r12, r12
je 0x140038411
test r15b, r15b
jne 0x1400383f1
cmp qword [rdx + 0x90], 0
jne 0x1400383f8
mov qword [rdx + 0x90], r12
mov rdx, qword [rsi + 0x40]
test rdx, rdx
je 0x140038411
mov rax, qword [rsi + 0x90]
mov ecx, dword [rax + 0xc0]
mov dword [rdx + 0x28], ecx
mov r15, qword [rsp + 0x160]
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.14005bfe0
add rsp, 0x170
pop r14
pop r13
pop r12
pop rsi
pop rbp
ret