Function at 0x425770
Capabilities:
Query or enumerate registry key
Query or enumerate registry value
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4591b7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x16c
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov eax, dword [0x471df4]
xor ebx, ebx
mov dword [esp + 0x184], ebx
mov dword [esp + 0x68], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x18c]
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [esp + 0x74]
mov byte [esp + 0x184], 0xe
push eax
push 0x20019
push ebx
push ecx
push 0x80000002
call edi
test eax, eax
jne 0x425e64
lea edx, [esp + 0x18c]
lea ecx, [esp + 0x2c]
push edx
call fcn.0044a4c1
lea eax, [esp + 0x2c]
lea ecx, [esi + 0x30]
push eax
mov dword [esp + 0x58], ecx
call fcn.00449c44
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x10]
push ecx
push 0x20019
push ebx
push edx
push 0x80000002
call edi
test eax, eax
jne 0x425e64
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x78]
push 0x104
push eax
push ebx
push ecx
mov ebp, 1
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x4259f2
lea edx, [esp + 0x78]
lea ecx, [esp + 0x50]
push edx
call fcn.0044a442
mov esi, eax
lea eax, [esp + 0x2c]
push 0x46a404
lea ecx, [esp + 0x5c]
push eax
push ecx
mov byte [esp + 0x190], 0xf
call fcn.0044a61d
push esi
lea edx, [esp + 0x34]
push eax
push edx
mov byte [esp + 0x190], 0x10
call fcn.0044a5b7
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x188], 0x11
call fcn.0044a4c1
lea ecx, [esp + 0x30]
mov byte [esp + 0x184], 0x10
call fcn.0044a3d4
lea ecx, [esp + 0x58]
mov byte [esp + 0x184], 0xf
call fcn.0044a3d4
lea ecx, [esp + 0x50]
mov byte [esp + 0x184], 0xe
call fcn.0044a3d4
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x28]
push eax
push 0x20019
push 0
push ecx
push 0x80000002
call edi
test eax, eax
jne 0x4259d1
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x1c]
lea eax, [esp + 0x78]
push edx
push eax
push 0
push 0
push str.DRIVER
push ecx
mov dword [esp + 0x34], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4259c2
lea edx, [esp + 0x78]
lea ecx, [esp + 0x18]
push edx
call fcn.0044a511
lea ecx, [esp + 0x18]
call fcn.0044a88a
push str.SystemCurrentControlSetControlClass_
lea ecx, [esp + 0x24]
call fcn.0044a442
lea ecx, [esp + 0x18]
lea edx, [esp + 0x48]
push ecx
push eax
push edx
mov byte [esp + 0x190], 0x12
call fcn.0044a5b7
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x188], 0x13
call fcn.0044a4c1
lea ecx, [esp + 0x48]
mov byte [esp + 0x184], 0x12
call fcn.0044a3d4
lea ecx, [esp + 0x20]
mov byte [esp + 0x184], 0xe
call fcn.0044a3d4
mov ecx, dword [esp + 0x54]
lea eax, [esp + 0x24]
push eax
call fcn.00449c44
mov ebx, 1
mov ecx, dword [esp + 0x28]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x4259f2
lea edx, [esp + 0x78]
mov eax, ebp
push 0x104
push edx
push eax
mov eax, dword [esp + 0x1c]
push eax
inc ebp
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x42586b
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x425e64
lea edx, [esp + 0x24]
push str.WaveDriver
lea eax, [esp + 0x24]
push edx
push eax
xor esi, esi
call fcn.0044a61d
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x188], 0x14
call fcn.0044a4c1
lea ecx, [esp + 0x20]
mov byte [esp + 0x184], 0xe
call fcn.0044a3d4
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x10]
push ecx
push 0x20019
push esi
push edx
push 0x80000002
call edi
test eax, eax
jne 0x425e64
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x78]
push eax
push ecx
push esi
push esi
push str.WaveHardwareID
push edx
mov dword [esp + 0x34], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x425a98
lea eax, [esp + 0x78]
lea ecx, [esp + 0x3c]
push eax
call fcn.0044a511
mov esi, 1
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x425e64
push str.SYSTEMCurrentControlSetEnumMODEMWAVE0
lea ecx, [esp + 0x3c]
xor ebp, ebp
call fcn.0044a511
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x10]
push edx
push 0x20019
push ebp
push eax
push 0x80000002
call edi
test eax, eax
jne 0x425e64
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x78]
push 0x104
push ecx
push eax
push edx
mov dword [esp + 0x40], 1
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x425d1a
mov bl, 0x16
lea eax, [esp + 0x78]
lea ecx, [esp + 0x40]
push eax
call fcn.0044a511
lea ecx, [esp + 0x78]
push ecx
lea ecx, [esp + 0x54]
call fcn.0044a442
mov esi, eax
lea edx, [esp + 0x38]
push 0x46a404
lea eax, [esp + 0x4c]
push edx
push eax
mov byte [esp + 0x190], 0x15
call fcn.0044a61d
push esi
lea ecx, [esp + 0x24]
push eax
push ecx
mov byte [esp + 0x190], bl
call fcn.0044a5b7
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x188], 0x17
call fcn.0044a4c1
lea ecx, [esp + 0x20]
mov byte [esp + 0x184], bl
call fcn.0044a3d4
lea ecx, [esp + 0x48]
mov byte [esp + 0x184], 0x15
call fcn.0044a3d4
lea ecx, [esp + 0x50]
mov byte [esp + 0x184], 0xe
call fcn.0044a3d4
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x28]
push edx
push 0x20019
push 0
push eax
push 0x80000002
call edi
test eax, eax
jne 0x425cf1
lea ecx, [esp + 0x1c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [esp + 0x78]
push ecx
push edx
push eax
push eax
mov eax, dword [esp + 0x38]
push str.HardwareID
push eax
mov dword [esp + 0x34], 0x104
call esi
test eax, eax
jne 0x425ce2
lea ecx, [esp + 0x78]
push ecx
lea ecx, [esp + 0x1c]
call fcn.0044a511
lea ecx, [esp + 0x18]
call fcn.0044a88a
lea ecx, [esp + 0x3c]
call fcn.0044a88a
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x18]
push edx
call fcn.00449464
cmp eax, 0xffffffff
je 0x425ce2
mov ebp, dword [esp + 0x54]
lea eax, [esp + 0x14]
push eax
mov ecx, ebp
call fcn.00449c44
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x78]
push ecx
push edx
push 0
push 0
push str.Driver
push eax
mov dword [esp + 0x34], 0x104
call esi
test eax, eax
jne 0x425cdd
lea ecx, [esp + 0x78]
push ecx
lea ecx, [esp + 0x60]
call fcn.0044a442
mov esi, eax
push str.SystemCurrentControlSetControlClass_
lea ecx, [esp + 0x48]
mov byte [esp + 0x188], 0x18
call fcn.0044a442
push esi
lea edx, [esp + 0x5c]
push eax
push edx
mov byte [esp + 0x190], 0x19
call fcn.0044a5b7
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x188], 0x1a
call fcn.0044a4c1
lea ecx, [esp + 0x58]
mov byte [esp + 0x184], 0x19
call fcn.0044a3d4
lea ecx, [esp + 0x44]
mov byte [esp + 0x184], 0x18
call fcn.0044a3d4
lea ecx, [esp + 0x5c]
mov byte [esp + 0x184], 0xe
call fcn.0044a3d4
lea eax, [esp + 0x4c]
mov ecx, ebp
push eax
call fcn.00449c44
mov ebp, 1
mov ecx, dword [esp + 0x28]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebp, ebp
jne 0x425d1a
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x78]
mov eax, ecx
push 0x104
push edx
push eax
mov eax, dword [esp + 0x1c]
inc ecx
push eax
mov dword [esp + 0x40], ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x425b02
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebp, ebp
je 0x425e64
push str.SYSTEMCurrentControlSetControlDeviceClasses65E8773E_8F56_11D0_A3B9_00A0C9223196
lea ecx, [esp + 0x38]
call fcn.0044a511
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x10]
push edx
push 0x20019
push 0
push eax
push 0x80000002
call edi
test eax, eax
jne 0x425e64
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x78]
push 0x104
push ecx
push eax
push edx
mov edi, 1
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x425e59
mov bl, 0x1c
lea eax, [esp + 0x78]
lea ecx, [esp + 0x20]
push eax
call fcn.0044a442
mov esi, eax
lea ecx, [esp + 0x34]
push 0x46a404
lea edx, [esp + 0x48]
push ecx
push edx
mov byte [esp + 0x190], 0x1b
call fcn.0044a61d
push esi
push eax
lea eax, [esp + 0x64]
mov byte [esp + 0x18c], bl
push eax
call fcn.0044a5b7
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x188], 0x1d
call fcn.0044a4c1
lea ecx, [esp + 0x5c]
mov byte [esp + 0x184], bl
call fcn.0044a3d4
lea ecx, [esp + 0x44]
mov byte [esp + 0x184], 0x1b
call fcn.0044a3d4
lea ecx, [esp + 0x20]
mov byte [esp + 0x184], 0xe
call fcn.0044a3d4
lea ecx, [esp + 0x14]
call fcn.0044a88a
lea ecx, [esp + 0x40]
call fcn.0044a88a
mov ecx, dword [esp + 0x40]
push ecx
lea ecx, [esp + 0x18]
call fcn.00449464
cmp eax, 0xffffffff
jne 0x425e4b
lea edx, [esp + 0x78]
mov eax, edi
push 0x104
push edx
push eax
mov eax, dword [esp + 0x1c]
push eax
inc edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x425d80
jmp 0x425e59
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x58]
call fcn.00449c44
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x4c]
mov byte [esp + 0x184], 0xd
call fcn.0044a3d4
lea ecx, [esp + 0x60]
mov byte [esp + 0x184], 0xc
call fcn.0044a3d4
lea ecx, [esp + 0x24]
mov byte [esp + 0x184], 0xb
call fcn.0044a3d4
lea ecx, [esp + 0x70]
mov byte [esp + 0x184], 0xa
call fcn.0044a3d4
lea ecx, [esp + 0x38]
mov byte [esp + 0x184], 9
call fcn.0044a3d4
lea ecx, [esp + 0x34]
mov byte [esp + 0x184], 8
call fcn.0044a3d4
lea ecx, [esp + 0x40]
mov byte [esp + 0x184], 7
call fcn.0044a3d4
lea ecx, [esp + 0x3c]
mov byte [esp + 0x184], 6
call fcn.0044a3d4
lea ecx, [esp + 0x2c]
mov byte [esp + 0x184], 5
call fcn.0044a3d4
lea ecx, [esp + 0x18]
mov byte [esp + 0x184], 4
call fcn.0044a3d4
lea ecx, [esp + 0x6c]
mov byte [esp + 0x184], 3
call fcn.0044a3d4
lea ecx, [esp + 0x14]
mov byte [esp + 0x184], 2
call fcn.0044a3d4
lea ecx, [esp + 0x64]
mov byte [esp + 0x184], 1
call fcn.0044a3d4
lea ecx, [esp + 0x68]
mov byte [esp + 0x184], 0
call fcn.0044a3d4
lea ecx, [esp + 0x18c]
mov dword [esp + 0x184], 0xffffffff
call fcn.0044a3d4
mov ecx, dword [esp + 0x17c]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x178
ret 4