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

Disassembly:
mov eax, 0x10084
call fcn.00414e40
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 0x410128
xor eax, eax
pop esi
mov ecx, dword [esp + 0x10080]
xor ecx, esp
call fcn.00414adc
add esp, 0x10084
ret
inc dword [esi + 0x70558]
push 0x44
lea eax, [esp + 0x24]
push 0
push eax
call fcn.00414af0
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.0040bc70
add esp, 0x14
test eax, eax
je 0x4101a5
push 0
lea edx, [esi + 2]
push edx
push 0xc00003ec
push 1
call fcn.00402230
push esi
call fcn.0040ca20
push 1
push 1
push 2
push esi
call fcn.0040eab0
add esp, 0x24
pop esi
mov ecx, dword [esp + 0x10080]
xor ecx, esp
call fcn.00414adc
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 + 0x3f]
push 0x8000
push ecx
call fcn.0041453f
add esp, 0x18
test eax, eax
jge 0x410218
push 0
push str.start_service
push str.command_line
push 0xc00003eb
push 1
call fcn.00402230
push esi
call fcn.0040ca20
push 1
push 1
push 2
push esi
call fcn.0040eab0
add esp, 0x28
pop edi
pop esi
mov ecx, dword [esp + 0x10080]
xor ecx, esp
call fcn.00414adc
add esp, 0x10084
ret
push ebp
push esi
call fcn.0040ec60
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 0x410511
lea eax, [esp + 0x28]
push eax
push esi
call fcn.00407e30
add esp, 8
test eax, eax
je 0x4102c3
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.0040ca20
push 1
push 1
push 4
push esi
call fcn.0040eab0
add esp, 0x18
pop ebp
pop edi
pop esi
mov ecx, dword [esp + 0x10080]
xor ecx, esp
call fcn.00414adc
add esp, 0x10084
ret
call dword [sym.imp.KERNEL32.dll_FreeConsole]
push 0
push 0x4e20
lea eax, [esp + 0x18]
push eax
push 0x4217dc
push str.Start
push esi
push 0x459664
call fcn.00405fe0
add esp, 0x1c
cmp eax, 0x63
jne 0x410357
push eax
push 0x421de0
push 0xffffffffffffffff
lea ecx, [esp + 0x78]
push 0x10
push ecx
call fcn.0041453f
push 0
lea edx, [esp + 0x84]
push edx
lea eax, [esi + 2]
push eax
push 0x4217dc
push str.Start
push 0x40000437
push 1
call fcn.00402230
push esi
call fcn.0040ca20
push 1
push 1
push 5
push esi
call fcn.0040eab0
add esp, 0x44
pop ebp
pop edi
pop esi
mov ecx, dword [esp + 0x10080]
xor ecx, esp
call fcn.00414adc
add esp, 0x10084
ret
push esi
call fcn.0040c9d0
add esp, 4
xor cl, cl
test dword [esp + 0x54], 0x100
je 0x41036e
mov cl, 1
call fcn.0040c8f0
mov edx, dword [esi + 0x40400]
and eax, dword [esi + 0x4041c]
or edx, dword [esi + 0x40404]
je 0x41038a
or eax, 4
cmp dword [esi + 0x40420], 0
jne 0x410396
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 0x410420
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.0040ca20
push 1
push 1
push 3
push esi
call fcn.0040eab0
add esp, 0x30
pop ebp
pop edi
pop esi
mov ecx, dword [esp + 0x10080]
xor ecx, esp
call fcn.00414adc
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.00409000
add esp, 8
test eax, eax
je 0x410455
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 0x410511
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 0x4104a5
mov eax, dword [esp + 0x24]
and eax, dword [esi + 0x40400]
mov dword [esp + 0xc], eax
jmp 0x4104d4
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 0x410506
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.0040ca20
mov eax, dword [esi + 0x7043f]
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.0040ee30
add esp, 0x1c
cmp eax, 1
jne 0x41054d
mov dword [esi + 0x704e8], 0
cmp byte [esi + 0x704e5], 0
je 0x4105b7
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 0x41059b
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 0x4105b7
cmp dword [esi + 0x704e8], 0
jne 0x4105b7
mov dword [esi + 0x704e8], 1
mov ecx, dword [esp + 0x1008c]
pop ebp
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.00414adc
add esp, 0x10084
ret