Function at 0x140105480
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
mov eax, 0x11d20
call fcn.1401354c0
sub rsp, rax
lea rdi, [rsp + 0x30]
mov ecx, 0x473c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x11d30]
mov rax, qword [0x14031eae8]
xor rax, rsp
mov qword [rsp + 0x11d10], rax
mov rax, qword [rsp + 0x11d38]
movzx eax, word [rax]
cmp eax, 0x41
je 0x1401054f1
mov rax, qword [rsp + 0x11d38]
movzx eax, word [rax]
cmp eax, 0x61
jne 0x1401055b8
mov rax, qword [rsp + 0x11d38]
movzx eax, word [rax + 2]
test eax, eax
jne 0x1401055b8
mov rax, qword [rsp + 0x11d40]
movzx eax, word [rax]
test eax, eax
jne 0x1401055b8
mov rax, qword [rsp + 0x11d48]
movzx eax, word [rax]
test eax, eax
jne 0x1401055b8
mov rax, qword [rsp + 0x11d50]
movzx eax, word [rax]
test eax, eax
jne 0x1401055b8
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x140105589
mov rax, qword [rsp + 0x11d30]
movzx eax, byte [rax + 0xbf]
test eax, eax
jne 0x140105589
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x140105580
mov rcx, qword [rsp + 0x30]
call fcn.1401037a0
movzx eax, al
test eax, eax
je 0x140105589
mov qword [rsp + 0x30], 0
movzx eax, byte [rsp + 0x11d60]
test eax, eax
je 0x1401055ae
cmp qword [rsp + 0x30], 0
je 0x1401055ae
mov rax, qword [rsp + 0x11d30]
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x38], rcx
mov rax, qword [rsp + 0x30]
jmp 0x14010576f
mov rax, qword [rsp + 0x11d38]
movzx eax, word [rax]
test eax, eax
jne 0x140105606
mov rax, qword [rsp + 0x11d40]
movzx eax, word [rax]
test eax, eax
jne 0x140105606
mov rax, qword [rsp + 0x11d48]
movzx eax, word [rax]
test eax, eax
jne 0x140105606
mov rax, qword [rsp + 0x11d50]
movzx eax, word [rax]
test eax, eax
jne 0x140105606
mov rcx, qword [rsp + 0x11d30]
call fcn.140102eb0
jmp 0x14010576f
lea rcx, [rsp + 0x50]
call fcn.140064a30
mov rax, qword [rsp + 0x11d30]
add rax, 0x80
mov rcx, qword [rsp + 0x11d50]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x11d48]
mov qword [rsp + 0x20], rcx
mov r9, qword [rsp + 0x11d40]
mov r8, qword [rsp + 0x11d38]
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140103d00
test eax, eax
jne 0x140105660
xor eax, eax
jmp 0x14010576f
movzx eax, byte [rsp + 0x11d58]
mov byte [rsp + 0x18a1], al
mov rax, qword [rsp + 0x11d68]
mov qword [rsp + 0x18b8], rax
mov eax, dword [rsp + 0x11d70]
mov dword [rsp + 0x18c0], eax
mov eax, dword [rsp + 0x50]
and eax, 2
test eax, eax
je 0x14010572a
cmp qword [rsp + 0x1088], 0xffff
je 0x140105701
mov rcx, qword [rsp + 0x1088]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1401056fd
mov rax, qword [rsp + 0x11d30]
add rax, 0x80
mov rdx, qword [rsp + 0x1088]
mov rcx, rax
call fcn.140102640
movzx eax, al
test eax, eax
jne 0x140105701
mov edx, 0xfffffff0
mov rcx, qword [rsp + 0x1088]
call qword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0x40000000
test eax, eax
jne 0x140105701
xor eax, eax
jmp 0x14010576f
mov rdx, qword [rsp + 0x1088]
lea rcx, [rsp + 0x50]
call fcn.140103cb0
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.140103180
test rax, rax
jne 0x140105728
xor eax, eax
jmp 0x14010576f
jmp 0x14010573c
lea rdx, [rsp + 0x50]
lea rcx, [0x140102cd0]
call qword [sym.imp.USER32.dll_EnumWindows]
movzx eax, byte [rsp + 0x11d60]
test eax, eax
je 0x140105767
cmp qword [rsp + 0x18a8], 0
je 0x140105767
mov rax, qword [rsp + 0x11d30]
mov rcx, qword [rsp + 0x18a8]
mov qword [rax + 0x38], rcx
mov rax, qword [rsp + 0x18a8]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1402a85e0]
call fcn.140134a00
mov rax, rdi
mov rcx, qword [rsp + 0x11d10]
xor rcx, rsp
call fcn.140135520
add rsp, 0x11d20
pop rdi
ret