Function at 0x1000fe80
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10077592
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x1009f1f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x24], esi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x38], esi
test esi, esi
je 0x1000fec3
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x18]
mov dword [ebp - 4], 0
test eax, eax
jne 0x1000fef8
lea eax, [esi + 0x1c]
push eax
push 0
push esi
push 0x10015e30
push 0
push 0
call fcn.100520e4
add esp, 0x18
mov dword [esi + 0x18], eax
test eax, eax
jne 0x1000fef8
mov byte [ebp - 0x19], al
jmp 0x100100bb
movups xmm0, xmmword [edi + 4]
mov eax, dword [edi]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x64], eax
xor eax, eax
movups xmmword [ebp - 0x9c], xmm0
movups xmmword [ebp - 0x60], xmm0
movq xmm0, qword [edi + 0x14]
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 7
mov word [edi + 4], ax
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x48], eax
mov eax, dword [edi + 0x20]
movq qword [ebp - 0x34], xmm0
movq qword [ebp - 0x50], xmm0
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x44], eax
push 0x38
mov byte [ebp - 4], 1
call fcn.100285ab
mov edi, eax
add esp, 4
mov dword [ebp - 0x3c], edi
test edi, edi
je 0x1000ffe7
mov eax, dword [ebp - 0x20]
lea esi, [edi + 0x10]
movups xmm0, xmmword [ebp - 0x9c]
mov dword [ebp - 0x8c], eax
xor eax, eax
mov word [ebp - 0x60], ax
mov eax, dword [ebp - 0x28]
movups xmmword [ebp - 0x88], xmm0
mov dword [ebp - 0x70], eax
movq xmm0, qword [ebp - 0x34]
mov eax, dword [ebp - 0x2c]
mov dword [edi + 4], 1
mov dword [edi + 8], 1
mov dword [edi], vtable.std::_Ref_count_obj_class_std::function_void____cdecl___void___.0
mov dword [ebp - 0x14], esi
movq qword [ebp - 0x78], xmm0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 7
mov dword [ebp - 0x6c], eax
mov dword [esi + 0x24], 0
lea eax, [ebp - 0x8c]
mov byte [ebp - 4], 4
push eax
call fcn.100105d0
add esp, 4
mov dword [esi + 0x24], eax
lea ecx, [ebp - 0x8c]
call fcn.10010c50
mov esi, dword [ebp - 0x24]
jmp 0x1000ffe9
xor edi, edi
xorps xmm0, xmm0
lea eax, [edi + 0x10]
movlpd qword [ebp - 0x18], xmm0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edi
lea ecx, [ebp - 0x64]
call fcn.10010c50
test edi, edi
je 0x1001000a
lock inc dword [edi + 4]
lea eax, [edi + 0x10]
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], eax
mov eax, dword [esi + 0x30]
lea edx, [esi + 0x20]
mov ecx, dword [edx + 8]
inc eax
mov byte [ebp - 4], 7
cmp ecx, eax
ja 0x10010034
push 1
mov ecx, edx
call fcn.10016b40
mov ecx, dword [esi + 0x28]
lea edx, [esi + 0x20]
lea eax, [ecx - 1]
and dword [edx + 0xc], eax
mov ecx, dword [edx + 0x10]
add ecx, dword [edx + 0xc]
mov eax, dword [edx + 8]
dec eax
and ecx, eax
lea eax, [ecx*4]
mov ecx, dword [edx + 4]
mov dword [ebp - 0x20], eax
cmp dword [ecx + eax], 0
jne 0x1001007a
push 0x28
call fcn.100285ab
lea edx, [esi + 0x20]
mov ecx, eax
mov eax, dword [edx + 4]
add esp, 4
mov esi, dword [ebp - 0x20]
mov dword [esi + eax], ecx
mov ecx, dword [edx + 4]
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
mov eax, dword [ecx + eax]
lea ecx, [edi + 0x10]
mov byte [ebp - 0x19], 1
mov dword [eax], vtable.std::_Func_impl_no_alloc_class__lambda_e4dba6d81745f587a3f48dc1ecf88c56___void___.0
mov dword [eax + 4], ecx
mov dword [eax + 8], edi
mov dword [eax + 0x24], eax
inc dword [edx + 0x10]
test edi, edi
je 0x100100bb
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x100100bb
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x100100bb
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 4]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, byte [ebp - 0x19]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002894c
mov esp, ebp
pop ebp
ret 4