Function at 0x14008eb20
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xb0
mov rax, qword [0x140102040]
xor rax, rsp
mov qword [rbp + 0x4f], rax
xor esi, esi
xorps xmm0, xmm0
movups xmmword [rbp + 0x3f], xmm0
lea rcx, [rbp + 0x3f]
call fcn.14008e470
nop
mov eax, 1
xchg byte [0x140104060], al
mov ecx, 0x1d8
call fcn.1400aef04
mov rdi, rax
mov qword [rbp - 0x39], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_obj2_class_toad::ImGuiWindow_.0
mov qword [rdi], rax
lea rbx, [rdi + 0x10]
movups xmmword [rbp - 0x31], xmm0
mov qword [rbp - 0x21], rsi
mov qword [rbp - 0x19], rsi
mov r8d, 4
lea rdx, str.Toad
lea rcx, [rbp - 0x31]
call fcn.140064f40
mov r9d, 0x1f4
mov r8d, 0x190
lea rdx, [rbp - 0x31]
mov rcx, rbx
call fcn.1400aadc0
nop
mov qword [rbp + 0x3f], rbx
mov rbx, qword [rbp + 0x47]
mov qword [rbp + 0x47], rdi
mov esi, 0xffffffff
test rbx, rbx
je 0x14008ec15
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14008ec15
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14008ec15
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov rcx, qword [rbp + 0x3f]
lea rax, vtable.std::_Func_impl_no_alloc_void____cdecl___struct_ImGuiIO____ptr64___void__struct_ImGuiIO____ptr64_.0
mov qword [rbp - 9], rax
lea rax, [0x14008e700]
mov qword [rbp - 1], rax
lea rax, [rbp - 9]
mov qword [rbp + 0x2f], rax
mov byte [rcx + 0x9a], 1
add rcx, 0xc0
lea rdx, [rbp - 9]
call fcn.1400ac930
nop
mov rcx, qword [rbp + 0x2f]
test rcx, rcx
je 0x14008ec68
mov rax, qword [rcx]
lea rdx, [rbp - 9]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov rcx, qword [rbp + 0x3f]
call fcn.1400aaf10
mov rcx, qword [rbp + 0x3f]
movzx eax, byte [rcx + 0x98]
test al, al
je 0x14008ed56
movzx eax, byte [rcx + 0x99]
test al, al
jne 0x14008ed56
mov rbx, qword [0x140102198]
mov rdi, qword [0x1401021a0]
cmp rbx, rdi
je 0x14008ecc5
mov rcx, rbx
call fcn.1400658b0
add rbx, 0x30
cmp rbx, rdi
jne 0x14008eca6
mov rbx, qword [0x140102198]
mov qword [0x1401021a0], rbx
mov byte [rbp + 0x37], 0
lea rdx, [rbp + 0x37]
lea rcx, [0x140090d80]
call qword [sym.imp.USER32.dll_EnumWindows]
cmp dword [0x140104450], 0
je 0x14008ed40
cmp byte [rbp + 0x37], 0
jne 0x14008ed40
movzx eax, byte [0x14010407c]
movzx ecx, al
inc al
mov byte [0x14010407c], al
cmp cl, 2
jb 0x14008ed40
mov byte [0x140104070], 0
mov byte [0x14010407c], 0
mov rbx, qword [0x140102198]
mov rdi, qword [0x1401021a0]
cmp rbx, rdi
je 0x14008ed40
mov rcx, rbx
call fcn.1400658b0
add rbx, 0x30
cmp rbx, rdi
jne 0x14008ed21
mov rbx, qword [0x140102198]
mov qword [0x1401021a0], rbx
mov qword [rbp - 0x39], 0x5dc
lea rcx, [rbp - 0x39]
call fcn.14008e910
jmp 0x14008ec71
lea rcx, [rbp + 0x3f]
call fcn.14008e800
nop
lea rcx, [rbp + 0x3f]
call fcn.14008e800
mov rbx, qword [rbp + 0x47]
test rbx, rbx
je 0x14008ed9a
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14008ed9a
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x14008ed9a
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
nop
xor eax, eax
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.1400ae8c0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret