Function at 0x140006708
Capabilities:
Enumerate gui resources

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x3f]
sub rsp, 0xa0
mov rsi, rcx
mov rcx, r9
mov r13, r9
mov rdi, r8
mov rbx, rdx
call fcn.140007220
lea r14, [rsi + 0x188]
mov rcx, r14
call fcn.140007220
mov r11b, byte [rbp + 0x7f]
mov al, byte [rbp + 0x77]
lea rcx, [rsi + 0x18]
mov rdx, rbx
mov byte [rsi + 8], r11b
mov byte [rsi + 9], al
call fcn.140001d50
lea rcx, [rsi + 0x38]
mov rdx, rdi
call fcn.140001d50
lea rbx, [rsi + 0x148]
lea rdx, [0x14008b090]
mov rcx, rbx
call fcn.1400025a8
mov eax, dword [rbp + 0x67]
mov edi, 1
mov dword [rsi + 0x14], eax
xor eax, eax
lea rcx, [rbp - 0x49]
mov byte [rsi + 0x10], dil
mov qword [rsi + 0x168], rdi
mov dword [rsi + 0xc], eax
mov dword [rsi + 0x180], eax
call fcn.140001cc0
lea rcx, [rbp - 0x29]
call fcn.140001cc0
lea rcx, [rbp - 9]
call fcn.140001cc0
mov ecx, dword [rsi + 0x14]
test ecx, ecx
jns 0x1400067d9
call fcn.140073920
mov byte [rsi + 0x10], 0
mov dword [rsi + 0x14], eax
cmp dword [rsi + 0x14], 4
jne 0x1400067eb
lea rcx, [rsi + 0x18]
call fcn.1400062d4
mov dword [rsi + 0x14], edi
cmp qword [rsi + 0x20], 0
jne 0x140006819
cmp qword [rsi + 0x40], 0
jne 0x140006819
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rsi
mov rdx, rax
call fcn.140006294
mov r11, qword [rsi]
mov rcx, qword [r11]
mov qword [rbp + 0x47], rcx
jmp 0x140006b35
lea rcx, [rsi + 0x18]
xor edx, edx
call fcn.140002570
cmp word [rax], 0x5b
jne 0x140006b79
mov rdx, qword [rsi + 0x20]
lea rcx, [rsi + 0x18]
dec rdx
call fcn.140002570
cmp word [rax], 0x5d
jne 0x140006b79
mov r14, qword [rsi + 0x20]
mov qword [rbp + 0x47], rdi
sub r14, 2
lea r9, [rbp + 0x47]
lea r8, [rbp - 0x29]
lea rdx, [rbp - 0x49]
lea rcx, [rsi + 0x18]
mov qword [rsp + 0x20], r14
call fcn.140006508
test al, al
je 0x140006b72
lea rdx, str.LAST
lea rcx, [rbp - 0x49]
call fcn.140005cf8
test al, al
jne 0x140006b46
lea rdx, str.ACTIVE
lea rcx, [rbp - 0x49]
call fcn.140005cf8
test al, al
jne 0x140006b06
lea rdx, [0x14008b3a8]
lea rcx, [rbp - 0x49]
call fcn.140005cf8
test al, al
jne 0x140006ae5
lea rdx, str.REGEXPTITLE
lea rcx, [rbp - 0x49]
call fcn.140005cf8
test al, al
je 0x1400068f7
mov eax, dword [rsi + 0xc]
test dil, al
jne 0x140006ad1
or eax, 2
lea rcx, [rsi + 0x58]
mov dword [rsi + 0xc], eax
call fcn.140009180
lea rdx, [rbp - 0x59]
lea rcx, [rsi + 0x58]
jmp 0x140006946
lea rdx, str.CLASS
lea rcx, [rbp - 0x49]
call fcn.140005cf8
test al, al
je 0x140006917
or dword [rsi + 0xc], 8
mov rcx, rbx
jmp 0x140006a99
lea rdx, str.REGEXPCLASS
lea rcx, [rbp - 0x49]
call fcn.140005cf8
test al, al
je 0x140006964
or dword [rsi + 0xc], 0x10
lea rcx, [rsi + 0xd0]
call fcn.140009180
lea rdx, [rbp - 0x51]
lea rcx, [rsi + 0xd0]
lea r8, [rbp - 0x29]
call fcn.1400091c8
cmp dword [rax], 0
jne 0x140006ac7
lea rbx, [rsi + 0x148]
jmp 0x140006854
lea rdx, str.XYWH
lea rcx, [rbp - 0x49]
call fcn.140005cf8
test al, al
je 0x140006991
mov rcx, qword [rbp - 0x29]
bts dword [rsi + 0xc], 7
call fcn.14007009c
mov dword [rsi + 0x170], eax
jmp 0x140006854
lea rdx, [0x14008b278]
lea rcx, [rbp - 0x49]
call fcn.140005cf8
test al, al
je 0x1400069be
mov rcx, qword [rbp - 0x29]
bts dword [rsi + 0xc], 8
call fcn.14007009c
mov dword [rsi + 0x174], eax
jmp 0x140006854
lea rdx, [0x14008b27c]
lea rcx, [rbp - 0x49]
call fcn.140005cf8
test al, al
je 0x1400069eb
mov rcx, qword [rbp - 0x29]
bts dword [rsi + 0xc], 9
call fcn.14007009c
mov dword [rsi + 0x178], eax
jmp 0x140006854
lea rdx, [0x14008b280]
lea rcx, [rbp - 0x49]
call fcn.140005cf8
test al, al
je 0x140006a18
mov rcx, qword [rbp - 0x29]
bts dword [rsi + 0xc], 0xa
call fcn.14007009c
mov dword [rsi + 0x17c], eax
jmp 0x140006854
lea rdx, str.INSTANCE
lea rcx, [rbp - 0x49]
call fcn.140005cf8
test al, al
je 0x140006a44
mov rcx, qword [rbp - 0x29]
or dword [rsi + 0xc], 0x20
call fcn.14007009c
mov dword [rsi + 0x168], eax
jmp 0x140006854
lea rdx, [0x14008b390]
lea rcx, [rbp - 0x49]
call fcn.140005cf8
test al, al
je 0x140006a75
lea rdx, [0x14008b090]
lea rcx, [rbp - 0x29]
call fcn.140005cf8
test al, al
je 0x140006abf
or dword [rsi + 0xc], 0x40
jmp 0x140006854
lea rdx, str.TITLE
lea rcx, [rbp - 0x49]
call fcn.140005cf8
test al, al
je 0x140006aa7
mov eax, dword [rsi + 0xc]
test al, 2
jne 0x140006adb
or eax, edi
lea rcx, [rbp - 9]
mov dword [rsi + 0xc], eax
lea rdx, [rbp - 0x29]
call fcn.140001d50
jmp 0x140006854
lea rdx, [0x14008b090]
lea rcx, [rbp - 0x49]
call fcn.140005cf8
test al, al
jne 0x140006854
or edi, 0xffffffff
jmp 0x140006c3c
mov edi, 0xfffffffe
jmp 0x140006c3c
mov edi, 0xfffffffd
jmp 0x140006c3c
mov edi, 0xfffffffc
jmp 0x140006c3c
mov rcx, qword [rbp - 0x29]
lea rdx, [rbp + 0x47]
call fcn.1400138d8
mov rcx, qword [rbp + 0x47]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x140006b6b
mov rdx, qword [rbp + 0x47]
jmp 0x140006b23
lea rdx, [0x14008b090]
lea rcx, [rbp - 0x29]
call fcn.140005cf8
test al, al
je 0x140006abf
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rdx, rax
mov rcx, rsi
call fcn.140006294
mov r11, qword [rsi]
mov rax, qword [r11]
mov qword [rbp + 0x47], rax
lea rdx, [rbp + 0x47]
mov rcx, r13
call fcn.140007170
jmp 0x140006c3c
lea rdx, [0x14008b090]
lea rcx, [rbp - 0x29]
call fcn.140005cf8
test al, al
je 0x140006abf
mov rax, qword [rsi]
test rax, rax
je 0x140006b6b
mov rax, qword [rax]
jmp 0x140006b31
xor edi, edi
jmp 0x140006c3c
lea r14, [rsi + 0x188]
xor ebx, ebx
cmp qword [rbp - 1], rbx
je 0x140006b8e
lea rdx, [rbp - 9]
lea rcx, [rsi + 0x18]
call fcn.140001d50
mov eax, dword [rsi + 0xc]
cmp eax, ebx
cmove eax, edi
mov dword [rsi + 0xc], eax
or dword [rsi + 0xc], 4
cmp byte [rsi + 0x10], bl
jne 0x140006bb8
lea rcx, [rsi + 0x38]
call fcn.1400024e8
mov edx, dword [rsi + 0x40]
mov rcx, qword [rsi + 0x38]
call qword [sym.imp.USER32.dll_CharUpperBuffW]
test byte [rsi + 0xc], dil
je 0x140006bd9
cmp byte [rsi + 0x10], bl
jne 0x140006bd9
lea rcx, [rsi + 0x18]
call fcn.1400024e8
mov edx, dword [rsi + 0x20]
mov rcx, qword [rsi + 0x18]
call qword [sym.imp.USER32.dll_CharUpperBuffW]
cmp byte [rbp + 0x6f], bl
je 0x140006bf9
call qword [sym.imp.USER32.dll_GetDesktopWindow]
lea rdx, [0x140006c7c]
mov r8, rsi
mov rcx, rax
call qword [sym.imp.USER32.dll_EnumChildWindows]
jmp 0x140006c09
lea rcx, [0x140006c7c]
mov rdx, rsi
call qword [sym.imp.USER32.dll_EnumWindows]
mov rdx, r14
mov rcx, r13
call fcn.14000725c
mov rcx, r14
call fcn.140007220
cmp dword [rsi + 0x180], edi
jl 0x140006c36
mov rax, qword [r13 + 8]
mov rcx, rsi
mov rdx, qword [rax]
mov rdx, qword [rdx]
call fcn.140006294
mov edi, dword [rsi + 0x180]
lea rcx, [rbp - 9]
call fcn.140001d20
lea rcx, [rbp - 0x29]
call fcn.140001d20
lea rcx, [rbp - 0x49]
call fcn.140001d20
lea r11, [rsp + 0xa0]
mov eax, edi
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret