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

Disassembly:
mov rax, rsp
push rbx
push rsi
push r12
sub rsp, 0xb0
mov rsi, qword [0x1400cd240]
mov qword [rax - 0x20], rbp
mov qword [rax - 0x40], r15
movaps xmmword [rax - 0x78], xmm8
mov eax, dword [rsi + 0x49f8]
cmp dword [rsi + 0x38d0], eax
jle 0x14005b810
mov r8d, 0x3691
lea rdx, str.C:Users_baumg_source_reposSkyblockDLC_LoaderSkyblockDLC_Injectorincludesimguiimgui.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 [rsi + 0x49f8]
mov ebp, dword [rsi + 0x3d2c]
xor r12d, r12d
shr ebp, 0xa
and bpl, 1
mov qword [rsp + 0xa0], rdi
mov dword [rsp + 0xd0], ebp
mov qword [rsp + 0x90], r14
je 0x14005ba42
mov r14d, r12d
mov edi, r12d
test eax, eax
jle 0x14005ba42
mov ebp, r12d
nop
test rbp, rbp
js 0x14005b859
cmp edi, eax
jl 0x14005b873
mov r8d, 0x75c
lea rdx, str.C:Users_baumg_source_reposSkyblockDLC_LoaderSkyblockDLC_Injectorincludesimguiimgui.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 [rsi + 0x4a00]
mov rbx, qword [rax + rbp*8]
mov rax, qword [rsi + 0x3850]
movzx r15d, byte [rbx + 0x58]
test rax, rax
je 0x14005b8ad
test r15b, r15b
je 0x14005b8ad
mov rcx, rbx
call rax
mov ecx, dword [rbx + 4]
test al, al
je 0x14005b8a6
bts ecx, 0xc
jmp 0x14005b8aa
btr ecx, 0xc
mov dword [rbx + 4], ecx
mov rax, qword [rsi + 0x3848]
test rax, rax
je 0x14005b8da
test r15b, r15b
je 0x14005b8da
mov rcx, rbx
call rax
mov ecx, dword [rbx + 4]
test al, al
je 0x14005b8d3
bts ecx, 0xd
mov r14, rbx
jmp 0x14005b8d7
btr ecx, 0xd
mov dword [rbx + 4], ecx
mov eax, dword [rsi + 0x49f8]
inc edi
inc rbp
cmp edi, eax
jl 0x14005b850
test r14, r14
je 0x14005ba3b
mov eax, dword [r14]
cmp dword [rsi + 0x4a28], eax
je 0x14005ba1c
mov eax, dword [rsi + 0x4a60]
cmp dword [r14 + 0x70], eax
je 0x14005b91d
inc eax
mov dword [rsi + 0x4a60], eax
mov dword [r14 + 0x70], eax
mov eax, dword [r14]
mov r15, qword [0x1400cd240]
mov dword [rsi + 0x4a28], eax
mov rax, r12
cmp byte [r15 + rax + 0xe18], r12b
jne 0x14005ba1c
inc rax
cmp rax, 5
jl 0x14005b930
mov rax, qword [rsi + 0x4a68]
test rax, rax
je 0x14005b95d
cmp qword [rax + 0x38], r14
jne 0x14005b95d
mov al, 1
jmp 0x14005b95f
xor al, al
or al, byte [r14 + 0x88]
mov rcx, qword [r14 + 0x60]
mov byte [r14 + 0x88], al
test rcx, rcx
jne 0x14005ba12
test al, al
je 0x14005ba10
mov edi, dword [r15 + 0x3fb8]
sub edi, 1
movsxd rbp, edi
js 0x14005ba08
cmp edi, dword [r15 + 0x3fb8]
jl 0x14005b9b4
mov r8d, 0x75c
lea rdx, str.C:Users_baumg_source_reposSkyblockDLC_LoaderSkyblockDLC_Injectorincludesimguiimgui.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 [r15 + 0x3fc0]
mov rbx, qword [rax + rbp*8]
cmp rbx, qword [rbx + 0x3b8]
je 0x14005b9e2
mov r8d, 0x1d7a
lea rdx, str.C:Users_baumg_source_reposSkyblockDLC_LoaderSkyblockDLC_Injectorincludesimguiimgui.cpp
lea rcx, str.window__window__RootWindow
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
cmp byte [rbx + 0xec], r12b
je 0x14005ba00
cmp qword [rbx + 0x38], r14
jne 0x14005ba00
mov eax, dword [rbx + 0x14]
and eax, 0x40200
cmp eax, 0x40200
jne 0x14005ba0b
dec edi
sub rbp, 1
jns 0x14005b991
mov rbx, r12
mov rcx, rbx
jmp 0x14005ba12
xor ecx, ecx
mov edx, 3
call fcn.14004cd40
mov rax, qword [rsi + 0x4a68]
test rax, rax
je 0x14005ba32
cmp qword [rax + 0x38], r14
jne 0x14005ba32
mov al, 1
jmp 0x14005ba34
xor al, al
mov byte [r14 + 0x88], al
mov ebp, dword [rsp + 0xd0]
cmp dword [rsi + 0x49f8], r12d
jg 0x14005ba65
mov r8d, 0x75c
lea rdx, str.C:Users_baumg_source_reposSkyblockDLC_LoaderSkyblockDLC_Injectorincludesimguiimgui.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 [rsi + 0x4a00]
mov rbx, qword [rax]
mov qword [rsp + 0xe8], rbx
cmp dword [rbx], 0x11111111
je 0x14005ba99
mov r8d, 0x36d4
lea rdx, str.C:Users_baumg_source_reposSkyblockDLC_LoaderSkyblockDLC_Injectorincludesimguiimgui.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 [rbx + 0x60], r12
je 0x14005bab9
mov r8d, 0x36d5
lea rdx, str.C:Users_baumg_source_reposSkyblockDLC_LoaderSkyblockDLC_Injectorincludesimguiimgui.cpp
lea rcx, str.main_viewport__Window__0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
xorps xmm8, xmm8
test bpl, bpl
je 0x14005bb18
mov rdx, rbx
lea rcx, [rsp + 0xd8]
call qword [rsi + 0x3828]
test dword [rbx + 4], 0x1000
movsd xmm0, qword [rax]
lea rax, [rsp + 0xd8]
movsd qword [rsp + 0xd8], xmm0
movsd xmm1, qword [rax]
movsd xmm0, qword [rsi + 0x10]
movsd qword [rsp + 0xe0], xmm1
movsd qword [rsp + 0xd8], xmm0
je 0x14005bb43
movsd xmm0, qword [rbx + 8]
movsd xmm1, qword [rbx + 0x10]
jmp 0x14005bb31
movsd xmm1, qword [rsi + 0x10]
lea rax, [rsp + 0xd8]
mov qword [rsp + 0xd8], r12
movsd xmm0, qword [rax]
movsd qword [rsp + 0xd8], xmm1
movsd qword [rsp + 0xe0], xmm0
lea r9, [rsp + 0xd8]
mov dword [rsp + 0x20], 0x804
lea r8, [rsp + 0xe0]
mov edx, 0x11111111
xor ecx, ecx
call fcn.14005c2b0
mov eax, dword [rsi + 0x49f8]
mov r15d, r12d
mov dword [rsi + 0x4a08], r12d
mov qword [rsi + 0x4a10], r12
mov qword [rsi + 0x4a18], r12
test eax, eax
jle 0x14005bf4b
mov qword [rsp + 0x98], r13
mov r13, r12
movaps xmmword [rsp + 0x60], xmm7
movaps xmmword [rsp + 0x40], xmm9
movss xmm9, dword [0x1400b5b44]
movaps xmmword [rsp + 0x70], xmm6
test r15d, r15d
js 0x14005bbbb
cmp r15d, eax
jl 0x14005bbd5
mov r8d, 0x75c
lea rdx, str.C:Users_baumg_source_reposSkyblockDLC_LoaderSkyblockDLC_Injectorincludesimguiimgui.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 [rsi + 0x4a00]
mov rbx, qword [rax + r13]
mov dword [rbx + 0x68], r15d
test r15d, r15d
jle 0x14005bc0b
mov eax, dword [rsi + 0x3f60]
sub eax, 2
cmp dword [rbx + 0x6c], eax
jge 0x14005bc0b
mov rcx, rbx
call fcn.14005c670
dec r15d
sub r13, 8
jmp 0x14005bf15
movzx edi, byte [rbx + 0x58]
test bpl, bpl
je 0x14005bc9a
test dword [rbx + 4], 0x1000
jne 0x14005bc9a
test dil, dil
je 0x14005bc9a
cmp byte [rbx + 0x59], r12b
je 0x14005bc60
mov rdx, rbx
lea rcx, [rsp + 0xd8]
call qword [rsi + 0x3828]
movss xmm0, dword [rax]
movss xmm1, dword [rax + 4]
movss dword [rbx + 0x100], xmm0
movss dword [rbx + 0x104], xmm1
movss dword [rbx + 8], xmm0
movss dword [rbx + 0xc], xmm1
cmp byte [rbx + 0x5a], r12b
je 0x14005bc9a
mov rdx, rbx
lea rcx, [rsp + 0xe0]
call qword [rsi + 0x3838]
movss xmm0, dword [rax]
movss xmm1, dword [rax + 4]
movss dword [rbx + 0x108], xmm0
movss dword [rbx + 0x10c], xmm1
movss dword [rbx + 0x10], xmm0
movss dword [rbx + 0x14], xmm1
movss xmm0, dword [rbx + 8]
lea rcx, [rsp + 0x30]
movss xmm1, dword [rbx + 0xc]
movss dword [rsp + 0x30], xmm0
addss xmm0, dword [rbx + 0x10]
movss dword [rsp + 0x34], xmm1
addss xmm1, dword [rbx + 0x14]
movss dword [rsp + 0x38], xmm0
movss dword [rsp + 0x3c], xmm1
call fcn.14005d5d0
test dword [rbx + 4], 0x800
lea rdx, [rbx + 0x78]
movsd xmm4, qword [rbx + 0x128]
movsd xmm3, qword [rbx + 0x130]
movaps xmm0, xmm4
movss xmm6, dword [rbx + 0xc]
movaps xmm2, xmm4
movss xmm5, dword [rbx + 8]
movaps xmm1, xmm6
shufps xmm0, xmm0, 0x55
addss xmm2, xmm5
addss xmm1, xmm0
mov word [rbx + 0x8a], ax
movss xmm0, dword [rbx + 0x10]
subss xmm0, xmm4
mov qword [rbx + 0x130], r12
mov qword [rbx + 0x128], r12
movss dword [rbx + 0x18], xmm2
movaps xmm2, xmm8
movss dword [rbx + 0x1c], xmm1
movss xmm1, dword [rbx + 0x14]
addss xmm0, xmm3
movsd qword [rbx + 0x120], xmm3
movsd qword [rbx + 0x118], xmm4
maxss xmm2, xmm0
movaps xmm0, xmm4
shufps xmm0, xmm0, 0x55
subss xmm1, xmm0
movaps xmm0, xmm8
addss xmm1, dword [rbx + 0x124]
movss dword [rbx + 0x20], xmm2
mov dword [rbx + 0x80], 0x3f800000
maxss xmm0, xmm1
movss dword [rbx + 0x24], xmm0
subss xmm5, dword [rdx]
subss xmm6, dword [rdx + 4]
je 0x14005bda9
ucomiss xmm5, xmm8
jp 0x14005bd9d
jne 0x14005bd9d
ucomiss xmm6, xmm8
jp 0x14005bd9d
je 0x14005bda9
lea r8, [rbx + 8]
mov rcx, rbx
call fcn.14005b310
mov rax, qword [rsi + 0x3880]
test rax, rax
je 0x14005bdc4
test dil, dil
je 0x14005bdc4
mov rcx, rbx
call rax
movaps xmm6, xmm0
jmp 0x14005be22
movsx rax, word [rbx + 0x8a]
cmp ax, 0xffff
je 0x14005be11
mov rdi, rax
test eax, eax
js 0x14005bde1
cmp edi, dword [rsi + 0x38c0]
jl 0x14005bdfb
mov r8d, 0x75c
lea rdx, str.C:Users_baumg_source_reposSkyblockDLC_LoaderSkyblockDLC_Injectorincludesimguiimgui.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 [rsi + 0x38c8]
lea rcx, [rdi + rdi*2]
add rcx, rcx
movss xmm6, dword [rax + rcx*8 + 0x20]
jmp 0x14005be22
movss xmm6, dword [rbx + 0x28]
ucomiss xmm6, xmm8
jp 0x14005be22
jne 0x14005be22
movaps xmm6, xmm9
movss xmm0, dword [rbx + 0x28]
ucomiss xmm0, xmm8
jp 0x14005be33
je 0x14005bf09
ucomiss xmm6, xmm0
jp 0x14005be3e
je 0x14005bf09
test dword [rsi + 8], 0x4000
movaps xmm7, xmm6
divss xmm7, xmm0
je 0x14005bf09
mov rcx, qword [rbx + 0x60]
mov r14, qword [0x1400cd240]
test rcx, rcx
je 0x14005be6f
movaps xmm1, xmm7
call fcn.140041f60
jmp 0x14005bf09
mov edx, dword [r14 + 0x3fa8]
mov ebp, r12d
mov rdi, r12
test edx, edx
je 0x14005bf09
test rdi, rdi
js 0x14005be8d
cmp ebp, edx
jl 0x14005beae
mov r8d, 0x75c
lea rdx, str.C:Users_baumg_source_reposSkyblockDLC_LoaderSkyblockDLC_Injectorincludesimguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov edx, dword [r14 + 0x3fa8]
mov rax, qword [r14 + 0x3fb0]
mov rcx, qword [rax + rdi*8]
cmp qword [rcx + 0x38], rbx
jne 0x14005bef5
test rdi, rdi
js 0x14005bec8
cmp ebp, edx
jl 0x14005bee2
mov r8d, 0x75c
lea rdx, str.C:Users_baumg_source_reposSkyblockDLC_LoaderSkyblockDLC_Injectorincludesimguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [r14 + 0x3fb0]
movaps xmm1, xmm7
mov rcx, qword [rcx + rdi*8]
call fcn.140041f60
mov edx, dword [r14 + 0x3fa8]
inc ebp
inc rdi
cmp ebp, edx
jne 0x14005be84
mov ebp, dword [rsp + 0xd0]
movss dword [rbx + 0x28], xmm6
mov eax, dword [rsi + 0x49f8]
inc r15d
add r13, 8
cmp r15d, eax
jl 0x14005bbb1
mov rbx, qword [rsp + 0xe8]
movaps xmm9, xmmword [rsp + 0x40]
movaps xmm7, xmmword [rsp + 0x60]
movaps xmm6, xmmword [rsp + 0x70]
mov r13, qword [rsp + 0x98]
movaps xmm8, xmmword [rsp + 0x50]
mov r15, qword [rsp + 0x88]
mov r14, qword [rsp + 0x90]
cmp dword [rsi + 0x38c0], r12d
jne 0x14005bfa7
movsd xmm0, qword [rbx + 8]
movsd qword [rsi + 0x4a30], xmm0
movsd xmm1, qword [rbx + 0x10]
movsd qword [rsi + 0x4a38], xmm1
movsd xmm0, qword [rbx + 0x18]
movsd qword [rsi + 0x4a40], xmm0
movsd xmm1, qword [rbx + 0x20]
movsd qword [rsi + 0x4a48], xmm1
mov eax, dword [rbx + 0x28]
mov dword [rsi + 0x4a50], eax
test bpl, bpl
mov rbp, qword [rsp + 0xa8]
jne 0x14005bfc0
mov qword [rsi + 0x4a18], rbx
jmp 0x14005c0f6
test dword [rsi + 0xc], 0x800
je 0x14005bfe6
mov ecx, dword [rsi + 0xe2c]
test ecx, ecx
je 0x14005c00f
call fcn.14005aea0
mov rbx, rax
test rax, rax
je 0x14005bff5
test byte [rax + 4], 0x80
je 0x14005bff5
lea rcx, [rsi + 0xe10]
call fcn.14005b6d0
mov rbx, rax
lea rcx, [rsi + 0x4a20]
mov rdi, rcx
test rbx, rbx
je 0x14005c01c
mov qword [rcx], rbx
mov rdx, rbx
mov rcx, rbx
jmp 0x14005c05a
lea rcx, [rsi + 0x4a20]
mov rbx, r12
mov rdi, rcx
mov rcx, qword [rcx]
mov rdx, rcx
test rcx, rcx
jne 0x14005c05a
cmp dword [rsi + 0x49f8], r12d
jg 0x14005c04a
mov r8d, 0x75c
lea rdx, str.C:Users_baumg_source_reposSkyblockDLC_LoaderSkyblockDLC_Injectorincludesimguiimgui.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 [rsi + 0x4a00]
mov rcx, qword [rax]
mov qword [rdi], rcx
mov rdx, rcx
mov rax, qword [rsi + 0x4020]
test rax, rax
je 0x14005c06f
mov rax, qword [rax + 0x38]
test rax, rax
jne 0x14005c072
mov rax, rcx
mov qword [rsi + 0x4a18], rax
cmp byte [rsi + 0x4c0c], r12b
je 0x14005c08b
test rbx, rbx
cmove rbx, rdx
jmp 0x14005c0bb
cmp dword [rsi + 0x4068], r12d
je 0x14005c0bb
mov rax, qword [0x1400cd240]
nop dword [rax + rax]
cmp byte [rax + r12 + 0xe18], 0
jne 0x14005c0d2
inc r12
cmp r12, 5
jl 0x14005c0a0
mov rax, qword [rsi + 0x4a18]
test rbx, rbx
je 0x14005c0d2
cmp rbx, rax
je 0x14005c0d2
test byte [rbx + 4], 0x80
jne 0x14005c0d2
mov qword [rsi + 0x4a18], rbx
cmp qword [rsi + 0x4a18], 0
jne 0x14005c0f6
mov r8d, 0x3764
lea rdx, str.C:Users_baumg_source_reposSkyblockDLC_LoaderSkyblockDLC_Injectorincludesimguiimgui.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 + 0xa0]
add rsp, 0xb0
pop r12
pop rsi
pop rbx
ret