Function at 0x10001d60
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x4c
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x10015650
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
push 0x10
call fcn.10015b56
add esp, 4
mov dword [eax + 4], 1
mov dword [eax + 8], 1
mov dword [eax], vtable.std::_Ref_count_obj2_struct_std::atomic_bool__.0
mov edx, eax
add edx, 0xc
mov byte [eax + 0xc], 0
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x38], eax
lea ecx, [ebp + 8]
add ecx, 0x30
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x10], 1
lea eax, [ebp - 0x50]
lea edx, [ebp - 0x4c]
lea esi, [ebp - 0x44]
push ecx
push eax
push edx
lea eax, [ebp + 0x10]
push eax
push 3
push esi
call fcn.1000f430
add esp, 0x18
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x20]
lock inc dword [eax + 4]
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 1
mov ecx, dword [ebp - 0x34]
add ecx, 0x24
mov dword [ebp - 0x10], 2
lea eax, [ebp - 0x58]
lea edx, [ebp + 8]
push edx
push eax
call fcn.1000f340
mov edi, dword [ebp - 0x58]
lea ebx, [edi + 0x18]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x48]
mov dword [edi + 0x18], eax
mov esi, dword [edi + 0x1c]
mov eax, dword [ebp - 0x20]
mov dword [edi + 0x1c], eax
test esi, esi
je 0x10001e8a
lock dec dword [esi + 4]
jne 0x10001e8a
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock dec dword [esi + 8]
jne 0x10001e8a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [ebp - 0x30]
cmp ebx, eax
je 0x10001eaf
mov eax, dword [edi + 0x20]
test eax, eax
lea ebx, [ebp + 8]
je 0x10001edc
lock dec dword [eax + 4]
jne 0x10001edc
mov ecx, dword [eax + 0x78]
test ecx, ecx
je 0x10001ed4
mov edx, dword [ecx]
push eax
call dword [edx]
jmp 0x10001edc
mov eax, dword [ebp - 0x28]
test eax, eax
lea edi, [ebp + 0x10]
lea ebx, [ebp + 8]
je 0x10001ef3
lock dec dword [eax + 4]
jne 0x10001ef3
mov ecx, dword [eax + 0x78]
test ecx, ecx
je 0x10001f7d
mov edx, dword [ecx]
push eax
call dword [edx]
jmp 0x10001ef3
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x28], 0
mov dword [edi + 0x20], eax
movzx eax, byte [ebp - 0x24]
mov byte [edi + 0x24], al
lea edi, [ebp + 0x10]
mov esi, dword [ebp - 0x2c]
test esi, esi
je 0x10001f13
lock dec dword [esi + 4]
jne 0x10001f13
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock dec dword [esi + 8]
jne 0x10001f13
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x10001f36
lock dec dword [eax + 4]
jne 0x10001f36
mov ecx, dword [eax + 0x78]
test ecx, ecx
je 0x10001f2e
mov edx, dword [ecx]
push eax
call dword [edx]
jmp 0x10001f36
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov esi, dword [ebp - 0x38]
test esi, esi
je 0x10001f56
lock dec dword [esi + 4]
jne 0x10001f56
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock dec dword [esi + 8]
jne 0x10001f56
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebx + 0x2c]
test ecx, ecx
je 0x10001f6a
xor eax, eax
cmp ecx, edi
setne al
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret 0x34
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
jmp 0x10001ef3