Function at 0x41d940
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x469730
push eax
mov dword fs:[0], esp
sub esp, 0x510
push ebp
push esi
push edi
mov ebp, ecx
call fcn.004318b0
test eax, eax
je 0x41da00
push 0
lea eax, [esp + 0x320]
push str.CInstallMonitor_::_CheckRegistryForInstallation_n
push eax
call fcn.0044cb10
mov edi, str.ENTRY:
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x11c]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x11c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x31c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00431840
mov ecx, eax
call fcn.004318e0
lea eax, [esp + 0x11c]
push eax
call fcn.00431840
mov ecx, eax
call fcn.00431c70
mov eax, dword [0x4855a4]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
push 0xa
lea ecx, [esp + 0x74]
mov dword [esp + 0x528], 0
call fcn.0045c599
mov ecx, dword [ebp + 4]
mov byte [esp + 0x524], 1
mov edi, dword [ecx + 4]
test edi, edi
je 0x41dd52
mov eax, edi
mov edi, dword [edi]
lea ecx, [esp + 0x10]
lea esi, [eax + 8]
push esi
call fcn.0045cec5
lea edx, [esi + 4]
lea ecx, [esp + 0x14]
push edx
call fcn.0045cec5
lea eax, [esi + 8]
lea ecx, [esp + 0x18]
push eax
call fcn.0045cec5
lea ecx, [esi + 0xc]
push ecx
lea ecx, [esp + 0x20]
call fcn.0045cec5
lea edx, [esi + 0x10]
lea ecx, [esp + 0x20]
push edx
call fcn.0045cec5
lea eax, [esi + 0x14]
lea ecx, [esp + 0x24]
push eax
call fcn.0045cec5
lea ecx, [esi + 0x18]
push ecx
lea ecx, [esp + 0x2c]
call fcn.0045cec5
lea edx, [esi + 0x1c]
lea ecx, [esp + 0x2c]
push edx
call fcn.0045cec5
lea eax, [esi + 0x20]
lea ecx, [esp + 0x30]
push eax
call fcn.0045cec5
lea ecx, [esi + 0x24]
push ecx
lea ecx, [esp + 0x38]
call fcn.0045cec5
lea edx, [esi + 0x28]
lea ecx, [esp + 0x38]
push edx
call fcn.0045cec5
mov ecx, dword [esp + 0x1c]
mov eax, dword [esi + 0x2c]
push 1
push ecx
lea ecx, [esp + 0x48]
mov dword [esp + 0x44], eax
xor esi, esi
call fcn.0040f280
lea ecx, [esp + 0x40]
mov byte [esp + 0x524], 2
call fcn.00410320
test eax, eax
je 0x41dd39
push 1
lea ecx, [esp + 0x44]
call fcn.0040fea0
test eax, eax
je 0x41dd39
call fcn.004318b0
test eax, eax
je 0x41db74
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x31c]
push edx
push str.Found_Parent_DevNode___s_n
push eax
call fcn.0044cb10
add esp, 0xc
lea ecx, [esp + 0x31c]
push ecx
call fcn.00431840
mov ecx, eax
call fcn.00431c70
mov eax, dword [esp + 0x30]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x41dc95
push 0
push eax
lea ecx, [esp + 0x94]
call fcn.0040f280
lea ecx, [esp + 0x8c]
mov byte [esp + 0x524], 3
call fcn.00410320
test eax, eax
je 0x41dc84
call fcn.004318b0
test eax, eax
je 0x41dbe5
mov edx, dword [esp + 0x30]
lea eax, [esp + 0x21c]
push edx
push str.Found_Child_DevNode___s_n
push eax
call fcn.0044cb10
add esp, 0xc
lea ecx, [esp + 0x21c]
push ecx
call fcn.00431840
mov ecx, eax
call fcn.00431c70
mov eax, dword [esp + 0x38]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x41dc7f
push 0
push eax
lea ecx, [esp + 0xc4]
call fcn.0040f280
lea ecx, [esp + 0xbc]
mov byte [esp + 0x524], 4
call fcn.00410320
test eax, eax
je 0x41dc57
call fcn.004318b0
test eax, eax
je 0x41dc52
mov edx, dword [esp + 0x38]
lea eax, [esp + 0x11c]
push edx
push str.Found_Wave_DevNode___s_n
push eax
call fcn.0044cb10
add esp, 0xc
lea ecx, [esp + 0x11c]
push ecx
call fcn.00431840
mov ecx, eax
call fcn.00431c70
mov esi, 1
lea ecx, [esp + 0xbc]
mov byte [esp + 0x524], 3
call fcn.0040f220
mov byte [esp + 0x524], 2
lea ecx, [esp + 0x8c]
jmp 0x41dd12
mov esi, 1
mov byte [esp + 0x524], 2
lea ecx, [esp + 0x8c]
jmp 0x41dd12
mov eax, dword [esp + 0x38]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x41dd1b
push 0
push eax
lea ecx, [esp + 0xf4]
call fcn.0040f280
lea ecx, [esp + 0xec]
mov byte [esp + 0x524], 5
call fcn.00410320
test eax, eax
je 0x41dd03
call fcn.004318b0
test eax, eax
je 0x41dcfe
mov edx, dword [esp + 0x38]
lea eax, [esp + 0x41c]
push edx
push str.Found_Wave_DevNode___s_n
push eax
call fcn.0044cb10
add esp, 0xc
lea ecx, [esp + 0x41c]
push ecx
call fcn.00431840
mov ecx, eax
call fcn.00431c70
mov esi, 1
mov byte [esp + 0x524], 2
lea ecx, [esp + 0xec]
call fcn.0040f220
test esi, esi
je 0x41dd39
call fcn.004318b0
test eax, eax
je 0x41dd35
push str.Found_Device_n
call fcn.00431840
mov ecx, eax
call fcn.00431c70
inc dword [esp + 0xc]
lea ecx, [esp + 0x40]
mov byte [esp + 0x524], 1
call fcn.0040f220
test edi, edi
jne 0x41da65
call fcn.004318b0
test eax, eax
je 0x41ddf5
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x41c]
push edx
push str.CInstallMonitor_::_CheckRegistryForInstallation_:_dwRetVal___d_n
push eax
call fcn.0044cb10
mov edi, str.EXIT:
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x21c]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x21c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x41c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0x21c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.00431840
mov ecx, eax
call fcn.00431c70
call fcn.00431840
mov ecx, eax
call fcn.004318f0
lea ecx, [esp + 0x70]
mov byte [esp + 0x524], 0
call fcn.0045c60d
lea ecx, [esp + 0x38]
mov dword [esp + 0x524], 0xf
call fcn.0045cdd8
lea ecx, [esp + 0x34]
mov byte [esp + 0x524], 0xe
call fcn.0045cdd8
lea ecx, [esp + 0x30]
mov byte [esp + 0x524], 0xd
call fcn.0045cdd8
lea ecx, [esp + 0x2c]
mov byte [esp + 0x524], 0xc
call fcn.0045cdd8
lea ecx, [esp + 0x28]
mov byte [esp + 0x524], 0xb
call fcn.0045cdd8
lea ecx, [esp + 0x24]
mov byte [esp + 0x524], 0xa
call fcn.0045cdd8
lea ecx, [esp + 0x20]
mov byte [esp + 0x524], 9
call fcn.0045cdd8
lea ecx, [esp + 0x1c]
mov byte [esp + 0x524], 8
call fcn.0045cdd8
lea ecx, [esp + 0x18]
mov byte [esp + 0x524], 7
call fcn.0045cdd8
lea ecx, [esp + 0x14]
mov byte [esp + 0x524], 6
call fcn.0045cdd8
lea ecx, [esp + 0x10]
mov dword [esp + 0x524], 0xffffffff
call fcn.0045cdd8
mov ecx, dword [esp + 0x51c]
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x51c
ret