Function at 0x431490
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4728b5
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x48f240]
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.00462b6f
mov esi, eax
mov dword [ebp - 0x3c], eax
add esp, 4
test esi, esi
je 0x431511
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], 0x47ca3c
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
jmp 0x431516
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 0x43168b
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x44], eax
test esi, esi
je 0x431548
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.0040b440
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__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___.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.00443e40
mov eax, dword [ebp - 0x38]
add esp, 0x2a4
mov ecx, dword [eax + 8]
cmp byte [ecx + 0xd], 0
je 0x431610
mov ecx, dword [eax + 4]
cmp byte [ecx + 0xd], 0
jne 0x431603
cmp eax, dword [ecx + 8]
jne 0x431603
mov eax, ecx
mov ecx, dword [ecx + 4]
cmp byte [ecx + 0xd], 0
je 0x4315f3
mov esi, dword [ebp - 0x3c]
mov eax, ecx
mov ecx, dword [ebp - 0x50]
jmp 0x431524
mov eax, ecx
mov dword [ebp - 0x38], eax
mov edx, dword [eax]
cmp byte [edx + 0xd], 0
jne 0x43162f
nop dword [eax]
mov ecx, dword [edx]
mov eax, edx
mov dword [ebp - 0x38], edx
mov edx, ecx
cmp byte [ecx + 0xd], 0
je 0x431620
mov esi, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x50]
jmp 0x431530
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.00462bad
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 2
test esi, esi
je 0x43169a
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.00462b6f
add esp, 4
test eax, eax
je 0x4316ca
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 0x4316cc
xor eax, eax
mov dword [ebp - 0x54], eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 8
push ecx
push 0
push eax
push 0x41cb00
push 0
push 0
call sub.msvcrt.dll__beginthreadex
add esp, 0x18
mov dword [ebp - 0x48], eax
test eax, eax
je 0x4317b3
mov ecx, dword [ebp - 0x44]
mov byte [ebp - 4], 9
test ecx, ecx
je 0x4317c6
push ecx
push eax
call fcn.0044aeeb
add esp, 8
test eax, eax
jne 0x4317c6
xorps xmm0, xmm0
movlpd qword [ebp - 0x48], xmm0
test edi, edi
je 0x431744
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x431744
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x431744
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
or edi, 0xffffffff
test esi, esi
je 0x431769
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x431769
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x431769
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [ebp + 8]
push eax
mov ecx, eax
call fcn.0041bfa0
mov ecx, dword [ebp + 0x24]
cmp ecx, 7
jbe 0x43166f
mov edx, dword [ebp + 0x10]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4317a4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4317c1
push ecx
push edx
call fcn.00462b9f
add esp, 8
jmp 0x43166f
push 6
mov dword [ebp - 0x44], 0
call fcn.0044b0c3
call fcn.004643d0
push 1
call fcn.0044b0c3
int3