Function at 0x4029d0
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x453922
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x260
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov eax, dword [esp + 0x284]
lea ecx, [esp + 0x170]
push eax
mov ebp, 1
push str.CInstall_::_RemoveWaveDevice_ENTRY_:_csWaveID____s_n
push ecx
mov dword [esp + 0x284], ebp
call fcn.0043a4a0
add esp, 0xc
mov ecx, 0x475b68
call fcn.0042f5e0
lea edx, [esp + 0x170]
mov ecx, 0x475b68
push edx
call fcn.0042f820
mov eax, dword [0x471df4]
mov dword [esp + 0x40], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x2c], eax
mov bl, 0xb
push str.WaveDriver
lea ecx, [esp + 0x1c]
mov byte [esp + 0x27c], bl
call fcn.0044a442
push eax
lea eax, [esp + 0x284]
lea ecx, [esp + 0x14]
push eax
push ecx
mov byte [esp + 0x284], 0xc
call fcn.0044a5b7
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x27c], 0xd
call fcn.0044a4c1
lea ecx, [esp + 0x10]
mov byte [esp + 0x278], 0xc
call fcn.0044a3d4
lea ecx, [esp + 0x18]
mov byte [esp + 0x278], bl
call fcn.0044a3d4
mov eax, dword [esi]
xor edi, edi
test eax, eax
mov dword [esp + 0x18], edi
je 0x402ae9
push str.SystemCurrentControlSetEnum_
lea ecx, [esp + 0x20]
call fcn.0044a511
push str.SystemCurrentControlSetControlClass_
jmp 0x402afc
push str.Enum_
lea ecx, [esp + 0x20]
call fcn.0044a511
push str.SystemCurrentControlSetServicesClass_
lea ecx, [esp + 0x2c]
call fcn.0044a511
lea edx, [esp + 0x1c]
push str.MODEMWAVE
lea eax, [esp + 0x14]
push edx
push eax
call fcn.0044a61d
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x27c], 0xe
call fcn.0044a4c1
lea ecx, [esp + 0x10]
mov byte [esp + 0x278], bl
call fcn.0044a3d4
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x3c]
push ecx
push 0x20019
push 0
push edx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x402e4b
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x6c]
push 0x104
push eax
mov dword [esp + 0x18], ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
push 0
push ecx
call ebp
test eax, eax
jne 0x402e40
test edi, edi
jne 0x402e40
lea edx, [esp + 0x6c]
lea ecx, [esp + 0x54]
push edx
call fcn.0044a442
mov esi, eax
push 0x46a404
lea ecx, [esp + 0x6c]
mov byte [esp + 0x27c], 0xf
call fcn.0044a442
push eax
lea eax, [esp + 0x28]
lea ecx, [esp + 0x50]
push eax
push ecx
mov byte [esp + 0x284], 0x10
call fcn.0044a5b7
push esi
lea edx, [esp + 0x60]
push eax
push edx
mov byte [esp + 0x284], 0x11
call fcn.0044a5b7
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x27c], 0x12
call fcn.0044a4c1
lea ecx, [esp + 0x5c]
mov byte [esp + 0x278], 0x11
call fcn.0044a3d4
lea ecx, [esp + 0x4c]
mov byte [esp + 0x278], 0x10
call fcn.0044a3d4
lea ecx, [esp + 0x68]
mov byte [esp + 0x278], 0xf
call fcn.0044a3d4
lea ecx, [esp + 0x54]
mov byte [esp + 0x278], bl
call fcn.0044a3d4
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x34]
push eax
push 0x20019
push edi
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x402e1b
lea edx, [esp + 0x6c]
push 0x104
push edx
push eax
mov eax, dword [esp + 0x40]
mov edi, 1
push eax
call ebp
test eax, eax
jne 0x402e0c
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x402e0c
lea ecx, [esp + 0x6c]
push ecx
lea ecx, [esp + 0x54]
call fcn.0044a442
mov esi, eax
push 0x46a404
lea ecx, [esp + 0x4c]
mov byte [esp + 0x27c], 0x13
call fcn.0044a442
push eax
lea edx, [esp + 0x34]
lea eax, [esp + 0x48]
push edx
push eax
mov byte [esp + 0x284], 0x14
call fcn.0044a5b7
push esi
lea ecx, [esp + 0x68]
push eax
push ecx
mov byte [esp + 0x284], 0x15
call fcn.0044a5b7
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x27c], 0x16
call fcn.0044a4c1
lea ecx, [esp + 0x64]
mov byte [esp + 0x278], 0x15
call fcn.0044a3d4
lea ecx, [esp + 0x44]
mov byte [esp + 0x278], 0x14
call fcn.0044a3d4
lea ecx, [esp + 0x48]
mov byte [esp + 0x278], 0x13
call fcn.0044a3d4
lea ecx, [esp + 0x50]
mov byte [esp + 0x278], bl
call fcn.0044a3d4
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x6c]
push 0x104
push edx
push str.HardwareID
push eax
push 0x80000002
call fcn.00430370
add esp, 0x14
test eax, eax
jne 0x402def
lea ecx, [esp + 0x6c]
push ecx
lea ecx, [esp + 0x24]
call fcn.0044a511
lea ecx, [esp + 0x20]
call fcn.0044a88a
mov edx, dword [esp + 0x284]
lea ecx, [esp + 0x20]
push edx
call fcn.00449464
cmp eax, 0xffffffff
je 0x402def
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x6c]
push 0x104
push eax
push str.Driver
push ecx
push 0x80000002
call fcn.00430370
add esp, 0x14
test eax, eax
jne 0x402def
lea edx, [esp + 0x14]
lea ecx, [esp + 0x38]
push edx
call fcn.0044a4c1
lea eax, [esp + 0x6c]
lea ecx, [esp + 0x28]
push eax
lea edx, [esp + 0x5c]
push ecx
push edx
call fcn.0044a61d
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x27c], 0x17
call fcn.0044a4c1
lea ecx, [esp + 0x58]
mov byte [esp + 0x278], bl
call fcn.0044a3d4
mov dword [esp + 0x18], 1
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x6c]
mov eax, edi
push 0x104
push ecx
push eax
push edx
inc edi
call ebp
test eax, eax
je 0x402c75
mov eax, dword [esp + 0x34]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x3c]
mov eax, ecx
inc ecx
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x6c]
push 0x104
push ecx
push eax
push edx
call ebp
test eax, eax
je 0x402b84
mov eax, dword [esp + 0x3c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x38]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x402e7e
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx - 8]
test edx, edx
je 0x402e7e
push eax
push 0x80000002
call fcn.00430ab0
mov edx, dword [esp + 0x34]
push edx
push 0x80000002
call fcn.00430ab0
add esp, 0x10
push edi
lea eax, [esp + 0x174]
push str.CINIFile_::_RemoveWaveDevice_EXIT_:_bRetVal___d_n
push eax
call fcn.0043a4a0
add esp, 0xc
lea ecx, [esp + 0x170]
push ecx
mov ecx, 0x475b68
call fcn.0042f820
mov ecx, 0x475b68
call fcn.0042f5f0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x278], 0xa
call fcn.0044a3d4
lea ecx, [esp + 0x38]
mov byte [esp + 0x278], 9
call fcn.0044a3d4
lea ecx, [esp + 0x14]
mov byte [esp + 0x278], 8
call fcn.0044a3d4
lea ecx, [esp + 0x30]
mov byte [esp + 0x278], 7
call fcn.0044a3d4
lea ecx, [esp + 0x60]
mov byte [esp + 0x278], 6
call fcn.0044a3d4
lea ecx, [esp + 0x24]
mov byte [esp + 0x278], 5
call fcn.0044a3d4
lea ecx, [esp + 0x28]
mov byte [esp + 0x278], 4
call fcn.0044a3d4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x278], 3
call fcn.0044a3d4
lea ecx, [esp + 0x20]
mov byte [esp + 0x278], 2
call fcn.0044a3d4
lea ecx, [esp + 0x40]
mov byte [esp + 0x278], 1
call fcn.0044a3d4
lea ecx, [esp + 0x280]
mov byte [esp + 0x278], 0
call fcn.0044a3d4
lea ecx, [esp + 0x284]
mov dword [esp + 0x278], 0xffffffff
call fcn.0044a3d4
mov ecx, dword [esp + 0x270]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x26c
ret 8