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

Disassembly:
push rbx
push rsi
push r13
push r15
sub rsp, 0x88
mov rbx, qword [0x1401b72c0]
mov qword [rsp + 0x78], r12
movaps xmmword [rsp + 0x50], xmm7
mov eax, dword [rbx + 0x4c78]
cmp dword [rbx + 0x39e8], eax
jle 0x140027bed
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 0x140027e20
mov rsi, qword [rbx + 0x4c80]
mov r14d, r15d
cdqe
lea r12, [rsi + rax*8]
cmp rsi, r12
je 0x140027e18
nop dword [rax + rax]
mov rdi, qword [rsi]
mov rax, qword [rbx + 0x3968]
movzx ebp, byte [rdi + 0x58]
test rax, rax
je 0x140027c71
test bpl, bpl
je 0x140027c71
mov rcx, rdi
call rax
mov ecx, dword [rdi + 4]
test al, al
je 0x140027c6a
bts ecx, 0xc
jmp 0x140027c6e
btr ecx, 0xc
mov dword [rdi + 4], ecx
mov rax, qword [rbx + 0x3960]
test rax, rax
je 0x140027c9e
test bpl, bpl
je 0x140027c9e
mov rcx, rdi
call rax
mov ecx, dword [rdi + 4]
test al, al
je 0x140027c97
bts ecx, 0xd
mov r14, rdi
jmp 0x140027c9b
btr ecx, 0xd
mov dword [rdi + 4], ecx
add rsi, 8
cmp rsi, r12
jne 0x140027c40
test r14, r14
je 0x140027e18
mov edx, dword [rbx + 0x4ca8]
cmp edx, dword [r14]
je 0x140027df9
mov rbp, qword [0x1401b72c0]
mov rcx, qword [rbp + 0x4c80]
movsxd rax, dword [rbp + 0x4c78]
lea r8, [rcx + rax*8]
cmp rcx, r8
je 0x140027cf0
nop dword [rax]
mov rax, qword [rcx]
cmp dword [rax], edx
je 0x140027d55
add rcx, 8
cmp rcx, r8
jne 0x140027ce0
mov cl, 1
mov eax, dword [rbx + 0x4cf8]
cmp dword [r14 + 0x70], eax
je 0x140027d0a
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 0x140027df9
inc rax
cmp rax, 5
jl 0x140027d20
test cl, cl
jne 0x140027df9
mov rax, qword [rbx + 0x4d00]
test rax, rax
je 0x140027d5f
cmp qword [rax + 0x40], r14
jne 0x140027d5f
mov al, 1
jmp 0x140027d61
cmp byte [rax + 0x58], r15b
je 0x140027cf0
xor cl, cl
jmp 0x140027cf2
xor al, al
or al, byte [r14 + 0x88]
mov rcx, qword [r14 + 0x60]
mov byte [r14 + 0x88], al
test rcx, rcx
jne 0x140027def
test al, al
je 0x140027ded
mov edi, dword [rbp + 0x40f0]
sub edi, 1
movsxd rsi, edi
js 0x140027de8
nop word [rax + rax]
cmp edi, dword [rbp + 0x40f0]
jl 0x140027db2
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 0x140027de0
cmp byte [rcx + 0xf4], r15b
je 0x140027de0
cmp qword [rcx + 0x40], r14
jne 0x140027de0
mov eax, dword [rcx + 0x14]
and eax, 0x10200
cmp eax, 0x10200
jne 0x140027def
dec edi
sub rsi, 1
jns 0x140027d90
mov rcx, r15
jmp 0x140027def
xor ecx, ecx
mov edx, 3
call fcn.140019d60
mov rax, qword [rbx + 0x4d00]
test rax, rax
je 0x140027e0f
cmp qword [rax + 0x40], r14
jne 0x140027e0f
mov al, 1
jmp 0x140027e11
xor al, al
mov byte [r14 + 0x88], al
mov r12d, dword [rsp + 0xb0]
cmp dword [rbx + 0x4c78], r15d
jg 0x140027e43
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 0x140027e71
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 0x140027e91
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 0x140027ee0
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 0x140027f0b
movsd xmm0, qword [r13 + 8]
movsd xmm1, qword [r13 + 0x10]
jmp 0x140027ef9
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.140028980
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 0x140028278
movaps xmmword [rsp + 0x40], xmm8
mov r14, r15
movss xmm8, dword [0x1400d9b30]
movaps xmmword [rsp + 0x60], xmm6
nop dword [rax]
test esi, esi
js 0x140027f78
cmp esi, eax
jl 0x140027f92
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 0x140027fc5
mov eax, dword [rbx + 0x4098]
sub eax, 2
cmp dword [rdi + 0x6c], eax
jge 0x140027fc5
mov rcx, rdi
call fcn.140028d40
dec esi
sub r14, 8
jmp 0x140028259
movzx ebp, byte [rdi + 0x58]
test r12b, r12b
je 0x140028054
test dword [rdi + 4], 0x1000
jne 0x140028054
test bpl, bpl
je 0x140028054
cmp byte [rdi + 0x59], r15b
je 0x14002801a
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 0x140028054
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.140029d40
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 0x14002815f
ucomiss xmm5, xmm7
jp 0x140028153
jne 0x140028153
ucomiss xmm6, xmm7
jp 0x140028153
je 0x14002815f
lea r8, [rdi + 8]
mov rcx, rdi
call fcn.140027800
mov rax, qword [rbx + 0x3998]
test rax, rax
je 0x14002817a
test bpl, bpl
je 0x14002817a
mov rcx, rdi
call rax
movaps xmm6, xmm0
jmp 0x1400281de
movsx rax, word [rdi + 0x8a]
cmp ax, 0xffff
je 0x1400281ce
mov rbp, rax
test eax, eax
js 0x140028197
cmp ebp, dword [rbx + 0x39d8]
jl 0x1400281b1
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 0x1400281de
movss xmm6, dword [rdi + 0x28]
ucomiss xmm6, xmm7
jp 0x1400281de
jne 0x1400281de
movaps xmm6, xmm8
movss xmm0, dword [rdi + 0x28]
ucomiss xmm0, xmm7
jp 0x1400281ea
je 0x14002824c
ucomiss xmm6, xmm0
jp 0x1400281f1
je 0x14002824c
test dword [rbx + 8], 0x4000
movaps xmm5, xmm6
divss xmm5, xmm0
je 0x14002824c
mov rcx, qword [rdi + 0x60]
test rcx, rcx
je 0x140028214
movaps xmm1, xmm5
call fcn.14000ede0
jmp 0x14002824c
mov rax, qword [0x1401b72c0]
mov rdx, qword [rax + 0x40e8]
movsxd rax, dword [rax + 0x40e0]
lea r8, [rdx + rax*8]
cmp rdx, r8
je 0x14002824c
mov rcx, qword [rdx]
cmp qword [rcx + 0x40], rdi
jne 0x140028243
movaps xmm1, xmm5
call fcn.14000ede0
add rdx, 8
cmp rdx, r8
jne 0x140028232
mov r12d, dword [rsp + 0xb0]
movss dword [rdi + 0x28], xmm6
mov eax, dword [rbx + 0x4c78]
inc esi
add r14, 8
cmp esi, eax
jl 0x140027f70
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 [0x1400d9d1c]
movaps xmm4, xmm2
movss xmm3, dword [0x1400d9ce0]
movaps xmm7, xmmword [rsp + 0x50]
mov r14, qword [rsp + 0x70]
mov rbp, qword [rsp + 0xc8]
cmp dword [rbx + 0x39d8], r15d
jne 0x1400283f1
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 0x140028334
movss dword [rbx + 0x4ce0], xmm0
movaps xmm5, xmm0
movss xmm3, dword [rbx + 0x4ce4]
movss xmm0, dword [rbx + 0x4cc4]
comiss xmm3, xmm0
jbe 0x140028354
movss dword [rbx + 0x4ce4], xmm0
movaps xmm3, xmm0
movss xmm2, dword [rbx + 0x4ce8]
movss xmm0, dword [rbx + 0x4cc0]
comiss xmm0, xmm2
jbe 0x140028374
movss dword [rbx + 0x4ce8], xmm0
movaps xmm2, xmm0
movss xmm4, dword [rbx + 0x4cec]
movss xmm0, dword [rbx + 0x4cc4]
comiss xmm0, xmm4
jbe 0x140028394
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 0x1400283c1
movss dword [rbx + 0x4ce0], xmm1
comiss xmm3, xmm0
jbe 0x1400283d1
movss dword [rbx + 0x4ce4], xmm0
movaps xmm3, xmm0
comiss xmm1, xmm2
jbe 0x1400283e1
movss dword [rbx + 0x4ce8], xmm1
movaps xmm2, xmm1
comiss xmm0, xmm4
jbe 0x1400283f1
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 0x1400284d6
movss xmm5, dword [rbx + 0x4ce0]
lea rax, [rcx + 0x14]
nop
movss xmm0, dword [rax - 4]
comiss xmm5, xmm0
jbe 0x140028435
movss dword [rbx + 0x4ce0], xmm0
movaps xmm5, xmm0
movss xmm0, dword [rax]
comiss xmm3, xmm0
jbe 0x140028449
movss dword [rbx + 0x4ce4], xmm0
movaps xmm3, xmm0
movss xmm0, dword [rax - 4]
comiss xmm0, xmm2
jbe 0x14002845e
movss dword [rbx + 0x4ce8], xmm0
movaps xmm2, xmm0
movss xmm0, dword [rax]
comiss xmm0, xmm4
jbe 0x140028472
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 0x140028495
movss dword [rbx + 0x4ce0], xmm1
movaps xmm5, xmm1
comiss xmm3, xmm0
jbe 0x1400284a5
movss dword [rbx + 0x4ce4], xmm0
movaps xmm3, xmm0
comiss xmm1, xmm2
jbe 0x1400284b5
movss dword [rbx + 0x4ce8], xmm1
movaps xmm2, xmm1
comiss xmm0, xmm4
jbe 0x1400284c5
movss dword [rbx + 0x4cec], xmm0
movaps xmm4, xmm0
add rcx, 0x30
add rax, 0x30
cmp rcx, rdx
jne 0x140028420
test r12b, r12b
mov r12, qword [rsp + 0x78]
jne 0x1400284ec
mov qword [rbx + 0x4c98], r13
jmp 0x140028716
test dword [rbx + 0xc], 0x800
je 0x14002860b
mov edx, dword [rbx + 0xe64]
test edx, edx
je 0x14002855b
mov rax, qword [0x1401b72c0]
mov rcx, qword [rax + 0x4c80]
movsxd rax, dword [rax + 0x4c78]
lea r8, [rcx + rax*8]
cmp rcx, r8
je 0x140028531
mov rdi, qword [rcx]
cmp dword [rdi], edx
je 0x140028534
add rcx, 8
cmp rcx, r8
jne 0x140028521
mov rdi, r15
test rdi, rdi
je 0x140028693
test byte [rdi + 4], 0x80
je 0x140028693
lea rcx, [rbx + 0xe48]
call fcn.140027b10
mov rdi, rax
jmp 0x140028693
lea rcx, [rbx + 0x4ca0]
mov rdi, r15
mov rsi, rcx
mov rcx, qword [rcx]
mov rdx, rcx
test rcx, rcx
jne 0x1400285a6
cmp dword [rbx + 0x4c78], r15d
jg 0x140028596
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 0x1400285bb
mov rax, qword [rax + 0x40]
test rax, rax
jne 0x1400285be
mov rax, rcx
mov qword [rbx + 0x4c98], rax
movzx ecx, byte [rbx + 0x4f34]
test cl, cl
je 0x1400286bc
test rdi, rdi
jne 0x1400286b4
mov rdi, rdx
mov rcx, rax
test rdi, rdi
je 0x1400286f7
cmp rdi, rax
je 0x1400286f7
test byte [rdi + 4], 0x80
jne 0x1400286f7
mov qword [rbx + 0x4c98], rdi
jmp 0x140028716
mov rax, qword [0x1401b72c0]
mov rdi, r15
mov rdx, qword [rax + 0x4c80]
movsxd rax, dword [rax + 0x4c78]
lea r8, [rdx + rax*8]
cmp rdx, r8
je 0x140028693
nop dword [rax]
mov rcx, qword [rdx]
test dword [rcx + 4], 0x1080
jne 0x14002868a
movss xmm0, dword [rcx + 8]
movss xmm3, dword [rcx + 0xc]
movaps xmm1, xmm0
movss xmm4, dword [rbx + 0xe48]
movaps xmm2, xmm3
comiss xmm4, xmm0
addss xmm1, dword [rcx + 0x10]
addss xmm2, dword [rcx + 0x14]
jb 0x14002868a
movss xmm0, dword [rbx + 0xe4c]
comiss xmm0, xmm3
jb 0x14002868a
comiss xmm1, xmm4
jbe 0x14002868a
comiss xmm2, xmm0
jbe 0x14002868a
test rdi, rdi
je 0x140028687
mov eax, dword [rcx + 0x70]
cmp dword [rdi + 0x70], eax
jge 0x14002868a
mov rdi, rcx
add rdx, 8
cmp rdx, r8
jne 0x140028630
lea rcx, [rbx + 0x4ca0]
mov rsi, rcx
test rdi, rdi
je 0x140028568
mov qword [rcx], rdi
mov rdx, rdi
mov rcx, rdi
jmp 0x1400285a6
test cl, cl
jne 0x1400285e0
cmp dword [rbx + 0x41a4], r15d
je 0x1400285e0
mov rax, qword [0x1401b72c0]
cmp byte [rax + r15 + 0xe50], 0
jne 0x1400286f0
inc r15
cmp r15, 5
jl 0x1400286d0
mov rax, qword [rbx + 0x4c98]
jmp 0x1400285e0
mov rcx, qword [rbx + 0x4c98]
test rcx, rcx
jne 0x140028716
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