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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x58]
sub rsp, 0x118
mov r14, qword [0x140346028]
xor r12d, r12d
vmovaps xmmword [rax - 0x58], xmm6
mov rbx, rcx
mov eax, dword [rcx + 0xa4]
mov r13, rdx
mov cl, byte [rcx + 0xbc]
inc eax
mov edx, dword [r14 + 0x1c90]
lea r9d, [r12 + 1]
mov dword [rsp + 0x58], edx
mov dword [rsp + 0x5c], eax
test cl, 0x10
je 0x14009591e
mov byte [rbp + 0x78], r9b
cmp eax, edx
je 0x140095922
mov byte [rbp + 0x78], r12b
cmp dword [rbx + 0xb4], r12d
je 0x140095934
mov dword [rsp + 0x40], r9d
cmp eax, edx
je 0x140095939
mov dword [rsp + 0x40], r12d
and cl, 0xef
mov dword [rbx + 0xb4], r12d
mov byte [rbx + 0xbc], cl
mov r15b, r12b
mov rax, qword [rbx + 0x10]
mov r8, rbx
mov dword [rsp + 0x34], r15d
mov qword [rsp + 0x70], rbx
test rax, rax
je 0x140095979
mov qword [rsp + 0x70], rax
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140095962
mov r13, qword [rbp + 0x68]
mov r8, qword [rsp + 0x70]
mov rax, qword [r14 + 0x2080]
test rax, rax
je 0x140095992
cmp qword [rax + 0x448], rbx
sete r15b
jmp 0x1400959bf
mov rdx, qword [r14 + 0x1f50]
test rdx, rdx
je 0x1400959c4
mov rax, qword [r13 + 0x3d8]
cmp qword [rdx + 0x3e0], rax
jne 0x1400959c4
mov eax, dword [rbx]
cmp dword [r8 + 0xac], eax
movzx r15d, r15b
cmove r15d, r9d
mov dword [rsp + 0x34], r15d
mov eax, dword [rbx + 8]
test eax, 0x3000
jne 0x14009616a
mov cl, byte [r13 + 0xd4]
shr eax, 0xa
mov byte [rsp + 0x30], cl
test r9b, al
jne 0x1400959f3
mov byte [r13 + 0xd4], r12b
mov dword [r13 + 0x18c], r9d
mov ecx, dword [rbx]
call fcn.14009f680
mov rsi, qword [rbx + 0x38]
mov qword [rsp + 0x48], rsi
mov rdi, rsi
test rsi, rsi
jne 0x140095a17
mov rcx, rbx
call fcn.14009295c
mov rdi, qword [rbx + 0x38]
and byte [rbx + 0xbc], 0xfd
mov al, r15b
add al, al
mov dword [rsp + 0x38], r12d
or byte [rbx + 0xbc], al
mov eax, dword [rbx + 4]
or eax, dword [rbx + 8]
bt eax, 0xe
jb 0x140095a84
cmp dword [r14 + 0x165c], 0xffffffff
je 0x140095a84
xor edx, edx
mov byte [rbp + 0x70], 1
lea rcx, str.WindowMenu
call fcn.14009abd0
test al, al
je 0x140095a88
mov rdx, rdi
mov rcx, rbx
call fcn.140096464
test eax, eax
je 0x140095a70
mov dword [rdi + 0x1c], eax
mov dword [rsp + 0x38], eax
mov al, byte [rbx + 0xbc]
shr al, 1
and al, 1
or r15b, al
mov dword [rsp + 0x34], r15d
jmp 0x140095a88
mov byte [rbp + 0x70], r12b
vxorps xmm6, xmm6, xmm6
vxorps xmm0, xmm0, xmm0
vxorps xmm1, xmm1, xmm1
lea r9, [rsp + 0x68]
mov rcx, rbx
lea r8, [rbp - 0x70]
lea rdx, [rbp - 0x80]
vmovss dword [rsp + 0x6c], xmm6
vmovss dword [rsp + 0x68], xmm6
vmovups xmmword [rbp - 0x80], xmm0
vmovups xmmword [rbp - 0x70], xmm1
call fcn.140092e58
mov eax, dword [rdi]
mov dword [rsp + 0x3c], eax
cmp dword [rbx + 0x28], r12d
jle 0x140095b0e
xor esi, esi
mov rax, qword [rbx + 0x30]
mov rcx, rdi
mov rax, qword [rsi + rax]
mov qword [rsp + 0x60], rax
mov edx, dword [rax + 8]
call fcn.1400bf76c
test rax, rax
jne 0x140095afc
mov r8, qword [rsp + 0x60]
mov edx, 0x400000
mov rcx, rdi
call fcn.1400bf654
inc r12d
add rsi, 8
cmp r12d, dword [rbx + 0x28]
jl 0x140095acd
mov rsi, qword [rsp + 0x48]
xor r12d, r12d
test r15b, r15b
je 0x140095b23
mov eax, dword [r14 + 0x1c90]
mov dword [rbx + 0xa8], eax
mov rdx, qword [0x140346028]
mov al, r15b
neg al
mov eax, ntohl
sbb rcx, rcx
neg rcx
add rcx, 0xa
cmp byte [r13 + 0xd2], r12b
cmovne rcx, rax
add rcx, rcx
vmovdqu xmm0, xmmword [rdx + rcx*8 + 0x16fc]
vmovups xmmword [rsp + 0x48], xmm0
vshufps xmm0, xmm0, xmm0, 0xff
vmulss xmm0, xmm0, dword [rdx + 0x1638]
lea rcx, [rsp + 0x48]
vmovss dword [rsp + 0x54], xmm0
call fcn.140090df0
vmovss xmm0, dword [r13 + 0x88]
mov rcx, qword [r13 + 0x2f8]
lea r8, [rbp - 0x78]
mov r9d, eax
mov dword [rsp + 0x28], Ordinal_50
lea rdx, [rbp - 0x80]
vmovss dword [rsp + 0x20], xmm0
call fcn.1400a9e08
cmp byte [rbp + 0x70], r12b
je 0x140095bef
xor r8d, r8d
lea rdx, [0x1401e9dd8]
mov rcx, r13
call fcn.1400990e4
mov ecx, eax
lea rdx, [rsp + 0x68]
mov r8, rbx
call fcn.1400bb1fc
test al, al
je 0x140095bdf
xor edx, edx
lea rcx, str.WindowMenu
call fcn.14009f0b8
call fcn.14009a704
test al, al
je 0x140095bef
mov eax, dword [rdi + 0x18]
mov dword [rsp + 0x38], eax
mov r8d, dword [rdi]
lea ecx, [r8 - 1]
test ecx, ecx
js 0x140095c29
movsxd rax, ecx
lea rdx, [rax + rax*2]
shl rdx, 4
mov r9, qword [rdi + 8]
mov eax, dword [r9 + rdx + 4]
bt eax, 0x16
jae 0x140095c29
btr eax, 0x16
mov r8d, ecx
mov dword [r9 + rdx + 4], eax
sub rdx, 0x30
sub ecx, 1
jns 0x140095c05
mov ecx, dword [rdi]
cmp ecx, r8d
jle 0x140095c60
lea eax, [r8 + 1]
cmp ecx, eax
jle 0x140095c60
sub ecx, r8d
movsxd rax, r8d
movsxd rdx, ecx
lea r9, [0x1400a3720]
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 [r14 + 0x1f50]
test rax, rax
je 0x140095c82
mov rax, qword [rax + 0x3d0]
cmp qword [rax + 0x448], rbx
jne 0x140095c82
mov eax, dword [rax + 8]
mov dword [rdi + 0x18], eax
test rsi, rsi
jne 0x140095ca2
mov edx, dword [rbx + 0xb0]
mov rcx, rdi
call fcn.1400bf76c
test rax, rax
je 0x140095ca2
mov eax, dword [rbx + 0xb0]
jmp 0x140095cc0
mov eax, dword [rsp + 0x3c]
cmp dword [rdi], eax
jle 0x140095cc6
movsxd rax, dword [rdi]
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 + 0x18], eax
mov dword [rdi + 0x1c], eax
mov r8d, 0x500003
cmp byte [r13 + 0xd2], r12b
jne 0x140095ce1
test r15b, r15b
mov eax, 0x700003
cmovne r8d, eax
mov r9, rbx
lea rdx, [rbp - 0x70]
mov rcx, rdi
call fcn.1400ba044
mov ecx, 6
lea rax, [rbp - 0x58]
xor r8d, r8d
mov qword [rax], r8
mov qword [rax - 8], r8
lea rax, [rax + 0x10]
sub rcx, 1
jne 0x140095cfc
lea r12, [0x1401e9dc0]
mov rcx, r12
lea rdx, [rbp - 0x60]
lea r9, [0x1401e9dd8]
movsxd rax, dword [rcx]
add rcx, 4
add rax, rax
vmovups xmm0, xmmword [r14 + rax*8 + 0x16fc]
vmovdqu xmmword [rdx], xmm0
lea rdx, [rdx + 0x10]
cmp rcx, r9
jl 0x140095d22
mov qword [rbx + 0x88], r8
mov dword [rsp + 0x3c], r8d
cmp dword [rbx + 0x28], r8d
jle 0x140095ecd
mov r15, r8
mov rax, qword [rbx + 0x30]
mov rsi, qword [r15 + rax]
cmp byte [rbp + 0x78], r8b
jne 0x140095d73
mov eax, dword [rsp + 0x40]
cmp eax, dword [rsi + 8]
jne 0x140095d89
cmp byte [rsi + 0xd8], r8b
je 0x140095d89
test dword [rsi + 0xc], 0x100000
je 0x140095eaa
mov eax, dword [rsi + 0x2b8]
inc eax
cmp eax, dword [r14 + 0x1c90]
jge 0x140095da8
mov eax, dword [rsp + 0x58]
cmp dword [rsp + 0x5c], eax
je 0x140095eaa
mov ecx, dword [rsi + 0x24]
mov rbx, rsi
or ecx, 1
mov r13, r12
test dword [rsi + 0xc], 0x100000
cmove ecx, dword [rsi + 0x24]
mov edx, ecx
or edx, 4
test byte [rdi + 0x10], 8
cmove edx, ecx
sub rbx, r12
mov dword [rsp + 0x60], edx
lea r12, [0x1401e9dd8]
mov edx, dword [rbx + r13 + 0x42c]
lea rcx, [rsp + 0x48]
call fcn.140090ed4
vmovdqu xmm0, xmmword [rax]
movsxd rax, dword [r13]
add r13, 4
add rax, rax
vmovdqu xmmword [r14 + rax*8 + 0x16fc], xmm0
cmp r13, r12
jl 0x140095dd9
mov al, byte [rsi + 0xd8]
mov rcx, rdi
mov r9d, dword [rsp + 0x60]
neg al
mov rdx, qword [rsi]
lea rax, [rbp + 0x70]
sbb r8, r8
mov byte [rbp + 0x70], 1
and r8, rax
mov qword [rsp + 0x20], rsi
call fcn.1400c0b40
mov rbx, qword [rbp + 0x60]
lea r12, [0x1401e9dc0]
mov r13, qword [rbp + 0x68]
xor r8d, r8d
cmp byte [rbp + 0x70], r8b
jne 0x140095e55
mov eax, dword [rsi + 8]
mov dword [rbx + 0xb4], eax
mov eax, dword [rsi + 8]
cmp dword [rdi + 0x20], eax
jne 0x140095e64
mov qword [rbx + 0x88], rsi
mov eax, dword [r13 + 0x168]
mov dword [rsi + 0x45c], eax
vmovups xmm0, xmmword [r13 + 0x16c]
vmovdqu xmmword [rsi + 0x460], xmm0
mov rax, qword [r14 + 0x1f50]
test rax, rax
je 0x140095eaa
cmp qword [rax + 0x3d0], rsi
jne 0x140095eaa
test byte [rsi + 0x190], 2
jne 0x140095eaa
mov eax, dword [rsi + 8]
mov dword [r13 + 0x3fc], eax
mov eax, dword [rsp + 0x3c]
add r15, 8
inc eax
mov dword [rsp + 0x3c], eax
cmp eax, dword [rbx + 0x28]
jl 0x140095d5c
mov r15d, dword [rsp + 0x34]
lea r9, [0x1401e9dd8]
lea rcx, [rbp - 0x60]
movsxd rax, dword [r12]
add r12, 4
vmovups xmm0, xmmword [rcx]
add rax, rax
lea rcx, [rcx + 0x10]
vmovdqu xmmword [r14 + rax*8 + 0x16fc], xmm0
cmp r12, r9
jl 0x140095ed1
mov rax, qword [rbx + 0x88]
test rax, rax
je 0x140095f19
mov rcx, qword [rsp + 0x70]
test r15b, r15b
jne 0x140095f12
cmp qword [rcx + 0x88], r8
jne 0x140095f19
mov qword [rcx + 0x88], rax
mov al, byte [rbx + 0xbc]
and al, 4
je 0x140095f3d
mov rcx, qword [rbx + 0x88]
test rcx, rcx
je 0x140095f3d
cmp byte [rcx + 0xd8], r8b
je 0x140095f3d
mov sil, 1
jmp 0x140095fa0
test al, al
je 0x14009604d
mov dl, 1
mov ecx, 4
call fcn.14009f63c
vmovups xmm0, xmmword [0x1401ea560]
lea rax, [rsp + 0x48]
mov rdx, r14
sub rdx, rax
xor ecx, ecx
vmovups xmmword [rsp + 0x48], xmm0
lea rax, [rsp + 0x48]
add rax, rcx
vmovss xmm0, dword [rax + rdx + 0x16fc]
vmulss xmm1, xmm0, dword [rax]
vmovss dword [rsp + rcx + 0x70], xmm1
add rcx, 4
cmp rcx, 0x10
jl 0x140095f6c
lea rdx, [rsp + 0x70]
xor ecx, ecx
call fcn.14009f6ac
xor sil, sil
vmovss xmm0, dword [r14 + 0x1670]
vxorps xmm0, xmm0, xmmword [0x1401ea580]
vaddss xmm1, xmm0, xmm0
vsubss xmm2, xmm1, dword [r14 + 0x1a80]
vaddss xmm3, xmm2, dword [rbp - 0x78]
vaddss xmm1, xmm6, dword [rbp - 0x7c]
xor r8d, r8d
lea rdx, str.CLOSE
mov rcx, r13
vmovss dword [rbp + 0x60], xmm3
vmovss dword [rbp + 0x64], xmm1
call fcn.1400990e4
lea rdx, [rbp + 0x60]
mov ecx, eax
call fcn.1400baf08
test al, al
je 0x140096016
mov edx, dword [rdi + 0x20]
mov rcx, rdi
call fcn.1400bf76c
test rax, rax
je 0x140096016
mov ecx, dword [rax]
mov rdx, rax
mov dword [rbx + 0xb4], ecx
mov rcx, rdi
call fcn.1400bf704
test sil, sil
jne 0x14009604d
mov ecx, 1
call fcn.14009f398
mov rdx, qword [0x140346028]
movsxd rcx, dword [rdx + 0x1eb0]
lea eax, [rcx - 1]
mov dword [rdx + 0x1eb0], eax
mov rax, qword [rdx + 0x1eb8]
mov ecx, dword [rax + rcx*4 - 8]
mov dword [rdx + 0x1d54], ecx
xor r8d, r8d
lea rdx, str.TITLEBAR
mov rcx, r13
call fcn.1400990e4
mov esi, eax
mov eax, dword [r14 + 0x1d58]
test eax, eax
je 0x140096079
cmp eax, esi
je 0x140096079
cmp dword [r14 + 0x1d6c], esi
jne 0x1400960f7
lea r9, [rbp + 0x60]
mov dword [rsp + 0x20], 0x1000
xor r8d, r8d
lea rcx, [rbp - 0x80]
mov edx, esi
call fcn.1400ba344
cmp dword [r14 + 0x1d58], esi
jne 0x1400960a8
mov dword [r13 + 0x164], esi
call fcn.1400a2944
cmp byte [rbp + 0x60], 0
je 0x1400960f7
mov rax, qword [0x140346028]
vmovss xmm0, dword [rax + 0x434]
vucomiss xmm0, xmm6
jp 0x1400960cc
jne 0x1400960cc
mov eax, dword [rdi + 0x18]
mov dword [rsp + 0x38], eax
mov edx, dword [rdi + 0x18]
mov rcx, rdi
call fcn.1400bf76c
test rax, rax
je 0x1400960f7
mov rcx, qword [rax + 8]
test rcx, rcx
jne 0x1400960ec
mov rcx, qword [rbx + 0x80]
xor r8d, r8d
mov rdx, rbx
call fcn.1400a3620
mov edx, dword [rdi + 0x1c]
test edx, edx
cmove edx, dword [rsp + 0x38]
test edx, edx
je 0x14009612e
mov rcx, rdi
call fcn.1400bf76c
mov rdi, rax
test rax, rax
je 0x14009612e
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x14009612e
call fcn.140098934
mov rcx, qword [rdi + 8]
xor edx, edx
call fcn.14009bd78
call fcn.1400bb550
mov rax, qword [0x140346028]
mov rcx, qword [rax + 0x1d18]
dec dword [rcx + 0x108]
mov eax, dword [rbx + 8]
shr eax, 0xa
test al, 1
jne 0x1400961d5
mov al, byte [rsp + 0x30]
and dword [r13 + 0x18c], 0
mov byte [r13 + 0xd4], al
jmp 0x1400961d5
cmp dword [rbx + 0x28], r12d
jle 0x140096179
mov rax, qword [rbx + 0x30]
mov rdx, qword [rax]
jmp 0x14009617c
mov rdx, r12
and cl, 0xfd
mov qword [rbx + 0x88], rdx
mov al, r15b
add al, al
or cl, al
mov byte [rbx + 0xbc], cl
test r15b, r15b
je 0x1400961a5
mov eax, dword [r14 + 0x1c90]
mov dword [rbx + 0xa8], eax
test rdx, rdx
je 0x1400961d5
test r15b, r15b
jne 0x1400961b8
cmp qword [r8 + 0x88], r12
jne 0x1400961bf
mov qword [r8 + 0x88], rdx
mov rdx, qword [rbx + 0x38]
test rdx, rdx
je 0x1400961d5
mov rax, qword [rbx + 0x88]
mov ecx, dword [rax + 8]
mov dword [rdx + 0x20], ecx
vmovaps xmm6, xmmword [rsp + 0x100]
add rsp, 0x118
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret