Function at 0x4f1910
Capabilities:
Access peb ldr_data
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6be1b4
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x78efc4]
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
mov ebx, ecx
mov dword [ebp - 0x44], ebx
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x64], ebx
mov dword [ebx], vtable.CAT::AsyncTaskQueue.0
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x40], eax
mov dword [ebx + 4], 0
mov dword [ebp - 4], 0
lea esi, [ebx + 8]
mov dword [ebp - 0x44], esi
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.00677616
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
mov byte [ebp - 4], 1
lea esi, [ebx + 0x1c]
mov dword [ebp - 0x44], esi
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.00677616
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x38], 0
lea eax, [ebx + 0x48]
xorps xmm0, xmm0
push 2
push eax
movq qword [ebx + 0x40], xmm0
call fcn.00661c86
lea eax, [ebx + 0x78]
push eax
call fcn.00661f8c
add esp, 0x14
mov dword [ebx + 0xa0], 0
mov dword [ebx + 0xa4], 0
lea ecx, [ebx + 0xa8]
mov byte [ebp - 4], 6
push edi
call fcn.0044d190
push 0x80
mov byte [ebp - 4], 7
call fcn.00677616
mov edi, eax
add esp, 4
mov dword [ebp - 0x44], edi
xorps xmm0, xmm0
mov dword [ebp - 0x3c], 0x753b20
movq qword [edi], xmm0
lea eax, [ebp - 0x3c]
mov dword [edi + 8], 0
lea esi, [edi + 0x10]
mov dword [edi + 4], 1
mov dword [edi + 8], 1
mov dword [edi], vtable.std::_Ref_count_obj2_struct_CAT::InterruptionToken_.0
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0xa
push eax
mov ecx, esi
call fcn.004f6cc0
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x4f1aa4
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x3c]
cmp ecx, eax
setne al
push eax
call edx
mov byte [ebp - 4], 7
mov dword [ebx + 0xa0], esi
mov esi, dword [ebx + 0xa4]
mov dword [ebx + 0xa4], edi
or edi, 0xffffffff
test esi, esi
je 0x4f1ae0
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x4f1ae0
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x4f1ae0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
mov dword [ebp - 0x40], eax
test eax, eax
je 0x4f1b9f
cmp dword [ebx + 0xa0], 0
je 0x4f1b9f
lea esi, [eax + 0x18]
push esi
mov dword [ebp - 0x50], esi
call fcn.00661ca7
add esp, 4
test eax, eax
jne 0x4f1cab
mov eax, dword [ebp - 0x40]
xor edx, edx
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x48], edx
lea ecx, [eax + 0xc]
mov dword [ebp - 0x44], ecx
mov ecx, dword [ebx + 0xa4]
test ecx, ecx
je 0x4f1b3f
mov edx, dword [ebx + 0xa0]
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x48], ecx
lock inc dword [ecx + 8]
mov byte [ebp - 4], 0xc
mov ecx, dword [eax + 0x10]
cmp ecx, dword [eax + 0x14]
je 0x4f1b5c
mov eax, dword [ebp - 0x48]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x44]
mov dword [ecx], edx
add dword [eax + 4], 8
jmp 0x4f1b7d
lea eax, [ebp - 0x4c]
push eax
push ecx
mov ecx, dword [ebp - 0x44]
call fcn.004c0170
mov ecx, dword [ebp - 0x48]
test ecx, ecx
je 0x4f1b7d
lock xadd dword [ecx + 8], edi
dec edi
jne 0x4f1b7d
mov eax, dword [ecx]
call dword [eax + 4]
push esi
mov byte [ebp - 4], 7
call fcn.00661ccc
mov eax, dword [ebp - 0x40]
add esp, 4
mov al, byte [eax]
nop
test al, al
je 0x4f1b9f
mov ecx, dword [ebx + 0xa0]
call fcn.004f6d60
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x4c], 0x3e8
push eax
mov ecx, ebx
mov dword [ebp - 0x48], 0
call fcn.004f2790
push 8
mov byte [ebp - 4], 0xd
call fcn.00677616
mov esi, eax
add esp, 4
mov dword [ebp - 0x50], esi
push 8
mov byte [ebp - 4], 0xe
call fcn.00677616
add esp, 4
mov dword [ebp - 0x40], eax
mov dword [eax], ebx
mov dword [eax + 4], 0x4f2160
lea edi, [esi + 4]
mov byte [ebp - 4], 0xf
push edi
push 0
push eax
push 0x4a47e0
push 0
push 0
call fcn.0068b6e8
add esp, 0x18
mov dword [esi], eax
test eax, eax
je 0x4f1cb1
lea eax, [ebp - 0x50]
lea ecx, [ebx + 4]
cmp ecx, eax
je 0x4f1c2c
mov eax, dword [ecx]
mov dword [ecx], esi
test eax, eax
je 0x4f1c40
cmp dword [eax + 4], 0
jne 0x4f1cbe
push 8
push eax
jmp 0x4f1c38
cmp dword [edi], 0
jne 0x4f1cbe
push 8
push esi
call fcn.006779b1
add esp, 8
mov eax, ebx
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.006773ff
mov esp, ebp
pop ebp
ret 8
push eax
call fcn.00662321
push 6
mov dword [edi], 0
call fcn.0066234e
call fcn.00683cca
int3