Function at 0x404cb0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5fc
mov eax, dword [0x477d80]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x5e0], ecx
call fcn.00404700
xor bl, bl
mov byte [ebp - 0x5a5], bl
test esi, esi
je 0x4050d8
test edi, edi
je 0x4050d8
cmp byte [esi], bl
je 0x4050d8
cmp byte [edi], bl
je 0x4050d8
push 0x64
lea eax, [ebp - 0x39c]
push esi
push eax
call fcn.00435112
push 0x64
lea ecx, [ebp - 0x2d4]
push edi
push ecx
call fcn.00435112
add esp, 0x18
lea eax, [ebp - 0x39c]
push eax
push 0x104
lea ecx, [ebp - 0x20c]
xor edx, edx
push ecx
mov word [ebp - 0x20c], dx
call fcn.00402ac0
push 0x457770
push 0x104
lea edx, [ebp - 0x20c]
push edx
call fcn.00402ac0
lea eax, [ebp - 0x2d4]
push eax
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
call fcn.00402ac0
xor edx, edx
push edx
push str.Profile
lea eax, [ebp - 0x20c]
push eax
push str.SoftwareAMDWDST
push str._s_s_s_u
lea ecx, [ebp - 0x5a4]
push 0x104
push ecx
mov word [ebp - 0x5a4], dx
mov dword [ebp - 0x5c0], edx
call fcn.00402b50
add esp, 0x1c
lea edx, [ebp - 0x5ac]
push edx
push 0x101
push 0
lea eax, [ebp - 0x5a4]
push eax
push reloc.WS2_32.dll_bind
call dword [0x45106c]
test eax, eax
jne 0x4050d8
mov esi, dword [0x451070]
mov edi, 4
lea esp, [esp]
mov eax, dword [ebp - 0x5ac]
lea ecx, [ebp - 0x5c4]
push ecx
lea edx, [ebp - 0x5d8]
push edx
push 0
push 0
push str._Width
push eax
mov dword [ebp - 0x5c4], edi
mov dword [ebp - 0x5c8], edi
mov dword [ebp - 0x5d4], edi
call esi
mov eax, dword [ebp - 0x5ac]
lea ecx, [ebp - 0x5c8]
push ecx
lea edx, [ebp - 0x5d0]
push edx
push 0
push 0
push str._Height
push eax
call esi
mov eax, dword [ebp - 0x5ac]
lea ecx, [ebp - 0x5d4]
push ecx
lea edx, [ebp - 0x5cc]
push edx
push 0
push 0
push str._FrameRate
push eax
call esi
cmp dword [ebp - 0x5c4], 0
jbe 0x405078
cmp dword [ebp - 0x5c8], 0
jbe 0x405078
cmp dword [ebp - 0x5d4], 0
jbe 0x405078
mov ecx, dword [ebp - 0x5cc]
mov edx, dword [ebp - 0x5d0]
mov eax, dword [ebp - 0x5d8]
push ecx
mov ecx, dword [ebp - 0x5e0]
push edx
push eax
call fcn.00402ce0
mov ecx, dword [ebp - 0x5cc]
mov edx, dword [ebp - 0x5d0]
push ecx
mov ecx, dword [ebp - 0x5e0]
mov ebx, eax
mov eax, dword [ebp - 0x5d8]
push edx
push eax
call fcn.00402e70
mov dword [ebp - 0x5dc], eax
test ebx, ebx
je 0x404f78
mov eax, dword [ebp - 0x5ac]
lea ecx, [ebp - 0x5b8]
push ecx
lea edx, [ebp - 0x5ec]
push edx
push 0
push 0
push str.NumIntraRefreshSlices
push eax
mov dword [ebp - 0x5b8], edi
mov dword [ebp - 0x5b4], edi
mov dword [ebp - 0x5b0], edi
call esi
mov eax, dword [ebp - 0x5ac]
lea ecx, [ebp - 0x5b4]
push ecx
lea edx, [ebp - 0x5e8]
push edx
push 0
push 0
push str.IDRIntervalSec
push eax
call esi
mov eax, dword [ebp - 0x5ac]
lea ecx, [ebp - 0x5b0]
push ecx
lea edx, [ebp - 0x5e4]
push edx
push 0
push 0
push str.GOPSizeSec
push eax
call esi
cmp dword [ebp - 0x5b8], 0
jbe 0x404f78
cmp dword [ebp - 0x5b4], 0
jbe 0x404f78
cmp dword [ebp - 0x5b0], 0
jbe 0x404f78
mov ecx, dword [ebp - 0x5ec]
mov edx, dword [ebp - 0x5e8]
mov eax, dword [ebp - 0x5e4]
mov dword [ebx + 0x30], ecx
mov dword [ebx + 0x34], edx
mov dword [ebx + 0x38], eax
mov byte [ebp - 0x5a5], 1
cmp dword [ebp - 0x5dc], 0
je 0x405072
mov eax, dword [ebp - 0x5ac]
lea ecx, [ebp - 0x5b0]
push ecx
lea edx, [ebp - 0x5f4]
push edx
push 0
push 0
push str.QOSInitialBitrate
push eax
mov dword [ebp - 0x5b0], edi
mov dword [ebp - 0x5b4], edi
mov dword [ebp - 0x5b8], edi
mov dword [ebp - 0x5bc], edi
call esi
mov eax, dword [ebp - 0x5ac]
lea ecx, [ebp - 0x5b4]
push ecx
lea edx, [ebp - 0x5fc]
push edx
push 0
push 0
push str.QOSMinLongTermRate
push eax
call esi
mov eax, dword [ebp - 0x5ac]
lea ecx, [ebp - 0x5b8]
push ecx
lea edx, [ebp - 0x5f8]
push edx
push 0
push 0
push str.QOSMinBitrate
push eax
call esi
mov eax, dword [ebp - 0x5ac]
lea ecx, [ebp - 0x5bc]
push ecx
lea edx, [ebp - 0x5f0]
push edx
push 0
push 0
push str.QOSMaxBitrate
push eax
call esi
cmp dword [ebp - 0x5b0], 0
jbe 0x405072
cmp dword [ebp - 0x5b4], 0
jbe 0x405072
cmp dword [ebp - 0x5b8], 0
jbe 0x405072
cmp dword [ebp - 0x5bc], 0
jbe 0x405072
mov eax, dword [ebp - 0x5dc]
mov ecx, dword [ebp - 0x5f4]
mov edx, dword [ebp - 0x5fc]
mov dword [eax + 0x34], ecx
mov ecx, dword [ebp - 0x5f8]
mov dword [eax + 0x38], edx
mov edx, dword [ebp - 0x5f0]
mov dword [eax + 0x3c], ecx
mov dword [eax + 0x40], edx
mov byte [ebp - 0x5a5], 1
mov bl, byte [ebp - 0x5a5]
mov eax, dword [ebp - 0x5c0]
inc eax
push eax
push str.Profile
mov dword [ebp - 0x5c0], eax
lea eax, [ebp - 0x20c]
push eax
push str.SoftwareAMDWDST
push str._s_s_s_u
lea ecx, [ebp - 0x5a4]
push 0x104
push ecx
call fcn.00402b50
add esp, 0x1c
lea edx, [ebp - 0x5ac]
push edx
push 0x101
push 0
lea eax, [ebp - 0x5a4]
push eax
push reloc.WS2_32.dll_bind
call dword [0x45106c]
test eax, eax
je 0x404de0
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.00434af6
mov esp, ebp
pop ebp
ret 8