Function at 0x42aee0
Capabilities:
Persist via windows service
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x4c4
push ebx
push ebp
push esi
mov si, word [0x4d6e34]
xor ebx, ebx
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xc6]
mov word [esp + 0xc4], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov cl, 0x14
mov al, 0x80
mov dl, 0xf
mov dword [esp + 0x10], ebx
mov byte [esp + 0x14], 1
mov byte [esp + 0x15], bl
mov byte [esp + 0x16], cl
mov byte [esp + 0x17], al
mov byte [esp + 0x18], 0x90
mov byte [esp + 0x19], bl
mov byte [esp + 0x1a], bl
mov byte [esp + 0x1b], bl
mov byte [esp + 0x1c], 0x9c
mov byte [esp + 0x1d], bl
mov byte [esp + 0x1e], bl
mov byte [esp + 0x1f], bl
mov byte [esp + 0x20], cl
mov byte [esp + 0x21], bl
mov byte [esp + 0x22], bl
mov byte [esp + 0x23], bl
mov byte [esp + 0x24], 0x30
mov byte [esp + 0x25], bl
mov byte [esp + 0x26], bl
mov byte [esp + 0x27], bl
mov byte [esp + 0x28], 2
mov byte [esp + 0x29], bl
mov byte [esp + 0x2a], 0x1c
mov byte [esp + 0x2b], bl
mov byte [esp + 0x2c], 1
mov byte [esp + 0x2d], bl
mov byte [esp + 0x2e], bl
mov byte [esp + 0x2f], bl
mov byte [esp + 0x30], 2
mov byte [esp + 0x31], al
mov byte [esp + 0x32], cl
mov byte [esp + 0x33], bl
mov byte [esp + 0x34], 0xff
mov byte [esp + 0x35], 1
mov byte [esp + 0x36], dl
mov byte [esp + 0x37], bl
mov byte [esp + 0x38], 1
mov byte [esp + 0x39], 1
mov byte [esp + 0x3a], bl
mov byte [esp + 0x3b], bl
mov byte [esp + 0x3c], bl
mov byte [esp + 0x3d], bl
mov byte [esp + 0x3e], bl
mov byte [esp + 0x3f], 1
mov byte [esp + 0x40], bl
mov byte [esp + 0x41], bl
mov byte [esp + 0x42], bl
mov byte [esp + 0x43], bl
mov byte [esp + 0x44], 2
mov byte [esp + 0x45], bl
mov byte [esp + 0x46], 0x60
mov byte [esp + 0x47], bl
mov byte [esp + 0x48], 4
mov byte [esp + 0x49], bl
mov byte [esp + 0x4a], bl
mov byte [esp + 0x4b], bl
mov byte [esp + 0x4c], bl
mov byte [esp + 0x4d], bl
mov byte [esp + 0x4e], cl
mov byte [esp + 0x4f], bl
mov byte [esp + 0x50], 0xfd
mov byte [esp + 0x51], 1
mov byte [esp + 0x52], 2
mov byte [esp + 0x53], bl
mov byte [esp + 0x54], 1
mov byte [esp + 0x66], dl
mov al, 5
mov dl, 0x20
mov byte [esp + 0x55], 1
mov byte [esp + 0x56], bl
mov byte [esp + 0x57], bl
mov byte [esp + 0x58], bl
mov byte [esp + 0x59], bl
mov byte [esp + 0x5a], bl
mov byte [esp + 0x5b], al
mov byte [esp + 0x5c], 0x12
mov byte [esp + 0x5d], bl
mov byte [esp + 0x5e], bl
mov byte [esp + 0x5f], bl
mov byte [esp + 0x60], bl
mov byte [esp + 0x61], bl
mov byte [esp + 0x62], 0x18
mov byte [esp + 0x63], bl
mov byte [esp + 0x64], 0xff
mov byte [esp + 0x65], 1
mov byte [esp + 0x67], bl
mov byte [esp + 0x68], 1
mov byte [esp + 0x69], 2
mov byte [esp + 0x6a], bl
mov byte [esp + 0x6b], bl
mov byte [esp + 0x6c], bl
mov byte [esp + 0x6d], bl
mov byte [esp + 0x6e], bl
mov byte [esp + 0x6f], al
mov byte [esp + 0x70], dl
mov byte [esp + 0x71], bl
mov byte [esp + 0x72], bl
mov byte [esp + 0x73], bl
mov byte [esp + 0x74], dl
mov byte [esp + 0x75], 2
mov byte [esp + 0x76], bl
mov byte [esp + 0x77], bl
mov byte [esp + 0x78], bl
mov byte [esp + 0x79], bl
mov byte [esp + 0x7a], cl
mov byte [esp + 0x7b], bl
mov byte [esp + 0x7c], 0x8d
mov byte [esp + 0x7d], 1
mov byte [esp + 0x7e], 2
mov byte [esp + 0x7f], bl
mov byte [esp + 0x80], 1
mov byte [esp + 0x81], 1
mov byte [esp + 0x82], bl
mov byte [esp + 0x83], bl
mov byte [esp + 0x84], bl
mov byte [esp + 0x85], bl
mov byte [esp + 0x86], bl
mov byte [esp + 0x87], al
mov byte [esp + 0x88], 0xb
mov byte [esp + 0x89], bl
mov byte [esp + 0x8a], bl
mov byte [esp + 0x8b], bl
mov byte [esp + 0x8c], bl
mov byte [esp + 0x8d], bl
mov byte [esp + 0x8e], 0x18
mov byte [esp + 0x8f], bl
mov byte [esp + 0x90], 0xfd
mov byte [esp + 0x91], 1
mov byte [esp + 0x92], 2
mov byte [esp + 0x93], bl
mov byte [esp + 0x94], 1
mov byte [esp + 0x95], 2
mov byte [esp + 0x96], bl
mov byte [esp + 0x97], bl
mov byte [esp + 0x98], bl
mov byte [esp + 0x99], bl
mov byte [esp + 0x9a], bl
mov byte [esp + 0x9b], al
mov byte [esp + 0x9c], dl
mov byte [esp + 0x9d], bl
mov byte [esp + 0x9e], bl
mov byte [esp + 0x9f], bl
mov byte [esp + 0xa0], 0x23
mov byte [esp + 0xa1], 2
mov byte [esp + 0xa2], bl
mov byte [esp + 0xa3], bl
mov byte [esp + 0xab], al
mov byte [esp + 0xb7], al
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x2ce]
mov word [esp + 0x2cc], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0xc0]
lea ecx, [esp + 0x2cc]
push eax
lea edx, [esp + 0xc0]
push ecx
push edx
push str.ImagePath
push str.SYSTEMCurrentControlSetServicesSbieDrv
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [esp + 0xbc], 1
mov byte [esp + 0xbd], 1
mov byte [esp + 0xbe], bl
mov byte [esp + 0xbf], bl
mov byte [esp + 0xc0], bl
mov byte [esp + 0xc1], bl
mov byte [esp + 0xc2], bl
mov byte [esp + 0xc4], 0x12
mov byte [esp + 0xc5], bl
mov byte [esp + 0xc6], bl
mov byte [esp + 0xc7], bl
mov byte [esp + 0xc8], 1
mov byte [esp + 0xc9], 1
mov byte [esp + 0xca], bl
mov byte [esp + 0xcb], bl
mov byte [esp + 0xcc], bl
mov byte [esp + 0xcd], bl
mov byte [esp + 0xce], bl
mov byte [esp + 0xd0], 0x12
mov byte [esp + 0xd1], bl
mov byte [esp + 0xd2], bl
mov byte [esp + 0xd3], bl
mov dword [esp + 0xd4], 1
mov dword [esp + 0xd8], 0x103
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ebp, dword [sym.imp.MSVCRT.dll_wcslen]
test eax, eax
jne 0x42b31a
cmp word [esp + 0x2cc], bx
jne 0x42b47c
push str.SbieDrv
call ebp
add esp, 4
shl eax, 1
push eax
push str.SbieDrv
push 1
push str.DisplayName
push str.SYSTEMCurrentControlSetServicesSbieDrv
push reloc.OLEAUT32.dll_SysReAllocString
call esi
lea eax, [esp + 0x10]
push 4
push eax
push 4
push str.ErrorControl
push str.SYSTEMCurrentControlSetServicesSbieDrv
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], 1
call esi
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0xc4]
push 0x4d6604
rep stosd dword es:[edi], eax
push str.___sSbieDrv.sys
lea ecx, [esp + 0xcc]
push 0x103
push ecx
call dword [sym.imp.MSVCRT.dll__snwprintf]
lea edx, [esp + 0xd4]
push edx
call ebp
add esp, 0x14
mov edi, 1
shl eax, 1
push eax
lea eax, [esp + 0xc8]
push eax
push edi
push str.ImagePath
push str.SYSTEMCurrentControlSetServicesSbieDrv
push reloc.OLEAUT32.dll_SysReAllocString
call esi
lea ecx, [esp + 0x10]
push 4
push ecx
push 4
push str.Start
push str.SYSTEMCurrentControlSetServicesSbieDrv
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], 3
call esi
lea edx, [esp + 0x10]
push 4
push edx
push 4
push str.Type
push str.SYSTEMCurrentControlSetServicesSbieDrv
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], edi
call esi
push str.RootLEGACY_SBIEDRV0000
call ebp
add esp, 4
shl eax, 1
push eax
push str.RootLEGACY_SBIEDRV0000
push edi
push 0x4637b0
push str.SYSTEMCurrentControlSetServicesSbieDrvEnum
push reloc.OLEAUT32.dll_SysReAllocString
call esi
lea eax, [esp + 0x10]
push 4
push eax
push 4
push str.Count
push str.SYSTEMCurrentControlSetServicesSbieDrvEnum
mov dword [esp + 0x24], edi
push reloc.OLEAUT32.dll_SysReAllocString
call esi
lea ecx, [esp + 0x10]
push 4
push ecx
push 4
push str.NextInstance
push str.SYSTEMCurrentControlSetServicesSbieDrvEnum
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], edi
call esi
lea edx, [esp + 0x14]
push 0xa8
push edx
push 3
push str.Security
push str.SYSTEMCurrentControlSetServicesSbieDrvSecurity
push reloc.OLEAUT32.dll_SysReAllocString
call esi
jmp 0x42b481
mov edi, 1
mov dword [esp + 0xbc], edi
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x2cc]
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc0]
lea ecx, [esp + 0x2cc]
push eax
lea edx, [esp + 0xc0]
push ecx
push edx
push str.ImagePath
push str.SYSTEMCurrentControlSetServicesSbieSvc
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0xd8], 0x103
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x42b4e2
cmp word [esp + 0x2cc], bx
jne 0x42b687
push str.Sandboxie_Service
call ebp
add esp, 4
mov ebx, 1
shl eax, 1
push eax
push str.Sandboxie_Service
push ebx
push str.DisplayName
push str.SYSTEMCurrentControlSetServicesSbieSvc
push reloc.OLEAUT32.dll_SysReAllocString
call esi
lea eax, [esp + 0x10]
push 4
push eax
push 4
push str.ErrorControl
push str.SYSTEMCurrentControlSetServicesSbieSvc
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], ebx
call esi
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0xc4]
push 0x4d6604
rep stosd dword es:[edi], eax
push str._sSbieSvc.exe
lea ecx, [esp + 0xcc]
push 0x103
push ecx
call dword [sym.imp.MSVCRT.dll__snwprintf]
lea edx, [esp + 0xd4]
push edx
call ebp
add esp, 0x14
shl eax, 1
push eax
lea eax, [esp + 0xc8]
push eax
push ebx
push str.ImagePath
push str.SYSTEMCurrentControlSetServicesSbieSvc
push reloc.OLEAUT32.dll_SysReAllocString
call esi
lea ecx, [esp + 0x10]
push 4
push ecx
push 4
push str.Language
push str.SYSTEMCurrentControlSetServicesSbieSvc
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], 0x409
call esi
push str.LocalSystem
call ebp
add esp, 4
shl eax, 1
push eax
push str.LocalSystem
push ebx
push str.ObjectName
push str.SYSTEMCurrentControlSetServicesSbieSvc
push reloc.OLEAUT32.dll_SysReAllocString
call esi
lea edx, [esp + 0x10]
push 4
push edx
push 4
push str.Start
push str.SYSTEMCurrentControlSetServicesSbieSvc
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], 2
call esi
lea eax, [esp + 0x10]
push 4
push eax
push 4
push str.Type
push str.SYSTEMCurrentControlSetServicesSbieSvc
mov dword [esp + 0x24], 0x10
push reloc.OLEAUT32.dll_SysReAllocString
call esi
push str.RootLEGACY_SBIESVC0000
call ebp
add esp, 4
shl eax, 1
push eax
push str.RootLEGACY_SBIESVC0000
push ebx
push 0x4637b0
push str.SYSTEMCurrentControlSetServicesSbieSvcEnum
push reloc.OLEAUT32.dll_SysReAllocString
call esi
lea ecx, [esp + 0x10]
push 4
push ecx
push 4
push str.Count
push str.SYSTEMCurrentControlSetServicesSbieSvcEnum
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], ebx
call esi
lea edx, [esp + 0x10]
push 4
push edx
push 4
push str.NextInstance
push str.SYSTEMCurrentControlSetServicesSbieSvcEnum
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], ebx
call esi
lea eax, [esp + 0x14]
push 0xa8
push eax
push 3
push str.Security
push str.SYSTEMCurrentControlSetServicesSbieSvcSecurity
push reloc.OLEAUT32.dll_SysReAllocString
call esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c4
ret