Function at 0x406350
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x42d010
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x43ab90]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov esi, ecx
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.executing_CSetupExDlg::DeleteCrypKeyLicenseService__..._n
call fcn.00401be0
mov ecx, esi
call fcn.00403550
mov ecx, dword [esi + 0x8c]
push 1
lea eax, [esp + 0x1c]
push eax
call fcn.004028a0
xor edi, edi
push 0x40
lea ecx, [esp + 0x44]
push edi
push ecx
mov dword [esp + 0x94], edi
call fcn.00418980
xor eax, eax
add esp, 0xc
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], 0x44
mov dword [esp + 0x68], 1
mov word [esp + 0x6c], di
call fcn.00409516
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x406400
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x88], 1
call fcn.00409516
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x406432
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x18]
push str.dllCache_
push ecx
lea edx, [esp + 0x24]
push str._s_ssc.exe
push edx
mov byte [esp + 0x98], 2
call fcn.004037b0
add esp, 0x10
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.00403d40
test eax, eax
je 0x406494
mov ecx, dword [esp + 0x18]
push str.dllCache_
push ecx
lea edx, [esp + 0x1c]
push str._s_ssc.exe_delete__CrypKey_License_
push edx
call fcn.004037b0
add esp, 0x10
jmp 0x4064ab
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push str._ssc.exe_delete__CrypKey_License_
push ecx
call fcn.004037b0
add esp, 0xc
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.Command:
call fcn.00401be0
mov ecx, esi
call fcn.00403550
mov ebp, dword [esp + 0x14]
push ecx
lea edi, [ebp - 0x10]
mov dword [esp + 0x28], esp
mov ebx, esp
push edi
call fcn.00401510
add eax, 0x10
add esp, 4
mov ecx, esi
mov dword [ebx], eax
call fcn.00403550
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x42fa1c
call fcn.00401be0
mov ecx, esi
call fcn.00403550
mov edx, dword [ebp - 0xc]
mov eax, dword [edi + 8]
mov ecx, 1
sub ecx, dword [edi + 0xc]
sub eax, edx
or eax, ecx
jge 0x406520
push edx
lea ecx, [esp + 0x18]
call fcn.00401710
mov ebp, dword [esp + 0x14]
test ebp, ebp
jne 0x406528
xor eax, eax
jmp 0x406541
mov eax, ebp
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x406530
sub eax, edx
js 0x40679b
cmp eax, dword [ebp - 8]
jg 0x40679b
mov dword [ebp - 0xc], eax
lea edx, [esp + 0x2c]
push edx
mov byte [eax + ebp], 0
lea eax, [esp + 0x40]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push ebp
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x406619
mov ecx, dword [esp + 0x2c]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
add ebp, 0xfffffff0
mov byte [esp + 0x88], 1
lea edx, [ebp + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x4065aa
mov ecx, dword [ebp]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebp
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x88], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4065d2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x88], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4065fd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret
push 0
push 0
lea ecx, [esp + 0x2c]
push ecx
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0
push 0x1100
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
call fcn.00409516
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x406655
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x24]
push ecx
lea edx, [esp + 0x24]
push str.Unable_to_Delete_Service:_sc.exe__s
push edx
mov byte [esp + 0x94], 3
call fcn.004037b0
mov edi, dword [esp + 0x2c]
add esp, 8
add edi, 0xfffffff0
mov dword [esp + 0x2c], esp
mov ebx, esp
push edi
call fcn.00401510
add eax, 0x10
add esp, 4
mov ecx, esi
mov dword [ebx], eax
call fcn.00403550
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x42fa1c
call fcn.00401be0
mov ecx, esi
call fcn.00403550
cmp dword [esi + 0x98], 1
jne 0x4066d5
mov eax, dword [esp + 0x20]
push 0
push 0x40
push eax
call fcn.0040c08a
mov ecx, dword [esp + 0x24]
push ecx
mov dword [esi + 0x94], 0xfffffffc
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov byte [esp + 0x88], 2
lea edx, [edi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x40670b
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
lea eax, [ebp - 0x10]
mov byte [esp + 0x88], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40672f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x88], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406757
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x88], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406782
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret
push 0x80070057
call fcn.00401090
int3