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

Disassembly:
push rbx
push rsi
push r13
push r15
sub rsp, 0x88
mov rbx, qword [0x140255230]
mov qword [rsp + 0x78], r12
movaps xmmword [rsp + 0x50], xmm7
mov eax, dword [rbx + 0x4c78]
cmp dword [rbx + 0x39e8], eax
jle 0x140027e3d
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 0x140028075
mov rsi, qword [rbx + 0x4c80]
mov r14d, r15d
cdqe
lea r12, [rsi + rax*8]
cmp rsi, r12
je 0x14002806d
nop dword [rax + rax]
mov rdi, qword [rsi]
mov rax, qword [rbx + 0x3968]
movzx ebp, byte [rdi + 0x58]
test rax, rax
je 0x140027ec1
test bpl, bpl
je 0x140027ec1
mov rcx, rdi
call rax
mov ecx, dword [rdi + 4]
test al, al
je 0x140027eba
bts ecx, 0xc
jmp 0x140027ebe
btr ecx, 0xc
mov dword [rdi + 4], ecx
mov rax, qword [rbx + 0x3960]
test rax, rax
je 0x140027eee
test bpl, bpl
je 0x140027eee
mov rcx, rdi
call rax
mov ecx, dword [rdi + 4]
test al, al
je 0x140027ee7
bts ecx, 0xd
mov r14, rdi
jmp 0x140027eeb
btr ecx, 0xd
mov dword [rdi + 4], ecx
add rsi, 8
cmp rsi, r12
jne 0x140027e90
test r14, r14
je 0x14002806d
mov edx, dword [rbx + 0x4ca8]
cmp edx, dword [r14]
je 0x14002804e
mov rbp, qword [0x140255230]
mov rcx, qword [rbp + 0x4c80]
movsxd rax, dword [rbp + 0x4c78]
lea r8, [rcx + rax*8]
cmp rcx, r8
je 0x140027f40
nop dword [rax]
mov rax, qword [rcx]
cmp dword [rax], edx
je 0x140027fa5
add rcx, 8
cmp rcx, r8
jne 0x140027f30
mov cl, 1
mov eax, dword [rbx + 0x4cf8]
cmp dword [r14 + 0x70], eax
je 0x140027f5a
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 0x14002804e
inc rax
cmp rax, 5
jl 0x140027f70
test cl, cl
jne 0x14002804e
mov rax, qword [rbx + 0x4d00]
test rax, rax
je 0x140027fb4
cmp qword [rax + 0x40], r14
jne 0x140027fb4
mov al, 1
jmp 0x140027fb6
test rax, rax
je 0x140027f40
cmp byte [rax + 0x58], r15b
je 0x140027f40
xor cl, cl
jmp 0x140027f42
xor al, al
or al, byte [r14 + 0x88]
mov rcx, qword [r14 + 0x60]
mov byte [r14 + 0x88], al
test rcx, rcx
jne 0x140028044
test al, al
je 0x140028042
mov esi, dword [rbp + 0x40f0]
sub esi, 1
js 0x14002803d
movsxd rdi, esi
nop
test rdi, rdi
js 0x140027fed
cmp esi, dword [rbp + 0x40f0]
jl 0x140028007
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 + rdi*8]
test rcx, rcx
je 0x140028035
cmp byte [rcx + 0xf4], r15b
je 0x140028035
cmp qword [rcx + 0x40], r14
jne 0x140028035
mov eax, dword [rcx + 0x14]
and eax, 0x10200
cmp eax, 0x10200
jne 0x140028044
dec esi
sub rdi, 1
jns 0x140027fe0
mov rcx, r15
jmp 0x140028044
xor ecx, ecx
mov edx, 3
call fcn.140019fd0
mov rax, qword [rbx + 0x4d00]
test rax, rax
je 0x140028064
cmp qword [rax + 0x40], r14
jne 0x140028064
mov al, 1
jmp 0x140028066
xor al, al
mov byte [r14 + 0x88], al
mov r12d, dword [rsp + 0xb0]
cmp dword [rbx + 0x4c78], r15d
jg 0x140028098
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 0x1400280c6
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 0x1400280e6
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 0x140028135
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 0x140028160
movsd xmm0, qword [r13 + 8]
movsd xmm1, qword [r13 + 0x10]
jmp 0x14002814e
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]
movaps xmmword [rsp + 0x60], xmm6
lea r8, [rsp + 0xc0]
mov dword [rsp + 0x20], 0x804
mov edx, 0x11111111
xor ecx, ecx
call fcn.140028af0
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 0x1400284c4
movaps xmmword [rsp + 0x40], xmm8
mov r14, r15
movss xmm8, dword [0x140138b7c]
test esi, esi
js 0x1400281c9
cmp esi, eax
jl 0x1400281e3
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 0x140028216
mov eax, dword [rbx + 0x4098]
sub eax, 2
cmp dword [rdi + 0x6c], eax
jge 0x140028216
mov rcx, rdi
call fcn.140028eb0
dec esi
sub r14, 8
jmp 0x1400284aa
movzx ebp, byte [rdi + 0x58]
test r12b, r12b
je 0x1400282a5
test dword [rdi + 4], 0x1000
jne 0x1400282a5
test bpl, bpl
je 0x1400282a5
cmp byte [rdi + 0x59], r15b
je 0x14002826b
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 0x1400282a5
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.140029e20
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 0x1400283b0
ucomiss xmm5, xmm7
jp 0x1400283a4
jne 0x1400283a4
ucomiss xmm6, xmm7
jp 0x1400283a4
je 0x1400283b0
lea r8, [rdi + 8]
mov rcx, rdi
call fcn.140027a50
mov rax, qword [rbx + 0x3998]
test rax, rax
je 0x1400283cb
test bpl, bpl
je 0x1400283cb
mov rcx, rdi
call rax
movaps xmm6, xmm0
jmp 0x14002842f
movsx rax, word [rdi + 0x8a]
cmp ax, 0xffff
je 0x14002841f
mov rbp, rax
test eax, eax
js 0x1400283e8
cmp ebp, dword [rbx + 0x39d8]
jl 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 + 0x39e0]
lea rcx, [rbp*2]
add rcx, rbp
add rcx, rcx
movss xmm6, dword [rax + rcx*8 + 0x20]
jmp 0x14002842f
movss xmm6, dword [rdi + 0x28]
ucomiss xmm6, xmm7
jp 0x14002842f
jne 0x14002842f
movaps xmm6, xmm8
movss xmm0, dword [rdi + 0x28]
ucomiss xmm0, xmm7
jp 0x14002843b
je 0x14002849d
ucomiss xmm6, xmm0
jp 0x140028442
je 0x14002849d
test dword [rbx + 8], 0x4000
movaps xmm5, xmm6
divss xmm5, xmm0
je 0x14002849d
mov rcx, qword [rdi + 0x60]
test rcx, rcx
je 0x140028465
movaps xmm1, xmm5
call fcn.14000f260
jmp 0x14002849d
mov rax, qword [0x140255230]
mov rdx, qword [rax + 0x40e8]
movsxd rax, dword [rax + 0x40e0]
lea r8, [rdx + rax*8]
cmp rdx, r8
je 0x14002849d
mov rcx, qword [rdx]
cmp qword [rcx + 0x40], rdi
jne 0x140028494
movaps xmm1, xmm5
call fcn.14000f260
add rdx, 8
cmp rdx, r8
jne 0x140028483
mov r12d, dword [rsp + 0xb0]
movss dword [rdi + 0x28], xmm6
mov eax, dword [rbx + 0x4c78]
inc esi
add r14, 8
cmp esi, eax
jl 0x1400281c1
movaps xmm8, xmmword [rsp + 0x40]
movdqa xmm0, xmmword [0x140139630]
movaps xmm7, xmmword [rsp + 0x50]
mov r14, qword [rsp + 0x70]
mov rbp, qword [rsp + 0xc8]
movups xmmword [rbx + 0x4ce0], xmm0
cmp dword [rbx + 0x39d8], r15d
jne 0x140028618
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 xmm6, dword [rbx + 0x4ce0]
movss xmm0, dword [rbx + 0x4cc0]
comiss xmm6, xmm0
jbe 0x140028554
movss dword [rbx + 0x4ce0], xmm0
movaps xmm6, xmm0
movss xmm5, dword [rbx + 0x4ce4]
movss xmm0, dword [rbx + 0x4cc4]
comiss xmm5, xmm0
jbe 0x140028574
movss dword [rbx + 0x4ce4], xmm0
movaps xmm5, xmm0
movss xmm0, dword [rbx + 0x4cc0]
lea rcx, [rbx + 0x4ce8]
movss xmm4, dword [rcx]
comiss xmm0, xmm4
jbe 0x140028593
movss dword [rcx], xmm0
movaps xmm4, xmm0
movss xmm0, dword [rbx + 0x4cc4]
lea rax, [rbx + 0x4cec]
movss xmm2, dword [rax]
comiss xmm0, xmm2
jbe 0x1400285b2
movss dword [rax], xmm0
movaps xmm2, xmm0
movss xmm0, dword [rbx + 0x4cc0]
mov rdx, rax
addss xmm0, dword [rbx + 0x4cc8]
movss xmm1, dword [rbx + 0x4ccc]
addss xmm1, dword [rbx + 0x4cc4]
comiss xmm6, xmm0
movaps xmm3, xmm0
jbe 0x1400285f3
movss dword [rbx + 0x4ce0], xmm0
lea rcx, [rbx + 0x4ce8]
lea rdx, [rbx + 0x4cec]
comiss xmm5, xmm1
jbe 0x140028606
movss dword [rbx + 0x4ce4], xmm1
movaps xmm0, xmm3
mov rax, rdx
comiss xmm0, xmm4
jbe 0x14002860f
movss dword [rcx], xmm0
comiss xmm1, xmm2
jbe 0x140028618
movss dword [rax], xmm1
mov rcx, qword [rbx + 0x39e0]
movsxd rax, dword [rbx + 0x39d8]
movaps xmm6, xmmword [rsp + 0x60]
lea rdx, [rax + rax*2]
shl rdx, 4
add rdx, rcx
cmp rcx, rdx
je 0x140028719
movss xmm5, dword [rbx + 0x4ce0]
lea rax, [rcx + 0x14]
movss xmm4, dword [rbx + 0x4ce4]
movss xmm3, dword [rbx + 0x4ce8]
movss xmm2, dword [rbx + 0x4cec]
movss xmm0, dword [rax - 4]
comiss xmm5, xmm0
jbe 0x140028678
movss dword [rbx + 0x4ce0], xmm0
movaps xmm5, xmm0
movss xmm0, dword [rax]
comiss xmm4, xmm0
jbe 0x14002868c
movss dword [rbx + 0x4ce4], xmm0
movaps xmm4, xmm0
movss xmm0, dword [rax - 4]
comiss xmm0, xmm3
jbe 0x1400286a1
movss dword [rbx + 0x4ce8], xmm0
movaps xmm3, xmm0
movss xmm0, dword [rax]
comiss xmm0, xmm2
jbe 0x1400286b5
movss dword [rbx + 0x4cec], xmm0
movaps xmm2, xmm0
movss xmm1, dword [rax - 4]
addss xmm1, dword [rax + 4]
movss xmm0, dword [rax + 8]
addss xmm0, dword [rax]
comiss xmm5, xmm1
jbe 0x1400286d8
movss dword [rbx + 0x4ce0], xmm1
movaps xmm5, xmm1
comiss xmm4, xmm0
jbe 0x1400286e8
movss dword [rbx + 0x4ce4], xmm0
movaps xmm4, xmm0
comiss xmm1, xmm3
jbe 0x1400286f8
movss dword [rbx + 0x4ce8], xmm1
movaps xmm3, xmm1
comiss xmm0, xmm2
jbe 0x140028708
movss dword [rbx + 0x4cec], xmm0
movaps xmm2, xmm0
add rcx, 0x30
add rax, 0x30
cmp rcx, rdx
jne 0x140028663
test r12b, r12b
mov r12, qword [rsp + 0x78]
jne 0x14002872f
mov qword [rbx + 0x4c98], r13
jmp 0x140028883
test dword [rbx + 0xc], 0x800
je 0x14002877e
mov edx, dword [rbx + 0xe64]
test edx, edx
je 0x1400287a7
mov rax, qword [0x140255230]
mov rcx, qword [rax + 0x4c80]
movsxd rax, dword [rax + 0x4c78]
lea r8, [rcx + rax*8]
cmp rcx, r8
je 0x140028770
mov rdi, qword [rcx]
cmp dword [rdi], edx
je 0x140028773
add rcx, 8
cmp rcx, r8
jne 0x140028760
mov rdi, r15
test rdi, rdi
je 0x14002878d
test byte [rdi + 4], 0x80
je 0x14002878d
lea rcx, [rbx + 0xe48]
call fcn.140027d60
mov rdi, rax
lea rax, [rbx + 0x4ca0]
mov rsi, rax
test rdi, rdi
je 0x1400287b4
mov qword [rax], rdi
mov rdx, rdi
mov rax, rdi
jmp 0x1400287f2
lea rax, [rbx + 0x4ca0]
mov rdi, r15
mov rsi, rax
mov rax, qword [rax]
mov rdx, rax
test rax, rax
jne 0x1400287f2
cmp dword [rbx + 0x4c78], r15d
jg 0x1400287e2
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 rax, qword [rax]
mov qword [rsi], rax
mov rdx, rax
mov rcx, qword [rbx + 0x4158]
test rcx, rcx
je 0x140028807
mov rcx, qword [rcx + 0x40]
test rcx, rcx
jne 0x14002880a
mov rcx, rax
mov qword [rbx + 0x4c98], rcx
cmp byte [rbx + 0x4f34], r15b
je 0x140028824
test rdi, rdi
jne 0x14002884d
mov rdi, rdx
jmp 0x140028848
cmp dword [rbx + 0x41a4], r15d
je 0x140028848
mov rax, qword [0x140255230]
cmp byte [rax + r15 + 0xe50], 0
jne 0x14002885f
inc r15
cmp r15, 5
jl 0x140028834
test rdi, rdi
je 0x14002885f
cmp rdi, rcx
je 0x14002885f
test byte [rdi + 4], 0x80
jne 0x14002885f
mov qword [rbx + 0x4c98], rdi
cmp qword [rbx + 0x4c98], 0
jne 0x140028883
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