Function at 0x403200
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x468
mov eax, dword [0x46e074]
xor eax, esp
mov dword [esp + 0x464], eax
mov eax, dword [esp + 0x46c]
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea edx, [esp + 0x1c]
push edx
push 0x20019
xor ebx, ebx
push ebx
push str.SYSTEMCurrentControlSetServices
push reloc.WS2_32.dll_bind
mov dword [esp + 0x28], eax
mov dword [esp + 0x38], ecx
call esi
test eax, eax
jne 0x40352e
lea eax, [esp + 0x28]
push eax
push 0x20019
push ebx
push str.SYSTEMCurrentControlSetEnum
push reloc.WS2_32.dll_bind
call esi
test eax, eax
jne 0x40352e
push ebp
push edi
push 5
xor edi, edi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x24], ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x1ff
lea ecx, [esp + 0x79]
push ebx
mov ebp, 0x200
push ecx
mov dword [esp + 0x1c], ebp
mov byte [esp + 0x80], bl
call fcn.004481d0
mov ecx, dword [esp + 0x30]
add esp, 0xc
push ebx
push ebx
push ebx
push ebx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x88]
push eax
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, 0x103
je 0x40352c
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x14]
push edx
push 0x20019
push ebx
lea eax, [esp + 0x80]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40339b
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x28]
push ecx
push ebx
push str.Group
push edx
mov dword [esp + 0x28], ebp
call esi
cmp eax, 2
jne 0x403326
mov eax, dword [esp + 0x14]
push eax
jmp 0x403341
lea ecx, [esp + 0x74]
push ecx
push str.Video
call fcn.004465a5
add esp, 8
test eax, eax
je 0x4033a5
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 5
inc edi
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x1ff
lea eax, [esp + 0x79]
push ebx
push eax
mov dword [esp + 0x1c], ebp
mov byte [esp + 0x80], bl
call fcn.004481d0
mov eax, dword [esp + 0x30]
add esp, 0xc
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x88]
push edx
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, 0x103
jne 0x4032d4
jmp 0x40352c
mov ecx, dword [esp + 0x24]
push ecx
jmp 0x403526
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
push 0x20019
push ebx
push str.Enum
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x28]
push edx
push ebx
push str.Count
push eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], 4
call esi
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
xor edi, edi
cmp eax, ebx
mov dword [ecx], eax
jle 0x403521
mov edx, dword [esp + 0x2c]
add edx, 4
mov dword [esp + 0x1c], edx
push 0x1ff
lea eax, [esp + 0x279]
push ebx
push eax
mov byte [esp + 0x280], bl
call fcn.004481d0
push 0x3f
lea ecx, [esp + 0x45]
push ebx
push ecx
mov byte [esp + 0x4c], bl
call fcn.004481d0
push edi
lea edx, [esp + 0x50]
push 0x4618ac
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x24
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x278]
push ecx
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x28]
push edx
push ebx
lea eax, [esp + 0x44]
push eax
push ecx
mov dword [esp + 0x28], ebp
call esi
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x18]
push edx
push 0x20019
push ebx
lea eax, [esp + 0x280]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x278]
push eax
lea ecx, [esp + 0x28]
push ecx
push ebx
push str.FriendlyName
push edx
mov dword [esp + 0x28], ebp
call esi
cmp eax, 2
jne 0x403502
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x278]
push ecx
lea edx, [esp + 0x28]
push edx
push ebx
push str.DeviceDesc
push eax
mov dword [esp + 0x28], ebp
call esi
lea eax, [esp + 0x274]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4034e7
sub eax, edx
push eax
lea ecx, [esp + 0x278]
push ecx
mov ecx, dword [esp + 0x24]
call fcn.004017b0
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add dword [esp + 0x1c], 0x20
inc edi
cmp edi, dword [esp + 0x28]
mov dword [esp + 0x18], ebx
jl 0x403412
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop ebp
mov ecx, dword [esp + 0x46c]
pop esi
pop ebx
xor ecx, esp
call fcn.004453f2
add esp, 0x468
ret 4