Function at 0x4100f0
Capabilities:
Create process on windows
Resume thread

Disassembly:
mov eax, 0x10084
call fcn.00414e50
mov eax, dword [0x428930]
xor eax, esp
mov dword [esp + 0x10080], eax
push esi
mov esi, dword [esp + 0x1008c]
cmp dword [esi + 0x704d4], 0
mov byte [esi + 0x704e4], 0
je 0x410138
xor eax, eax
pop esi
mov ecx, dword [esp + 0x10080]
xor ecx, esp
call fcn.00414aec
add esp, 0x10084
ret
inc dword [esi + 0x70558]
push 0x44
lea eax, [esp + 0x24]
push 0
push eax
call fcn.00414b00
xor eax, eax
lea ecx, [esp + 0x2c]
push ecx
push esi
mov dword [esp + 0x34], 0x44
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
call fcn.0040bc80
add esp, 0x14
test eax, eax
je 0x4101b5
push 0
lea edx, [esi + 2]
push edx
push 0xc00003ec
push 1
call fcn.00402230
push esi
call fcn.0040ca30
push 1
push 1
push 2
push esi
call fcn.0040eac0
add esp, 0x24
pop esi
mov ecx, dword [esp + 0x10080]
xor ecx, esp
call fcn.00414aec
add esp, 0x10084
ret
push edi
lea eax, [esi + 0x28414]
push eax
lea edi, [esi + 0x18416]
push edi
push str.__s___s
push 0xffffffffffffffff
lea ecx, [esp + 0x98]
push 0x8000
push ecx
call fcn.0041454f
add esp, 0x18
test eax, eax
jge 0x410228
push 0
push str.start_service
push str.command_line
push 0xc00003eb
push 1
call fcn.00402230
push esi
call fcn.0040ca30
push 1
push 1
push 2
push esi
call fcn.0040eac0
add esp, 0x28
pop edi
pop esi
mov ecx, dword [esp + 0x10080]
xor ecx, esp
call fcn.00414aec
add esp, 0x10084
ret
push ebp
push esi
call fcn.0040ec70
mov edx, dword [esi + 0x704d0]
add esp, 4
lea ebp, [esi + 0x704b4]
push ebp
push edx
mov dword [esi + 0x704b8], 2
mov dword [esi + 0x704bc], 0x45
call dword [sym.imp.ADVAPI32.dll_SetServiceStatus]
cmp byte [esi + 0x704e5], 0
mov dword [esp + 0x10], 0
je 0x410521
lea eax, [esp + 0x28]
push eax
push esi
call fcn.00407e30
add esp, 8
test eax, eax
je 0x4102d3
push 0
lea ecx, [esi + 2]
push ecx
push 0xc000041b
push 1
call fcn.00402230
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_FreeConsole]
lea edx, [esp + 0x28]
push edx
call fcn.00407390
push esi
call fcn.0040ca30
push 1
push 1
push 4
push esi
call fcn.0040eac0
add esp, 0x18
pop ebp
pop edi
pop esi
mov ecx, dword [esp + 0x10080]
xor ecx, esp
call fcn.00414aec
add esp, 0x10084
ret
call dword [sym.imp.KERNEL32.dll_FreeConsole]
push 0
push 0x4e20
lea eax, [esp + 0x18]
push eax
push 0x4217fc
push str.Start
push esi
push 0x459664
call fcn.00405fe0
add esp, 0x1c
cmp eax, 0x63
jne 0x410367
push eax
push 0x421e00
push 0xffffffffffffffff
lea ecx, [esp + 0x78]
push 0x10
push ecx
call fcn.0041454f
push 0
lea edx, [esp + 0x84]
push edx
lea eax, [esi + 2]
push eax
push 0x4217fc
push str.Start
push 0x40000437
push 1
call fcn.00402230
push esi
call fcn.0040ca30
push 1
push 1
push 5
push esi
call fcn.0040eac0
add esp, 0x44
pop ebp
pop edi
pop esi
mov ecx, dword [esp + 0x10080]
xor ecx, esp
call fcn.00414aec
add esp, 0x10084
ret
push esi
call fcn.0040c9e0
add esp, 4
xor cl, cl
test dword [esp + 0x54], 0x100
je 0x41037e
mov cl, 1
call fcn.0040c900
mov edx, dword [esi + 0x40400]
and eax, dword [esi + 0x4041c]
or edx, dword [esi + 0x40404]
je 0x41039a
or eax, 4
cmp dword [esi + 0x40420], 0
jne 0x4103a6
or eax, 0x10
lea edx, [esp + 0x14]
push edx
lea edx, [esp + 0x2c]
push edx
lea edx, [esi + 0x30412]
push edx
push 0
push eax
movzx eax, cl
push eax
push 0
push 0
lea ecx, [esp + 0xac]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x410430
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push eax
call fcn.004020f0
add esp, 4
push eax
push edi
lea edx, [esi + 2]
push edx
push 0xc00003f2
push 1
call fcn.00402230
lea eax, [esp + 0x40]
push eax
call fcn.00407390
push esi
call fcn.0040ca30
push 1
push 1
push 3
push esi
call fcn.0040eac0
add esp, 0x30
pop ebp
pop edi
pop esi
mov ecx, dword [esp + 0x10080]
xor ecx, esp
call fcn.00414aec
add esp, 0x10084
ret
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
inc dword [esi + 0x7055c]
lea edi, [esi + 0x70540]
push edi
push eax
mov dword [esi + 0x704d4], eax
mov dword [esi + 0x704d8], ecx
call fcn.00409010
add esp, 8
test eax, eax
je 0x410465
xor eax, eax
mov dword [edi], eax
mov dword [edi + 4], eax
lea edx, [esp + 0x28]
push edx
call fcn.00407390
mov eax, dword [esi + 0x40400]
add esp, 4
or eax, dword [esi + 0x40404]
je 0x410521
mov eax, dword [esi + 0x704d4]
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x10]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessAffinityMask]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x4104b5
mov eax, dword [esp + 0x24]
and eax, dword [esi + 0x40400]
mov dword [esp + 0xc], eax
jmp 0x4104e4
mov ecx, dword [esi + 0x40400]
push 0
mov dword [esp + 0x10], ecx
call edi
push eax
call fcn.004020f0
add esp, 4
push eax
lea edx, [esi + 2]
push edx
push 0x8000042d
push 1
call fcn.00402230
mov eax, dword [esp + 0x20]
add esp, 0x14
push eax
mov eax, dword [esi + 0x704d4]
push eax
call dword [sym.imp.KERNEL32.dll_SetProcessAffinityMask]
test eax, eax
jne 0x410516
push eax
call edi
push eax
call fcn.004020f0
add esp, 4
push eax
lea ecx, [esi + 2]
push ecx
push 0xc000042e
push 2
call fcn.00402230
add esp, 0x14
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push esi
call fcn.0040ca30
mov eax, dword [esi + 0x70498]
mov edx, dword [esi + 0x704d4]
push eax
mov eax, dword [esi + 0x704d0]
push str.start_service
lea ecx, [esi + 2]
push ecx
push edx
push ebp
push eax
call fcn.0040ee40
add esp, 0x1c
cmp eax, 1
jne 0x41055d
mov dword [esi + 0x704e8], 0
cmp byte [esi + 0x704e5], 0
je 0x4105c7
mov ecx, dword [esi + 0x704d0]
and dword [esi + 0x704bc], 0xfffffffd
push ebp
push ecx
mov dword [esi + 0x704b8], 4
call dword [sym.imp.ADVAPI32.dll_SetServiceStatus]
cmp dword [esi + 0x704e8], 0
jne 0x4105ab
lea edx, [esp + 0x10]
push edx
push str.Post
push str.Start
push esi
push 0x459664
call fcn.00406710
add esp, 0x14
cmp dword [esi + 0x70494], 0
je 0x4105c7
cmp dword [esi + 0x704e8], 0
jne 0x4105c7
mov dword [esi + 0x704e8], 1
mov ecx, dword [esp + 0x1008c]
pop ebp
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.00414aec
add esp, 0x10084
ret