Function at 0x10077970
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10271488
mov eax, dword fs:[0]
push eax
sub esp, 0x34
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 edi, edx
mov ebx, ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
mov esi, eax
test esi, esi
jne 0x10077a60
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [0x1031422c], 0
mov esi, eax
je 0x10077a59
push 0
mov ecx, 0x10314228
call fcn.10061e90
mov ecx, dword [0x1031422c]
cmp byte [ecx + 0x54], 0
je 0x10077a59
cmp dword [ecx + 0x58], 2
jb 0x10077a59
mov bl, byte [ecx + 0x5c]
lea ecx, [ebp - 0x28]
call fcn.10004710
push esi
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push str.CreateJobObject_failed__ERROR:_d
push eax
call fcn.100fece0
add esp, 0xc
lea eax, [ebp - 0x28]
mov ecx, 0x10314228
push 0x3b
push str.RCProcess::CreateProcessWaitChildProcessExit
push str.d:jenkinsworkspacepc_2345softmgr_build_softmgrmain_src_softmgrshare_src_rcprocess.cpp
push eax
push 2
call fcn.10062830
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test bl, bl
je 0x10077a4a
lea eax, [ebp - 0x28]
mov ecx, 0x10314228
push eax
call fcn.10062b70
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.10004610
mov eax, esi
jmp 0x10077c05
push ecx
push edi
mov edx, esi
mov ecx, ebx
call fcn.10077ef0
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x10077b20
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateJobObject]
test eax, eax
jne 0x10077b12
push 2
mov ecx, 0x10314228
call fcn.100627c0
mov edi, eax
test edi, edi
je 0x10077b12
lea ecx, [ebp - 0x28]
call fcn.10004710
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x28]
push str.TerminateJobObject_failed__ERROR:_d
push eax
call fcn.100fece0
add esp, 0xc
lea eax, [ebp - 0x28]
mov ecx, 0x10314228
push 0x45
push str.RCProcess::CreateProcessWaitChildProcessExit
push str.d:jenkinsworkspacepc_2345softmgr_build_softmgrmain_src_softmgrshare_src_rcprocess.cpp
push eax
push 2
call fcn.10062830
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp edi, 1
jbe 0x10077b03
lea eax, [ebp - 0x28]
mov ecx, 0x10314228
push eax
call fcn.10062b70
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.10004610
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
jmp 0x10077c05
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0xc8
push edi
call ebx
test eax, eax
je 0x10077bfc
push 0
push 0x30
lea eax, [ebp - 0x40]
push eax
push 1
push esi
call dword [sym.imp.KERNEL32.dll_QueryInformationJobObject]
test eax, eax
je 0x10077b51
cmp dword [ebp - 0x18], 0
jbe 0x10077b62
push 0xc8
push edi
call ebx
test eax, eax
jne 0x10077b36
jmp 0x10077bfc
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateJobObject]
test eax, eax
jne 0x10077bfc
push 2
mov ecx, 0x10314228
call fcn.100627c0
mov edi, eax
test edi, edi
je 0x10077bfc
lea ecx, [ebp - 0x28]
call fcn.10004710
mov dword [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x28]
push str.TerminateJobObject_failed__ERROR:_d
push eax
call fcn.100fece0
add esp, 0xc
lea eax, [ebp - 0x28]
mov ecx, 0x10314228
push 0x67
push str.RCProcess::CreateProcessWaitChildProcessExit
push str.d:jenkinsworkspacepc_2345softmgr_build_softmgrmain_src_softmgrshare_src_rcprocess.cpp
push eax
push 2
call fcn.10062830
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp edi, 1
jbe 0x10077bed
lea eax, [ebp - 0x28]
mov ecx, 0x10314228
push eax
call fcn.10062b70
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.10004610
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
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