Function at 0x10027080
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10097e40
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [0x100c6394]
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 ebx, ecx
mov eax, dword [ebx + 0x80]
test eax, eax
jne 0x10027304
call fcn.1003e050
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x100271ed
push 0x78
push str.d:jenkins.jenkinsworkspacelib_commonmodeidentifymodeidentifyldsmodeidentifyldsmodeidentifymode_broadcast_wnd.cc
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.1000a9b0
push 3
push 0x1009de28
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.1000a9b0
mov byte [ebp - 4], 1
call fcn.1003e050
mov edi, eax
lea ecx, [ebp - 0xf0]
push 0x136
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10004330
mov esi, eax
push str.start_init_process_mgr
push esi
mov byte [ebp - 4], 2
call fcn.10005560
mov eax, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xf0]
call fcn.10005880
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x100271a0
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10027196
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10027462
push edx
push ecx
call fcn.1004cc8b
add esp, 8
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x100271ed
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100271e3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10027467
push edx
push ecx
call fcn.1004cc8b
add esp, 8
push 0x100c9aca
push 0x4c
call fcn.1004d34b
add esp, 8
mov dword [ebp - 0x44], eax
mov dword [ebp - 4], 3
test eax, eax
je 0x10027213
mov ecx, eax
call fcn.1002af00
jmp 0x10027215
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebx + 0x80], eax
test eax, eax
jne 0x10027304
call fcn.1003e050
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x100272e4
push 0x78
push str.d:jenkins.jenkinsworkspacelib_commonmodeidentifymodeidentifyldsmodeidentifyldsmodeidentifymode_broadcast_wnd.cc
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.1000a9b0
push 3
push 0x1009de28
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 4
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.1000a9b0
mov byte [ebp - 4], 5
call fcn.1003e050
mov edi, eax
lea ecx, [ebp - 0xf0]
push 0x13b
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10004330
mov esi, eax
push str.break_:_process_mgr_nullptr
push esi
mov byte [ebp - 4], 6
call fcn.10005560
mov eax, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xf0]
call fcn.10005880
lea ecx, [ebp - 0x40]
call fcn.10004d90
lea ecx, [ebp - 0x28]
call fcn.10004d90
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.1004d00a
mov esp, ebp
pop ebp
ret 4
lea edi, [ebx + 0x88]
mov dword [ebp - 0x50], edi
test edi, edi
je 0x10027318
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 0x18]
mov dword [ebp - 4], 7
test eax, eax
jne 0x10027349
lea eax, [edi + 0x1c]
push eax
push 0
push edi
push 0x1001f890
push 0
push 0
call fcn.1006508c
add esp, 0x18
mov dword [edi + 0x18], eax
test eax, eax
je 0x10027451
mov eax, dword [ebx + 4]
mov ebx, dword [ebx + 0x80]
push 0x38
mov dword [ebp - 0x44], eax
call fcn.1004cc5b
mov esi, eax
add esp, 4
mov dword [ebp - 0x48], esi
test esi, esi
je 0x100273a0
mov eax, dword [ebp + 8]
lea ecx, [esi + 0x10]
mov dword [esi + 4], 1
mov dword [esi + 8], 1
mov dword [esi], vtable.std::_Ref_count_obj_class_std::function_int____cdecl___void___.0
mov dword [ecx], vtable.std::_Func_impl_no_alloc_class_std::_Binder_struct_std::_Unforced__unsigned_char____cdecl_ProcessMgr::__int__struct_HWND_____long_int___class_ProcessMgr____struct_HWND______long_int____int___.0
mov dword [ecx + 4], 0x1002b690
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x44]
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x24], ecx
jmp 0x100273a2
xor esi, esi
lea eax, [esi + 0x10]
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x4c], eax
test esi, esi
je 0x100273b3
lock inc dword [esi + 4]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], esi
mov eax, dword [edi + 0x30]
mov ecx, dword [edi + 0x28]
inc eax
mov byte [ebp - 4], 9
cmp ecx, eax
ja 0x100273d5
push 1
lea ecx, [edi + 0x20]
call fcn.100204f0
mov ecx, dword [edi + 0x28]
lea eax, [ecx - 1]
and dword [edi + 0x2c], eax
mov ecx, dword [edi + 0x30]
add ecx, dword [edi + 0x2c]
mov eax, dword [edi + 0x28]
dec eax
and ecx, eax
lea eax, [ecx*4]
mov ecx, dword [edi + 0x24]
mov dword [ebp - 0x44], eax
cmp dword [ecx + eax], 0
jne 0x10027414
push 0x28
call fcn.1004cc5b
mov edx, dword [ebp - 0x44]
mov ecx, eax
mov eax, dword [edi + 0x24]
add esp, 4
mov dword [edx + eax], ecx
mov eax, edx
mov ecx, dword [edi + 0x24]
mov eax, dword [eax + ecx]
lea ecx, [esi + 0x10]
mov dword [eax], vtable.std::_Func_impl_no_alloc_class__lambda_d73fee5b61bb882e8791183ec7502785___void___.0
mov dword [eax + 4], ecx
mov dword [eax + 8], esi
mov dword [eax + 0x24], eax
inc dword [edi + 0x30]
test esi, esi
je 0x10027451
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x10027451
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x10027451
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 1
jmp 0x100272e6
call fcn.10059b09
call fcn.10059b09
int3