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

Disassembly:
mov rax, rsp
push rbx
push rsi
push r12
sub rsp, 0xb0
mov rsi, qword [0x1400c23a8]
mov qword [rax - 0x20], rbp
mov qword [rax - 0x40], r15
movaps xmmword [rax - 0x78], xmm8
mov ecx, dword [rsi + 0x4180]
cmp dword [rsi + 0x3850], ecx
jle 0x14005d0a0
mov r8d, 0x318f
lea rdx, str.C:UsersAdministratorDownloads_toadclicker_main_vendorimguiimgui.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 ecx, dword [rsi + 0x4180]
mov ebp, dword [rsi + 0x3cb8]
xor r12d, r12d
shr ebp, 0xa
mov eax, ecx
and bpl, 1
mov qword [rsp + 0xa0], rdi
mov dword [rsp + 0xd0], ebp
je 0x14005d145
mov ebp, r12d
test ecx, ecx
jle 0x14005d13e
mov edi, r12d
test rdi, rdi
js 0x14005d0da
cmp ebp, ecx
jl 0x14005d0f4
mov r8d, 0x753
lea rdx, [0x14009c4e0]
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 + 0x4188]
mov rbx, qword [rax + rdi*8]
mov rax, qword [rsi + 0x37d0]
test rax, rax
je 0x14005d12d
cmp byte [rbx + 0x82], r12b
je 0x14005d12d
mov rcx, rbx
call rax
mov ecx, dword [rbx + 4]
test al, al
je 0x14005d126
bts ecx, 0xa
jmp 0x14005d12a
btr ecx, 0xa
mov dword [rbx + 4], ecx
mov eax, dword [rsi + 0x4180]
inc ebp
inc rdi
mov ecx, eax
cmp ebp, eax
jl 0x14005d0d1
mov ebp, dword [rsp + 0xd0]
test eax, eax
jg 0x14005d163
mov r8d, 0x753
lea rdx, [0x14009c4e0]
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 + 0x4188]
mov rbx, qword [rax]
mov qword [rsp + 0xe8], rbx
cmp dword [rbx], 0x11111111
je 0x14005d197
mov r8d, 0x31a7
lea rdx, str.C:UsersAdministratorDownloads_toadclicker_main_vendorimguiimgui.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 + 0x88], r12
je 0x14005d1ba
mov r8d, 0x31a8
lea rdx, str.C:UsersAdministratorDownloads_toadclicker_main_vendorimguiimgui.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 0x14005d207
mov rax, qword [rsi + 0x37a8]
lea rcx, [rsp + 0xd8]
mov rdx, rbx
call rax
test dword [rbx + 4], 0x400
movsd xmm1, qword [rsi + 0x10]
movsd xmm0, qword [rax]
movsd qword [rsp + 0xe0], xmm0
movsd qword [rsp + 0xd8], xmm1
je 0x14005d232
movsd xmm0, qword [rbx + 8]
movsd xmm1, qword [rbx + 0x10]
jmp 0x14005d220
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], 0x1004
lea r8, [rsp + 0xe0]
mov edx, 0x11111111
xor ecx, ecx
call fcn.140034580
mov eax, dword [rsi + 0x4180]
mov r15d, r12d
mov dword [rsi + 0x4190], r12d
mov qword [rsi + 0x4198], r12
mov qword [rsi + 0x41a0], r12
test eax, eax
jle 0x14005d64f
mov qword [rsp + 0x98], r13
mov r13, r12
mov qword [rsp + 0x90], r14
movaps xmmword [rsp + 0x60], xmm7
movaps xmmword [rsp + 0x40], xmm9
movss xmm9, dword [0x140097f70]
movaps xmmword [rsp + 0x70], xmm6
test r15d, r15d
js 0x14005d2b2
cmp r15d, eax
jl 0x14005d2cc
mov r8d, 0x753
lea rdx, [0x14009c4e0]
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 + 0x4188]
mov rbx, qword [rax + r13]
mov dword [rbx + 0x60], r15d
test r15d, r15d
jle 0x14005d302
mov eax, dword [rsi + 0x3ed8]
sub eax, 2
cmp dword [rbx + 0x64], eax
jge 0x14005d302
mov rcx, rbx
call fcn.14003bce0
dec r15d
sub r13, 8
jmp 0x14005d611
movzx edi, byte [rbx + 0x82]
test bpl, bpl
je 0x14005d394
test dword [rbx + 4], 0x400
jne 0x14005d394
test dil, dil
je 0x14005d394
cmp byte [rbx + 0x58], r12b
je 0x14005d35a
mov rdx, rbx
lea rcx, [rsp + 0xd8]
call qword [rsi + 0x37a8]
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 + 0x59], r12b
je 0x14005d394
mov rdx, rbx
lea rcx, [rsp + 0xe0]
call qword [rsi + 0x37b8]
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.1400488d0
test dword [rbx + 4], 0x1000
lea rdx, [rbx + 0x70]
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 + 0x80], 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 + 0x78], 0x3f800000
maxss xmm0, xmm1
movss dword [rbx + 0x24], xmm0
subss xmm5, dword [rdx]
subss xmm6, dword [rdx + 4]
je 0x14005d4a0
ucomiss xmm5, xmm8
jp 0x14005d494
jne 0x14005d494
ucomiss xmm6, xmm8
jp 0x14005d494
je 0x14005d4a0
lea r8, [rbx + 8]
mov rcx, rbx
call fcn.14005a2c0
mov rax, qword [rsi + 0x3800]
test rax, rax
je 0x14005d4bb
test dil, dil
je 0x14005d4bb
mov rcx, rbx
call rax
movaps xmm6, xmm0
jmp 0x14005d516
movsx rax, word [rbx + 0x80]
cmp ax, 0xffff
je 0x14005d505
mov rdi, rax
test eax, eax
js 0x14005d4d8
cmp edi, dword [rsi + 0x3840]
jl 0x14005d4f2
mov r8d, 0x753
lea rdx, [0x14009c4e0]
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 + 0x3848]
lea rcx, [rdi + rdi*8]
movss xmm6, dword [rax + rcx*4 + 0x20]
jmp 0x14005d516
movss xmm6, dword [rbx + 0x28]
ucomiss xmm6, xmm8
jp 0x14005d516
jne 0x14005d516
movaps xmm6, xmm9
movss xmm0, dword [rbx + 0x28]
ucomiss xmm0, xmm8
jp 0x14005d527
je 0x14005d605
ucomiss xmm6, xmm0
jp 0x14005d532
je 0x14005d605
test dword [rsi + 8], 0x4000
movaps xmm7, xmm6
divss xmm7, xmm0
je 0x14005d605
mov rcx, qword [rbx + 0x88]
mov r14, qword [0x1400c23a8]
test rcx, rcx
je 0x14005d566
movaps xmm1, xmm7
call fcn.140057be0
jmp 0x14005d605
mov edx, dword [r14 + 0x3ef8]
mov ebp, r12d
mov rdi, r12
test edx, edx
je 0x14005d605
nop dword [rax + rax]
test rdi, rdi
js 0x14005d589
cmp ebp, edx
jl 0x14005d5aa
mov r8d, 0x753
lea rdx, [0x14009c4e0]
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 + 0x3ef8]
mov rax, qword [r14 + 0x3f00]
mov rcx, qword [rax + rdi*8]
cmp qword [rcx + 0x30], rbx
jne 0x14005d5f1
test rdi, rdi
js 0x14005d5c4
cmp ebp, edx
jl 0x14005d5de
mov r8d, 0x753
lea rdx, [0x14009c4e0]
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 + 0x3f00]
movaps xmm1, xmm7
mov rcx, qword [rcx + rdi*8]
call fcn.140057be0
mov edx, dword [r14 + 0x3ef8]
inc ebp
inc rdi
cmp ebp, edx
jne 0x14005d580
mov ebp, dword [rsp + 0xd0]
movss dword [rbx + 0x28], xmm6
mov eax, dword [rsi + 0x4180]
inc r15d
add r13, 8
cmp r15d, eax
jl 0x14005d2a8
movaps xmm9, xmmword [rsp + 0x40]
movaps xmm7, xmmword [rsp + 0x60]
movaps xmm6, xmmword [rsp + 0x70]
mov r14, qword [rsp + 0x90]
mov r13, qword [rsp + 0x98]
mov rbx, qword [rsp + 0xe8]
movaps xmm8, xmmword [rsp + 0x50]
mov r15, qword [rsp + 0x88]
cmp dword [rsi + 0x3840], r12d
jne 0x14005d6a3
movsd xmm0, qword [rbx + 8]
movsd qword [rsi + 0x41b4], xmm0
movsd xmm1, qword [rbx + 0x10]
movsd qword [rsi + 0x41bc], xmm1
movsd xmm0, qword [rbx + 0x18]
movsd qword [rsi + 0x41c4], xmm0
movsd xmm1, qword [rbx + 0x20]
movsd qword [rsi + 0x41cc], xmm1
mov eax, dword [rbx + 0x28]
mov dword [rsi + 0x41d4], eax
test bpl, bpl
mov rbp, qword [rsp + 0xa8]
jne 0x14005d6bc
mov qword [rsi + 0x41a0], rbx
jmp 0x14005d7f6
test dword [rsi + 0xc], 0x800
je 0x14005d6e2
mov ecx, dword [rsi + 0xd2c]
test ecx, ecx
je 0x14005d70b
call fcn.140048b10
mov rbx, rax
test rax, rax
je 0x14005d6f1
test byte [rax + 4], 0x80
je 0x14005d6f1
lea rcx, [rsi + 0xd14]
call fcn.140048430
mov rbx, rax
lea rcx, [rsi + 0x41a8]
mov rdi, rcx
test rbx, rbx
je 0x14005d718
mov qword [rcx], rbx
mov rdx, rbx
mov rcx, rbx
jmp 0x14005d756
lea rcx, [rsi + 0x41a8]
mov rbx, r12
mov rdi, rcx
mov rcx, qword [rcx]
mov rdx, rcx
test rcx, rcx
jne 0x14005d756
cmp dword [rsi + 0x4180], r12d
jg 0x14005d746
mov r8d, 0x753
lea rdx, [0x14009c4e0]
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 + 0x4188]
mov rcx, qword [rax]
mov qword [rdi], rcx
mov rdx, rcx
mov rax, qword [rsi + 0x3f78]
test rax, rax
je 0x14005d76b
mov rax, qword [rax + 0x30]
test rax, rax
jne 0x14005d76e
mov rax, rcx
mov qword [rsi + 0x41a0], rax
cmp byte [rsi + 0x4374], r12b
je 0x14005d787
test rbx, rbx
cmove rbx, rdx
jmp 0x14005d7bb
cmp dword [rsi + 0x3fac], r12d
je 0x14005d7bb
mov rax, qword [0x1400c23a8]
nop word [rax + rax]
cmp byte [r12 + rax + 0xd1c], 0
jne 0x14005d7d2
inc r12
cmp r12, 5
jl 0x14005d7a0
mov rax, qword [rsi + 0x41a0]
test rbx, rbx
je 0x14005d7d2
cmp rbx, rax
je 0x14005d7d2
test byte [rbx + 4], 0x80
jne 0x14005d7d2
mov qword [rsi + 0x41a0], rbx
cmp qword [rsi + 0x41a0], 0
jne 0x14005d7f6
mov r8d, 0x3237
lea rdx, str.C:UsersAdministratorDownloads_toadclicker_main_vendorimguiimgui.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