Function at 0x10011c20
Capabilities:
Accept command line arguments
Create process on windows
Create process suspended
Start service
Terminate process

Disassembly:
mov eax, dword [0x10132b4c]
sub esp, 0x45c
push ebx
push ebp
push esi
push edi
mov edi, dword [eax]
cmp edi, eax
je 0x10011d40
mov eax, dword [edi + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_AttachConsole]
push eax
call esi
test eax, eax
jne 0x10011c5b
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [edi + 0xc]
push ecx
call esi
test eax, eax
je 0x10011c49
mov ebp, dword [sym.imp.KERNEL32.dll_GetConsoleProcessList]
lea edx, [esp + 0x24]
push 1
push edx
call ebp
mov esi, eax
cmp esi, 1
jbe 0x10011cd6
lea eax, [esi*4]
push eax
call sub.MFC42.DLL_operatornew
add esp, 4
mov ebx, eax
mov dword [esp + 0x20], ebx
push esi
push ebx
call ebp
test esi, esi
jbe 0x10011ccd
mov ebp, esi
mov esi, dword [ebx]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, eax
je 0x10011cc3
cmp esi, dword [edi + 0xc]
je 0x10011cc3
push esi
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x10011cc3
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add ebx, 4
dec ebp
jne 0x10011c91
mov ebx, dword [esp + 0x20]
push ebx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov esi, dword [sym.imp.KERNEL32.dll_FreeConsole]
call esi
test eax, eax
jne 0x10011cf0
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
call esi
test eax, eax
je 0x10011ce2
mov ecx, dword [edi + 0x10]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [edi + 8]
mov edx, dword [0x10131148]
cmp ecx, edx
je 0x10011d1b
mov eax, dword [ecx]
cmp eax, edx
je 0x10011d17
mov ecx, eax
mov eax, dword [ecx]
cmp eax, edx
jne 0x10011d0f
mov edi, ecx
jmp 0x10011d34
mov eax, dword [edi + 4]
cmp edi, dword [eax + 8]
jne 0x10011d2d
mov edi, eax
mov eax, dword [eax + 4]
cmp edi, dword [eax + 8]
je 0x10011d23
cmp dword [edi + 8], eax
je 0x10011d34
mov edi, eax
cmp edi, dword [0x10132b4c]
jne 0x10011c39
mov eax, dword [0x101326f8]
test eax, eax
jne 0x10011da6
mov edx, dword [0x101326dc]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call ebx
mov eax, dword [0x101326e0]
push eax
call ebx
mov eax, dword [0x1013140c]
test eax, eax
jne 0x10011e3f
mov eax, dword [0x10131414]
test eax, eax
je 0x10011de1
push 0x20000
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
test edi, edi
je 0x10011da6
push 0x10
push 0x1013186c
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
test esi, esi
jne 0x10011db1
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x45c
ret
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
test eax, eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jne 0x10011dd7
call esi
push edi
call esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x45c
ret
call esi
push edi
call esi
jmp 0x10011ed8
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x28]
lea edx, [esp + 0x10]
rep stosd dword es:[edi], eax
xor ecx, ecx
lea eax, [esp + 0x28]
mov dword [esp + 0x10], ecx
push edx
mov dword [esp + 0x18], ecx
push eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x30], 0x44
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
mov dword [esp + 0x3c], ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x10011da6
mov ecx, dword [esp + 0x14]
push ecx
call ebx
mov edx, dword [esp + 0x10]
jmp 0x10011ed5
lea eax, [esp + 0x6c]
push 0x400
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov edi, str.__inst
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x6c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea edx, [esp + 0x28]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x11
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], eax
push ecx
mov dword [esp + 0x1c], eax
push edx
push eax
push eax
push eax
push eax
push eax
mov dword [esp + 0x38], eax
push eax
lea eax, [esp + 0x8c]
push eax
push 0
mov dword [esp + 0x50], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x10011da6
mov ecx, dword [esp + 0x14]
push ecx
call ebx
mov edx, dword [esp + 0x10]
push edx
call ebx
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]