Function at 0x40f7d0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [0x424308]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x34]
xor ebx, ebx
push eax
mov dword [ebp - 0x34], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp dword [ebp - 0x34], 1
mov edi, eax
jle 0x40f9db
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_AttachConsole]
test eax, eax
jne 0x40f81c
call dword [sym.imp.KERNEL32.dll_AllocConsole]
jmp 0x40f829
push 0x41e658
call fcn.004103f4
add esp, 4
call fcn.00411132
add eax, 0x20
push eax
push 0x41e84c
push 0x41f2e8
call fcn.00411fac
call fcn.00411132
push eax
push 0x41f2e4
push 0x41f2e8
call fcn.00411fac
add esp, 0x18
push ebx
call dword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
push 0x20
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleMode]
mov esi, 2
cmp dword [ebp - 0x34], esi
jl 0x40f9b8
mov ecx, dword [edi + 4]
push str._install
push ecx
call fcn.00411acc
add esp, 8
test eax, eax
jne 0x40f907
lea edx, [ebp - 0x38]
push edx
call fcn.00408350
add esp, 4
xor esi, esi
test al, al
je 0x40f8e8
mov eax, dword [ebp - 0x38]
push eax
lea ecx, [ebp - 0x3c]
push ecx
call fcn.00408910
mov eax, dword [eax]
add esp, 8
cmp eax, ebx
jge 0x40f8c0
cmp esi, ebx
je 0x40f8d4
lea edx, [ebp - 0x40]
push edx
call fcn.00407fe0
mov eax, dword [eax]
inc esi
add esp, 4
cmp esi, 2
jl 0x40f8a6
push eax
mov esi, eax
lea eax, [ebp - 0x30]
push eax
call fcn.00401020
add esp, 8
jmp 0x40f975
push str.The_driver_is_already_installed_n
call fcn.004103f4
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
call dword [sym.imp.KERNEL32.dll_FreeConsole]
jmp 0x40fb23
cmp dword [ebp - 0x34], esi
jl 0x40f9b8
mov edx, dword [edi + 4]
push 0x41f294
push edx
call fcn.00411acc
add esp, 8
test eax, eax
jne 0x40f9b8
push ebx
push 1
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x38], 0x8007139f
call fcn.00402a50
push 0x41e730
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.00402970
lea ecx, [ebp - 0x3c]
call fcn.00403970
lea edx, [ebp - 0x40]
push edx
call fcn.00408740
mov eax, dword [eax]
push eax
mov dword [ebp - 0x38], eax
mov esi, eax
lea eax, [ebp - 0x30]
push eax
call fcn.00401020
add esp, 0xc
mov eax, dword [ebp - 0x30]
cmp eax, ebx
jne 0x40f981
mov eax, 0x421594
push eax
push 0x41e5c8
call fcn.004103f4
mov eax, dword [ebp - 0x30]
add esp, 8
cmp eax, ebx
je 0x40f9c9
lea ecx, [ebp - 0x24]
cmp eax, ecx
je 0x40f9c9
push eax
call fcn.0041021f
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
call dword [sym.imp.KERNEL32.dll_FreeConsole]
jmp 0x40fb23
mov edx, dword [ebp - 0x34]
push 1
push edi
push edx
call fcn.00407640
add esp, 0xc
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
call dword [sym.imp.KERNEL32.dll_FreeConsole]
jmp 0x40fb23
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.USER32.dll_DefWindowProcW]
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x44], 8
mov dword [ebp - 0x40], 4
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.ChangeWindowMessageFilter
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
cmp esi, ebx
je 0x40fa36
push 1
push 0x233
call esi
push 1
push 0x4a
call esi
push 1
push 0x49
call esi
mov esi, dword [0x42549c]
mov dword [0x42541c], ebx
cmp esi, dword [0x4254a0]
jae 0x40fa68
lea ebx, [ebx]
mov eax, dword [esi]
cmp eax, ebx
je 0x40fa5d
mov ecx, dword [eax + 0x20]
push 1
call ecx
add esi, 4
cmp esi, dword [0x4254a0]
jb 0x40fa50
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0xc
mov dword [0x425420], eax
mov dword [0x425424], ebx
call fcn.0041053a
add esp, 4
cmp eax, ebx
je 0x40fb38
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [0x425424], eax
mov dword [0x425428], ebx
or eax, 0xffffffff
push ebx
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], ebx
mov byte [ebp - 0x68], bl
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0xa4], vtable.CMainDlg.0
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [ebp - 0xa4]
call fcn.0040e4d0
lea ecx, [ebp - 0xa4]
mov esi, eax
call fcn.0040f6b0
mov ecx, 0x4253f0
call fcn.0040e470
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.004104b1
mov esp, ebp
pop ebp
ret 0x10
mov dword [0x425424], ebx
jmp 0x40fa9e