Function at 0x6320e220
Capabilities:
Access peb ldr_data
Get process heap flags
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x22c
mov dword [ebp - 0x1f0], eax
mov dword [ebp - 0x200], edx
mov dword [ebp - 0x1fc], ecx
test byte [0x6321d03c], 8
jne 0x6320e650
mov dword [ebp - 0x1f8], 0
mov ecx, dword [ebp - 0x1f8]
mov edx, str.SOFTWAREMicrosoftDirectPlayLobby_Providers
mov eax, 0x6321f68c
mov dword [ebp - 0x1dc], 0x32
test ecx, ecx
cmovne eax, edx
mov edx, ecx
mov ecx, dword [ebp - 0x1fc]
xor ebx, ebx
xor edx, 1
mov dword [ecx], edx
lea ecx, [ebp - 0x1e0]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], 0x20019
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], 0x80000002
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
sub esp, 0x14
test eax, eax
jne 0x6320e91d
lea esi, [ebp - 0x1b1]
jmp 0x6320e2e2
test byte [0x6321d03c], 2
jne 0x6320e600
mov dword [ebp - 0x1dc], 0x33
add ebx, 1
lea eax, [ebp - 0x1cc]
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], eax
lea eax, [ebp - 0x1dc]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x1e0]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegEnumKeyExA]
sub esp, 0x20
cmp eax, 0x103
je 0x6320e630
mov dword [ebp - 0x1d0], 0xff
test byte [0x6321d03c], 8
jne 0x6320e408
lea eax, [ebp - 0x1d8]
mov dword [esp + 0xc], 0x20019
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x1e0]
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
sub esp, 0x14
test eax, eax
jne 0x6320e2c8
lea eax, [ebp - 0x1d0]
lea edi, [ebp - 0x118]
mov dword [esp + 8], 0
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x1d4]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x1d8]
mov dword [esp + 0x10], edi
mov dword [esp], eax
mov eax, dword [sym.imp.advapi32.dll_RegQueryValueExA]
mov dword [esp + 4], 0x6321f70b
mov dword [ebp - 0x1ec], eax
call eax
sub esp, 0x18
test eax, eax
je 0x6320e438
test byte [0x6321d03c], 2
je 0x6320e2d5
mov dword [esp + 0xc], 0x6321f710
mov dword [esp + 8], str.DP_LoadSP
mov dword [esp + 4], 0x6321d03c
mov dword [esp], 1
call fcn.63205bb0
jmp 0x6320e2d5
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0x6321f6d5
mov dword [esp + 8], str.DP_LoadSP
mov dword [esp + 4], 0x6321d03c
mov dword [esp], 3
call fcn.63205bb0
jmp 0x6320e34a
mov eax, dword [sym.imp.kernel32.dll_MultiByteToWideChar]
lea edx, [ebp - 0x17e]
mov dword [esp + 8], edi
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], 0x33
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [ebp - 0x1f4], eax
call eax
lea ecx, [ebp - 0x1c4]
lea edx, [ebp - 0x17e]
sub esp, 0x18
mov dword [esp + 4], ecx
mov dword [esp], edx
call dword [sym.imp.ole32.dll_CLSIDFromString]
mov eax, dword [ebp - 0x1f0]
sub esp, 8
mov eax, dword [eax]
cmp dword [ebp - 0x1c4], eax
jne 0x6320e2d5
mov eax, dword [ebp - 0x1f0]
mov eax, dword [eax + 4]
cmp dword [ebp - 0x1c0], eax
jne 0x6320e2d5
mov eax, dword [ebp - 0x1f0]
mov eax, dword [eax + 8]
cmp dword [ebp - 0x1bc], eax
jne 0x6320e2d5
mov eax, dword [ebp - 0x1f0]
mov eax, dword [eax + 0xc]
cmp dword [ebp - 0x1b8], eax
jne 0x6320e2d5
mov eax, dword [ebp - 0x1f8]
test eax, eax
je 0x6320e746
lea eax, [ebp - 0x1d0]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x1d4]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x1d8]
mov dword [ebp - 0x1d0], 0xff
mov dword [esp], eax
mov eax, dword [ebp - 0x1ec]
mov dword [esp + 8], 0
mov dword [esp + 4], str.dwReserved1
call eax
sub esp, 0x18
test eax, eax
jne 0x6320e710
lea eax, [ebp - 0x1d0]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x1d4]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x1d8]
mov dword [ebp - 0x1d0], 0xff
mov dword [esp], eax
mov eax, dword [ebp - 0x1ec]
mov dword [esp + 8], 0
mov dword [esp + 4], str.dwReserved2
call eax
sub esp, 0x18
test eax, eax
jne 0x6320e710
lea eax, [ebp - 0x1d0]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x1d8]
mov dword [ebp - 0x1d0], 0xff
mov dword [esp], eax
mov eax, dword [ebp - 0x1ec]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x63220699
call eax
sub esp, 0x18
test eax, eax
jne 0x6320e8b0
test byte [0x6321d03c], 8
jne 0x6320e8f0
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov ebx, eax
sub esp, 4
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0xc], 0x6321f6ed
mov dword [esp + 8], str.DP_LoadSP
mov dword [esp + 4], 0x6321d03c
mov dword [esp], 1
call fcn.63205bb0
jmp 0x6320e2d5
cmp dword [ebp - 0x1f8], 1
jne 0x6320e953
xor ebx, ebx
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
shr eax, 0x10
je 0x6320e6ee
mov edi, dword [ebp - 0x1f0]
movzx eax, byte [edi + 0xf]
mov dword [esp + 0x2c], eax
movzx eax, byte [edi + 0xe]
mov dword [esp + 0x28], eax
movzx eax, byte [edi + 0xd]
mov dword [esp + 0x24], eax
movzx eax, byte [edi + 0xc]
mov dword [esp + 0x20], eax
movzx eax, byte [edi + 0xb]
mov dword [esp + 0x1c], eax
movzx eax, byte [edi + 0xa]
mov dword [esp + 0x18], eax
movzx eax, byte [edi + 9]
mov dword [esp + 0x14], eax
movzx eax, byte [edi + 8]
mov dword [esp + 0x10], eax
movzx eax, word [edi + 6]
mov dword [esp + 0xc], eax
movzx eax, word [edi + 4]
mov dword [esp + 8], eax
mov eax, dword [edi]
mov dword [esp], 0x6321f5b8
mov dword [esp + 4], eax
call fcn.632054e0
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str._request_to_load__s_n
mov dword [esp + 8], str.DP_LoadSP
mov dword [esp + 4], 0x6321d03c
mov dword [esp], 3
call fcn.63205bb0
jmp 0x6320e24b
movzx eax, word [ebp - 0x1f0]
mov dword [esp], 0x6321f5a6
mov dword [esp + 4], eax
call fcn.632054e0
jmp 0x6320e6c1
test byte [0x6321d03c], 2
je 0x6320e2d5
mov dword [esp + 0xc], str.:_missing_dwReserved1_registry_data_members_n
mov dword [esp + 8], str.DP_LoadSP
mov dword [esp + 4], 0x6321d03c
mov dword [esp], 1
call fcn.63205bb0
jmp 0x6320e2d5
mov dword [esp + 0x14], 0
mov eax, dword [ebp - 0x1f4]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov dword [esp], 0
call eax
mov ecx, eax
sub esp, 0x18
lea edx, [ecx + ecx]
mov dword [esp + 4], 0
mov dword [esp + 8], edx
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x204], ecx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov edx, dword [ebp - 0x200]
mov ecx, dword [ebp - 0x204]
sub esp, 0xc
mov dword [edx + 8], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x1f4]
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov dword [esp], 0
call eax
lea eax, [ebp - 0x1d0]
mov dword [ebp - 0x1d0], 0xff
sub esp, 0x18
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x1d4]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x1d8]
mov dword [esp + 0x10], edi
mov dword [esp], eax
mov eax, dword [ebp - 0x1ec]
mov dword [esp + 8], 0
mov dword [esp + 4], str.dwReserved1
call eax
sub esp, 0x18
test eax, eax
jne 0x6320e710
mov eax, dword [ebp - 0x118]
mov edx, dword [ebp - 0x200]
mov dword [ebp - 0x1d0], 0xff
mov dword [edx + 0x10], eax
lea eax, [ebp - 0x1d0]
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x1d4]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x1d8]
mov dword [esp + 0x10], edi
mov dword [esp], eax
mov eax, dword [ebp - 0x1ec]
mov dword [esp + 8], 0
mov dword [esp + 4], str.dwReserved2
call eax
sub esp, 0x18
test eax, eax
jne 0x6320e710
mov eax, dword [ebp - 0x118]
mov ecx, dword [ebp - 0x200]
mov dword [ecx + 0x14], eax
jmp 0x6320e58e
test byte [0x6321d03c], 2
je 0x6320e2d5
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.:_missing_PATH_registry_data_members:_0x_08lx_n
mov dword [esp + 8], str.DP_LoadSP
mov dword [esp + 4], 0x6321d03c
mov dword [esp], 1
call fcn.63205bb0
jmp 0x6320e2d5
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str.Loading__s_n
mov dword [esp + 8], str.DP_LoadSP
mov dword [esp + 4], 0x6321d03c
mov dword [esp], 3
call fcn.63205bb0
jmp 0x6320e5e7
test byte [0x6321d03c], 2
je 0x6320e63f
mov dword [esp + 0xc], 0x6321f6bc
mov dword [esp + 8], str.DP_LoadSP
mov dword [esp + 4], 0x6321d03c
mov dword [esp], 1
call fcn.63205bb0
jmp 0x6320e63f
mov dword [ebp - 0x1f8], 1
jmp 0x6320e255