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

Disassembly:
push rbp
push rsi
push r12
push r13
push r14
lea rbp, [rsp - 0xd0]
sub rsp, 0x1d0
mov rax, qword [0x14011c480]
xor rax, rsp
mov qword [rbp + 0x60], rax
mov r13, qword [0x1401ccfc8]
mov rsi, rcx
mov eax, dword [rcx + 0xa4]
mov r8, rdx
movzx ecx, byte [rcx + 0xbc]
inc eax
mov qword [rsp + 0x40], rdx
mov edx, dword [r13 + 0x1cb0]
mov dword [rsp + 0x5c], edx
mov qword [rbp - 0x60], r13
mov dword [rsp + 0x48], eax
test cl, 0x10
je 0x140020628
mov byte [rsp + 0x30], 1
cmp eax, edx
je 0x14002062d
mov byte [rsp + 0x30], 0
xor r14d, r14d
lea r10d, [r14 + 1]
cmp dword [rsi + 0xb4], r14d
je 0x140020646
mov dword [rsp + 0x4c], r10d
cmp eax, edx
je 0x14002064b
mov dword [rsp + 0x4c], r14d
and cl, 0xef
mov dword [rsi + 0xb4], r14d
xor r12b, r12b
mov byte [rsi + 0xbc], cl
mov rax, qword [rsi + 0x10]
mov r9, rsi
mov dword [rsp + 0x34], r12d
mov qword [rsp + 0x50], rsi
test rax, rax
je 0x140020693
nop dword [rax]
nop dword [rax + rax]
mov qword [rsp + 0x50], rax
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140020680
mov r9, qword [rsp + 0x50]
mov rax, qword [r13 + 0x20a0]
test rax, rax
je 0x1400206ac
cmp qword [rax + 0x448], rsi
sete r12b
jmp 0x1400206d9
mov rdx, qword [r13 + 0x1f70]
test rdx, rdx
je 0x1400206de
mov rax, qword [r8 + 0x3d8]
cmp qword [rdx + 0x3e0], rax
jne 0x1400206de
mov eax, dword [rsi]
cmp dword [r9 + 0xac], eax
movzx r12d, r12b
cmove r12d, r10d
mov dword [rsp + 0x34], r12d
mov eax, dword [rsi + 8]
test eax, 0x3000
jne 0x140021663
movzx ecx, byte [r8 + 0xd4]
mov qword [rsp + 0x210], rbx
mov qword [rsp + 0x1c8], rdi
mov qword [rsp + 0x1c0], r15
movaps xmmword [rsp + 0x1a0], xmm7
shr eax, 0xa
movaps xmmword [rsp + 0x190], xmm8
movaps xmmword [rsp + 0x170], xmm10
mov byte [rsp + 0x31], cl
test r10b, al
jne 0x140020740
mov byte [r8 + 0xd4], r14b
mov dword [r8 + 0x18c], r10d
mov rcx, qword [r13 + 0x1d38]
lea rdx, [rbp - 0x38]
mov eax, dword [rsi]
add rcx, 0x108
mov dword [rbp - 0x38], eax
call fcn.140026670
mov rax, qword [rsi + 0x38]
mov ebx, 0xffffffff
mov qword [rbp - 0x58], rax
mov rdi, rax
test rax, rax
jne 0x140020802
mov rax, qword [0x1401ccfc8]
test rax, rax
je 0x140020787
inc dword [rax + 0x3b0]
mov ecx, 0x98
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
je 0x1400207fb
mov qword [rax + 0x30], r14
xorps xmm0, xmm0
mov dword [rax + 0x38], r14d
mov dword [rax + 0x7c], r14d
mov dword [rax + 0x84], r14d
mov dword [rax + 0x8c], r14d
mov qword [rax + 0x90], r14
xor eax, eax
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi + 0x20], xmm0
movups xmmword [rdi + 0x30], xmm0
movups xmmword [rdi + 0x40], xmm0
movups xmmword [rdi + 0x50], xmm0
movups xmmword [rdi + 0x60], xmm0
movups xmmword [rdi + 0x70], xmm0
movups xmmword [rdi + 0x80], xmm0
mov qword [rdi + 0x90], rax
mov qword [rdi + 0x24], 0xffffffffffffffff
mov word [rdi + 0x70], bx
jmp 0x1400207fe
mov rdi, r14
mov qword [rsi + 0x38], rdi
movzx ebx, byte [rsi + 0xbc]
movzx eax, r12b
add al, al
mov dword [rbp - 0x38], r14d
and bl, 0xfd
or bl, al
mov eax, dword [rsi + 4]
or eax, dword [rsi + 8]
mov byte [rsi + 0xbc], bl
bt eax, 0xe
jb 0x1400208f0
cmp dword [r13 + 0x165c], 0xffffffff
je 0x1400208f0
mov r15, qword [0x1401ccfc8]
lea rcx, str.WindowMenu
xor edx, edx
mov byte [rbp - 0x40], 1
mov r8, qword [r15 + 0x1d38]
movsxd rax, dword [r8 + 0x108]
mov r8, qword [r8 + 0x110]
mov r8d, dword [r8 + rax*4 - 4]
call fcn.1400052e0
mov edx, eax
cmp dword [r15 + 0x1d8c], eax
jne 0x140020888
mov dword [r15 + 0x1d90], eax
movzx ebx, byte [rsi + 0xbc]
cmp dword [r15 + 0x1dc8], edx
jne 0x1400208a0
mov byte [r15 + 0x1dcc], 1
movzx ebx, byte [rsi + 0xbc]
movsxd rax, dword [r15 + 0x1f00]
cmp dword [r15 + 0x1ef0], eax
jle 0x1400208fb
lea rcx, [rax + rax*2]
mov rax, qword [r15 + 0x1ef8]
add rcx, rcx
cmp dword [rax + rcx*8], edx
jne 0x1400208fb
mov rdx, rdi
mov rcx, rsi
call fcn.140020380
test eax, eax
je 0x1400208d8
mov dword [rdi + 0x1c], eax
mov dword [rbp - 0x38], eax
movzx ebx, byte [rsi + 0xbc]
movzx eax, bl
shr al, 1
and al, 1
or r12b, al
mov dword [rsp + 0x34], r12d
jmp 0x1400208f4
mov byte [rbp - 0x40], r14b
mov r15, qword [0x1401ccfc8]
movss xmm7, dword [rsi + 0x44]
movss xmm3, dword [rsi + 0x40]
movaps xmm4, xmm7
movss xmm1, dword [r15 + 0x1674]
movaps xmm8, xmm3
movss xmm5, dword [r15 + 0x1670]
addss xmm1, xmm1
movss xmm2, dword [r15 + 0x1aa0]
movss dword [rbp - 0x4c], xmm7
movaps xmm0, xmm2
movss dword [rbp - 0x30], xmm3
addss xmm0, xmm7
movss dword [rbp - 0x2c], xmm7
addss xmm8, dword [rsi + 0x48]
addss xmm1, xmm0
movss dword [rbp - 0x28], xmm8
movaps xmm0, xmm8
subss xmm0, xmm5
movss dword [rbp - 0x44], xmm1
movss dword [rbp - 0x24], xmm1
movaps xmm1, xmm5
addss xmm1, xmm3
movss dword [rbp - 0x48], xmm0
movss dword [rbp - 0x50], xmm1
test bl, 4
je 0x140020982
subss xmm0, xmm2
movss dword [rbp - 0x48], xmm0
test bl, 8
je 0x1400209cb
cmp dword [r15 + 0x165c], r14d
jne 0x14002099b
addss xmm1, xmm2
movss dword [rbp - 0x50], xmm1
jmp 0x1400209cb
cmp dword [r15 + 0x165c], 1
jne 0x1400209cb
addss xmm2, xmm5
subss xmm0, xmm2
movss dword [rbp - 0x48], xmm0
unpcklps xmm0, xmm7
movaps xmm1, xmm0
movsd qword [rsp + 0x38], xmm0
movss xmm3, dword [rsp + 0x38]
shufps xmm1, xmm1, 0x55
movaps xmm4, xmm1
mov r12d, r14d
mov eax, dword [rdi]
mov r10d, 0x400000
movss dword [rsp + 0x38], xmm3
movups xmm0, xmmword [rbp - 0x50]
mov dword [rsp + 0x58], eax
movss dword [rsp + 0x3c], xmm4
movups xmmword [rbp - 0x20], xmm0
cmp dword [rsi + 0x28], r14d
jle 0x140020aca
mov rbx, r14
mov r13d, 0xffffffff
mov rax, qword [rsi + 0x30]
mov r9, qword [rbx + rax]
mov r8d, dword [r9 + 8]
test r8d, r8d
je 0x140020a41
mov edx, dword [rdi]
mov eax, r14d
test edx, edx
jle 0x140020a41
mov rcx, qword [rdi + 8]
nop
cmp dword [rcx], r8d
je 0x140020a31
inc eax
add rcx, 0x30
cmp eax, edx
jl 0x140020a20
jmp 0x140020a41
cdqe
lea rcx, [rax + rax*2]
shl rcx, 4
add rcx, qword [rdi + 8]
jne 0x140020ab5
cmp byte [r9 + 0xd8], r14b
mov eax, 0x500000
mov qword [rsp + 0x78], r14
cmovne eax, r10d
mov dword [rbp - 0x80], r14d
mov dword [rsp + 0x64], eax
mov eax, dword [rdi + 0x24]
mov dword [rbp - 0x76], r14d
mov word [rbp - 0x72], r14w
mov dword [rsp + 0x74], r13d
mov dword [rbp - 0x7a], 0xffffffff
mov word [rbp - 0x7c], r13w
mov dword [rsp + 0x60], r8d
mov dword [rsp + 0x70], eax
cmp eax, r13d
jne 0x140020a96
mov eax, dword [r15 + 0x1cb0]
dec eax
mov dword [rsp + 0x70], eax
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x68], r9
mov rcx, rdi
call fcn.140053280
mov r15, qword [0x1401ccfc8]
mov r10d, 0x400000
inc r12d
add rbx, 8
cmp r12d, dword [rsi + 0x28]
jl 0x140020a01
mov r13, qword [rbp - 0x60]
mov ebx, dword [rsp + 0x34]
test bl, bl
je 0x140020adf
mov eax, dword [r13 + 0x1cb0]
mov dword [rsi + 0xa8], eax
mov r12, qword [rsp + 0x40]
cmp byte [r12 + 0xd2], r14b
je 0x140020af5
mov eax, reloc.WS2_32.dll_listen
jmp 0x140020b01
test bl, bl
mov rax, r14
setne al
add rax, 0xb
add rax, rax
lea rcx, [rbp - 0x50]
movups xmm0, xmmword [r15 + rax*8 + 0x170c]
movups xmmword [rbp - 0x50], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [r15 + 0x1638]
movss dword [rbp - 0x44], xmm0
call fcn.1400057b0
movss xmm0, dword [r12 + 0x88]
lea r8, [rbp - 0x28]
mov rcx, qword [r12 + 0x2f8]
lea rdx, [rbp - 0x30]
mov r9d, eax
mov dword [rsp + 0x28], Ordinal_50
movss dword [rsp + 0x20], xmm0
mov r15, r12
call fcn.1400324a0
cmp byte [rbp - 0x40], r14b
je 0x140020c42
movsxd rax, dword [r12 + 0x108]
lea rcx, str.COLLAPSE
mov r8, qword [r12 + 0x110]
xor edx, edx
mov r8d, dword [r8 + rax*4 - 4]
call fcn.1400052e0
mov rcx, qword [0x1401ccfc8]
cmp dword [rcx + 0x1d8c], eax
jne 0x140020ba1
mov dword [rcx + 0x1d90], eax
cmp dword [rcx + 0x1dc8], eax
jne 0x140020bb0
mov byte [rcx + 0x1dcc], 1
mov r8, rsi
lea rdx, [rsp + 0x38]
mov ecx, eax
call fcn.14003f740
test al, al
je 0x140020c1c
mov rbx, qword [0x1401ccfc8]
lea rcx, str.WindowMenu
xor edx, edx
mov r8, qword [rbx + 0x1d38]
movsxd rax, dword [r8 + 0x108]
mov r8, qword [r8 + 0x110]
mov r8d, dword [r8 + rax*4 - 4]
call fcn.1400052e0
cmp dword [rbx + 0x1d8c], eax
jne 0x140020c00
mov dword [rbx + 0x1d90], eax
cmp dword [rbx + 0x1dc8], eax
jne 0x140020c0f
mov byte [rbx + 0x1dcc], 1
xor edx, edx
mov ecx, eax
call fcn.140015170
mov ebx, dword [rsp + 0x34]
mov rax, qword [0x1401ccfc8]
mov ecx, dword [rax + 0x1d8c]
test ecx, ecx
je 0x140020c42
mov rax, qword [rax + 0x1d38]
cmp ecx, dword [rax + 0x164]
jne 0x140020c42
mov eax, dword [rdi + 0x18]
mov dword [rbp - 0x38], eax
mov r9d, dword [rdi]
lea edx, [r9 - 1]
test edx, edx
js 0x140020c84
movsxd rax, edx
lea rcx, [rax + rax*2]
shl rcx, 4
nop dword [rax + rax]
mov r8, qword [rdi + 8]
mov eax, dword [rcx + r8 + 4]
bt eax, 0x16
jae 0x140020c84
btr eax, 0x16
mov r9d, edx
mov dword [rcx + r8 + 4], eax
sub rcx, 0x30
sub edx, 1
jns 0x140020c60
mov ecx, dword [rdi]
cmp ecx, r9d
jle 0x140020cbb
lea eax, [r9 + 1]
cmp ecx, eax
jle 0x140020cbb
sub ecx, r9d
movsxd rax, r9d
movsxd rdx, ecx
lea r9, [0x140020330]
mov r8d, Ordinal_50
lea rcx, [rax + rax*2]
shl rcx, 4
add rcx, qword [rdi + 8]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_qsort]
mov rax, qword [r13 + 0x1f70]
test rax, rax
je 0x140020cdd
mov rax, qword [rax + 0x3d0]
cmp qword [rax + 0x448], rsi
jne 0x140020cdd
mov eax, dword [rax + 8]
mov dword [rdi + 0x18], eax
cmp qword [rbp - 0x58], r14
jne 0x140020d13
mov edx, dword [rsi + 0xb0]
test edx, edx
je 0x140020d13
mov r8d, dword [rdi]
mov eax, r14d
test r8d, r8d
jle 0x140020d13
mov rcx, qword [rdi + 8]
nop dword [rax]
cmp dword [rcx], edx
je 0x140020f7f
inc eax
add rcx, 0x30
cmp eax, r8d
jl 0x140020d00
movsxd rax, dword [rdi]
cmp eax, dword [rsp + 0x58]
jle 0x140020d35
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 8]
add rcx, rcx
mov rcx, qword [rax + rcx*8 - 0x28]
mov eax, dword [rcx + 8]
mov dword [rdi + 0x1c], eax
mov dword [rdi + 0x18], eax
mov r8d, 0x500003
cmp byte [r12 + 0xd2], r14b
jne 0x140020d50
test bl, bl
mov eax, 0x700003
cmovne r8d, eax
mov r9, rsi
movaps xmmword [rsp + 0x1b0], xmm6
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.14004faa0
mov r12d, r14d
movups xmm0, xmmword [r13 + 0x192c]
movups xmm1, xmmword [r13 + 0x193c]
movups xmm2, xmmword [r13 + 0x171c]
movaps xmmword [rbp + 0x10], xmm0
movups xmm0, xmmword [r13 + 0x194c]
movaps xmmword [rbp + 0x20], xmm1
movups xmm1, xmmword [r13 + 0x195c]
movaps xmmword [rbp + 0x30], xmm0
movups xmm0, xmmword [r13 + 0x196c]
mov qword [rsi + 0x88], r14
movaps xmmword [rbp], xmm2
movaps xmmword [rbp + 0x50], xmm0
movaps xmmword [rbp + 0x40], xmm1
cmp dword [rsi + 0x28], r14d
jle 0x140020fd0
movss xmm6, dword [0x140104790]
lea r11, [0x1400fcd80]
mov r15, r14
lea r10, sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
nop dword [rax]
mov rax, qword [rsi + 0x30]
mov rbx, qword [r15 + rax]
cmp byte [rsp + 0x30], r14b
jne 0x140020df8
mov eax, dword [rsp + 0x4c]
cmp eax, dword [rbx + 8]
jne 0x140020e0e
cmp byte [rbx + 0xd8], r14b
je 0x140020e0e
test dword [rbx + 0xc], 0x100000
je 0x140020fac
mov eax, dword [rbx + 0x2b8]
inc eax
cmp eax, dword [r13 + 0x1cb0]
jge 0x140020e2d
mov eax, dword [rsp + 0x5c]
cmp dword [rsp + 0x48], eax
je 0x140020fac
mov edx, dword [rbx + 0x24]
mov r8, rbx
or edx, 1
test dword [rbx + 0xc], 0x100000
cmove edx, dword [rbx + 0x24]
mov r9d, edx
or r9d, 4
test byte [rdi + 0x10], 8
cmove r9d, edx
mov rdx, r11
sub r8, r11
nop word [rax + rax]
mov ecx, dword [rdx + r8 + 0x42c]
xorps xmm3, xmm3
movzx eax, cl
xorps xmm2, xmm2
xorps xmm1, xmm1
xorps xmm0, xmm0
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
movsxd rax, dword [rdx]
add rdx, 4
add rax, rax
mulss xmm2, xmm6
mulss xmm1, xmm6
mulss xmm0, xmm6
movss xmm3, xmm2
shufps xmm3, xmm3, 0xc6
movss xmm3, xmm1
shufps xmm3, xmm3, 0x27
movss xmm3, xmm0
shufps xmm3, xmm3, 0x39
movups xmmword [r13 + rax*8 + 0x170c], xmm3
cmp rdx, r10
jl 0x140020e60
cmp byte [rbx + 0xd8], r14b
lea r8, [rbp - 0x40]
mov rdx, qword [rbx]
mov rcx, rdi
cmove r8, r14
mov byte [rbp - 0x40], 1
mov qword [rsp + 0x20], rbx
call fcn.140051590
cmp byte [rbp - 0x40], r14b
jne 0x140020f1a
mov eax, dword [rbx + 8]
mov dword [rsi + 0xb4], eax
mov eax, dword [rbx + 8]
cmp dword [rdi + 0x20], eax
jne 0x140020f29
mov qword [rsi + 0x88], rbx
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx + 0x168]
mov dword [rbx + 0x45c], eax
movups xmm0, xmmword [rcx + 0x16c]
movups xmmword [rbx + 0x460], xmm0
mov rax, qword [r13 + 0x1f70]
test rax, rax
je 0x140020f9e
cmp qword [rax + 0x3d0], rbx
jne 0x140020f9e
test byte [rbx + 0x190], 2
lea r10, sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
lea r11, [0x1400fcd80]
jne 0x140020fac
mov eax, dword [rbx + 8]
mov dword [rcx + 0x3fc], eax
jmp 0x140020fac
cdqe
lea rcx, [rax + rax*2]
shl rcx, 4
add rcx, qword [rdi + 8]
je 0x140020d13
mov dword [rdi + 0x1c], edx
mov dword [rdi + 0x18], edx
jmp 0x140020d35
lea r11, [0x1400fcd80]
lea r10, sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
inc r12d
add r15, 8
cmp r12d, dword [rsi + 0x28]
jl 0x140020de0
movaps xmm2, xmmword [rbp]
mov r15, qword [rsp + 0x40]
nop word [rax + rax]
movaps xmm0, xmmword [rbp + 0x10]
movaps xmm1, xmmword [rbp + 0x20]
movups xmmword [r13 + 0x171c], xmm2
movups xmmword [r13 + 0x192c], xmm0
movaps xmm0, xmmword [rbp + 0x30]
movups xmmword [r13 + 0x193c], xmm1
movaps xmm1, xmmword [rbp + 0x40]
movups xmmword [r13 + 0x194c], xmm0
movaps xmm0, xmmword [rbp + 0x50]
movups xmmword [r13 + 0x195c], xmm1
movups xmmword [r13 + 0x196c], xmm0
mov rax, qword [rsi + 0x88]
test rax, rax
je 0x14002103c
mov rcx, qword [rsp + 0x50]
cmp byte [rsp + 0x34], r14b
jne 0x140021035
cmp qword [rcx + 0x88], r14
jne 0x14002103c
mov qword [rcx + 0x88], rax
movzx eax, byte [rsi + 0xbc]
xorps xmm10, xmm10
and al, 4
je 0x140021067
mov rcx, qword [rsi + 0x88]
test rcx, rcx
je 0x140021067
cmp byte [rcx + 0xd8], r14b
je 0x140021067
mov bl, 1
jmp 0x140021131
test al, al
je 0x14002127a
mov rcx, qword [0x1401ccfc8]
lea rdx, [rsp + 0x48]
movaps xmmword [rsp + 0x180], xmm9
mov eax, dword [rcx + 0x1d74]
or eax, 4
mov dword [rcx + 0x1d74], eax
add rcx, 0x1ed0
mov dword [rsp + 0x48], eax
call fcn.140026670
mov rbx, qword [0x1401ccfc8]
lea rdx, [rbp - 0x20]
movss xmm6, dword [r13 + 0x171c]
movss xmm7, dword [r13 + 0x1720]
movss xmm8, dword [r13 + 0x1724]
movups xmm0, xmmword [rbx + 0x171c]
lea rcx, [rbx + 0x1e90]
mov dword [rbp - 0x20], 1
movss xmm9, dword [r13 + 0x1728]
movups xmmword [rbp - 0x1c], xmm0
call fcn.140026830
movss dword [rbx + 0x171c], xmm6
movss dword [rbx + 0x1720], xmm7
movss dword [rbx + 0x1724], xmm8
mulss xmm9, dword [0x1401047d4]
movss dword [rbx + 0x1728], xmm9
xor bl, bl
movss xmm8, dword [rbp - 0x28]
movss xmm7, dword [rbp - 0x2c]
movaps xmm9, xmmword [rsp + 0x180]
movsxd rax, dword [r15 + 0x108]
addss xmm7, xmm10
mov r8, qword [r15 + 0x110]
lea rcx, str.CLOSE
movss xmm0, dword [r13 + 0x1670]
xor edx, edx
xorps xmm0, xmmword [0x140104ec0]
addss xmm0, xmm0
mov r8d, dword [r8 + rax*4 - 4]
movss dword [rsp + 0x3c], xmm7
subss xmm0, dword [r13 + 0x1aa0]
addss xmm0, xmm8
movss dword [rsp + 0x38], xmm0
call fcn.1400052e0
mov rcx, qword [0x1401ccfc8]
cmp dword [rcx + 0x1d8c], eax
jne 0x14002119a
mov dword [rcx + 0x1d90], eax
cmp dword [rcx + 0x1dc8], eax
jne 0x1400211a9
mov byte [rcx + 0x1dcc], 1
lea rdx, [rsp + 0x38]
mov ecx, eax
call fcn.14003f320
test al, al
je 0x14002121f
mov edx, dword [rdi + 0x20]
test edx, edx
je 0x14002121f
mov r8d, dword [rdi]
mov eax, r14d
test r8d, r8d
jle 0x14002121f
mov rcx, qword [rdi + 8]
nop
cmp dword [rcx], edx
je 0x1400211e1
inc eax
add rcx, 0x30
cmp eax, r8d
jl 0x1400211d0
jmp 0x14002121f
cdqe
lea rcx, [rax + rax*2]
shl rcx, 4
add rcx, qword [rdi + 8]
je 0x14002121f
mov eax, dword [rcx]
mov dword [rsi + 0xb4], eax
test byte [rcx + 4], 1
mov eax, dword [rcx]
jne 0x140021217
mov byte [rcx + 0x2a], 1
cmp dword [rdi + 0x20], eax
jne 0x14002121f
mov dword [rcx + 0x10], 0xffffffff
mov qword [rdi + 0x18], r14
jmp 0x14002121f
cmp dword [rdi + 0x20], eax
je 0x14002121f
mov dword [rdi + 0x1c], eax
test bl, bl
jne 0x14002127a
mov rbx, qword [0x1401ccfc8]
mov rcx, qword [rbx + 0x1e98]
movsxd rax, dword [rbx + 0x1e90]
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 + 0x170c], xmm0
dec dword [rbx + 0x1e90]
movsxd rcx, dword [rbx + 0x1ed0]
lea eax, [rcx - 1]
mov dword [rbx + 0x1ed0], eax
mov rax, qword [rbx + 0x1ed8]
mov ecx, dword [rax + rcx*4 - 8]
mov dword [rbx + 0x1d74], ecx
jmp 0x140021281
mov rbx, qword [0x1401ccfc8]
movsxd rax, dword [r15 + 0x108]
lea rcx, str.TITLEBAR
mov r8, qword [r15 + 0x110]
xor edx, edx
mov r8d, dword [r8 + rax*4 - 4]
call fcn.1400052e0
mov r15d, eax
movaps xmm8, xmmword [rsp + 0x190]
movaps xmm7, xmmword [rsp + 0x1a0]
movaps xmm6, xmmword [rsp + 0x1b0]
cmp dword [rbx + 0x1d8c], eax
jne 0x1400212cc
mov dword [rbx + 0x1d90], eax
cmp dword [rbx + 0x1dc8], r15d
jne 0x1400212dc
mov byte [rbx + 0x1dcc], 1
mov eax, dword [r13 + 0x1d78]
test eax, eax
je 0x1400212f9
cmp eax, r15d
je 0x1400212f9
cmp dword [r13 + 0x1d8c], r15d
jne 0x1400214e1
lea r9, [rsp + 0x30]
mov dword [rsp + 0x20], 0x1000
xor r8d, r8d
lea rcx, [rbp - 0x30]
mov edx, r15d
call fcn.14003df90
mov rdx, qword [0x1401ccfc8]
mov r12, qword [rsp + 0x40]
cmp dword [r13 + 0x1d78], r15d
jne 0x14002135d
mov dword [r12 + 0x164], r15d
mov rax, qword [rdx + 0x1d38]
mov ecx, dword [rax + 0x164]
cmp dword [rdx + 0x1d78], ecx
jne 0x14002134e
mov byte [rdx + 0x1d80], 1
cmp dword [rdx + 0x1d8c], ecx
jne 0x14002135d
mov byte [rdx + 0x1d99], 1
cmp byte [rsp + 0x30], r14b
je 0x1400214e6
movss xmm0, dword [rdx + 0x434]
ucomiss xmm0, xmm10
jp 0x14002137e
jne 0x14002137e
mov eax, dword [rdi + 0x18]
mov dword [rbp - 0x38], eax
mov r8d, dword [rdi + 0x18]
test r8d, r8d
je 0x1400214e6
mov r9d, dword [rdi]
mov eax, r14d
test r9d, r9d
jle 0x1400214e6
mov rcx, qword [rdi + 8]
nop
cmp dword [rcx], r8d
je 0x1400213b5
inc eax
add rcx, 0x30
cmp eax, r9d
jl 0x1400213a0
jmp 0x1400214e6
cdqe
lea rcx, [rax + rax*2]
shl rcx, 4
add rcx, qword [rdi + 8]
je 0x1400214e6
mov r9, qword [rcx + 8]
test r9, r9
jne 0x1400213d9
mov r9, qword [rsi + 0x80]
mov rax, qword [rsi + 0x88]
xor r8b, r8b
test rax, rax
je 0x140021433
test byte [rax + 0xc], 4
jne 0x140021433
mov rax, qword [rsi + 0x10]
mov rcx, rsi
test rax, rax
je 0x14002140c
nop word [rax + rax]
mov rcx, rax
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140021400
cmp qword [rcx + 0x98], rsi
jne 0x14002141e
cmp qword [rcx + 0x90], r14
je 0x140021433
mov eax, dword [rcx + 8]
shr eax, 0xa
test al, 1
movzx r8d, r8b
mov eax, 1
cmovne r8d, eax
ucomiss xmm0, xmm10
jp 0x14002143f
jne 0x14002143f
mov cl, 1
jmp 0x140021441
xor cl, cl
cmp byte [rdx + 0x128], r14b
jne 0x14002144e
xor al, al
jmp 0x140021479
movss xmm0, dword [rdx + 0x38]
movaps xmm1, xmm0
mulss xmm1, dword [0x140104858]
comiss xmm10, xmm1
jbe 0x140021467
movaps xmm1, xmm0
movss xmm0, dword [rdx + 0x484]
mulss xmm1, xmm1
comiss xmm0, xmm1
setae al
test r8b, r8b
je 0x1400214c6
test al, al
je 0x1400214e6
lea rcx, [rdx + 0x31f0]
mov qword [rbp - 0x70], r14
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], r14
mov dword [rbp - 0x80], 0xffffffff
mov dword [rbp - 0x7c], 0x3f000000
mov byte [rbp - 0x78], r14b
mov dword [rsp + 0x60], 2
mov qword [rbp - 0x68], rsi
call fcn.1400269c0
jmp 0x1400214e6
test cl, cl
jne 0x1400214ce
test al, al
je 0x1400214e6
cmp qword [rdx + 0x1d58], r9
je 0x1400214e6
mov rcx, r9
call fcn.140008770
jmp 0x1400214e6
mov r12, qword [rsp + 0x40]
mov edx, dword [rdi + 0x1c]
test edx, edx
movaps xmm10, xmmword [rsp + 0x170]
cmove edx, dword [rbp - 0x38]
mov r15, qword [rsp + 0x1c0]
test edx, edx
je 0x140021619
mov r8d, dword [rdi]
mov eax, r14d
test r8d, r8d
jle 0x140021619
mov rcx, qword [rdi + 8]
nop dword [rax + rax]
cmp dword [rcx], edx
je 0x140021534
inc eax
add rcx, 0x30
cmp eax, r8d
jl 0x140021520
jmp 0x140021619
cdqe
lea rbx, [rax + rax*2]
shl rbx, 4
add rbx, qword [rdi + 8]
je 0x140021619
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140021619
call fcn.140013550
mov rax, qword [rbx + 8]
mov rdx, qword [0x1401ccfc8]
mov ecx, dword [rax + 0xc]
bt ecx, 0x12
jae 0x14002157a
mov qword [rdx + 0x1f78], r14
jmp 0x140021619
cmp rax, qword [rax + 0x3d0]
je 0x1400215a2
bt ecx, 0x1a
jb 0x1400215a2
mov ecx, dword [rax + 0x3f8]
test ecx, ecx
je 0x1400215a2
mov dword [rdx + 0x1f78], ecx
mov dword [rdx + 0x1f7c], r14d
jmp 0x140021619
movsxd rax, dword [rdx + 0x1fbc]
xorps xmm0, xmm0
mov dword [rdx + 0x1fbc], eax
mov rcx, rax
mov rax, qword [rdx + 0x1f70]
mov qword [rdx + 0x1f78], r14
mov dword [rax + rcx*4 + 0x3f8], r14d
add rcx, 0x40
mov rax, qword [rdx + 0x1f70]
add rcx, rcx
movups xmmword [rax + rcx*8], xmm0
mov word [rdx + 0x1fc9], 1
mov qword [rdx + 0x1fcc], r14
mov qword [rdx + 0x1fd4], r14
mov dword [rdx + 0x1fdc], r14d
cmp byte [rdx + 0x1fe0], r14b
jne 0x140021611
cmp byte [rdx + 0x1fc9], r14b
jne 0x140021611
xor al, al
jmp 0x140021613
mov al, 1
mov byte [rdx + 0x1fc8], al
call fcn.14004fdc0
mov rax, qword [0x1401ccfc8]
mov rdi, qword [rsp + 0x1c8]
mov rbx, qword [rsp + 0x210]
mov rcx, qword [rax + 0x1d38]
dec dword [rcx + 0x108]
mov eax, dword [rsi + 8]
shr eax, 0xa
test al, 1
jne 0x1400216cb
movzx eax, byte [rsp + 0x31]
mov byte [r12 + 0xd4], al
mov dword [r12 + 0x18c], r14d
jmp 0x1400216cb
cmp dword [rsi + 0x28], r14d
jle 0x140021670
mov rax, qword [rsi + 0x30]
mov r14, qword [rax]
and cl, 0xfd
mov qword [rsi + 0x88], r14
movzx eax, r12b
add al, al
or cl, al
mov byte [rsi + 0xbc], cl
test r12b, r12b
je 0x14002169a
mov eax, dword [r13 + 0x1cb0]
mov dword [rsi + 0xa8], eax
test r14, r14
je 0x1400216cb
test r12b, r12b
jne 0x1400216ae
cmp qword [r9 + 0x88], 0
jne 0x1400216b5
mov qword [r9 + 0x88], r14
mov rdx, qword [rsi + 0x38]
test rdx, rdx
je 0x1400216cb
mov rax, qword [rsi + 0x88]
mov ecx, dword [rax + 8]
mov dword [rdx + 0x20], ecx
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.1400e7230
add rsp, 0x1d0
pop r14
pop r13
pop r12
pop rsi
pop rbp
ret