Function at 0x411ca0
Capabilities:
Get number of processors
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x44a936
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xac
push ebx
push ebp
mov ebp, dword [esp + 0xc8]
push esi
mov esi, dword [esp + 0xc8]
push edi
xor ebx, ebx
mov dword [esp + 0x10], ebx
push 0x1c
mov edi, 0xf
push str.GenPatchRuntime_updatethread
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.00408930
mov dword [esp + 0xc4], ebx
push 0xffffffffffffffff
lea ecx, [esi + 4]
mov dword [esi], vtable.Pthread.0
push ebx
lea eax, [esp + 0x1c]
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.004079f0
mov eax, dword [0x45e1fc]
inc eax
mov dword [esi + 0x20], eax
mov dword [esi], vtable.PthreadImpCplus.0
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [0x45e1fc], eax
mov dword [esi + 0x2c], ebx
mov byte [esp + 0xc4], 2
cmp dword [esp + 0x2c], 0x10
jb 0x411d53
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004358f6
add esp, 4
mov edx, dword [esp + 0xd4]
push 0xffffffffffffffff
lea ecx, [esi + 0x30]
mov dword [esi], vtable.UpdateThread.0
push ebx
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push edx
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
mov byte [ecx + 4], bl
call fcn.004079f0
mov eax, dword [esp + 0xd8]
push 0xffffffffffffffff
lea ecx, [esi + 0x4c]
mov byte [esp + 0xc8], 3
push ebx
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.004079f0
mov dword [esi + 0x68], ebx
mov byte [esp + 0xc4], 5
cmp byte [0x45e190], bl
mov dword [esi + 0x6c], ebp
je 0x411df3
cmp ebp, ebx
jne 0x411df3
push 3
push 0x51
push str.SourceCodeDevNineWorldsCodeDev_toolslauncher_sourceGenPatchRuntimeui_thread.cpp
lea ecx, [esp + 0x3c]
push ecx
call fcn.0041df70
add eax, 4
push str.Check_failed:_msgBinder.
mov byte [esp + 0xc8], 6
push eax
mov dword [esp + 0x18], 1
call fcn.0040ada0
add esp, 8
mov dword [esp + 0xc4], 5
test byte [esp + 0x10], 1
je 0x411e10
lea ebx, [esp + 0x30]
call fcn.0041e270
xor ebx, ebx
push 0x2c
call fcn.004340c1
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x411e42
push 0x7d0
push edi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
xor edx, edx
lea eax, [edi + 0x18]
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [esp + 0x10], edi
jmp 0x411e46
mov dword [esp + 0x10], ebx
mov edi, dword [esi + 0x68]
cmp dword [esp + 0x10], edi
je 0x411e97
cmp edi, ebx
je 0x411e90
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebp, dword [edi + 0x18]
cmp ebp, ebx
je 0x411e79
push 0x64
push ebp
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x411e79
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
push edi
call fcn.004358f6
add esp, 4
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x68], ecx
mov ecx, dword [esp + 0xbc]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xb8
ret 0x10