Function at 0x401910
Capabilities:
Terminate process

Disassembly:
sub esp, 0x94
push ebx
push ebp
push esi
push edi
push str._n__Sense_device_driver_install_uninstall_version_1.1
call fcn.00401e82
push str._n_____C__Copyright_1999_SenseLock_Technologies__Inc._n
call fcn.00401e82
add esp, 8
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x401960
push str._nError:_Check_platform_fail
call fcn.00401e82
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x94
ret
mov eax, dword [esp + 0xa8]
dec eax
je 0x401c02
dec eax
je 0x401ae2
dec eax
jne 0x401b5c
mov ebp, dword [esp + 0xac]
mov eax, 0x407980
mov edi, dword [ebp + 4]
mov esi, edi
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x4019b5
test cl, cl
je 0x4019b1
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x4019b5
add eax, 2
add esi, 2
test cl, cl
jne 0x40198d
xor eax, eax
jmp 0x4019ba
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4019fa
mov esi, edi
mov eax, 0x40797c
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x4019ed
test cl, cl
je 0x4019e9
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x4019ed
add eax, 2
add esi, 2
test cl, cl
jne 0x4019c5
xor eax, eax
jmp 0x4019f2
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x401b5c
push str._nInstall_sense_on
call fcn.00401e82
mov eax, dword [esp + 0x24]
add esp, 4
sub eax, 0
je 0x401ab1
dec eax
je 0x401a68
dec eax
jne 0x401ace
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push eax
push ecx
push str.Windows_NT__d._d_..._n
call fcn.00401e82
mov eax, dword [esp + 0x20]
add esp, 0xc
cmp eax, 4
jbe 0x401a53
mov edx, dword [ebp + 8]
push 0
push edx
call section..text
add esp, 8
call fcn.004012f0
jmp 0x401ace
mov eax, dword [ebp + 8]
push 1
push eax
call section..text
add esp, 8
call fcn.004012f0
jmp 0x401ace
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push ecx
push edx
push str.Windows_9x__d._d_..._n
call fcn.00401e82
mov eax, dword [esp + 0x24]
add esp, 0xc
test eax, eax
je 0x401a9c
mov eax, dword [ebp + 8]
push 2
push eax
call section..text
add esp, 8
call fcn.004017b0
jmp 0x401ace
mov ecx, dword [ebp + 8]
push 3
push ecx
call section..text
add esp, 8
call fcn.004017b0
jmp 0x401ace
push str.Windows_3.x__Win32s__..._n
call fcn.00401e82
mov edx, dword [ebp + 8]
push 1
push edx
call section..text
add esp, 0xc
call fcn.00401890
push 0x407918
call fcn.00401e82
add esp, 4
push 0
call fcn.00401dad
mov eax, dword [esp + 0xac]
mov edi, dword [eax + 4]
mov eax, 0x407914
mov esi, edi
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x401b1b
test cl, cl
je 0x401b17
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x401b1b
add eax, 2
add esi, 2
test cl, cl
jne 0x401af3
xor eax, eax
jmp 0x401b20
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x401b84
mov esi, edi
mov eax, 0x407910
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x401b53
test cl, cl
je 0x401b4f
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x401b53
add eax, 2
add esi, 2
test cl, cl
jne 0x401b2b
xor eax, eax
jmp 0x401b58
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x401b84
push str._n_tTo_install:_registry___p_path_
call fcn.00401e82
push str._n_t_____________path__search_path_for_driver_files_
call fcn.00401e82
push str._n_tTo_uninstall:_registry__d_n
call fcn.00401e82
add esp, 0xc
push 1
call fcn.00401dad
push str._nUninstall_sense_on
call fcn.00401e82
mov eax, dword [esp + 0x24]
add esp, 4
sub eax, 0
je 0x401bdc
dec eax
je 0x401bbe
dec eax
jne 0x401bee
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push eax
push ecx
push str.Windows_NT__d._d_..._n
call fcn.00401e82
add esp, 0xc
call fcn.00401590
jmp 0x401bee
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push edx
push eax
push str.Windows_9x__d._d_..._n
call fcn.00401e82
add esp, 0xc
call fcn.00401840
jmp 0x401bee
push str.Windows_3.x__Win32s__..._n
call fcn.00401e82
add esp, 4
call fcn.004018e0
push 0x407918
call fcn.00401e82
add esp, 4
push 0
call fcn.00401dad
push str._nInstall_sense_on
call fcn.00401e82
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
add esp, 4
cmp eax, 1
jne 0x401cbc
test ecx, ecx
jne 0x401cce
mov edx, dword [str.sense3.dll]
mov dword [0x408460], edx
mov edx, dword [0x407878]
mov dword [0x408464], edx
mov dx, word [0x40787c]
mov word [0x408468], dx
mov dl, byte [0x40787e]
mov byte [0x40846a], dl
sub eax, 0
je 0x401d53
dec eax
je 0x401d0f
dec eax
jne 0x401d65
mov eax, dword [str.sense3.sys]
mov edx, dword [0x40786c]
mov dword [0x408580], eax
mov ax, word [0x407870]
mov dword [0x408584], edx
mov dl, byte [0x407872]
push ecx
push esi
push str.Windows_NT__d._d_..._n
mov word [0x408588], ax
mov byte [0x40858a], dl
call fcn.00401e82
add esp, 0xc
call fcn.004012f0
jmp 0x401d65
cmp eax, 2
jne 0x401c2c
cmp esi, 4
jbe 0x401c2c
mov edx, dword [str.sense3_98_2K.dll]
mov dword [0x408460], edx
mov edx, dword [0x407858]
mov dword [0x408464], edx
mov edx, dword [0x40785c]
mov dword [0x408468], edx
mov edx, dword [0x407860]
mov dword [0x40846c], edx
mov dl, byte [0x407864]
mov byte [0x408470], dl
jmp 0x401c5e
mov eax, dword [str.sense3.vxd]
mov edx, dword [0x40784c]
mov dword [0x408580], eax
mov ax, word [0x407850]
mov dword [0x408584], edx
mov dl, byte [0x407852]
push ecx
push esi
push str.Windows_9x__d._d_..._n
mov word [0x408588], ax
mov byte [0x40858a], dl
call fcn.00401e82
add esp, 0xc
call fcn.004017b0
jmp 0x401d65
push str.Windows_3.x__Win32s__..._n
call fcn.00401e82
add esp, 4
call fcn.00401890
push 0x407918
call fcn.00401e82
add esp, 4
push 0
call fcn.00401dad
nop
nop
nop
nop
nop
nop
nop