Function at 0x41dea0
Capabilities:
Create process on windows
Modify service
Start service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x445d6e
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x45b050]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x238], eax
xor bl, bl
mov dword [ebp - 4], 0
cmp dword [eax + 4], 1
jne 0x41e001
call fcn.00413270
test eax, eax
je 0x41df1e
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov esi, eax
test esi, esi
jns 0x41df16
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
mov ecx, 0x80004005
cmovne esi, ecx
test esi, esi
sete bl
jmp 0x41e090
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00424380
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x3c
lea eax, [ebp - 0x274]
push 0
push eax
call fcn.00424380
push 0
push 0
push 6
mov dword [ebp - 0x274], 0x3c
mov dword [ebp - 0x270], 0x440
mov dword [ebp - 0x26c], 0
call fcn.004129f0
xor edx, edx
mov dword [ebp - 0x260], str._InstallDriver
add esp, 0x18
mov dword [ebp - 0x25c], edx
test al, al
mov dword [ebp - 0x258], edx
lea eax, [ebp - 0x218]
mov ecx, str.runas
mov dword [ebp - 0x264], eax
cmove ecx, edx
lea eax, [ebp - 0x274]
mov dword [ebp - 0x268], ecx
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push 0xffffffffffffffff
push dword [ebp - 0x23c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x23c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x231]
mov byte [ebp - 0x231], 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov bl, byte [ebp - 0x231]
jmp 0x41e239
call fcn.00413270
test eax, eax
je 0x41e15b
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
test esi, esi
je 0x41e0ec
push 0x12
push str.KuaiZipDrive
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
je 0x41e0ec
mov eax, dword [ebp - 0x238]
push 0
push 0
cmp dword [eax + 4], 2
jne 0x41e078
push 0
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push 2
push 0xffffffffffffffff
push edi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
push 0
test eax, eax
push 0
push edi
setne bl
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
jmp 0x41e084
push edi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
setne bl
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
test bl, bl
je 0x41e0ec
push str.driver.repairsucceed
lea ecx, [ebp - 0x230]
call fcn.004041a0
push 1
push 3
push 0
push 1
push 1
push 1
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 1
push 1
push eax
call fcn.0040b640
mov eax, dword [ebp - 0x21c]
add esp, 0x20
cmp eax, 0x10
jb 0x41e239
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00404770
jmp 0x41e239
push str.driver.repairfailed
lea ecx, [ebp - 0x230]
call fcn.004041a0
push 1
push 3
push 0
push 1
push 1
push 1
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 2
push 1
push eax
call fcn.0040b640
mov eax, dword [ebp - 0x21c]
add esp, 0x20
cmp eax, 0x10
jb 0x41e13b
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00404770
mov dword [ebp - 0x21c], 0xf
mov dword [ebp - 0x220], 0
mov byte [ebp - 0x230], 0
jmp 0x41e239
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00424380
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x3c
lea eax, [ebp - 0x274]
push 0
push eax
call fcn.00424380
push 0
push 0
push 6
mov dword [ebp - 0x274], 0x3c
mov dword [ebp - 0x270], 0x440
mov dword [ebp - 0x26c], 0
call fcn.004129f0
xor edx, edx
mov dword [ebp - 0x260], str._RepairDriver
add esp, 0x18
mov dword [ebp - 0x25c], edx
test al, al
mov dword [ebp - 0x258], edx
lea eax, [ebp - 0x218]
mov ecx, str.runas
mov dword [ebp - 0x264], eax
cmove ecx, edx
lea eax, [ebp - 0x274]
mov dword [ebp - 0x268], ecx
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push 0xffffffffffffffff
push dword [ebp - 0x23c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x238]
push eax
push dword [ebp - 0x23c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x23c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x238], 1
sete bl
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x41e24d
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004204ef
mov esp, ebp
pop ebp
ret 4