Function at 0x14005bcd0
Capabilities:
Enumerate gui resources

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x68
mov rdi, rcx
mov rbx, qword [rcx + 0x30]
test rbx, rbx
je 0x14005bd55
mov rbx, qword [rbx + 0x10]
test rbx, rbx
je 0x14005bd55
mov rax, rbx
nop dword [rax]
mov rcx, qword [rax + 0x68]
test rcx, rcx
je 0x14005bd12
mov rdx, qword [rcx + 0x10]
test rdx, rdx
jne 0x14005bd8d
mov rax, qword [rax + 0x30]
test rax, rax
jne 0x14005bd00
mov rax, qword [0x1405a7808]
test rax, rax
jne 0x14005bd48
mov ecx, 0x1b0
call fcn.1400c9d40
mov qword [rsp + 0xb0], rax
mov rcx, rax
call fcn.140231320
mov qword [0x1405a7808], rax
mov rcx, rax
call fcn.14025b4e0
mov rdx, rax
jmp 0x14005bd8d
mov rax, qword [0x1405a7808]
test rax, rax
jne 0x14005bd82
mov ecx, 0x1b0
call fcn.1400c9d40
mov qword [rsp + 0xb0], rax
mov rcx, rax
call fcn.140231320
mov qword [0x1405a7808], rax
mov rcx, rax
call fcn.14025b4e0
mov rdx, rax
lea r14, [rdx + 0x38]
mov rax, qword [r14]
mov rbp, qword [rax + 8]
mov r15d, dword [rdi + 0x2c]
mov r12d, dword [rdi + 8]
mov edx, 2
lea rcx, [rdi + 0x20]
call fcn.14012fcd0
mov rcx, qword [rax]
mov qword [rsp + 0x58], rcx
add rcx, 0xfffffffffffffff0
lea r13, [0x140592ec8]
cmp rcx, r13
je 0x14005bdc9
lock inc dword [rcx]
mov edx, 1
lea rcx, [rdi + 0x20]
call fcn.14012fcd0
mov rdx, qword [rax]
mov qword [rsp + 0x50], rdx
add rdx, 0xfffffffffffffff0
cmp rdx, r13
je 0x14005bdeb
lock inc dword [rdx]
xor edx, edx
lea rcx, [rdi + 0x20]
call fcn.14012fcd0
mov rcx, qword [rax]
mov qword [rsp + 0xc8], rcx
add rcx, 0xfffffffffffffff0
cmp rcx, r13
je 0x14005be0d
lock inc dword [rcx]
mov rax, qword [rdi + 0x18]
mov qword [rsp + 0xc0], rax
add rax, 0xfffffffffffffff0
cmp rax, r13
je 0x14005be25
lock inc dword [rax]
mov rax, qword [rdi + 0x10]
mov qword [rsp + 0xb8], rax
add rax, 0xfffffffffffffff0
cmp rax, r13
je 0x14005be3d
lock inc dword [rax]
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x38], r15d
mov dword [rsp + 0x30], r12d
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xc8]
lea r8, [rsp + 0xc0]
lea rdx, [rsp + 0xb8]
mov rcx, r14
call rbp
mov rdx, rax
lea rcx, [rdi + 0x40]
call fcn.1400a2930
nop
mov rcx, qword [rsp + 0xb8]
add rcx, 0xfffffffffffffff0
cmp rcx, r13
je 0x14005beb1
mov eax, 0xffffffff
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x14005beb1
call fcn.1400c9d7c
nop
mov rcx, qword [rsp + 0xc0]
add rcx, 0xfffffffffffffff0
cmp rcx, r13
je 0x14005bed8
mov eax, 0xffffffff
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x14005bed8
call fcn.1400c9d7c
nop
mov rcx, qword [rsp + 0xc8]
add rcx, 0xfffffffffffffff0
cmp rcx, r13
je 0x14005beff
mov eax, 0xffffffff
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x14005beff
call fcn.1400c9d7c
nop
mov rcx, qword [rsp + 0x50]
add rcx, 0xfffffffffffffff0
cmp rcx, r13
je 0x14005bf23
mov eax, 0xffffffff
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x14005bf23
call fcn.1400c9d7c
nop
mov rcx, qword [rsp + 0x58]
add rcx, 0xfffffffffffffff0
cmp rcx, r13
je 0x14005bf46
mov eax, 0xffffffff
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x14005bf46
call fcn.1400c9d7c
mov rcx, qword [rdi + 0x40]
test rcx, rcx
je 0x14005c09a
cmp qword [rcx + 0x10], 0
je 0x14005c09a
mov rsi, qword [rdi + 0x38]
test rsi, rsi
je 0x14005c00e
mov rsi, qword [rsi + 0x10]
test rsi, rsi
je 0x14005c00e
mov dword [rsp + 0x20], 0
lea r9, vtable.type_info.0
lea r8, vtable.type_info.0
xor edx, edx
mov rcx, qword [rcx + 0x10]
call fcn.1400cc570
mov rbx, rax
test rax, rax
je 0x14005bfc1
mov rcx, qword [rax]
mov r9, qword [rcx + 0x58]
mov dl, 1
mov rcx, rax
call r9
mov r8d, 0xffffffff
mov rdx, rbx
mov rcx, rsi
call fcn.140238b90
mov rax, qword [rdi + 0x30]
test rax, rax
je 0x14005bfd1
cmp qword [rax + 0x10], 0
jne 0x14005c00e
lea rcx, [rdi + 0x40]
call fcn.1400a14a0
mov r8, rax
mov eax, dword [rsi + 0x44]
cdq
sub eax, edx
sar eax, 1
mov ecx, eax
mov eax, dword [rsi + 0x40]
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0xb0], eax
mov dword [rsp + 0xb4], ecx
mov rdx, qword [rsp + 0xb0]
mov rcx, r8
call fcn.140239810
nop
mov rax, qword [rdi + 0x40]
test rax, rax
je 0x14005c01d
mov rcx, qword [rax + 0x10]
jmp 0x14005c01f
xor ecx, ecx
mov dword [rsp + 0x20], 0
lea r9, vtable.type_info.0
lea r8, vtable.type_info.0
xor edx, edx
call fcn.1400cc570
mov rbx, rax
mov byte [rsp + 0xb0], 0
lea rdx, [rsp + 0xb0]
lea rcx, [0x140248c70]
call qword [sym.imp.USER32.dll_EnumWindows]
movzx edx, byte [rsp + 0xb0]
mov rcx, rbx
call fcn.14023a4a0
nop
mov rcx, qword [rdi + 0x40]
test rcx, rcx
je 0x14005c07a
mov rcx, qword [rcx + 0x10]
mov dword [rsp + 0x20], 0
lea r9, vtable.type_info.0
lea r8, vtable.type_info.0
xor edx, edx
call fcn.1400cc570
nop
jmp 0x14005c09c
xor eax, eax
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret