Function at 0x40b0e0
Capabilities:
Delete registry key
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x417f67
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x47c
push ebx
mov al, byte [esp + 7]
push ebp
push esi
push edi
sub esp, 0x10
mov ebp, esp
mov dword [esp + 0x48], esp
push 0
mov ecx, ebp
mov byte [ebp], al
call fcn.00401d10
mov edi, str.InstallorUninstallDrivers___n
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
mov ecx, ebp
push ebx
call fcn.00402510
test al, al
je 0x40b157
mov edi, dword [ebp + 4]
mov ecx, ebx
mov edx, ecx
mov esi, str.InstallorUninstallDrivers___n
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebp
call fcn.004024f0
call fcn.004051f0
mov eax, dword [0x41fba8]
add esp, 0x10
test eax, eax
je 0x40b269
lea eax, [esp + 0x38]
mov dword [esp + 0x38], 0
push eax
push str.SoftwareIntelBasedrivers
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x40b19d
push str.SoftwareIntelBasedrivers
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, dword [esp + 0x49c]
push str.Windows_NT
push esi
call fcn.004104a7
add esp, 8
test eax, eax
je 0x40b1cc
push esi
call fcn.00409d30
add esp, 4
test eax, eax
je 0x40bc84
jmp 0x40bc96
lea ecx, [esp + 0x14]
xor edi, edi
push ecx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], edi
call sub.NetInst.dll_long_int___cdecl_DllGetClassFactoryObject_class_IDriverInstallInterfaceFactory___
mov ecx, dword [esp + 0x18]
add esp, 4
lea eax, [esp + 0x18]
mov edx, dword [ecx]
push esi
push eax
call dword [edx]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
call dword [edx + 4]
mov al, byte [esp + 0x13]
sub esp, 0x10
mov ebp, esp
mov dword [esp + 0x4c], esp
push edi
mov ecx, ebp
mov byte [ebp], al
call fcn.00401d10
mov edi, str.calling_remove_n
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
mov ecx, ebp
push ebx
call fcn.00402510
test al, al
je 0x40b253
mov edi, dword [ebp + 4]
mov ecx, ebx
mov edx, ecx
mov esi, str.calling_remove_n
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 4]
mov dword [ebp + 8], ebx
mov byte [eax + ebx], 0
call fcn.004051f0
mov ecx, dword [esp + 0x28]
add esp, 0x10
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x40bec5
mov ebx, dword [esp + 0x49c]
push str.Windows_NT
push ebx
call fcn.004104a7
add esp, 8
test eax, eax
jne 0x40b9e7
mov al, byte [esp + 0x13]
xor esi, esi
mov byte [esp + 0x50], al
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov cl, byte [esp + 0x13]
mov dword [esp + 0x494], esi
mov byte [esp + 0x40], cl
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
lea edx, [esp + 0x40]
lea eax, [esp + 0x50]
push edx
push eax
mov byte [esp + 0x49c], 1
call fcn.0040cb70
mov eax, dword [esp + 0x5c]
add esp, 8
mov edi, eax
mov cl, byte [eax]
push esi
mov byte [esp + 0x64], cl
lea ecx, [esp + 0x64]
call fcn.00401d10
mov edx, dword [0x419218]
lea ecx, [esp + 0x60]
push edx
push esi
push edi
call fcn.00401b10
mov edi, dword [esp + 0x64]
mov byte [esp + 0x494], 2
cmp edi, esi
jne 0x40b30e
mov edi, 0x41921c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea ebp, [ebx + 0x1cc]
mov eax, ecx
mov esi, edi
mov edi, ebp
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 ecx, [esp + 0x14]
mov dword [0x41fb6c], 1
push ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
call sub.NetInst.dll_long_int___cdecl_DllGetClassFactoryObject_class_IDriverInstallInterfaceFactory___
mov ecx, dword [esp + 0x18]
add esp, 4
lea eax, [esp + 0x18]
mov edx, dword [ecx]
push ebx
push eax
call dword [edx]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [0x41fbac]
test eax, eax
jne 0x40b6af
call fcn.00407590
test eax, eax
mov dword [esp + 0x38], eax
je 0x40b940
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov cl, byte [esp + 0x13]
push 0
mov byte [esp + 0x20], cl
lea ecx, [esp + 0x20]
call fcn.00401d10
mov edi, str.NT_install:
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x20]
push ebx
call fcn.00402510
test al, al
je 0x40b3e9
mov edi, dword [esp + 0x20]
mov ecx, ebx
mov edx, ecx
mov esi, str.NT_install:
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x24], ebx
mov byte [eax + ebx], 0
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x24]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + 0x494], 3
mov esi, ecx
mov ecx, dword [0x419218]
sub ecx, edx
cmp ecx, esi
ja 0x40b414
call fcn.0040f879
test esi, esi
jbe 0x40b456
mov edx, dword [esp + 0x24]
push 0
lea ecx, [esp + 0x20]
lea ebx, [edx + esi]
push ebx
call fcn.00402510
test al, al
je 0x40b456
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
push ebx
lea edi, [ecx + eax]
mov ecx, esi
mov edx, ecx
mov esi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x20]
call fcn.004024f0
mov edi, 0x41c794
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x24]
repne scasb al, byte es:[edi]
mov eax, dword [0x419218]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x40b47b
call fcn.0040f879
test esi, esi
jbe 0x40b4c0
mov ecx, dword [esp + 0x24]
push 0
lea ebx, [ecx + esi]
lea ecx, [esp + 0x20]
push ebx
call fcn.00402510
test al, al
je 0x40b4c0
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov ecx, esi
mov esi, 0x41c794
lea edi, [eax + edx]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x20]
call fcn.004024f0
mov eax, dword [esp + 0x49c]
or ecx, 0xffffffff
mov edx, dword [esp + 0x24]
lea esi, [eax + 0xcc]
xor eax, eax
mov edi, esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
mov ecx, dword [0x419218]
sub ecx, edx
cmp ecx, ebx
ja 0x40b4f0
call fcn.0040f879
test ebx, ebx
jbe 0x40b530
mov edx, dword [esp + 0x24]
push 0
lea ecx, [esp + 0x20]
lea ebp, [edx + ebx]
push ebp
call fcn.00402510
test al, al
je 0x40b530
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
push ebp
lea edi, [ecx + eax]
mov ecx, ebx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x20]
call fcn.004024f0
mov edi, 0x41c2dc
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x24]
repne scasb al, byte es:[edi]
mov eax, dword [0x419218]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x40b555
call fcn.0040f879
test esi, esi
jbe 0x40b59a
mov eax, dword [esp + 0x24]
push 0
lea ecx, [esp + 0x20]
lea ebx, [eax + esi]
push ebx
call fcn.00402510
test al, al
je 0x40b59a
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
push ebx
lea edi, [edx + ecx]
mov ecx, esi
mov eax, ecx
mov esi, 0x41c2dc
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 + 0x20]
call fcn.004024f0
mov cl, byte [esp + 0x1c]
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x4c], esp
push 0
mov byte [esi], cl
mov ecx, esi
call fcn.00401d10
mov edx, dword [0x419218]
lea eax, [esp + 0x2c]
push edx
push 0
push eax
mov ecx, esi
call fcn.00401b10
call fcn.004051f0
mov eax, dword [esp + 0x30]
add esp, 0x10
test eax, eax
mov byte [esp + 0x494], 2
je 0x40b5fc
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x40b5f3
cmp al, 0xff
je 0x40b5f3
dec al
mov byte [ecx], al
jmp 0x40b5fc
push ecx
call fcn.0040f86e
add esp, 4
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x49c]
push 0
push eax
mov edx, dword [ecx]
call dword [edx + 8]
mov edi, dword [esp + 0x38]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3ec
push edi
call esi
push 0x3ea
push edi
mov dword [0x41fb84], eax
call esi
mov ecx, dword [0x41fb84]
mov dword [0x41fb80], eax
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
push 0
push 0x3e8
push 0
push edi
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [0x41fb7c], eax
mov dword [0x41fb78], 0x14
call fcn.00406750
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
push 0
push 0
lea edx, [esp + 0x78]
push 0
push edx
call esi
test eax, eax
je 0x40b940
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageA]
lea eax, [esp + 0x70]
push eax
call edi
lea ecx, [esp + 0x70]
push ecx
call ebx
push 0
push 0
lea edx, [esp + 0x78]
push 0
push edx
call esi
test eax, eax
jne 0x40b68b
jmp 0x40b940
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x20]
mov byte [esp + 0x20], al
call fcn.00401d10
mov edi, str.NT_install:
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x20]
push ebx
call fcn.00402510
test al, al
je 0x40b708
mov edi, dword [esp + 0x20]
mov ecx, ebx
mov edx, ecx
mov esi, str.NT_install:
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x24], ebx
mov byte [eax + ebx], 0
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x24]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + 0x494], 4
mov esi, ecx
mov ecx, dword [0x419218]
sub ecx, edx
cmp ecx, esi
ja 0x40b733
call fcn.0040f879
test esi, esi
jbe 0x40b775
mov edx, dword [esp + 0x24]
push 0
lea ecx, [esp + 0x20]
lea ebx, [edx + esi]
push ebx
call fcn.00402510
test al, al
je 0x40b775
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
push ebx
lea edi, [ecx + eax]
mov ecx, esi
mov edx, ecx
mov esi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x20]
call fcn.004024f0
mov edi, 0x41c794
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x24]
repne scasb al, byte es:[edi]
mov eax, dword [0x419218]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x40b79a
call fcn.0040f879
test esi, esi
jbe 0x40b7df
mov ecx, dword [esp + 0x24]
push 0
lea ebx, [ecx + esi]
lea ecx, [esp + 0x20]
push ebx
call fcn.00402510
test al, al
je 0x40b7df
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov ecx, esi
mov esi, 0x41c794
lea edi, [eax + edx]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x20]
call fcn.004024f0
mov eax, dword [esp + 0x49c]
or ecx, 0xffffffff
mov edx, dword [esp + 0x24]
lea esi, [eax + 0xcc]
xor eax, eax
mov edi, esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
mov ecx, dword [0x419218]
sub ecx, edx
cmp ecx, ebp
ja 0x40b80f
call fcn.0040f879
test ebp, ebp
jbe 0x40b84f
mov edx, dword [esp + 0x24]
push 0
lea ecx, [esp + 0x20]
lea ebx, [edx + ebp]
push ebx
call fcn.00402510
test al, al
je 0x40b84f
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
push ebx
lea edi, [ecx + eax]
mov ecx, ebp
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x20]
call fcn.004024f0
mov edi, 0x41c2dc
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x24]
repne scasb al, byte es:[edi]
mov eax, dword [0x419218]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x40b874
call fcn.0040f879
xor edi, edi
cmp esi, edi
jbe 0x40b8be
mov eax, dword [esp + 0x24]
push edi
lea ecx, [esp + 0x20]
lea ebp, [eax + esi]
push ebp
call fcn.00402510
test al, al
je 0x40b8be
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
lea edi, [edx + ecx]
mov ecx, esi
mov eax, ecx
mov esi, 0x41c2dc
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x24], ebp
xor edi, edi
mov byte [ecx + ebp], 0
mov dl, byte [esp + 0x1c]
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x4c], esp
mov byte [ecx], dl
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
mov dword [ecx + 0xc], edi
mov eax, dword [0x419218]
lea edx, [esp + 0x2c]
push eax
push edi
push edx
call fcn.00401b10
call fcn.004051f0
mov eax, dword [esp + 0x30]
add esp, 0x10
cmp eax, edi
mov byte [esp + 0x494], 2
je 0x40b91c
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x40b913
cmp al, 0xff
je 0x40b913
dec al
mov byte [ecx], al
jmp 0x40b91c
push ecx
call fcn.0040f86e
add esp, 4
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x49c]
push edi
push edx
mov eax, dword [ecx]
call dword [eax + 8]
cmp dword [0x41fba4], edi
je 0x40b940
call fcn.00406750
call fcn.004066f0
mov eax, dword [esp + 0x64]
xor ebx, ebx
cmp eax, ebx
je 0x40b967
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x40b95e
cmp al, 0xff
je 0x40b95e
dec al
mov byte [ecx], al
jmp 0x40b967
push ecx
call fcn.0040f86e
add esp, 4
mov edi, dword [esp + 0x48]
mov esi, dword [esp + 0x44]
cmp esi, edi
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x494], 0
je 0x40b99a
push ebx
mov ecx, esi
call fcn.0040f790
add esi, 0x10
cmp esi, edi
jne 0x40b987
mov esi, dword [esp + 0x44]
push esi
call fcn.0040f86e
mov edi, dword [esp + 0x5c]
mov esi, dword [esp + 0x58]
add esp, 4
cmp esi, edi
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x494], 0xffffffff
je 0x40b9d9
push ebx
mov ecx, esi
call fcn.0040f790
add esi, 0x10
cmp esi, edi
jne 0x40b9c6
mov esi, dword [esp + 0x54]
push esi
call fcn.0040f86e
add esp, 4
jmp 0x40bec5
push str.Windows_2000
push ebx
call fcn.004104a7
add esp, 8
test eax, eax
je 0x40bd74
push str.Windows_Whistler
push ebx
call fcn.004104a7
add esp, 8
test eax, eax
je 0x40bd74
push str.Windows_Millenium
push ebx
call fcn.004104a7
add esp, 8
test eax, eax
jne 0x40bb51
mov ecx, 0x7f
lea edi, [esp + 0x8d]
mov byte [esp + 0x8c], al
push 0x200
rep stosd dword es:[edi], eax
mov ecx, dword [0x41fb88]
mov dword [0x41fb74], 1
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x90]
push eax
push 9
push ecx
call fcn.0040ea10
mov eax, dword [0x41fbac]
add esp, 0x10
test eax, eax
jne 0x40bb36
call fcn.00407590
mov esi, eax
test esi, esi
je 0x40bec5
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push ebx
call fcn.0040a000
add esp, 8
cmp eax, 0xffffffff
je 0x40bc84
call fcn.0040dc20
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3ec
push esi
call edi
push 0x3ea
push esi
mov dword [0x41fb84], eax
call edi
mov dword [0x41fb80], eax
call fcn.00406750
push 0
push 0x3e8
push 0
push esi
call dword [sym.imp.USER32.dll_SetTimer]
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
push 0
push 0
lea edx, [esp + 0x78]
push 0
push edx
mov dword [0x41fb7c], eax
mov dword [0x41fb78], 0x14
call esi
test eax, eax
je 0x40bec5
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageA]
lea eax, [esp + 0x70]
push eax
call edi
lea ecx, [esp + 0x70]
push ecx
call ebx
push 0
push 0
lea edx, [esp + 0x78]
push 0
push edx
call esi
test eax, eax
jne 0x40bb12
jmp 0x40bec5
push 0
push ebx
call fcn.0040a000
add esp, 8
cmp eax, 0xffffffff
jne 0x40bc8c
or eax, eax
jmp 0x40bec7
push str.Windows_98
push ebx
call fcn.004104a7
add esp, 8
test eax, eax
jne 0x40bca8
mov ecx, 0x7f
lea edi, [esp + 0x28d]
mov byte [esp + 0x28c], al
push 0x200
rep stosd dword es:[edi], eax
mov ecx, dword [0x41fb88]
mov dword [0x41fb70], 1
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x290]
push eax
push 9
push ecx
call fcn.0040ea10
mov eax, dword [0x41fbac]
add esp, 0x10
test eax, eax
jne 0x40bc74
call fcn.00407590
mov esi, eax
test esi, esi
je 0x40bec5
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push ebx
call fcn.0040a000
add esp, 8
cmp eax, 0xffffffff
je 0x40bc84
call fcn.0040dc20
call fcn.00406750
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3ec
push esi
call edi
push 0x3ea
push esi
mov dword [0x41fb84], eax
call edi
push 0
push 0x3e8
push 0
push esi
mov dword [0x41fb80], eax
call dword [sym.imp.USER32.dll_SetTimer]
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
push 0
push 0
lea edx, [esp + 0x24]
push 0
push edx
mov dword [0x41fb7c], eax
mov dword [0x41fb78], 0x14
call esi
test eax, eax
je 0x40bec5
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageA]
lea eax, [esp + 0x1c]
push eax
call edi
lea ecx, [esp + 0x1c]
push ecx
call ebx
push 0
push 0
lea edx, [esp + 0x24]
push 0
push edx
call esi
test eax, eax
jne 0x40bc50
jmp 0x40bec5
push 0
push ebx
call fcn.0040a000
add esp, 8
cmp eax, 0xffffffff
jne 0x40bc8c
or eax, 0xffffffff
jmp 0x40bec7
call fcn.0040dc20
call fcn.00406750
mov eax, dword [0x41fba4]
test eax, eax
je 0x40bec5
jmp 0x40bec0
mov al, byte [esp + 0x13]
sub esp, 0x10
mov ebp, esp
xor esi, esi
mov edi, str.unable_to_determine_OS_n
or ecx, 0xffffffff
mov byte [ebp], al
xor eax, eax
mov dword [ebp + 4], esi
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], esi
mov dword [esp + 0x4c], esp
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
cmp ebx, 0xfffffffd
jbe 0x40bcde
call fcn.0040f879
mov ecx, dword [ebp + 4]
cmp ecx, esi
je 0x40bd0e
mov al, byte [ecx - 1]
test al, al
je 0x40bd0e
cmp al, 0xff
je 0x40bd0e
cmp ebx, esi
jne 0x40bd3d
dec al
push esi
mov byte [ecx - 1], al
mov ecx, ebp
call fcn.00401d10
call fcn.004051f0
add esp, 0x10
jmp 0x40bec5
cmp ebx, esi
jne 0x40bd28
push 1
mov ecx, ebp
call fcn.00401d10
call fcn.004051f0
add esp, 0x10
jmp 0x40bec5
mov eax, dword [ebp + 0xc]
cmp eax, 0x1f
ja 0x40bd34
cmp eax, ebx
jae 0x40bd45
push 1
mov ecx, ebp
call fcn.00401d10
push ebx
mov ecx, ebp
call fcn.00402bb0
mov edi, dword [ebp + 4]
mov ecx, ebx
mov edx, ecx
mov esi, str.unable_to_determine_OS_n
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 4]
mov dword [ebp + 8], ebx
mov byte [eax + ebx], 0
call fcn.004051f0
add esp, 0x10
jmp 0x40bec5
lea ecx, [esp + 0x18]
xor ebp, ebp
push ecx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
call sub.NetInst.dll_long_int___cdecl_DllGetClassFactoryObject_class_IDriverInstallInterfaceFactory___
mov ecx, dword [esp + 0x1c]
add esp, 4
lea eax, [esp + 0x14]
mov edx, dword [ecx]
push ebx
push eax
call dword [edx]
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
call dword [edx + 4]
cmp dword [0x41fbac], ebp
jne 0x40be92
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x8d]
mov byte [esp + 0x8c], 0
rep stosd dword es:[edi], eax
mov ecx, dword [0x41fb88]
push 0x200
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x90]
push eax
push 9
push ecx
call fcn.0040ea10
add esp, 0x10
call fcn.00407590
mov esi, eax
cmp esi, ebp
je 0x40be7b
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3ec
push esi
call edi
push 0x3ea
push esi
mov dword [0x41fb84], eax
call edi
mov edx, dword [0x41fb84]
mov edi, dword [sym.imp.USER32.dll_DestroyWindow]
push edx
mov dword [0x41fb80], eax
call edi
mov eax, dword [0x41fb80]
push eax
call edi
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esp + 0x14]
push ecx
push ebx
call fcn.0040a000
add esp, 8
cmp eax, 0xffffffff
je 0x40bc84
call fcn.004073f0
lea edx, [esp + 0x8c]
push edx
push 0x3e8
push esi
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
call fcn.00406c00
call fcn.00406750
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x41fbe0], 1
jne 0x40bec5
call fcn.00407670
cmp eax, 0x3ec
jne 0x40bec5
jmp 0x40bec0
mov eax, dword [esp + 0x14]
push eax
push ebx
call fcn.0040a000
add esp, 8
cmp eax, 0xffffffff
jne 0x40bea9
or eax, eax
jmp 0x40bec7
call fcn.004073f0
call fcn.00406c00
call fcn.00406750
cmp dword [0x41fba4], ebp
je 0x40bec5
call fcn.004066f0
xor eax, eax
mov ecx, dword [esp + 0x48c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x488
ret