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

Disassembly:
push rbx
push rsi
push r13
push r15
sub rsp, 0x88
mov rbx, qword [0x14020c350]
mov qword [rsp + 0x78], r12
movaps xmmword [rsp + 0x50], xmm7
mov eax, dword [rbx + 0x4c78]
cmp dword [rbx + 0x39e8], eax
jle 0x140027a4d
mov r8d, 0x3976
lea rdx, str.D:VSSource_repos_sharpmacro_old_sharpmacroimguiimgui.cpp
lea rcx, str.g.PlatformIO.Viewports.Size___g.Viewports.Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [rbx + 0x4c78]
mov r12d, dword [rbx + 0x3e64]
xor r15d, r15d
shr r12d, 0xa
mov qword [rsp + 0xc8], rbp
and r12b, 1
mov qword [rsp + 0x80], rdi
mov dword [rsp + 0xb0], r12d
mov qword [rsp + 0x70], r14
je 0x140027c80
mov rsi, qword [rbx + 0x4c80]
mov r14d, r15d
cdqe
lea r12, [rsi + rax*8]
cmp rsi, r12
je 0x140027c78
nop dword [rax + rax]
mov rdi, qword [rsi]
mov rax, qword [rbx + 0x3968]
movzx ebp, byte [rdi + 0x58]
test rax, rax
je 0x140027ad1
test bpl, bpl
je 0x140027ad1
mov rcx, rdi
call rax
mov ecx, dword [rdi + 4]
test al, al
je 0x140027aca
bts ecx, 0xc
jmp 0x140027ace
btr ecx, 0xc
mov dword [rdi + 4], ecx
mov rax, qword [rbx + 0x3960]
test rax, rax
je 0x140027afe
test bpl, bpl
je 0x140027afe
mov rcx, rdi
call rax
mov ecx, dword [rdi + 4]
test al, al
je 0x140027af7
bts ecx, 0xd
mov r14, rdi
jmp 0x140027afb
btr ecx, 0xd
mov dword [rdi + 4], ecx
add rsi, 8
cmp rsi, r12
jne 0x140027aa0
test r14, r14
je 0x140027c78
mov edx, dword [rbx + 0x4ca8]
cmp edx, dword [r14]
je 0x140027c59
mov rbp, qword [0x14020c350]
mov rcx, qword [rbp + 0x4c80]
movsxd rax, dword [rbp + 0x4c78]
lea r8, [rcx + rax*8]
cmp rcx, r8
je 0x140027b50
nop dword [rax]
mov rax, qword [rcx]
cmp dword [rax], edx
je 0x140027bb5
add rcx, 8
cmp rcx, r8
jne 0x140027b40
mov cl, 1
mov eax, dword [rbx + 0x4cf8]
cmp dword [r14 + 0x70], eax
je 0x140027b6a
inc eax
mov dword [rbx + 0x4cf8], eax
mov dword [r14 + 0x70], eax
mov eax, dword [r14]
mov dword [rbx + 0x4ca8], eax
mov rax, r15
nop word [rax + rax]
cmp byte [rax + rbp + 0xe50], r15b
jne 0x140027c59
inc rax
cmp rax, 5
jl 0x140027b80
test cl, cl
jne 0x140027c59
mov rax, qword [rbx + 0x4d00]
test rax, rax
je 0x140027bbf
cmp qword [rax + 0x40], r14
jne 0x140027bbf
mov al, 1
jmp 0x140027bc1
cmp byte [rax + 0x58], r15b
je 0x140027b50
xor cl, cl
jmp 0x140027b52
xor al, al
or al, byte [r14 + 0x88]
mov rcx, qword [r14 + 0x60]
mov byte [r14 + 0x88], al
test rcx, rcx
jne 0x140027c4f
test al, al
je 0x140027c4d
mov edi, dword [rbp + 0x40f0]
sub edi, 1
movsxd rsi, edi
js 0x140027c48
nop word [rax + rax]
cmp edi, dword [rbp + 0x40f0]
jl 0x140027c12
mov r8d, 0x7df
lea rdx, str.D:VSSource_repos_sharpmacro_old_sharpmacroimguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbp + 0x40f8]
mov rcx, qword [rax + rsi*8]
test rcx, rcx
je 0x140027c40
cmp byte [rcx + 0xf4], r15b
je 0x140027c40
cmp qword [rcx + 0x40], r14
jne 0x140027c40
mov eax, dword [rcx + 0x14]
and eax, 0x10200
cmp eax, 0x10200
jne 0x140027c4f
dec edi
sub rsi, 1
jns 0x140027bf0
mov rcx, r15
jmp 0x140027c4f
xor ecx, ecx
mov edx, 3
call fcn.140019b90
mov rax, qword [rbx + 0x4d00]
test rax, rax
je 0x140027c6f
cmp qword [rax + 0x40], r14
jne 0x140027c6f
mov al, 1
jmp 0x140027c71
xor al, al
mov byte [r14 + 0x88], al
mov r12d, dword [rsp + 0xb0]
cmp dword [rbx + 0x4c78], r15d
jg 0x140027ca3
mov r8d, 0x7df
lea rdx, str.D:VSSource_repos_sharpmacro_old_sharpmacroimguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbx + 0x4c80]
mov r13, qword [rax]
cmp dword [r13], 0x11111111
je 0x140027cd1
mov r8d, 0x39be
lea rdx, str.D:VSSource_repos_sharpmacro_old_sharpmacroimguiimgui.cpp
lea rcx, str.main_viewport__ID__IMGUI_VIEWPORT_DEFAULT_ID
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
cmp qword [r13 + 0x60], r15
je 0x140027cf1
mov r8d, 0x39bf
lea rdx, str.D:VSSource_repos_sharpmacro_old_sharpmacroimguiimgui.cpp
lea rcx, str.main_viewport__Window__0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
xorps xmm7, xmm7
test r12b, r12b
je 0x140027d40
mov rax, qword [rbx + 0x3940]
lea rcx, [rsp + 0xb8]
mov rdx, r13
call rax
test dword [r13 + 4], 0x1000
movsd xmm1, qword [rbx + 0x10]
movsd xmm0, qword [rax]
movsd qword [rsp + 0xc0], xmm0
movsd qword [rsp + 0xb8], xmm1
je 0x140027d6b
movsd xmm0, qword [r13 + 8]
movsd xmm1, qword [r13 + 0x10]
jmp 0x140027d59
movsd xmm1, qword [rbx + 0x10]
lea rax, [rsp + 0xb8]
mov qword [rsp + 0xb8], r15
movsd xmm0, qword [rax]
movsd qword [rsp + 0xb8], xmm1
movsd qword [rsp + 0xc0], xmm0
lea r9, [rsp + 0xb8]
mov dword [rsp + 0x20], 0x804
lea r8, [rsp + 0xc0]
mov edx, 0x11111111
xor ecx, ecx
call fcn.140028720
mov eax, dword [rbx + 0x4c78]
mov esi, r15d
mov dword [rbx + 0x4c88], r15d
mov qword [rbx + 0x4c90], r15
mov qword [rbx + 0x4c98], r15
test eax, eax
jle 0x1400280d8
movaps xmmword [rsp + 0x40], xmm8
mov r14, r15
movss xmm8, dword [0x1400f68f4]
movaps xmmword [rsp + 0x60], xmm6
nop dword [rax]
test esi, esi
js 0x140027dd8
cmp esi, eax
jl 0x140027df2
mov r8d, 0x7df
lea rdx, str.D:VSSource_repos_sharpmacro_old_sharpmacroimguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbx + 0x4c80]
mov rdi, qword [r14 + rax]
mov dword [rdi + 0x68], esi
test esi, esi
jle 0x140027e25
mov eax, dword [rbx + 0x4098]
sub eax, 2
cmp dword [rdi + 0x6c], eax
jge 0x140027e25
mov rcx, rdi
call fcn.140028ae0
dec esi
sub r14, 8
jmp 0x1400280b9
movzx ebp, byte [rdi + 0x58]
test r12b, r12b
je 0x140027eb4
test dword [rdi + 4], 0x1000
jne 0x140027eb4
test bpl, bpl
je 0x140027eb4
cmp byte [rdi + 0x59], r15b
je 0x140027e7a
mov rdx, rdi
lea rcx, [rsp + 0xb8]
call qword [rbx + 0x3940]
movss xmm0, dword [rax]
movss xmm1, dword [rax + 4]
movss dword [rdi + 0x108], xmm0
movss dword [rdi + 0x10c], xmm1
movss dword [rdi + 8], xmm0
movss dword [rdi + 0xc], xmm1
cmp byte [rdi + 0x5a], r15b
je 0x140027eb4
mov rdx, rdi
lea rcx, [rsp + 0xc0]
call qword [rbx + 0x3950]
movss xmm0, dword [rax]
movss xmm1, dword [rax + 4]
movss dword [rdi + 0x110], xmm0
movss dword [rdi + 0x114], xmm1
movss dword [rdi + 0x10], xmm0
movss dword [rdi + 0x14], xmm1
movss xmm0, dword [rdi + 8]
lea rcx, [rsp + 0x30]
movss xmm1, dword [rdi + 0xc]
movss dword [rsp + 0x30], xmm0
addss xmm0, dword [rdi + 0x10]
movss dword [rsp + 0x34], xmm1
addss xmm1, dword [rdi + 0x14]
movss dword [rsp + 0x38], xmm0
movss dword [rsp + 0x3c], xmm1
call fcn.140029a50
test dword [rdi + 4], 0x800
lea rdx, [rdi + 0x78]
movsd xmm4, qword [rdi + 0x130]
movsd xmm3, qword [rdi + 0x138]
movaps xmm0, xmm4
movss xmm6, dword [rdi + 0xc]
movaps xmm2, xmm4
movss xmm5, dword [rdi + 8]
movaps xmm1, xmm6
shufps xmm0, xmm0, 0x55
addss xmm2, xmm5
addss xmm1, xmm0
mov word [rdi + 0x8a], ax
movss xmm0, dword [rdi + 0x10]
subss xmm0, xmm4
mov qword [rdi + 0x138], r15
mov qword [rdi + 0x130], r15
movss dword [rdi + 0x18], xmm2
movaps xmm2, xmm7
movss dword [rdi + 0x1c], xmm1
movss xmm1, dword [rdi + 0x14]
addss xmm0, xmm3
movsd qword [rdi + 0x128], xmm3
movsd qword [rdi + 0x120], xmm4
maxss xmm2, xmm0
movaps xmm0, xmm4
shufps xmm0, xmm0, 0x55
subss xmm1, xmm0
movaps xmm0, xmm7
addss xmm1, dword [rdi + 0x12c]
movss dword [rdi + 0x20], xmm2
mov dword [rdi + 0x80], 0x3f800000
maxss xmm0, xmm1
movss dword [rdi + 0x24], xmm0
subss xmm5, dword [rdx]
subss xmm6, dword [rdx + 4]
je 0x140027fbf
ucomiss xmm5, xmm7
jp 0x140027fb3
jne 0x140027fb3
ucomiss xmm6, xmm7
jp 0x140027fb3
je 0x140027fbf
lea r8, [rdi + 8]
mov rcx, rdi
call fcn.140027660
mov rax, qword [rbx + 0x3998]
test rax, rax
je 0x140027fda
test bpl, bpl
je 0x140027fda
mov rcx, rdi
call rax
movaps xmm6, xmm0
jmp 0x14002803e
movsx rax, word [rdi + 0x8a]
cmp ax, 0xffff
je 0x14002802e
mov rbp, rax
test eax, eax
js 0x140027ff7
cmp ebp, dword [rbx + 0x39d8]
jl 0x140028011
mov r8d, 0x7df
lea rdx, str.D:VSSource_repos_sharpmacro_old_sharpmacroimguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbx + 0x39e0]
lea rcx, [rbp*2]
add rcx, rbp
add rcx, rcx
movss xmm6, dword [rax + rcx*8 + 0x20]
jmp 0x14002803e
movss xmm6, dword [rdi + 0x28]
ucomiss xmm6, xmm7
jp 0x14002803e
jne 0x14002803e
movaps xmm6, xmm8
movss xmm0, dword [rdi + 0x28]
ucomiss xmm0, xmm7
jp 0x14002804a
je 0x1400280ac
ucomiss xmm6, xmm0
jp 0x140028051
je 0x1400280ac
test dword [rbx + 8], 0x4000
movaps xmm5, xmm6
divss xmm5, xmm0
je 0x1400280ac
mov rcx, qword [rdi + 0x60]
test rcx, rcx
je 0x140028074
movaps xmm1, xmm5
call fcn.14000ef00
jmp 0x1400280ac
mov rax, qword [0x14020c350]
mov rdx, qword [rax + 0x40e8]
movsxd rax, dword [rax + 0x40e0]
lea r8, [rdx + rax*8]
cmp rdx, r8
je 0x1400280ac
mov rcx, qword [rdx]
cmp qword [rcx + 0x40], rdi
jne 0x1400280a3
movaps xmm1, xmm5
call fcn.14000ef00
add rdx, 8
cmp rdx, r8
jne 0x140028092
mov r12d, dword [rsp + 0xb0]
movss dword [rdi + 0x28], xmm6
mov eax, dword [rbx + 0x4c78]
inc esi
add r14, 8
cmp esi, eax
jl 0x140027dd0
movaps xmm8, xmmword [rsp + 0x40]
movaps xmm6, xmmword [rsp + 0x60]
mov dword [rbx + 0x4ce0], 0x7f7fffff
mov dword [rbx + 0x4ce4], 0x7f7fffff
mov dword [rbx + 0x4ce8], 0xff7fffff
mov dword [rbx + 0x4cec], 0xff7fffff
movss xmm2, dword [0x1400f6aec]
movaps xmm4, xmm2
movss xmm3, dword [0x1400f6ab0]
movaps xmm7, xmmword [rsp + 0x50]
mov r14, qword [rsp + 0x70]
mov rbp, qword [rsp + 0xc8]
cmp dword [rbx + 0x39d8], r15d
jne 0x140028251
movsd xmm0, qword [r13 + 8]
movsd qword [rbx + 0x4cb0], xmm0
movsd xmm1, qword [r13 + 0x10]
movsd qword [rbx + 0x4cb8], xmm1
movsd xmm0, qword [r13 + 0x18]
movsd qword [rbx + 0x4cc0], xmm0
movsd xmm1, qword [r13 + 0x20]
movsd qword [rbx + 0x4cc8], xmm1
mov eax, dword [r13 + 0x28]
mov dword [rbx + 0x4cd0], eax
movss xmm5, dword [rbx + 0x4ce0]
movss xmm0, dword [rbx + 0x4cc0]
comiss xmm5, xmm0
jbe 0x140028194
movss dword [rbx + 0x4ce0], xmm0
movaps xmm5, xmm0
movss xmm3, dword [rbx + 0x4ce4]
movss xmm0, dword [rbx + 0x4cc4]
comiss xmm3, xmm0
jbe 0x1400281b4
movss dword [rbx + 0x4ce4], xmm0
movaps xmm3, xmm0
movss xmm2, dword [rbx + 0x4ce8]
movss xmm0, dword [rbx + 0x4cc0]
comiss xmm0, xmm2
jbe 0x1400281d4
movss dword [rbx + 0x4ce8], xmm0
movaps xmm2, xmm0
movss xmm4, dword [rbx + 0x4cec]
movss xmm0, dword [rbx + 0x4cc4]
comiss xmm0, xmm4
jbe 0x1400281f4
movss dword [rbx + 0x4cec], xmm0
movaps xmm4, xmm0
movss xmm1, dword [rbx + 0x4cc0]
addss xmm1, dword [rbx + 0x4cc8]
movss xmm0, dword [rbx + 0x4ccc]
addss xmm0, dword [rbx + 0x4cc4]
comiss xmm5, xmm1
jbe 0x140028221
movss dword [rbx + 0x4ce0], xmm1
comiss xmm3, xmm0
jbe 0x140028231
movss dword [rbx + 0x4ce4], xmm0
movaps xmm3, xmm0
comiss xmm1, xmm2
jbe 0x140028241
movss dword [rbx + 0x4ce8], xmm1
movaps xmm2, xmm1
comiss xmm0, xmm4
jbe 0x140028251
movss dword [rbx + 0x4cec], xmm0
movaps xmm4, xmm0
mov rcx, qword [rbx + 0x39e0]
movsxd rax, dword [rbx + 0x39d8]
lea rdx, [rax + rax*2]
shl rdx, 4
add rdx, rcx
cmp rcx, rdx
je 0x140028336
movss xmm5, dword [rbx + 0x4ce0]
lea rax, [rcx + 0x14]
nop
movss xmm0, dword [rax - 4]
comiss xmm5, xmm0
jbe 0x140028295
movss dword [rbx + 0x4ce0], xmm0
movaps xmm5, xmm0
movss xmm0, dword [rax]
comiss xmm3, xmm0
jbe 0x1400282a9
movss dword [rbx + 0x4ce4], xmm0
movaps xmm3, xmm0
movss xmm0, dword [rax - 4]
comiss xmm0, xmm2
jbe 0x1400282be
movss dword [rbx + 0x4ce8], xmm0
movaps xmm2, xmm0
movss xmm0, dword [rax]
comiss xmm0, xmm4
jbe 0x1400282d2
movss dword [rbx + 0x4cec], xmm0
movaps xmm4, xmm0
movss xmm1, dword [rax - 4]
addss xmm1, dword [rax + 4]
movss xmm0, dword [rax + 8]
addss xmm0, dword [rax]
comiss xmm5, xmm1
jbe 0x1400282f5
movss dword [rbx + 0x4ce0], xmm1
movaps xmm5, xmm1
comiss xmm3, xmm0
jbe 0x140028305
movss dword [rbx + 0x4ce4], xmm0
movaps xmm3, xmm0
comiss xmm1, xmm2
jbe 0x140028315
movss dword [rbx + 0x4ce8], xmm1
movaps xmm2, xmm1
comiss xmm0, xmm4
jbe 0x140028325
movss dword [rbx + 0x4cec], xmm0
movaps xmm4, xmm0
add rcx, 0x30
add rax, 0x30
cmp rcx, rdx
jne 0x140028280
test r12b, r12b
mov r12, qword [rsp + 0x78]
jne 0x14002834c
mov qword [rbx + 0x4c98], r13
jmp 0x1400284b7
test dword [rbx + 0xc], 0x800
je 0x14002839e
mov edx, dword [rbx + 0xe64]
test edx, edx
je 0x1400283c7
mov rax, qword [0x14020c350]
mov rcx, qword [rax + 0x4c80]
movsxd rax, dword [rax + 0x4c78]
lea r8, [rcx + rax*8]
cmp rcx, r8
je 0x140028390
nop dword [rax]
mov rdi, qword [rcx]
cmp dword [rdi], edx
je 0x140028393
add rcx, 8
cmp rcx, r8
jne 0x140028380
mov rdi, r15
test rdi, rdi
je 0x1400283ad
test byte [rdi + 4], 0x80
je 0x1400283ad
lea rcx, [rbx + 0xe48]
call fcn.140027970
mov rdi, rax
lea rcx, [rbx + 0x4ca0]
mov rsi, rcx
test rdi, rdi
je 0x1400283d4
mov qword [rcx], rdi
mov rdx, rdi
mov rcx, rdi
jmp 0x140028412
lea rcx, [rbx + 0x4ca0]
mov rdi, r15
mov rsi, rcx
mov rcx, qword [rcx]
mov rdx, rcx
test rcx, rcx
jne 0x140028412
cmp dword [rbx + 0x4c78], r15d
jg 0x140028402
mov r8d, 0x7df
lea rdx, str.D:VSSource_repos_sharpmacro_old_sharpmacroimguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbx + 0x4c80]
mov rcx, qword [rax]
mov qword [rsi], rcx
mov rdx, rcx
mov rax, qword [rbx + 0x4158]
test rax, rax
je 0x140028427
mov rax, qword [rax + 0x40]
test rax, rax
jne 0x14002842a
mov rax, rcx
mov qword [rbx + 0x4c98], rax
movzx ecx, byte [rbx + 0x4f34]
test cl, cl
je 0x140028464
test rdi, rdi
jne 0x140028460
mov rdi, rdx
mov rcx, rax
test rdi, rdi
je 0x140028498
cmp rdi, rax
je 0x140028498
test byte [rdi + 4], 0x80
jne 0x140028498
mov qword [rbx + 0x4c98], rdi
jmp 0x1400284b7
test cl, cl
jne 0x140028444
cmp dword [rbx + 0x41a4], r15d
je 0x140028444
mov rax, qword [0x14020c350]
cmp byte [rax + r15 + 0xe50], 0
jne 0x140028491
inc r15
cmp r15, 5
jl 0x140028474
mov rax, qword [rbx + 0x4c98]
jmp 0x140028444
mov rcx, qword [rbx + 0x4c98]
test rcx, rcx
jne 0x1400284b7
mov r8d, 0x3a56
lea rdx, str.D:VSSource_repos_sharpmacro_old_sharpmacroimguiimgui.cpp
lea rcx, str.g.MouseViewport___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rdi, qword [rsp + 0x80]
add rsp, 0x88
pop r15
pop r13
pop rsi
pop rbx
ret