Function at 0x10077c30
Capabilities:
Create process on windows
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102714c0
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x10314008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov bh, dl
mov esi, ecx
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x8c], eax
xor eax, eax
cmp dword [esi + 0x14], 8
mov word [ebp - 0x36], ax
mov eax, 1
mov word [ebp - 0x48], ax
mov eax, esi
movlpd qword [ebp - 0x74], xmm0
movlpd qword [ebp - 0x6c], xmm0
movlpd qword [ebp - 0x64], xmm0
movlpd qword [ebp - 0x5c], xmm0
movlpd qword [ebp - 0x54], xmm0
movlpd qword [ebp - 0x46], xmm0
movlpd qword [ebp - 0x3e], xmm0
mov dword [ebp - 0x78], 0x44
mov dword [ebp - 0x4c], 1
jb 0x10077cbb
mov eax, dword [esi]
lea ecx, [ebp - 0x88]
push ecx
lea ecx, [ebp - 0x78]
push ecx
push 0
push 0
push 0
push 1
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x10077da0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [0x1031422c], 0
mov edi, eax
je 0x10077d99
push 0
mov ecx, 0x10314228
call fcn.10061e90
mov ecx, dword [0x1031422c]
cmp byte [ecx + 0x54], 0
je 0x10077d99
cmp dword [ecx + 0x58], 2
jb 0x10077d99
mov bl, byte [ecx + 0x5c]
lea ecx, [ebp - 0x34]
call fcn.10004710
mov dword [ebp - 4], 0
cmp dword [esi + 0x14], 8
jb 0x10077d34
mov esi, dword [esi]
push edi
push esi
lea eax, [ebp - 0x34]
push str.CreateProcess
push eax
call fcn.100fece0
add esp, 0x10
lea eax, [ebp - 0x34]
mov ecx, 0x10314228
push 0x11c
push str.RCProcess::CreateNormalProcess
push str.d:jenkinsworkspacepc_2345softmgr_build_softmgrmain_src_softmgrshare_src_rcprocess.cpp
push eax
push 2
call fcn.10062830
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test bl, bl
je 0x10077d8a
lea eax, [ebp - 0x34]
mov ecx, 0x10314228
push eax
call fcn.10062b70
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 0xffffffff
call fcn.10004610
mov eax, edi
jmp 0x10077ecd
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push eax
push 0
push dword [ebp - 0x88]
call dword [sym.imp.KERNEL32.dll_IsProcessInJob]
test eax, eax
je 0x10077e6a
cmp dword [0x1031422c], 0
je 0x10077e6a
push 0
mov ecx, 0x10314228
call fcn.10061e90
mov eax, dword [0x1031422c]
cmp byte [eax + 0x54], 0
je 0x10077e6a
cmp dword [eax + 0x58], 2
jb 0x10077e6a
mov bl, byte [eax + 0x5c]
lea ecx, [ebp - 0x34]
call fcn.10004710
mov dword [ebp - 4], 1
lea eax, [ebp - 0x34]
push dword [ebp - 0x80]
push dword [ebp - 0x1c]
push str.IsProcessInJob_result:_d__processId:__d
push eax
call fcn.100fece0
add esp, 0x10
lea eax, [ebp - 0x34]
mov ecx, 0x10314228
push 0x123
push str.RCProcess::CreateNormalProcess
push str.d:jenkinsworkspacepc_2345softmgr_build_softmgrmain_src_softmgrshare_src_rcprocess.cpp
push eax
push 2
call fcn.10062830
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test bl, bl
je 0x10077e5b
lea eax, [ebp - 0x34]
mov ecx, 0x10314228
push eax
call fcn.10062b70
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 0xffffffff
call fcn.10004610
test bh, bh
je 0x10077ea1
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x8c]
push 0xffffffffffffffff
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push 0
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
jne 0x10077ea1
push edi
push dword [ebp - 0x88]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [ebp - 0x84]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x10077ebe
push eax
call esi
mov dword [ebp - 0x84], 0
mov eax, dword [ebp - 0x88]
test eax, eax
je 0x10077ecb
push eax
call esi
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1025b3e6
mov esp, ebp
pop ebp
ret