Function at 0x14001c7b0
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r14
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x140317e98]
xor rax, rsp
mov qword [rbp], rax
lea rcx, [rsp + 0x30]
call fcn.140018ae0
nop
lea r8, str._loginframe
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.14000bd80
nop
call fcn.140004b20
test rax, rax
je 0x14001cae5
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
add rax, 0x18
mov qword [rsp + 0x20], rax
lea r14, [0x140241920]
mov rbx, 0xffffffffffffffff
cmp r14, 0x10000
jae 0x14001c847
movzx edx, r14w
lea rcx, [rsp + 0x20]
call fcn.1400054f0
jmp 0x14001c86c
mov rax, rbx
nop word [rax + rax]
inc rax
cmp word [r14 + rax*2], 0
jne 0x14001c850
mov r8d, eax
mov rdx, r14
lea rcx, [rsp + 0x20]
call fcn.14000ac20
nop
mov dword [rsp + 0x40], 0x25bf
mov rcx, qword [rsp + 0x38]
add rcx, 0xffffffffffffffe8
call fcn.14000c360
add rax, 0x18
mov qword [rsp + 0x48], rax
mov rdi, qword [rsp + 0x20]
lea rcx, [rdi - 0x18]
call fcn.14000c360
add rax, 0x18
mov qword [rsp + 0x50], rax
mov byte [rsp + 0x58], 0
lea r12, vtable.std::_Func_impl_no_alloc_class__lambda_7d98a55614e642993372e4126df9e37c___bool__struct_HWND______ptr64__unsigned_long_int__class_ATL::CStringT_wchar_t__class_ATL::StrTraitATL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____.0
mov qword [rsp + 0x60], r12
lea rax, [rsp + 0x60]
mov qword [rbp - 0x68], rax
lea rdx, [rsp + 0x40]
lea rcx, [0x140017c50]
call qword [sym.imp.USER32.dll_EnumWindows]
movzx esi, byte [rsp + 0x58]
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x14001c8f5
mov rax, qword [rcx]
lea rdx, [rsp + 0x60]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rbp - 0x68], 0
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14001c913
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14001c932
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov eax, ebx
lock xadd dword [rdi - 8], eax
sub eax, 1
jg 0x14001c94c
mov rcx, qword [rdi - 0x18]
mov rax, qword [rcx]
lea rdx, [rdi - 0x18]
call qword [rax + 8]
test sil, sil
jne 0x14001ca7c
call fcn.140004b20
test rax, rax
je 0x14001cae5
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
add rax, 0x18
mov qword [rsp + 0x28], rax
cmp r14, 0x10000
jae 0x14001c98e
movzx edx, r14w
lea rcx, [rsp + 0x28]
call fcn.1400054f0
jmp 0x14001c9ad
mov rax, rbx
inc rax
cmp word [r14 + rax*2], 0
jne 0x14001c991
mov r8d, eax
mov rdx, r14
lea rcx, [rsp + 0x28]
call fcn.14000ac20
nop
mov dword [rbp - 0x60], 0x25bf
mov rcx, qword [rsp + 0x30]
add rcx, 0xffffffffffffffe8
call fcn.14000c360
add rax, 0x18
mov qword [rbp - 0x58], rax
mov rdi, qword [rsp + 0x28]
lea rcx, [rdi - 0x18]
call fcn.14000c360
add rax, 0x18
mov qword [rbp - 0x50], rax
mov byte [rbp - 0x48], 0
mov qword [rbp - 0x40], r12
lea rax, [rbp - 0x40]
mov qword [rbp - 8], rax
lea rdx, [rbp - 0x60]
lea rcx, [0x140017c50]
call qword [sym.imp.USER32.dll_EnumWindows]
movzx esi, byte [rbp - 0x48]
mov rcx, qword [rbp - 8]
test rcx, rcx
je 0x14001ca26
mov rax, qword [rcx]
lea rdx, [rbp - 0x40]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rbp - 8], 0
mov rdx, qword [rbp - 0x50]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14001ca43
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdx, qword [rbp - 0x58]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14001ca61
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov eax, ebx
lock xadd dword [rdi - 8], eax
sub eax, 1
jg 0x14001ca7c
mov rcx, qword [rdi - 0x18]
mov rax, qword [rcx]
lea rdx, [rdi - 0x18]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14001ca9b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x14001cab8
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [r8 + 8]
movzx eax, sil
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.1400d7670
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop r12
pop rbp
ret
mov ecx, 0x80004005
call fcn.1400049a0
int3