Function at 0x4607e1
Capabilities:
Create thread

Disassembly:
push 0x1ac
mov eax, 0x532923
call fcn.004e4832
mov edi, ecx
mov dword [ebp - 0x48], edi
push dword [edi + 8]
mov esi, dword [sym.imp.KERNEL32.DLL_ResetEvent]
call esi
push dword [edi + 0xc]
call esi
mov ecx, dword [edi + 0x14]
lea eax, [edi + 0x10]
mov dword [ebp - 0x44], eax
mov byte [eax], 0
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x1c], eax
test ecx, ecx
je 0x460826
mov eax, dword [ecx]
push 1
call dword [eax + 0xc]
and dword [edi + 0x14], 0
push 0x14
call fcn.004e40c8
mov edi, dword [ebp + 8]
mov ebx, eax
pop ecx
mov ecx, ebx
mov dword [ebp - 0x54], ebx
mov esi, dword [edi]
call fcn.0044fcf3
mov eax, dword [ebp - 0x44]
mov dword [ebx + 0xc], esi
mov esi, dword [ebp - 0x48]
mov dword [ebx], vtable.WorkerThreadStopSignal.0
mov dword [ebx + 0x10], eax
mov ecx, dword [edi + 4]
mov dword [esi + 0x18], ecx
mov ecx, ebx
mov dword [esi + 0x14], ebx
push 1
push dword [esi + 0x18]
mov eax, dword [ecx]
call dword [eax]
xor ebx, ebx
push ebx
push ebx
push esi
push 0x460a44
push ebx
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov dword [esi + 4], eax
test eax, eax
jne 0x460924
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
push 1
push 3
lea ecx, [ebp - 0x108]
call fcn.0042456b
push esi
mov dword [ebp - 4], ebx
call fcn.004fd137
add eax, 4
mov dword [esp], 0x5e4930
push eax
call fcn.004fc7e5
pop ecx
pop ecx
push 0x5a9740
push ecx
mov esi, eax
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push ecx
push str.::IWorkerThread::Start:_CreateThread_failed__
push ecx
lea eax, [ebp - 0xf8]
push esi
push eax
call fcn.00419540
add esp, 0xc
push eax
call fcn.00419540
add esp, 0xc
mov ecx, eax
call fcn.00424634
pop ecx
push eax
call fcn.00419540
pop ecx
pop ecx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x108]
call fcn.00424520
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 0x10
jb 0x46090d
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x28]
call fcn.0043578d
push 0x5d9f64
lea eax, [ebp - 0x28]
push eax
call fcn.004fd89a
mov eax, dword [esi + 8]
push 0xffffffffffffffff
mov dword [ebp - 0x50], eax
mov eax, dword [esi + 0xc]
push ebx
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x50]
push eax
push 2
pop ebx
push ebx
call dword [sym.imp.KERNEL32.DLL_WaitForMultipleObjects]
mov edi, eax
cmp edi, ebx
jbe 0x4609f6
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 8]
push 1
push 3
lea ecx, [ebp - 0x1b8]
call fcn.0042456b
push esi
mov dword [ebp - 4], ebx
call fcn.004fd137
add eax, 4
mov dword [esp], 0x5e4930
push eax
call fcn.004fc7e5
pop ecx
pop ecx
push 0x5a9740
push ecx
mov esi, eax
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push ecx
push 0x550ce8
push ecx
push edi
push ecx
push str.::IWorkerThread::Start:_WaitForMultipleObjects_failed__
push ecx
lea eax, [ebp - 0x1a8]
push esi
push eax
call fcn.00419540
add esp, 0xc
push eax
call fcn.00419540
add esp, 0xc
mov ecx, eax
call fcn.00424634
pop ecx
push eax
call fcn.00419540
add esp, 0xc
mov ecx, eax
call fcn.00424634
pop ecx
push eax
call fcn.00419540
pop ecx
pop ecx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x1b8]
call fcn.00424520
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 0x10
jb 0x46090d
jmp 0x46090b
test edi, edi
sete bl
test bl, bl
jne 0x460a06
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 8]
mov al, bl
call fcn.004e47dc
ret 8