Function at 0x43f833
Capabilities:
Accept command line arguments
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [0x499bc0], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
xor ebx, ebx
mov dword [ebp + 0x10], eax
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
mov esi, 0x47f798
lea edi, [ebp - 4]
lea eax, [ebp - 4]
movsw word es:[edi], word [esi]
push eax
push dword [ebp + 0x10]
movsb byte es:[edi], byte [esi]
call fcn.0043f59b
mov esi, eax
pop ecx
cmp esi, ebx
pop ecx
mov dword [ebp - 8], esi
je 0x43f8a1
mov al, byte [esi]
cmp al, 0x6d
je 0x43f896
cmp al, 0x4d
je 0x43f896
push 6
push str.reboot
push esi
call fcn.0045837a
add esp, 0xc
test eax, eax
jne 0x43f8a1
push esi
call fcn.0043f5dc
jmp 0x43fbd3
push dword [ebp + 8]
mov esi, 0x499bc8
mov dword [0x499c38], 0x47f4f0
mov dword [0x499e70], esi
push 0x47f438
push esi
mov dword [0x499bc8], 0x84
mov dword [0x499c2c], 0x300
call fcn.00440325
mov edi, 0x46b138
mov eax, edi
test eax, eax
je 0x43f8f3
push 0x10
push edi
push 0x485ab0
call fcn.004574d0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 8], ebx
mov dword [0x499c4c], eax
mov dword [ebp - 0x18], ebx
je 0x43f9a9
push str.UnregServer
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x43f9f4
push str.RegServer
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x43fa59
mov eax, dword [ebp - 8]
mov cl, byte [eax]
cmp cl, 0x73
je 0x43f945
cmp cl, 0x53
jne 0x43f95c
push eax
call dword [sym.imp.USER32.dll_CharNextA]
push eax
push 0x499c60
call fcn.0043f573
mov eax, dword [ebp - 8]
pop ecx
pop ecx
mov cl, byte [eax]
cmp cl, 0x64
je 0x43f968
cmp cl, 0x44
jne 0x43f96f
mov byte [0x499d64], 1
mov cl, byte [eax]
cmp cl, 0x75
je 0x43f97b
cmp cl, 0x55
jne 0x43f992
push eax
call dword [sym.imp.USER32.dll_CharNextA]
push eax
push 0x499d68
call fcn.0043f573
mov eax, dword [ebp - 8]
pop ecx
pop ecx
lea ecx, [ebp - 4]
push ecx
push eax
call fcn.0043f59b
pop ecx
cmp eax, ebx
pop ecx
mov dword [ebp - 8], eax
jne 0x43f90a
mov ecx, esi
call fcn.0043f528
lea eax, [ebp - 4]
mov dword [ebp - 0xc], 0x64
push eax
push dword [ebp + 0x10]
call fcn.0043f59b
pop ecx
cmp eax, ebx
pop ecx
mov dword [ebp - 8], eax
je 0x43fbe2
push 8
push str.ForceROT
push eax
call fcn.0045837a
add esp, 0xc
test eax, eax
jne 0x43fbe2
mov dword [ebp + 0x10], 1
jmp 0x43fbe7
push ebx
push 1
push esi
call fcn.004406a2
mov dword [ebp - 0x18], eax
lea eax, [ebp + 8]
push eax
push 0xf003f
push ebx
push str.AppID
push SysReAllocStringLen
mov dword [ebp + 0x10], ebx
mov dword [ebp + 8], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x43fa32
lea ecx, [ebp + 0x10]
call fcn.0040337d
mov eax, dword [ebp + 8]
mov dword [ebp + 0x10], eax
push str.E4A51076_BCD3_11D4_AB7D_00B0D02332EB
lea ecx, [ebp + 0x10]
call fcn.00421e00
push str.IDriver.EXE
lea ecx, [ebp + 0x10]
call fcn.00421e00
lea ecx, [ebp + 0x10]
call fcn.0040337d
jmp 0x43fbca
push ebx
push 1
push esi
call fcn.00440529
mov dword [ebp - 0x18], eax
lea eax, [ebp + 8]
push eax
push 0xf003f
push ebx
push str.CLSIDA52D1D8E_BCCA_11D4_AB7D_00B0D02332EB
push SysReAllocStringLen
mov dword [ebp + 0x10], ebx
mov dword [ebp + 8], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x43fa97
lea ecx, [ebp + 0x10]
call fcn.0040337d
mov eax, dword [ebp + 8]
mov dword [ebp + 0x10], eax
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, str.E4A51076_BCD3_11D4_AB7D_00B0D02332EB
push edi
call esi
inc eax
push eax
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 1
push ebx
push str.AppID
push dword [ebp + 0x10]
call edi
cmp dword [ebp + 0x10], ebx
je 0x43facc
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp + 0x10], ebx
lea eax, [ebp - 0x28]
mov dword [ebp + 8], ebx
push eax
lea eax, [ebp + 8]
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push str.AppIDE4A51076_BCD3_11D4_AB7D_00B0D02332EB
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebx
jne 0x43fb02
lea ecx, [ebp + 0x10]
call fcn.0040337d
mov eax, dword [ebp + 8]
mov dword [ebp + 0x10], eax
push str.InstallShield_InstallDriver
call esi
inc eax
push eax
push str.InstallShield_InstallDriver
push 1
push ebx
push ebx
push dword [ebp + 0x10]
call edi
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x43fb3a
cmp al, 4
jne 0x43fb3a
push str.RunAs
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x43fb55
push str.Interactive_User
call esi
inc eax
push eax
push str.Interactive_User
push 1
push ebx
push str.RunAs
push dword [ebp + 0x10]
call edi
cmp dword [ebp + 0x10], ebx
je 0x43fb66
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp + 0x10], ebx
lea eax, [ebp - 0x28]
mov dword [ebp + 8], ebx
push eax
lea eax, [ebp + 8]
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push str.AppIDIDriver.EXE
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebx
jne 0x43fb9c
lea ecx, [ebp + 0x10]
call fcn.0040337d
mov eax, dword [ebp + 8]
mov dword [ebp + 0x10], eax
push str.E4A51076_BCD3_11D4_AB7D_00B0D02332EB
call esi
inc eax
push eax
push str.E4A51076_BCD3_11D4_AB7D_00B0D02332EB
push 1
push ebx
push str.AppID
push dword [ebp + 0x10]
call edi
cmp dword [ebp + 0x10], ebx
je 0x43fbc5
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, 0x499bc8
push esi
call fcn.00440479
mov ebx, dword [ebp - 0x18]
call dword [sym.imp.ole32.dll_CoUninitialize]
pop edi
mov eax, ebx
pop esi
pop ebx
leave
ret 0x10
mov dword [ebp + 0x10], ebx
jmp 0x43fc35
push esi
call fcn.00440479
push dword [ebp + 8]
mov dword [0x499c38], 0x47f4f0
mov dword [0x499e70], esi
mov dword [0x499bc8], 0x84
push 0x47f4a8
push esi
mov dword [0x499c2c], 0x300
call fcn.00440325
mov eax, edi
test eax, eax
je 0x43fc35
push 0x10
push edi
push 0x485ab0
call fcn.004574d0
add esp, 0xc
mov eax, dword [ebp - 0xc]
dec dword [ebp - 0xc]
test eax, eax
je 0x43fc59
push ebx
push 4
push esi
call fcn.004403a8
push 0x12c
mov edi, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp edi, ebx
jl 0x43fc35
cmp dword [ebp + 0x10], ebx
je 0x43fdef
lea eax, [ebp - 0x1c]
push eax
call fcn.004421c0
mov eax, dword [ebp - 0x1c]
lea ecx, [eax + 4]
neg eax
sbb eax, eax
and eax, ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x14], eax
je 0x43fc85
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov dword [ebp - 0x10], 0x64
mov dword [ebp - 0xc], 0x80004005
mov dword [ebp + 0x10], ebx
mov eax, dword [ebp - 0x10]
dec dword [ebp - 0x10]
test eax, eax
je 0x43fd87
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 8]
push 0xffffffffffffffff
mov dword [ebp + 8], ebx
lea edi, [eax + 8]
push edi
call fcn.0041a06d
pop ecx
mov dword [ebp - 0x20], eax
pop ecx
lea ecx, [ebp + 8]
push ecx
push eax
push 0x47f680
call dword [sym.imp.ole32.dll_CreateItemMoniker]
push dword [ebp - 0x20]
mov dword [ebp - 0xc], eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp dword [ebp - 0xc], ebx
jge 0x43fcf9
push dword [ebp - 0xc]
push edi
push str.Failed_to_CreateItemMoniker__s__error_is:_0x_lx
call fcn.0043f7af
add esp, 0xc
jmp 0x43fd28
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x43fd09
mov dword [ebp + 0x10], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp + 0x10]
push eax
push ebx
call dword [sym.imp.ole32.dll_GetRunningObjectTable]
cmp eax, ebx
mov dword [ebp - 0xc], eax
jge 0x43fd3e
push eax
push str.Failed_to_get_ROT__error_is:_0x_lx
call fcn.0043f7af
pop ecx
pop ecx
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x43fc96
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x43fc96
mov edi, dword [0x46b2ac]
mov eax, dword [ebp + 0x10]
lea edx, [ebp - 0x28]
mov ecx, dword [eax]
push edx
mov edx, dword [ebp - 0x1c]
push dword [ebp + 8]
add edi, edx
push edi
push ebx
push eax
call dword [ecx + 0xc]
cmp eax, ebx
mov dword [ebp - 0xc], eax
jge 0x43fd6a
push eax
push str.Failed_register_RO__error_is:_0x_lx
jmp 0x43fd21
mov eax, dword [ebp - 0x24]
cmp eax, ebx
je 0x43fd7a
mov ecx, dword [eax]
push eax
mov dword [ebp - 0x14], ebx
call dword [ecx + 8]
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x43fd87
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 0xc], ebx
jl 0x43fdbe
mov edi, dword [sym.imp.USER32.dll_GetMessageA]
push ebx
push ebx
lea eax, [ebp - 0x44]
push ebx
push eax
call edi
test eax, eax
je 0x43fdb2
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push ebx
push ebx
lea eax, [ebp - 0x44]
push ebx
push eax
jmp 0x43fd99
mov eax, dword [ebp + 0x10]
push dword [ebp - 0x28]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x43fdcb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x43fdd8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push esi
call fcn.0044043d
push dword [0x499c5c]
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x43fbca
mov edi, dword [sym.imp.USER32.dll_GetMessageA]
push ebx
push ebx
lea eax, [ebp - 0x44]
push ebx
push eax
call edi
test eax, eax
je 0x43fdd8
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push ebx
push ebx
lea eax, [ebp - 0x44]
push ebx
push eax
jmp 0x43fdfc