Function at 0x408d20
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x432a48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
mov eax, dword [0x43ee7c]
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov dword [esp + 0x1c], eax
xor ebx, ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x60], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], ebx
push ebx
lea ecx, [esp + 0x20]
mov byte [esp + 0x64], 3
call fcn.00401920
mov dword [esp + 0x44], ebx
push ecx
lea ecx, [ebp + 0x17b0]
mov eax, esp
mov dword [esp + 0x64], 4
mov dword [esp + 0x18], esp
mov dword [eax], ecx
lea ecx, [esp + 0x20]
call fcn.004019c0
test al, al
jne 0x408dfb
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x60], 6
call fcn.00408c40
cmp dword [esp + 0x48], ebx
je 0x408dc3
lea ecx, [esp + 0x48]
call fcn.00403da0
lea ecx, [esp + 0x20]
mov dword [esp + 0x48], ebx
mov byte [esp + 0x60], 5
call fcn.00425dde
lea ecx, [esp + 0x1c]
mov dword [esp + 0x60], 0xffffffff
call fcn.00425dde
xor eax, eax
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
push ecx
lea ecx, [esp + 0x20]
mov eax, esp
mov dword [esp + 0x18], esp
mov dword [eax], str.vrvscript
call fcn.00401ec0
test al, al
je 0x409548
lea ecx, [esp + 0x1c]
call fcn.00403360
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.Class
call fcn.00405680
lea eax, [esp + 0x18]
lea ecx, [esp + 0x20]
push eax
call fcn.00402d30
mov ecx, eax
mov byte [esp + 0x60], 7
mov esi, str.DEVICE_INSTALL_CONTROL
call fcn.004061b0
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x408e76
test cl, cl
je 0x408e72
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x408e76
add eax, 2
add esi, 2
test cl, cl
jne 0x408e52
xor eax, eax
jmp 0x408e7b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x408ef3
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.StartPolicy
call fcn.00405680
lea eax, [esp + 0x14]
lea ecx, [esp + 0x20]
push eax
call fcn.00402d30
mov ecx, eax
mov byte [esp + 0x60], 8
mov esi, 0x43d490
call fcn.004061b0
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x408ed3
test cl, cl
je 0x408ecf
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x408ed3
add eax, 2
add esi, 2
test cl, cl
jne 0x408eaf
xor eax, eax
jmp 0x408ed8
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
lea ecx, [esp + 0x10]
sete bl
mov byte [esp + 0x60], 7
call fcn.00425dde
test bl, bl
je 0x408ef3
mov bl, 1
jmp 0x408ef5
xor bl, bl
lea ecx, [esp + 0x14]
mov byte [esp + 0x60], 4
call fcn.00425dde
test bl, bl
je 0x40953d
push ecx
lea ecx, [esp + 0x20]
mov eax, esp
mov dword [esp + 0x1c], esp
mov dword [eax], str.item
call fcn.00401ec0
test al, al
je 0x40953d
lea ecx, [esp + 0x1c]
call fcn.00403360
push ecx
lea ecx, [esp + 0x20]
mov eax, esp
mov dword [esp + 0x1c], esp
mov dword [eax], str.OtherDeviceExcept
lea eax, [esp + 0x18]
push eax
call fcn.00402d30
mov eax, dword [eax]
or ecx, 0xffffffff
mov edi, eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp + 0x54]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
call fcn.00425dde
push ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], esp
mov eax, esp
push ecx
lea ecx, [esp + 0x24]
mov dword [eax], str.SpecialDeviceGuid
call fcn.00402d30
mov eax, dword [eax]
or ecx, 0xffffffff
mov edi, eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp + 0x254]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
call fcn.00425dde
push ecx
mov esi, esp
mov dword [esp + 0x1c], esp
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.OtherUnknownDevice
call fcn.00405680
push esi
lea ecx, [esp + 0x28]
call fcn.00402d30
call fcn.00408c80
mov esi, esp
mov dword [esp + 0x1c], esp
push ecx
mov dword [ebp + 0x454], eax
mov ecx, esp
mov dword [esp + 0x20], esp
push str.CDROM
call fcn.00405680
push esi
lea ecx, [esp + 0x28]
call fcn.00402d30
call fcn.00408c80
mov dword [ebp + 0x478], eax
mov dword [esp + 0x1c], esp
mov eax, esp
lea ecx, [esp + 0x18]
mov dword [eax], str.CDROMExcept
push ecx
lea ecx, [esp + 0x24]
call fcn.00402d30
mov eax, dword [eax]
or ecx, 0xffffffff
mov edi, eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp + 0x47c]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
call fcn.00425dde
push ecx
mov esi, esp
mov dword [esp + 0x1c], esp
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.FLOPPY
call fcn.00405680
push esi
lea ecx, [esp + 0x28]
call fcn.00402d30
call fcn.00408c80
mov esi, esp
mov dword [esp + 0x1c], esp
push ecx
mov dword [ebp + 0x67c], eax
mov ecx, esp
mov dword [esp + 0x20], esp
push str.UDISK
call fcn.00405680
push esi
lea ecx, [esp + 0x28]
call fcn.00402d30
call fcn.00408c80
mov dword [ebp + 0x680], eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], esp
mov eax, esp
push ecx
lea ecx, [esp + 0x24]
mov dword [eax], str.USBSTORAGEExcept
call fcn.00402d30
mov eax, dword [eax]
or ecx, 0xffffffff
mov edi, eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp + 0x684]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
call fcn.00425dde
push ecx
mov esi, esp
mov dword [esp + 0x1c], esp
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.USBINTERFACE
call fcn.00405680
push esi
lea ecx, [esp + 0x28]
call fcn.00402d30
call fcn.00408c80
mov dword [ebp + 0x704], eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], esp
mov eax, esp
push ecx
lea ecx, [esp + 0x24]
mov dword [eax], str.USBINTERFACEExcept
call fcn.00402d30
mov eax, dword [eax]
or ecx, 0xffffffff
mov edi, eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp + 0x708]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
call fcn.00425dde
push ecx
mov esi, esp
mov dword [esp + 0x1c], esp
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.USBMouseKeyboard
call fcn.00405680
push esi
lea ecx, [esp + 0x28]
call fcn.00402d30
call fcn.00408c80
mov esi, esp
mov dword [esp + 0x1c], esp
push ecx
mov dword [ebp + 0x908], eax
mov ecx, esp
mov dword [esp + 0x20], esp
push str.PRINTER
call fcn.00405680
push esi
lea ecx, [esp + 0x28]
call fcn.00402d30
call fcn.00408c80
mov esi, esp
mov dword [esp + 0x1c], esp
push ecx
mov dword [ebp + 0x90c], eax
mov ecx, esp
mov dword [esp + 0x20], esp
push str.MODEL
call fcn.00405680
push esi
lea ecx, [esp + 0x28]
call fcn.00402d30
call fcn.00408c80
mov esi, esp
mov dword [esp + 0x1c], esp
push ecx
mov dword [ebp + 0x910], eax
mov ecx, esp
mov dword [esp + 0x20], esp
push str.Dev1394
call fcn.00405680
push esi
lea ecx, [esp + 0x28]
call fcn.00402d30
call fcn.00408c80
mov dword [ebp + 0x914], eax
mov esi, esp
mov dword [esp + 0x1c], esp
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.INFRARED
call fcn.00405680
push esi
lea ecx, [esp + 0x28]
call fcn.00402d30
call fcn.00408c80
mov esi, esp
mov dword [esp + 0x1c], esp
push ecx
mov dword [ebp + 0x918], eax
mov ecx, esp
mov dword [esp + 0x20], esp
push str.BlueTooth
call fcn.00405680
push esi
lea ecx, [esp + 0x28]
call fcn.00402d30
call fcn.00408c80
mov esi, esp
mov dword [esp + 0x1c], esp
push ecx
mov dword [ebp + 0x91c], eax
mov ecx, esp
mov dword [esp + 0x20], esp
push str.LPTPORT
call fcn.00405680
push esi
lea ecx, [esp + 0x28]
call fcn.00402d30
call fcn.00408c80
mov esi, esp
mov dword [esp + 0x1c], esp
push ecx
mov dword [ebp + 0x920], eax
mov ecx, esp
mov dword [esp + 0x20], esp
push str.PcmciaCard
call fcn.00405680
push esi
lea ecx, [esp + 0x28]
call fcn.00402d30
call fcn.00408c80
mov esi, esp
mov dword [esp + 0x1c], esp
push ecx
mov dword [ebp + 0x924], eax
mov ecx, esp
mov dword [esp + 0x20], esp
push str.OtherIDE
call fcn.00405680
push esi
lea ecx, [esp + 0x28]
call fcn.00402d30
call fcn.00408c80
mov esi, esp
mov dword [esp + 0x1c], esp
push ecx
mov dword [ebp + 0x928], eax
mov ecx, esp
mov dword [esp + 0x20], esp
push str.TypeDriver
call fcn.00405680
push esi
lea ecx, [esp + 0x28]
call fcn.00402d30
call fcn.00408c80
mov esi, esp
mov dword [esp + 0x1c], esp
push ecx
mov dword [ebp + 0x92c], eax
mov ecx, esp
mov dword [esp + 0x20], esp
push str.SCSI
call fcn.00405680
push esi
lea ecx, [esp + 0x28]
call fcn.00402d30
call fcn.00408c80
mov dword [ebp + 0x930], eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], esp
mov eax, esp
push ecx
lea ecx, [esp + 0x24]
mov dword [eax], str.SCSIExcept
call fcn.00402d30
mov eax, dword [eax]
or ecx, 0xffffffff
mov edi, eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp + 0x934]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
call fcn.00425dde
push ecx
mov esi, esp
mov dword [esp + 0x1c], esp
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.PORT
call fcn.00405680
push esi
lea ecx, [esp + 0x28]
call fcn.00402d30
call fcn.00408c80
mov esi, esp
mov dword [esp + 0x1c], esp
push ecx
mov dword [ebp + 0xb34], eax
mov ecx, esp
mov dword [esp + 0x20], esp
push str.AllNetWork
call fcn.00405680
push esi
lea ecx, [esp + 0x28]
call fcn.00402d30
call fcn.00408c80
mov dword [ebp + 0xb38], eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], esp
mov eax, esp
push ecx
lea ecx, [esp + 0x24]
mov dword [eax], str.NetWorkExcept
call fcn.00402d30
mov eax, dword [eax]
or ecx, 0xffffffff
mov edi, eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp + 0xb3c]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
call fcn.00425dde
push ecx
mov esi, esp
mov dword [esp + 0x1c], esp
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.NotNeedHelpControl
call fcn.00405680
push esi
lea ecx, [esp + 0x28]
call fcn.00402d30
call fcn.00408c80
mov esi, esp
mov dword [esp + 0x1c], esp
push ecx
mov dword [ebp + 0xbbc], eax
mov ecx, esp
mov dword [esp + 0x20], esp
push str.MutiPolicyMode
call fcn.00405680
push esi
lea ecx, [esp + 0x28]
call fcn.00402d30
call fcn.00408c80
mov esi, esp
mov dword [esp + 0x1c], esp
push ecx
mov dword [ebp + 0xbc0], eax
mov ecx, esp
mov dword [esp + 0x20], esp
push str.NetWork
call fcn.00405680
push esi
lea ecx, [esp + 0x28]
call fcn.00402d30
call fcn.00408c80
mov esi, esp
mov dword [esp + 0x1c], esp
push ecx
mov dword [ebp + 0xbc4], eax
mov ecx, esp
mov dword [esp + 0x20], esp
push str.UpRegionService
call fcn.00405680
push esi
lea ecx, [esp + 0x28]
call fcn.00402d30
call fcn.00408c80
mov esi, esp
mov dword [esp + 0x1c], esp
push ecx
mov dword [ebp + 0xbc8], eax
mov ecx, esp
mov dword [esp + 0x20], esp
push str.WriteLocalFile
call fcn.00405680
push esi
lea ecx, [esp + 0x28]
call fcn.00402d30
call fcn.00408c80
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [ebp + 0xbcc], eax
call fcn.004033a0
lea ecx, [esp + 0x1c]
call fcn.004033a0
xor ebx, ebx
mov ecx, dword [esp + 0x50]
xor esi, esi
dec ecx
mov dword [esp + 0x60], 0xa
sar ecx, 0x10
inc ecx
test ecx, ecx
jle 0x40957d
mov edx, dword [esp + 0x4c]
mov eax, dword [edx + esi*4]
push eax
call fcn.00425b42
mov eax, dword [esp + 0x54]
add esp, 4
inc esi
dec eax
sar eax, 0x10
inc eax
cmp esi, eax
jl 0x40955f
mov eax, dword [esp + 0x4c]
cmp eax, ebx
je 0x40958e
push eax
call fcn.00425b42
add esp, 4
mov ecx, dword [esp + 0x48]
cmp ecx, ebx
je 0x4095d1
xor edi, edi
mov eax, dword [edi + ecx]
cmp eax, ebx
je 0x4095c0
mov ecx, dword [eax - 4]
lea esi, [eax - 4]
push fcn.00401610
push ecx
push 0xc
push eax
call fcn.00412d42
push esi
call fcn.00425b42
mov ecx, dword [esp + 0x4c]
add esp, 4
add edi, 4
cmp edi, 0x1c
jl 0x409598
push ecx
call fcn.00425b42
add esp, 4
lea ecx, [esp + 0x20]
mov dword [esp + 0x48], ebx
mov byte [esp + 0x60], 9
call fcn.00425dde
lea ecx, [esp + 0x1c]
mov dword [esp + 0x60], 0xffffffff
call fcn.00425dde
mov ecx, dword [esp + 0x58]
pop edi
pop esi
pop ebp
mov eax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x54
ret