Function at 0x4cf20b0
Capabilities:
Create process on windows
Create process suspended
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1b9c
call fcn.04cf4410
mov eax, dword [0x4cf7050]
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ecx + 0x120]
push edi
xor ebx, ebx
xor edi, edi
test al, al
mov dword [ebp - 0x1b48], ecx
mov dword [ebp - 0x1b3c], ebx
js 0x4cf21f5
mov eax, dword [0x4cf704c]
push eax
push str.SOFTWAREMicrosoftMicrosoft_SQL_Server_
push str._ls_ls
lea ecx, [ebp - 0x1334]
push 0x400
push ecx
call dword [sym.imp.MSVCR71.dll__snwprintf]
add esp, 0x14
lea edx, [ebp - 0x1b40]
push edx
push 1
mov word [ebp + eax*2 - 0x1334], bx
push ebx
lea eax, [ebp - 0x1334]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
cmp esi, ebx
jne 0x4cf2199
lea ecx, [ebp - 0x1b3c]
push ecx
mov ecx, dword [ebp - 0x1b40]
lea edx, [ebp - 0x320]
push edx
lea eax, [ebp - 0x1b44]
push eax
push ebx
push str.SharedCode
push ecx
mov dword [ebp - 0x1b3c], 0x208
mov word [ebp - 0x320], bx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
cmp esi, ebx
jne 0x4cf2184
cmp dword [ebp - 0x1b44], 1
jne 0x4cf2184
mov edi, 1
mov edx, dword [ebp - 0x1b40]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, ebx
jne 0x4cf226e
mov ecx, dword [0x4cf7064]
push ebx
push 0x400
lea eax, [ebp - 0x1b38]
push eax
push 0x400
push esi
push ebx
or ecx, 0x20000020
push 0x1000
mov dword [0x4cf7064], ecx
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
test eax, eax
je 0x4cf21e6
lea ecx, [ebp - 0x1b38]
push ecx
push esi
push str.Registry_read_failed_0x_x____ls_n
call dword [sym.imp.MSVCR71.dll_printf]
add esp, 0xc
jmp 0x4cf21f5
push esi
push str.Registry_read_failed_Error_Code_0x_x_n
call dword [sym.imp.MSVCR71.dll_printf]
add esp, 8
push 0x104
lea edx, [ebp - 0x52c]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x4cf2254
push ebx
push ebx
lea eax, [ebp - 0x72c]
push eax
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 0x52c]
push edx
mov word [ebp - 0x324], bx
call dword [sym.imp.MSVCR71.dll__wsplitpath]
lea eax, [ebp - 0x72c]
push eax
lea ecx, [ebp - 0xc]
push ecx
push 0x4cf56b4
lea edx, [ebp - 0x320]
push 0x104
push edx
call dword [sym.imp.MSVCR71.dll__snwprintf]
add esp, 0x28
jmp 0x4cf226e
push 0x104
lea eax, [ebp - 0x320]
push 0x4cf583c
push eax
call dword [sym.imp.MSVCR71.dll_wcsncpy]
add esp, 0xc
mov ecx, dword [str.DW15.EXE]
mov esi, dword [sym.imp.MSVCR71.dll__snprintf]
push ecx
lea edx, [ebp - 0x320]
push edx
push str._ls_hs
lea eax, [ebp - 0x114]
push 0x104
push eax
mov word [ebp - 0x118], bx
call esi
mov edi, dword [ebp - 0x1b48]
mov edx, dword [str.DW15.EXE]
lea ecx, [edi + 4]
push ecx
push edx
push str._hs__d___hs_
lea eax, [ebp - 0xb30]
push 0x400
push eax
mov byte [ebp - 0x10], bl
call esi
add esp, 0x28
lea ecx, [ebp - 0x1b9c]
push ecx
mov byte [ebp - 0x730], bl
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
lea eax, [ebp - 0x1b58]
push eax
lea ecx, [ebp - 0x1b9c]
push ecx
push ebx
push ebx
xor edx, edx
push 0x4000010
mov dword [ebp - 0x1b58], edx
push 1
mov dword [ebp - 0x1b54], edx
mov dword [ebp - 0x1b50], edx
push ebx
mov dword [ebp - 0x1b4c], edx
push ebx
lea edx, [ebp - 0xb30]
push edx
lea eax, [ebp - 0x114]
push eax
mov dword [ebp - 0x1b98], ebx
mov dword [ebp - 0x1b90], ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x4cf233c
mov eax, dword [0x4cf7064]
or eax, 0x20001000
jmp 0x4cf23a5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
push 0x400
lea ecx, [ebp - 0x1b38]
push ecx
push 0x400
mov esi, eax
push esi
push ebx
push 0x1000
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
test eax, eax
je 0x4cf2385
mov eax, dword [str.DW15.EXE]
lea edx, [ebp - 0x1b38]
push edx
push esi
push eax
push str.DoWatsonDump____Failed_start_of_of__s_0x_x____ls_n
call dword [sym.imp.MSVCR71.dll_printf]
add esp, 0x10
jmp 0x4cf239b
mov ecx, dword [str.DW15.EXE]
push esi
push ecx
push str.DoWatsonDump____Failed_start_of__s___Error_Code_0x_x_n
call dword [sym.imp.MSVCR71.dll_printf]
add esp, 0xc
mov eax, dword [0x4cf7064]
or eax, 0x20000040
mov ecx, edi
mov dword [0x4cf7064], eax
call fcn.04cf1c20
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.04cf43f4
mov esp, ebp
pop ebp
ret