Function at 0x140042e00
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x840]
sub rsp, 0x940
mov rax, qword [0x14022b800]
xor rax, rsp
mov qword [rbp + 0x830], rax
movzx r13d, r9b
mov r14d, r8d
mov dword [rsp + 0x54], r8d
mov r12d, edx
mov rdi, rcx
mov rcx, qword [rcx + 0x70]
cmp byte [rcx + 0x50], 0
jne 0x140042e59
call fcn.140036ab0
test eax, eax
jne 0x14004366a
mov rcx, qword [rdi + 0x70]
call fcn.14002fbe0
mov rcx, rax
call fcn.14002d660
mov rcx, qword [rdi + 0x70]
call fcn.14002fbe0
mov rcx, rax
call fcn.14002d5c0
mov rcx, qword [rdi + 0x70]
call fcn.14002fbe0
cmp qword [rax + 8], 0
je 0x14004363d
mov rcx, qword [rdi + 0x70]
mov rax, qword [rcx + 0x28]
cmp byte [rax + 0x18], 0
je 0x140042ea6
mov rcx, qword [rcx + 0x58]
call fcn.1400cf0c0
mov dword [rsp + 0x50], 1
xor r15d, r15d
mov word [rbp - 0x6c], r15w
mov dword [rbp - 0x70], r15d
lea esi, [r15 - 1]
mov qword [rbp + 0x3a4], 0xffffffffffffffff
mov dword [rbp + 0x3b0], 0xfff85ee0
mov dword [rbp + 0x3ac], 0xfff85ee0
mov word [rbp + 0x3b4], 1
mov bl, 1
mov ecx, r12d
sub ecx, 1
je 0x140043286
sub ecx, 1
je 0x140043227
cmp ecx, 1
jne 0x1400432f3
call fcn.140061c90
mov r15, rax
mov r14, qword [rax + 0x18]
xor ebx, ebx
test r14, r14
je 0x140042f62
mov rbx, r14
mov ecx, 1
lock xadd dword [r14], ecx
inc ecx
cmp ecx, 1
jle 0x140042f4e
mov rax, qword gs:[0x30]
mov ecx, dword [rax + 0x48]
cmp dword [r14 + 4], ecx
je 0x140042f5e
mov edx, 0xffffffff
mov rcx, qword [r14 + 0x10]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rax, qword gs:[0x30]
mov ecx, dword [rax + 0x48]
mov dword [r14 + 4], ecx
inc dword [r14 + 8]
cmp byte [r15 + 0xa35], 0
jne 0x140042f79
movzx r14d, byte [r15 + 0xa34]
jmp 0x140043004
mov word [r15 + 0xa34], 0
mov dword [rbp + 0x3c8], 0
lea r8, [rbp + 0x3c8]
lea rdx, str.FreeSyncLogoState
lea rcx, str.SOFTWAREAMDDVR
call fcn.1400074d0
test al, al
jne 0x140042fea
lea r8, [rbp + 0x3c8]
lea rdx, str.FreeSyncLogoState
lea rcx, str.SOFTWAREAMDDVR
call fcn.1400075b0
test al, al
jne 0x140042fea
lea rdx, [rbp + 0x3c8]
lea rcx, str.FreeSyncLogoState
call fcn.140007690
test al, al
jne 0x140042fea
movzx r14d, byte [r15 + 0xa34]
jmp 0x140043004
cmp dword [rbp + 0x3c8], 1
sete r14b
mov byte [r15 + 0xa35], 0
mov byte [r15 + 0xa34], r14b
test rbx, rbx
je 0x140043036
add dword [rbx + 8], 0xffffffff
mov eax, dword [rbx + 8]
jne 0x140043019
mov dword [rbx + 4], 0
lock xadd dword [rbx], esi
cmp esi, 1
je 0x140043036
test eax, eax
jne 0x140043036
xor r8d, r8d
lea edx, [rax + 1]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
test r14b, r14b
je 0x1400431b8
mov rcx, qword [rdi + 0x70]
call fcn.14002fbe0
mov rsi, qword [rax + 8]
mov rcx, qword [rdi + 0x70]
call fcn.14002fbe0
test rsi, rsi
jne 0x14004306e
lea rdx, str.SystemServices::IsFreeSyncAvailable___called_with_null_desktop_ptr
lea ecx, [rsi + 1]
call fcn.1400838f0
jmp 0x1400431b8
cmp byte [rsi + 0x99], 0
je 0x1400431b8
xor r8d, r8d
mov ebx, r8d
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x80]
mov rax, rcx
sub rax, rdx
sar rax, 4
test eax, eax
jle 0x1400431b8
mov r14d, r8d
mov r15d, r8d
mov r10, qword [0x14023d358]
nop
test r14, r14
js 0x1400430cc
sub rcx, rdx
sar rcx, 4
cmp ebx, ecx
jge 0x1400430cc
movups xmm0, xmmword [r15 + rdx]
movups xmmword [rsp + 0x60], xmm0
jmp 0x1400430d4
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov dword [rbp + 0x3c4], r8d
mov dword [rbp + 0x3c0], r8d
mov dword [rbp + 0x3d0], r8d
mov dword [rbp + 0x3cc], r8d
test r10, r10
je 0x140043149
lea rax, [rbp + 0x3cc]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x3d0]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x3c4]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x3c0]
mov r8d, dword [rsp + 0x60]
mov edx, dword [rsp + 0x68]
mov rcx, qword [0x14023d248]
call r10
test eax, eax
jne 0x14004313f
cmp dword [rbp + 0x3c0], eax
jg 0x140043173
mov r10, qword [0x14023d358]
xor r8d, r8d
inc ebx
inc r14
add r15, 0x10
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x80]
mov rax, rcx
sub rax, rdx
sar rax, 4
cmp ebx, eax
jge 0x1400431b8
jmp 0x1400430b0
lea rdx, str.FreeSync_supported_and_enabled
mov ecx, 1
call fcn.1400838f0
mov rcx, qword [rdi + 0x70]
call fcn.14002fbe0
mov rcx, qword [rdi + 0x70]
call fcn.14002fbe0
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x20], rcx
lea r9, [rbp - 0x70]
xor r8d, r8d
mov rdx, qword [rax + 8]
call fcn.140072bb0
test al, al
jne 0x14004327c
lea rdx, str.Show_FreeSync_Logo_UI_Failed.
mov ecx, 6
call fcn.1400838f0
mov dword [rbp + 0x3c4], 3
lea rcx, [rdi + 0x28]
lea r8, [rbp + 0x3c4]
lea rdx, [rsp + 0x70]
call fcn.140038c90
mov rcx, qword [rax]
mov dword [rcx + 0x14], 5
test r13b, r13b
je 0x140043208
lea rdx, str.Show_Radeon_Software_not_completed._showInDopp_is_true_and_render_mode_is_not_DOPP
mov ecx, 6
call fcn.140083970
cmp dword [rsp + 0x50], 4
jne 0x14004364e
xor edx, edx
lea rcx, [0x140040210]
call qword [sym.imp.USER32.dll_EnumWindows]
jmp 0x14004364e
mov rcx, qword [rdi + 0x70]
call fcn.14002fbe0
mov rcx, qword [rdi + 0x70]
call fcn.14002fbe0
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x20], rcx
lea r9, [rbp - 0x70]
movzx r8d, bl
mov rdx, qword [rax + 8]
call fcn.140072bb0
test al, al
jne 0x1400432f3
lea rdx, str.Show_Performance_UI_Failed.
mov ecx, 6
call fcn.1400838f0
mov dword [rbp + 0x3c4], 2
jmp 0x1400431d3
mov r14d, dword [rsp + 0x54]
xor r15d, r15d
jmp 0x1400432f3
mov rcx, qword [rdi + 0x70]
call fcn.14002fbe0
mov rcx, qword [rdi + 0x70]
call fcn.14002fbe0
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x20], rcx
lea r9, [rbp - 0x70]
xor r8d, r8d
mov rdx, qword [rax + 8]
call fcn.140072bb0
test al, al
jne 0x1400432c9
lea rdx, str.Show_inGmae_UI_Failed.
mov ecx, 6
call fcn.1400838f0
xor bl, bl
cmp byte [rbp + 0x8a0], r15b
je 0x1400432eb
lea rdx, str.Force_show_RSX_UI_in_window_mode.
mov ecx, 6
call fcn.140083970
mov dword [rsp + 0x50], 1
test bl, bl
je 0x1400431f2
test r13b, r13b
je 0x140043303
cmp dword [rsp + 0x50], 4
jne 0x1400431f7
mov dword [rbp + 0x3c0], r15d
lea r8, [rbp + 0x3c0]
lea rdx, str.DisableOverlayOnHGLD
lea rcx, str.SOFTWAREAMDDVR
call fcn.1400074d0
test al, al
jne 0x140043359
lea r8, [rbp + 0x3c0]
lea rdx, str.DisableOverlayOnHGLD
lea rcx, str.SOFTWAREAMDDVR
call fcn.1400075b0
test al, al
jne 0x140043359
lea rdx, [rbp + 0x3c0]
lea rcx, str.DisableOverlayOnHGLD
call fcn.140007690
cmp dword [rbp + 0x3c0], 1
jne 0x140043472
cmp dword [rsp + 0x50], 1
je 0x140043479
mov rcx, qword [rdi + 0x70]
call fcn.14002fbe0
mov rbx, rax
call fcn.140061f60
mov rcx, rax
mov rdx, qword [rbx + 8]
call fcn.140065f10
test al, al
je 0x140043472
call fcn.1400623a0
mov rcx, rax
mov r8d, 0xb3
lea rdx, [rbp + 0x3f8]
call fcn.140060b50
nop
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp + 0x424]
call fcn.140152140
mov dword [rbp + 0x420], 0xe0
lea r8, [rbp + 0x3f8]
cmp qword [rbp + 0x410], 8
cmovae r8, qword [rbp + 0x3f8]
mov edx, 0x200
lea rcx, [rbp + 0x424]
call fcn.140155cf8
mov qword [rsp + 0x70], r15
mov dword [rsp + 0x78], 0x404
lea rax, [rbp + 0x420]
mov qword [rbp - 0x80], rax
mov dword [rbp + 0x3d8], 0x4a
mov qword [rbp + 0x3e0], 0x405
lea rax, [rsp + 0x70]
mov qword [rbp + 0x3e8], rax
mov qword [rbp + 0x3f0], 0x3e8
lea rdx, [rbp + 0x3d8]
lea rcx, [0x14003ff20]
call qword [sym.imp.USER32.dll_EnumWindows]
lea rdx, str.DOPP_PIP_not_supported_on_local_display_HG._CN_event_sent.
mov ecx, 6
call fcn.140083970
nop
lea rcx, [rbp + 0x3f8]
call fcn.140004ff0
jmp 0x14004366a
cmp dword [rsp + 0x50], 1
jne 0x140043483
xor dl, dl
mov byte [rbp + 0x3b4], dl
jmp 0x14004348a
movzx edx, byte [rbp + 0x3b4]
lea r8, [0x1401d3ac0]
lea rcx, [0x1401d3ac8]
mov rax, rcx
cmp byte [rbp + 0x3b5], 0
cmovne rax, r8
test dl, dl
cmovne rcx, r8
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rcx
mov eax, dword [rbp + 0x3a8]
mov dword [rsp + 0x38], eax
mov eax, dword [rbp + 0x3a4]
mov dword [rsp + 0x30], eax
mov eax, dword [rbp + 0x3ac]
mov dword [rsp + 0x28], eax
mov eax, dword [rbp + 0x3b0]
mov dword [rsp + 0x20], eax
mov r9d, dword [rbp - 0x70]
lea r8, [rbp - 0x6c]
lea rdx, str.OnShowUI_GameInfo:_FullPath:__s__PID:__d__DesktopTL:___d___d___Desktop:___d_x__d___InGame:__s__IsBorderlessFullScreen:__s
mov ecx, 6
call fcn.140083970
mov rax, qword [rdi + 0x70]
mov rcx, qword [rax + 0x130]
mov rbx, qword [rcx]
test rbx, rbx
je 0x1400435ea
cmp dword [rsp + 0x50], 1
setne al
cmp byte [rbx + 5], al
je 0x140043543
mov byte [rbx + 5], al
xor edx, edx
lea rcx, [0x14002ec70]
call qword [sym.imp.USER32.dll_EnumWindows]
movzx r8d, byte [rbx + 5]
lea rdx, str.Updating_DVRStatus.IsFullscreen__to__d
mov ecx, 6
call fcn.140083970
lea rcx, [rbx + 0x2c4]
lea rax, [rbp - 0x70]
mov edx, 8
nop dword [rax]
nop word [rax + rax]
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rcx - 0x10], xmm1
lea rax, [rax + 0x80]
sub rdx, 1
jne 0x140043560
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
mov rax, qword [rax + 0x20]
mov qword [rcx + 0x20], rax
lea rcx, [0x14003ff80]
call qword [sym.imp.USER32.dll_EnumWindows]
test eax, eax
je 0x1400435ea
lea rdx, str.Failed_to_send_hosting_app_identity_to_CN
mov ecx, 6
call fcn.1400838f0
mov ecx, dword [rsp + 0x50]
sub ecx, 1
je 0x14004362d
sub ecx, 1
je 0x140043620
cmp ecx, 2
jne 0x140043208
mov r8d, r14d
mov edx, r12d
mov rcx, rdi
call fcn.1400436a0
xor edx, edx
lea rcx, [0x140040210]
call qword [sym.imp.USER32.dll_EnumWindows]
jmp 0x14004364e
mov edx, r12d
mov rcx, rdi
call fcn.140043ac0
jmp 0x14004364e
mov r8d, r14d
mov edx, r12d
mov rcx, rdi
call fcn.140043d20
jmp 0x14004364e
lea rdx, str.Show_Radeon_Software._Failed_to_get_desktop.
mov ecx, 6
call fcn.1400838f0
mov rcx, qword [rdi + 0x70]
call fcn.14002fbe0
mov rcx, rax
call fcn.14002d660
xor edx, edx
mov rcx, qword [rdi + 0x70]
call fcn.140037980
mov rcx, qword [rbp + 0x830]
xor rcx, rsp
call fcn.14014f2f0
mov rbx, qword [rsp + 0x998]
add rsp, 0x940
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret