Function at 0x4311b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48da95
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x4af100]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push 0x18
mov dword [ebp - 4], 1
call fcn.00464140
mov esi, eax
mov dword [ebp - 0x3c], eax
add esp, 4
test esi, esi
je 0x431231
xorps xmm0, xmm0
movq qword [esi], xmm0
mov dword [esi + 8], 0
mov dword [esi + 4], 1
mov dword [esi + 8], 1
mov dword [esi], 0x4952a4
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
jmp 0x431236
xor esi, esi
mov dword [ebp - 0x3c], esi
lea ecx, [esi + 0xc]
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x50], ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x38], eax
nop word [eax + eax]
cmp byte [eax + 0xd], 0
jne 0x4313ab
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x44], eax
test esi, esi
je 0x431268
lock inc dword [esi + 4]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], esi
lea eax, [ebp + 0x10]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x2c]
call fcn.00408ae0
mov eax, dword [ebp - 0x34]
lea esi, [ebp + 0x28]
movups xmm0, xmmword [ebp - 0x2c]
sub esp, 0x28
mov byte [ebp - 4], 5
mov ecx, esp
mov dword [ebp - 0x34], 0
sub esp, 0x278
mov edi, esp
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x30]
push dword [ebp - 0x44]
mov dword [ecx + 8], eax
xor eax, eax
mov dword [ecx], vtable.std::_Func_impl_no_alloc_class__lambda_98cda6bc9b8603990fd4254cd0812f79___void__struct_HookParam_const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__.0
mov dword [ecx + 0x1c], 0
mov dword [ecx + 0x20], 0
movups xmmword [ecx + 0xc], xmm0
mov dword [ebp - 0x30], 0
movq xmm0, qword [ebp - 0x1c]
movq qword [ecx + 0x1c], xmm0
mov dword [ecx + 0x24], ecx
mov ecx, 0x9e
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.00445150
mov eax, dword [ebp - 0x38]
add esp, 0x2a4
mov ecx, dword [eax + 8]
cmp byte [ecx + 0xd], 0
je 0x431330
mov ecx, dword [eax + 4]
cmp byte [ecx + 0xd], 0
jne 0x431323
cmp eax, dword [ecx + 8]
jne 0x431323
mov eax, ecx
mov ecx, dword [ecx + 4]
cmp byte [ecx + 0xd], 0
je 0x431313
mov esi, dword [ebp - 0x3c]
mov eax, ecx
mov ecx, dword [ebp - 0x50]
jmp 0x431244
mov eax, ecx
mov dword [ebp - 0x38], eax
mov edx, dword [eax]
cmp byte [edx + 0xd], 0
jne 0x43134f
nop dword [eax]
mov ecx, dword [edx]
mov eax, edx
mov dword [ebp - 0x38], edx
mov edx, ecx
cmp byte [ecx + 0xd], 0
je 0x431340
mov esi, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x50]
jmp 0x431250
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0046417e
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 2
test esi, esi
je 0x4313ba
lock inc dword [esi + 4]
mov edi, esi
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], edi
push 8
mov byte [ebp - 4], 7
call fcn.00464140
add esp, 4
test eax, eax
je 0x4313ea
lea ecx, [esi + 0xc]
mov dword [eax + 4], esi
xor edi, edi
mov dword [eax], ecx
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], edi
jmp 0x4313ec
xor eax, eax
mov dword [ebp - 0x54], eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 8
push ecx
push 0
push eax
push 0x41a9a0
push 0
push 0
call fcn.00474c02
add esp, 0x18
mov dword [ebp - 0x48], eax
test eax, eax
je 0x4314d3
mov ecx, dword [ebp - 0x44]
mov byte [ebp - 4], 9
test ecx, ecx
je 0x4314e6
push ecx
push eax
call fcn.0044c9d2
add esp, 8
test eax, eax
jne 0x4314e6
xorps xmm0, xmm0
movlpd qword [ebp - 0x48], xmm0
test edi, edi
je 0x431464
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x431464
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x431464
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
or edi, 0xffffffff
test esi, esi
je 0x431489
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x431489
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x431489
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [ebp + 8]
push eax
mov ecx, eax
call fcn.00419e50
mov ecx, dword [ebp + 0x24]
cmp ecx, 7
jbe 0x43138f
mov edx, dword [ebp + 0x10]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4314c4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4314e1
push ecx
push edx
call fcn.00464170
add esp, 8
jmp 0x43138f
push 6
mov dword [ebp - 0x44], 0
call fcn.0044c7f1
call fcn.0046999f
push 1
call fcn.0044c7f1
int3