Function at 0x14004ddfc
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x290]
sub rsp, 0x390
mov rax, qword [0x1400dbc58]
xor rax, rsp
mov qword [rbp + 0x280], rax
mov rbx, rdx
mov rdi, rcx
lea r15, [rcx + 0xf0]
mov qword [rsp + 0x78], r15
xor r14d, r14d
cmp dword [r15 + 0x28], r14d
je 0x14004de50
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, 1
mov byte [rbp - 0x80], sil
movups xmm0, xmmword [0x14008bc60]
movdqu xmmword [rdi + 0x7c], xmm0
call fcn.140011af8
mov rcx, rax
call fcn.140012edc
mov r13, qword [rbx]
test r13, r13
je 0x14004e3cc
movups xmm0, xmmword [rbx + 8]
movdqu xmmword [rdi + 0x134], xmm0
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x30], r14
lea ecx, [rsi + 0x2f]
call fcn.14007e9c8
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rsp + 0x28], rax
lea ecx, [rsi + 0x4f]
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cmp eax, esi
setg byte [rsp + 0x20]
mov dword [rsp + 0x38], r14d
cmp dword [r13 + 4], r14d
jle 0x14004e0eb
lea r12, [r13 + 8]
mov rbx, qword [r12]
mov rcx, rbx
call fcn.14006fe50
test al, al
je 0x14004e0cc
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x80]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x100
lea rdx, [rbp + 0x80]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetClassNameW]
mov rcx, rbx
call fcn.14006f650
test al, al
je 0x14004df38
cmp dword [r13 + 4], esi
jne 0x14004e0cc
mov qword [rdi + 0x50], rbx
mov rcx, rbx
call fcn.14006f0ac
mov rbx, rax
mov rcx, rbx
call fcn.14006f41c
mov dword [rsp + 0x40], eax
lea rcx, [rdi + 0xa8]
mov rdx, qword [rcx + 8]
cmp rdx, qword [rcx + 0x10]
je 0x14004df5e
mov dword [rdx], eax
add qword [rcx + 8], 4
jmp 0x14004df68
lea r8, [rsp + 0x40]
call fcn.14003e8ac
cmp qword [rdi + 0x48], r14
jne 0x14004df76
mov qword [rdi + 0x48], rbx
mov qword [rdi + 0x60], rbx
mov r8, rbx
lea rdx, [rbp + 0x80]
mov rcx, rdi
call fcn.14004c5c8
mov r15d, eax
call fcn.140011af8
mov rcx, rax
mov rdx, rbx
call fcn.140012600
test al, al
je 0x14004dfa3
or r15d, 0x10
mov qword [rsp + 0x50], rbx
mov dword [rsp + 0x58], r15d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [rsp + 0x5c], eax
test r15b, 4
je 0x14004dfd8
call fcn.140011af8
mov rcx, rax
mov rdx, rbx
call fcn.140011cf0
mov dword [rsp + 0x60], eax
jmp 0x14004dfe2
call fcn.140011af8
mov dword [rsp + 0x60], r14d
lea r14, [rdi + 0xc0]
mov rdx, qword [r14 + 8]
cmp rdx, qword [r14 + 0x10]
je 0x14004e00d
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rdx], xmm0
movsd xmm1, qword [rsp + 0x60]
movsd qword [rdx + 0x10], xmm1
add qword [r14 + 8], 0x18
jmp 0x14004e01a
lea r8, [rsp + 0x50]
mov rcx, r14
call fcn.1400242ac
or dword [rdi + 0x12c], r15d
mov rcx, qword [r14 + 8]
sub rcx, qword [r14]
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov rax, qword [r12]
mov qword [rdi + rdx*8 + 0x144], rax
add dword [rdi + 0x148], esi
xor r14d, r14d
cmp byte [rsp + 0x20], r14b
je 0x14004e0cc
lea edx, [r14 + 2]
mov rcx, rbx
call qword [sym.imp.USER32.dll_MonitorFromWindow]
test rax, rax
je 0x14004e0cc
mov r8, qword [rsp + 0x28]
mov rcx, qword [r8 + 8]
mov rdx, r8
jmp 0x14004e091
cmp qword [rcx + 0x20], rax
jae 0x14004e08b
mov rcx, qword [rcx + 0x10]
jmp 0x14004e091
mov rdx, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], r14b
je 0x14004e07f
cmp byte [rdx + 0x19], r14b
jne 0x14004e0a3
cmp rax, qword [rdx + 0x20]
jae 0x14004e0a6
mov rdx, r8
cmp rdx, r8
jne 0x14004e0c9
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x70], esi
lea r8, [rsp + 0x68]
lea rdx, [rbp - 0x78]
lea rcx, [rsp + 0x28]
call fcn.140047d14
jmp 0x14004e0cc
add dword [rdx + 0x28], esi
mov eax, dword [rsp + 0x38]
add eax, esi
mov dword [rsp + 0x38], eax
add r12, 8
cmp eax, dword [r13 + 4]
jl 0x14004ded5
lea r15, [rdi + 0xf0]
mov r13d, 0x68
mov rax, qword [rsp + 0x30]
test rax, rax
je 0x14004e366
cmp rax, rsi
mov rax, qword [rsp + 0x28]
jne 0x14004e11c
mov rax, qword [rax]
mov rcx, qword [rax + 0x20]
mov qword [rdi + 0xa0], rcx
jmp 0x14004e1f2
movups xmm0, xmmword [0x14008bc60]
movdqu xmmword [rsp + 0x40], xmm0
mov rbx, qword [rax]
cmp rbx, rax
je 0x14004e1ef
xor r12d, r12d
mov dword [rbp - 0x60], r13d
lea rdx, [rbp - 0x60]
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.USER32.dll_GetMonitorInfoW]
cmp dword [rbx + 0x28], r14d
jne 0x14004e186
mov r8d, dword [rbp - 0x54]
sub r8d, dword [rbp - 0x5c]
mov edx, dword [rbp - 0x50]
sub edx, dword [rbp - 0x58]
mov eax, dword [rsp + 0x48]
sub eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x4c]
sub ecx, dword [rsp + 0x44]
imul ecx, eax
imul edx, r8d
cmp edx, ecx
jle 0x14004e1a1
mov rax, qword [rbx + 0x20]
mov qword [rdi + 0xa0], rax
jmp 0x14004e197
jle 0x14004e1a1
mov rax, qword [rbx + 0x20]
mov qword [rdi + 0xa0], rax
mov r14d, dword [rbx + 0x28]
movups xmm0, xmmword [rbp - 0x5c]
movdqu xmmword [rsp + 0x40], xmm0
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], r12b
je 0x14004e1c9
mov rax, qword [rbx + 8]
jmp 0x14004e1be
cmp rbx, qword [rax + 0x10]
jne 0x14004e1c4
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], r12b
je 0x14004e1b1
mov rbx, rax
jmp 0x14004e1e4
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], r12b
jne 0x14004e1e4
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], r12b
je 0x14004e1d5
cmp rbx, qword [rsp + 0x28]
jne 0x14004e138
xor r14d, r14d
mov rcx, qword [rdi + 0xa0]
test rcx, rcx
je 0x14004e385
mov dword [rbp + 0x10], r13d
lea rdx, [rbp + 0x10]
call qword [sym.imp.USER32.dll_GetMonitorInfoW]
mov byte [rbp - 0x60], r14b
mov qword [rbp - 0x58], r14
mov eax, 0x60
mov dword [rbp - 0x50], eax
mov dword [rbp - 0x4c], eax
lea rcx, [rbp - 0x60]
call fcn.140010174
nop
mov rdx, qword [rdi + 0xa0]
lea rcx, [rbp - 0x60]
call fcn.14000fef0
mov dword [rdi + 0x128], eax
lea rax, [rbp + 0x38]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], r14w
jne 0x14004e24b
lea rbx, [rdi + 8]
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.1400022b0
movups xmm0, xmmword [rbp + 0x14]
movdqu xmmword [rdi + 0x30], xmm0
mov al, byte [rbp + 0x34]
and al, sil
mov byte [rdi + 0x28], al
mov dword [rdi + 0x144], 0x308
mov eax, dword [rdi + 0x12c]
shr eax, 6
and al, sil
mov byte [rdi + 0x2d], al
lea rdx, [rdi + 0xc0]
mov r8, qword [rdi + 0xa0]
mov rcx, rdi
call fcn.140049cc4
mov dword [rdi], esi
test byte [rdi + 0x12c], 4
je 0x14004e2c1
mov rdx, rdi
lea rcx, [0x14004a760]
call qword [sym.imp.USER32.dll_EnumWindows]
mov dword [rdi + 0x458], esi
mov eax, dword [rdi + 0x128]
mov dword [rdi + 0x46c], eax
movups xmm0, xmmword [rdi + 0x30]
movdqu xmmword [rdi + 0x45c], xmm0
movdqu xmmword [rdi + 0x470], xmm0
movups xmm0, xmmword [rdi + 0x30]
movdqu xmmword [rdi + 0x480], xmm0
cmp qword [rbx + 0x18], 8
jb 0x14004e2fd
mov rbx, qword [rbx]
lea rcx, [rdi + 0x490]
mov r8, rbx
mov edx, 0x40
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
nop
lea rcx, [rbp - 0x60]
call fcn.14000fe54
nop
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rcx + 8]
cmp byte [rbx + 0x19], r14b
jne 0x14004e35a
mov r8, qword [rbx + 0x10]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x28]
call fcn.1400321a4
mov rcx, rbx
mov rbx, qword [rbx]
mov edx, 0x30
call fcn.14007e34c
cmp byte [rbx + 0x19], r14b
je 0x14004e32c
mov rcx, qword [rsp + 0x28]
mov edx, 0x30
call fcn.14007e34c
jmp 0x14004e3cf
and qword [rsp + 0x40], 0
mov edx, esi
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.USER32.dll_MonitorFromPoint]
mov qword [rdi + 0xa0], rax
jmp 0x14004e1f2
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rcx + 8]
cmp byte [rbx + 0x19], r14b
jne 0x14004e3c2
mov r8, qword [rbx + 0x10]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x28]
call fcn.1400321a4
mov rcx, rbx
mov rbx, qword [rbx]
mov edx, 0x30
call fcn.14007e34c
cmp byte [rbx + 0x19], r14b
je 0x14004e394
mov rcx, qword [rsp + 0x28]
mov edx, 0x30
call fcn.14007e34c
mov sil, r14b
cmp dword [r15 + 0x28], r14d
je 0x14004e3de
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, sil
mov rcx, qword [rbp + 0x280]
xor rcx, rsp
call fcn.14007e630
mov rbx, qword [rsp + 0x3e0]
add rsp, 0x390
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret