Function at 0x10027e70
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009e7bf
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x100d07a8]
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 - 0x40], esi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x58], esi
test esi, esi
je 0x10027eb3
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x18]
mov dword [ebp - 4], 0
test eax, eax
jne 0x10027ee8
lea eax, [esi + 0x1c]
push eax
push 0
push esi
push 0x1002af80
push 0
push 0
call fcn.100844df
add esp, 0x18
mov dword [esi + 0x18], eax
test eax, eax
jne 0x10027ee8
mov byte [ebp - 0x35], al
jmp 0x100280e3
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x90], xmm0
movups xmmword [ebp - 0x34], xmm0
movq xmm0, qword [edi + 0x10]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov eax, dword [edi + 0x18]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x1c], eax
mov eax, dword [edi + 0x1c]
movq qword [ebp - 0x4c], xmm0
movq qword [ebp - 0x24], xmm0
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x18], eax
push 0x38
mov byte [ebp - 4], 1
call fcn.1006a12b
mov edi, eax
add esp, 4
mov dword [ebp - 0x5c], edi
test edi, edi
je 0x10027fe7
movups xmm0, xmmword [ebp - 0x90]
mov eax, dword [ebp - 0x3c]
lea esi, [edi + 0x10]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x44]
movups xmmword [ebp - 0x80], xmm0
mov dword [edi + 4], 1
movq xmm0, qword [ebp - 0x4c]
mov dword [edi + 8], 1
mov dword [edi], vtable.std::_Ref_count_obj_class_std::function_void____cdecl___void___.0
mov dword [ebp - 0x50], esi
movq qword [ebp - 0x70], xmm0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
mov dword [ebp - 0x64], eax
mov dword [esi + 0x24], 0
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 4
push eax
call fcn.100282a0
mov edx, dword [ebp - 0x6c]
add esp, 4
mov dword [esi + 0x24], eax
mov byte [ebp - 4], 2
cmp edx, 0x10
jb 0x10027fe2
mov ecx, dword [ebp - 0x80]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10027fd8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002810a
push edx
push ecx
call fcn.1006a15b
add esp, 8
mov esi, dword [ebp - 0x40]
jmp 0x10027fe9
xor edi, edi
lea eax, [edi + 0x10]
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x4c], eax
mov edx, dword [ebp - 0x20]
mov byte [ebp - 4], 6
cmp edx, 0x10
jb 0x1002802d
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10028020
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002810f
push edx
push ecx
call fcn.1006a15b
add esp, 8
lea eax, [edi + 0x10]
test edi, edi
je 0x10028035
lock inc dword [edi + 4]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], edi
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 0x1002805c
push 1
mov ecx, edx
call fcn.1002b300
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 - 0x3c], eax
cmp dword [ecx + eax], 0
jne 0x100280a2
push 0x28
call fcn.1006a12b
lea edx, [esi + 0x20]
mov ecx, eax
mov eax, dword [edx + 4]
add esp, 4
mov esi, dword [ebp - 0x3c]
mov dword [esi + eax], ecx
mov ecx, dword [edx + 4]
mov esi, dword [ebp - 0x40]
mov eax, dword [ebp - 0x3c]
mov eax, dword [ecx + eax]
lea ecx, [edi + 0x10]
mov byte [ebp - 0x35], 1
mov dword [eax], vtable.std::_Func_impl_no_alloc_class__lambda_04d2010dbe16c81f28f3c57e12479235___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 0x100280e3
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x100280e3
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x100280e3
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 4]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, byte [ebp - 0x35]
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.1006a4da
mov esp, ebp
pop ebp
ret 4
call fcn.10078889
call fcn.10078889
int3