Function at 0x403bd0
Capabilities:
Delete registry key
Delete service
Get common file path
Stop service

Disassembly:
push 0xffffffffffffffff
push 0x42509b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x144
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov ecx, 6
mov esi, str.EnumUSBVID_096EPID_0001
lea edi, [esp + 0x1c]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [str.rockusb]
mov ecx, dword [0x42f130]
mov ebx, dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea edx, [esp + 0x38]
movsw word es:[edi], word [esi]
push 0xc8
push edx
movsb byte es:[edi], byte [esi]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
call ebx
mov edi, str.System32driversRockUsb.sys
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x38]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x180
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x3c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.0040c97f
lea ecx, [esp + 0x40]
push ecx
call fcn.0040c955
add esp, 0xc
lea edx, [esp + 0x38]
push 0xc8
push edx
call ebx
mov edi, str.infRockUsb.inf
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x38]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x180
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x3c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.0040c97f
lea ecx, [esp + 0x40]
push ecx
call fcn.0040c955
add esp, 0xc
lea edx, [esp + 0x38]
push 0xc8
push edx
call ebx
mov edi, str.infRockUsb.pnf
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x38]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x180
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x3c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.0040c97f
lea ecx, [esp + 0x40]
push ecx
call fcn.0040c955
mov bl, byte [esp + 0x170]
add esp, 0xc
test bl, 0x40
je 0x403d3b
lea edx, [esp + 0x1c]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test bl, 0x80
je 0x403e06
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
test edi, edi
jne 0x403db8
mov eax, dword [0x42f4c8]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x88]
mov dword [esp + 0x15c], edi
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea ecx, [eax + eax*4]
lea eax, [esp + 0x10]
lea edx, [ecx*8 + 0xbc5]
push edx
push eax
call fcn.00418ee2
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x170]
add esp, 8
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0x10]
mov dword [esp + 0x15c], 0xffffffff
call fcn.004199c4
xor eax, eax
jmp 0x403e0b
lea eax, [esp + 0x14]
push 0xf01ff
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
test esi, esi
je 0x403de7
lea ecx, [esp + 0x138]
push ecx
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
mov edx, dword [esp + 0x168]
push 0x42f2f0
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, 1
mov ecx, dword [esp + 0x154]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x150
ret 8