Function at 0x41a89b
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1e4
mov eax, dword [0x49f2a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
or dword [ebp - 0x178], 0xffffffff
and dword [ebp - 0x188], 0
cmp dword [0x4a4218], 1
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x190], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x180], edi
mov dword [ebp - 0x18c], esi
mov dword [ebp - 0x184], eax
jne 0x41a8f2
xor eax, eax
jmp 0x41ab8e
push ebx
push esi
push edi
call fcn.0041a74f
mov ebx, dword [sym.imp.___total_physical_size__lu_MB_GetLastError]
mov dword [ebp - 0x17c], eax
test eax, eax
je 0x41aa72
xor eax, eax
push eax
lea ecx, [ebp - 0x174]
push ecx
push 4
lea ecx, [ebp - 0x170]
push ecx
push eax
push eax
push 0x8629005c
push dword [esi]
mov dword [ebp - 0x170], 1
call dword [sym.imp.___total_physical_size__lu_MB_DeviceIoControl]
test eax, eax
je 0x41a94e
cmp dword [ebp - 0x170], 0x6a9
je 0x41ab79
push dword [esi]
call dword [sym.imp.___total_physical_size__lu_MB_CloseHandle]
or dword [esi], 0xffffffff
push edi
call fcn.0041a865
push 0xf003f
push 0
push 0
call dword [sym.imp.ical_size__lu_MB_OpenSCManagerA]
mov dword [ebp - 0x174], eax
test eax, eax
jne 0x41aac5
call ebx
cmp eax, 5
jne 0x41aaa7
push 0x104
lea eax, [ebp - 0x16c]
push eax
push 0
mov dword [ebp - 0x170], 1
call dword [sym.imp.___total_physical_size__lu_MB_GetModuleHandleA]
push eax
call dword [sym.imp.___total_physical_size__lu_MB_GetModuleFileNameA]
lea edi, [ebp - 0x16c]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x41a9b3
mov esi, str.___loaddriver
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push 0x40
xor esi, esi
lea eax, [ebp - 0x1e0]
push esi
push eax
call fcn.00450230
add esp, 0xc
push 0xb
pop eax
mov word [ebp - 0x1b4], ax
lea eax, [ebp - 0x1a0]
push eax
lea eax, [ebp - 0x1e4]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x16c]
push eax
push esi
mov dword [ebp - 0x1b8], 1
mov dword [ebp - 0x1e4], 0x44
call dword [sym.imp.___total_physical_size__lu_MB_CreateProcessA]
test eax, eax
je 0x41aa3e
push 0xffffffffffffffff
push dword [ebp - 0x1a0]
call dword [sym.imp.___total_physical_size__lu_MB_WaitForSingleObject]
lea eax, [ebp - 0x170]
push eax
push dword [ebp - 0x1a0]
call dword [sym.imp.___total_physical_size__lu_MB_GetExitCodeProcess]
cmp dword [ebp - 0x170], esi
je 0x41aab9
push dword [ebp - 0x170]
lea eax, [ebp - 0x16c]
push eax
push str.unable_to_load_Device_driver._CMD___s_:__lu
call ebx
push eax
push 0x17f
push str.instdrv
call fcn.0044dc85
add esp, 0x18
jmp 0x41ab79
call ebx
dec eax
dec eax
je 0x41a95f
sub eax, 3
je 0x41aaa0
push str.error_while_opening_device_n
call ebx
push eax
push 0x159
push str.instdrv
call fcn.0044dc85
add esp, 0x10
jmp 0x41a95f
xor eax, eax
jmp 0x41ab8d
push str.unable_to_connect_to_ServiceControlManager
call ebx
push eax
push 0x185
jmp 0x41ab6c
mov esi, dword [ebp - 0x18c]
mov edi, dword [ebp - 0x180]
lea eax, [ebp - 0x188]
push eax
push edi
lea eax, [ebp - 0x178]
push eax
call dword [ebp - 0x190]
push eax
push edi
push dword [ebp - 0x174]
call fcn.0041a6b7
push edi
push dword [ebp - 0x174]
call fcn.0041a6f6
call ebx
cmp eax, 0x241
jne 0x41ab20
push str.The_driver_could_not_be_started_because_it_is_not_signed
mov dword [0x4a4218], 1
call ebx
push eax
push 0x1aa
push str.instdrv
call fcn.0044dc85
add esp, 0x10
push edi
push dword [ebp - 0x174]
call fcn.0041a831
mov eax, dword [ebp - 0x178]
push dword [ebp - 0x174]
mov dword [0x49e480], eax
call dword [sym.imp.ical_size__lu_MB_CloseServiceHandle]
push esi
push edi
call fcn.0041a74f
mov dword [ebp - 0x17c], eax
test eax, eax
jne 0x41ab79
call ebx
dec eax
dec eax
je 0x41ab79
sub eax, 3
je 0x41ab79
push str.error_while_opening_device_n
call ebx
push eax
push 0x1e0
push str.instdrv
call fcn.0044dc85
add esp, 0x10
mov esi, dword [ebp - 0x184]
test esi, esi
je 0x41ab87
call ebx
mov dword [esi], eax
mov eax, dword [ebp - 0x17c]
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00450b32
leave
ret 0x10