Function at 0x40a990
Capabilities:
Delete registry key

Disassembly:
push 0xffffffffffffffff
push 0x41700c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x46c
push ebx
mov al, byte [esp + 7]
push ebp
push esi
push edi
xor esi, esi
sub esp, 0x10
mov ebp, esp
mov dword [esp + 0x48], esp
push esi
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 0x40aa0e
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
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebp + 8], ebx
mov ebp, dword [ebp + 4]
add ebp, ebx
xor esi, esi
mov byte [ebp], 0
call fcn.00405060
mov eax, dword [0x41eb18]
add esp, 0x10
cmp eax, esi
je 0x40ab1a
lea eax, [esp + 0x38]
mov dword [esp + 0x38], esi
push eax
push str.SoftwareIntelBasedrivers
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x40aa50
push str.SoftwareIntelBasedrivers
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov edi, dword [esp + 0x48c]
push str.Windows_NT
push edi
call fcn.0040f5c7
add esp, 8
test eax, eax
je 0x40aa7f
push edi
call fcn.00409640
add esp, 4
test eax, eax
je 0x40b4c0
jmp 0x40b4d2
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], esi
push ecx
mov dword [esp + 0x18], esi
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 edi
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 esi
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 0x40ab04
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.00405060
mov ecx, dword [esp + 0x28]
add esp, 0x10
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x40b6d7
mov ebp, dword [esp + 0x48c]
push str.Windows_NT
push ebp
call fcn.0040f5c7
add esp, 8
test eax, eax
jne 0x40b240
mov al, byte [esp + 0x13]
mov dword [esp + 0x44], esi
mov byte [esp + 0x40], al
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
lea ecx, [esp + 0x40]
mov dword [esp + 0x484], esi
push ecx
call fcn.0040bfe0
mov eax, dword [esp + 0x48]
add esp, 4
lea ecx, [esp + 0x50]
mov edi, eax
mov dl, byte [eax]
push esi
mov byte [esp + 0x54], dl
call fcn.00401d10
mov eax, dword [0x418218]
lea ecx, [esp + 0x50]
push eax
push esi
push edi
call fcn.00401b10
mov edi, dword [esp + 0x54]
mov byte [esp + 0x484], 1
cmp edi, esi
jne 0x40ab9b
mov edi, 0x41821c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea ebx, [ebp + 0x1cc]
mov edx, ecx
mov esi, edi
mov edi, ebx
lea eax, [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor esi, esi
mov dword [0x41eadc], 1
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], esi
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 ebp
push eax
call dword [edx]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
call dword [edx + 4]
cmp dword [0x41eb1c], esi
jne 0x40af3a
call fcn.00406e60
cmp eax, esi
mov dword [esp + 0x38], eax
je 0x40b1d4
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov cl, byte [esp + 0x13]
push esi
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 ebp, ecx
lea ecx, [esp + 0x20]
push ebp
call fcn.00402510
test al, al
je 0x40ac74
mov edi, dword [esp + 0x20]
mov ecx, ebp
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], ebp
mov byte [eax + ebp], 0
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x24]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + 0x484], 2
mov esi, ecx
mov ecx, dword [0x418218]
sub ecx, edx
cmp ecx, esi
ja 0x40ac9f
call fcn.0040e999
test esi, esi
jbe 0x40ace1
mov edx, dword [esp + 0x24]
push 0
lea ecx, [esp + 0x20]
lea ebp, [edx + esi]
push ebp
call fcn.00402510
test al, al
je 0x40ace1
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
push ebp
lea edi, [ecx + eax]
mov ecx, esi
mov edx, ecx
mov esi, ebx
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, 0x41b75c
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x24]
repne scasb al, byte es:[edi]
mov eax, dword [0x418218]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x40ad06
call fcn.0040e999
test esi, esi
jbe 0x40ad4b
mov ecx, dword [esp + 0x24]
push 0
lea ebx, [ecx + esi]
lea ecx, [esp + 0x20]
push ebx
call fcn.00402510
test al, al
je 0x40ad4b
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov ecx, esi
mov esi, 0x41b75c
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 + 0x48c]
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 [0x418218]
sub ecx, edx
cmp ecx, ebx
ja 0x40ad7b
call fcn.0040e999
test ebx, ebx
jbe 0x40adbb
mov edx, dword [esp + 0x24]
push 0
lea ecx, [esp + 0x20]
lea ebp, [edx + ebx]
push ebp
call fcn.00402510
test al, al
je 0x40adbb
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, 0x41b2a0
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x24]
repne scasb al, byte es:[edi]
mov eax, dword [0x418218]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x40ade0
call fcn.0040e999
test esi, esi
jbe 0x40ae25
mov eax, dword [esp + 0x24]
push 0
lea ecx, [esp + 0x20]
lea ebx, [eax + esi]
push ebx
call fcn.00402510
test al, al
je 0x40ae25
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
push ebx
lea edi, [edx + ecx]
mov ecx, esi
mov eax, ecx
mov esi, 0x41b2a0
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 [0x418218]
lea eax, [esp + 0x2c]
push edx
push 0
push eax
mov ecx, esi
call fcn.00401b10
call fcn.00405060
mov eax, dword [esp + 0x30]
add esp, 0x10
test eax, eax
mov byte [esp + 0x484], 1
je 0x40ae87
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x40ae7e
cmp al, 0xff
je 0x40ae7e
dec al
mov byte [ecx], al
jmp 0x40ae87
push ecx
call fcn.0040e98e
add esp, 4
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x48c]
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 [0x41eaf4], eax
call esi
mov ecx, dword [0x41eaf4]
mov dword [0x41eaf0], 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 [0x41eaec], eax
mov dword [0x41eae8], 0x14
call fcn.00406590
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
push 0
push 0
lea edx, [esp + 0x68]
push 0
push edx
call esi
test eax, eax
je 0x40b1d4
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageA]
lea eax, [esp + 0x60]
push eax
call edi
lea ecx, [esp + 0x60]
push ecx
call ebx
push 0
push 0
lea edx, [esp + 0x68]
push 0
push edx
call esi
test eax, eax
jne 0x40af16
jmp 0x40b1d4
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 ebp, ecx
lea ecx, [esp + 0x20]
push ebp
call fcn.00402510
test al, al
je 0x40af93
mov edi, dword [esp + 0x20]
mov ecx, ebp
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], ebp
mov byte [eax + ebp], 0
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x24]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + 0x484], 3
mov esi, ecx
mov ecx, dword [0x418218]
sub ecx, edx
cmp ecx, esi
ja 0x40afbe
call fcn.0040e999
test esi, esi
jbe 0x40b000
mov edx, dword [esp + 0x24]
push 0
lea ecx, [esp + 0x20]
lea ebp, [edx + esi]
push ebp
call fcn.00402510
test al, al
je 0x40b000
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
push ebp
lea edi, [ecx + eax]
mov ecx, esi
mov edx, ecx
mov esi, ebx
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, 0x41b75c
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x24]
repne scasb al, byte es:[edi]
mov eax, dword [0x418218]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x40b025
call fcn.0040e999
test esi, esi
jbe 0x40b06c
mov ecx, dword [esp + 0x24]
push 0
lea ebx, [ecx + esi]
lea ecx, [esp + 0x20]
push ebx
call fcn.00402510
test al, al
je 0x40b06c
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov ecx, esi
mov esi, 0x41b75c
lea edi, [eax + edx]
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]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x24], ebx
mov byte [eax + ebx], 0
mov ecx, dword [esp + 0x48c]
xor eax, eax
mov edx, dword [0x418218]
lea ebp, [ecx + 0xcc]
or ecx, 0xffffffff
mov edi, ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
mov ecx, dword [esp + 0x24]
sub edx, ecx
cmp edx, esi
ja 0x40b09c
call fcn.0040e999
test esi, esi
jbe 0x40b0e0
mov eax, dword [esp + 0x24]
push 0
lea ecx, [esp + 0x20]
lea ebx, [eax + esi]
push ebx
call fcn.00402510
test al, al
je 0x40b0e0
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
lea edi, [edx + ecx]
mov ecx, esi
mov eax, ecx
mov esi, ebp
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], ebx
mov byte [ecx + ebx], 0
mov edi, 0x41b2a0
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x24]
repne scasb al, byte es:[edi]
mov eax, dword [0x418218]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x40b105
call fcn.0040e999
test esi, esi
jbe 0x40b14c
mov edx, dword [esp + 0x24]
push 0
lea ecx, [esp + 0x20]
lea ebx, [edx + esi]
push ebx
call fcn.00402510
test al, al
je 0x40b14c
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
lea edi, [ecx + eax]
mov ecx, esi
mov edx, ecx
mov esi, 0x41b2a0
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 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 [0x418218]
lea eax, [esp + 0x2c]
push edx
push 0
push eax
mov ecx, esi
call fcn.00401b10
call fcn.00405060
mov eax, dword [esp + 0x30]
add esp, 0x10
test eax, eax
mov byte [esp + 0x484], 1
je 0x40b1ae
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x40b1a5
cmp al, 0xff
je 0x40b1a5
dec al
mov byte [ecx], al
jmp 0x40b1ae
push ecx
call fcn.0040e98e
add esp, 4
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x48c]
push 0
push eax
mov edx, dword [ecx]
call dword [edx + 8]
mov eax, dword [0x41eb14]
test eax, eax
je 0x40b1d4
call fcn.00406590
call fcn.00406530
mov eax, dword [esp + 0x54]
xor esi, esi
cmp eax, esi
je 0x40b1fb
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x40b1f2
cmp al, 0xff
je 0x40b1f2
dec al
mov byte [ecx], al
jmp 0x40b1fb
push ecx
call fcn.0040e98e
add esp, 4
mov edi, dword [esp + 0x48]
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov esi, dword [esp + 0x44]
mov dword [esp + 0x484], 0xffffffff
cmp esi, edi
je 0x40b232
push 1
mov ecx, esi
call fcn.00401d10
add esi, 0x10
cmp esi, edi
jne 0x40b21e
mov esi, dword [esp + 0x44]
push esi
call fcn.0040e98e
add esp, 4
jmp 0x40b6d7
push str.Windows_2000
push ebp
call fcn.0040f5c7
add esp, 8
test eax, eax
je 0x40b5ad
push str.Windows_Whistler
push ebp
call fcn.0040f5c7
add esp, 8
test eax, eax
je 0x40b5ad
push str.Windows_Millenium
push ebp
call fcn.0040f5c7
add esp, 8
test eax, eax
jne 0x40b397
mov ecx, 0x7f
lea edi, [esp + 0x7d]
mov byte [esp + 0x7c], al
mov edx, dword [0x41eaf8]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x7c]
push 0x200
stosw word es:[edi], ax
push ecx
push 9
push edx
mov dword [0x41eae4], 1
stosb byte es:[edi], al
call fcn.0040db70
mov eax, dword [0x41eb1c]
add esp, 0x10
cmp eax, esi
jne 0x40b37d
call fcn.00406e60
mov edi, eax
cmp edi, esi
je 0x40b6d7
push 5
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
push ebp
call fcn.004098f0
add esp, 8
cmp eax, 0xffffffff
je 0x40b4c0
call fcn.0040ce00
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3ec
push edi
call ebx
push 0x3ea
push edi
mov dword [0x41eaf4], eax
call ebx
mov dword [0x41eaf0], eax
call fcn.00406590
push esi
push 0x3e8
push esi
push edi
call dword [sym.imp.USER32.dll_SetTimer]
mov edi, dword [sym.imp.USER32.dll_GetMessageA]
mov dword [0x41eaec], eax
push esi
push esi
lea eax, [esp + 0x68]
push esi
push eax
mov dword [0x41eae8], 0x14
call edi
test eax, eax
je 0x40b6d7
mov ebx, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebp, dword [sym.imp.USER32.dll_DispatchMessageA]
lea ecx, [esp + 0x60]
push ecx
call ebx
lea edx, [esp + 0x60]
push edx
call ebp
push esi
push esi
lea eax, [esp + 0x68]
push esi
push eax
call edi
test eax, eax
jne 0x40b35c
jmp 0x40b6d7
push esi
push ebp
call fcn.004098f0
add esp, 8
cmp eax, 0xffffffff
jne 0x40b4c8
or eax, eax
jmp 0x40b6d9
push str.Windows_98
push ebp
call fcn.0040f5c7
add esp, 8
test eax, eax
jne 0x40b4e3
mov ecx, 0x7f
lea edi, [esp + 0x27d]
mov byte [esp + 0x27c], al
mov edx, dword [0x41eaf8]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x27c]
push 0x200
stosw word es:[edi], ax
push ecx
push 9
push edx
mov dword [0x41eae0], 1
stosb byte es:[edi], al
call fcn.0040db70
mov eax, dword [0x41eb1c]
add esp, 0x10
cmp eax, esi
jne 0x40b4b1
call fcn.00406e60
mov edi, eax
cmp edi, esi
je 0x40b6d7
push 5
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
push ebp
call fcn.004098f0
add esp, 8
cmp eax, 0xffffffff
je 0x40b4c0
call fcn.0040ce00
call fcn.00406590
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3ec
push edi
call ebx
push 0x3ea
push edi
mov dword [0x41eaf4], eax
call ebx
push esi
push 0x3e8
push esi
push edi
mov dword [0x41eaf0], eax
call dword [sym.imp.USER32.dll_SetTimer]
mov edi, dword [sym.imp.USER32.dll_GetMessageA]
mov dword [0x41eaec], eax
push esi
push esi
lea eax, [esp + 0x24]
push esi
push eax
mov dword [0x41eae8], 0x14
call edi
test eax, eax
je 0x40b6d7
mov ebx, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebp, dword [sym.imp.USER32.dll_DispatchMessageA]
lea ecx, [esp + 0x1c]
push ecx
call ebx
lea edx, [esp + 0x1c]
push edx
call ebp
push esi
push esi
lea eax, [esp + 0x24]
push esi
push eax
call edi
test eax, eax
jne 0x40b490
jmp 0x40b6d7
push esi
push ebp
call fcn.004098f0
add esp, 8
cmp eax, 0xffffffff
jne 0x40b4c8
or eax, 0xffffffff
jmp 0x40b6d9
call fcn.0040ce00
call fcn.00406590
cmp dword [0x41eb14], esi
je 0x40b6d7
jmp 0x40b6d2
mov cl, byte [esp + 0x13]
sub esp, 0x10
mov ebp, esp
mov edi, str.unable_to_determine_OS_n
xor eax, eax
mov dword [esp + 0x4c], esp
mov byte [ebp], cl
or ecx, 0xffffffff
mov dword [ebp + 4], esi
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
cmp ebx, 0xfffffffd
jbe 0x40b517
call fcn.0040e999
mov ecx, dword [ebp + 4]
cmp ecx, esi
je 0x40b547
mov al, byte [ecx - 1]
test al, al
je 0x40b547
cmp al, 0xff
je 0x40b547
cmp ebx, esi
jne 0x40b576
dec al
push esi
mov byte [ecx - 1], al
mov ecx, ebp
call fcn.00401d10
call fcn.00405060
add esp, 0x10
jmp 0x40b6d7
cmp ebx, esi
jne 0x40b561
push 1
mov ecx, ebp
call fcn.00401d10
call fcn.00405060
add esp, 0x10
jmp 0x40b6d7
mov eax, dword [ebp + 0xc]
cmp eax, 0x1f
ja 0x40b56d
cmp eax, ebx
jae 0x40b57e
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 [ebx + eax], 0
call fcn.00405060
add esp, 0x10
jmp 0x40b6d7
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], esi
push ecx
mov dword [esp + 0x1c], esi
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 ebp
push eax
call dword [edx]
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
call dword [edx + 4]
cmp dword [0x41eb1c], esi
jne 0x40b6a9
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x7d]
mov byte [esp + 0x7c], 0
rep stosd dword es:[edi], eax
mov ecx, dword [0x41eaf8]
push 0x200
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x80]
push eax
push 9
push ecx
call fcn.0040db70
add esp, 0x10
call fcn.00406e60
mov edi, eax
cmp edi, esi
je 0x40b4d2
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3ec
push edi
call ebx
push 0x3ea
push edi
mov dword [0x41eaf4], eax
call ebx
mov edx, dword [0x41eaf4]
mov ebx, dword [sym.imp.USER32.dll_DestroyWindow]
push edx
mov dword [0x41eaf0], eax
call ebx
mov eax, dword [0x41eaf0]
push eax
call ebx
push 5
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esp + 0x14]
push ecx
push ebp
call fcn.004098f0
add esp, 8
cmp eax, 0xffffffff
je 0x40b4c0
call fcn.00406cc0
lea edx, [esp + 0x7c]
push edx
push 0x3e8
push edi
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
call fcn.00406590
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40b4d2
mov eax, dword [esp + 0x14]
push eax
push ebp
call fcn.004098f0
add esp, 8
cmp eax, 0xffffffff
jne 0x40b6c0
or eax, eax
jmp 0x40b6d9
call fcn.00406cc0
call fcn.00406590
cmp dword [0x41eb14], esi
je 0x40b6d7
call fcn.00406530
xor eax, eax
mov ecx, dword [esp + 0x47c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x478
ret