Function at 0x140009250
Capabilities:
Access peb ldr_data
Create thread

Disassembly:
sub rsp, 0x38
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x58]
sub rcx, 0x10
je 0x14000928c
mov edx, dword [rcx]
mov rcx, qword gs:[0x30]
cmp rdx, qword [rcx + 0x48]
je 0x14000928c
cmp edx, 0x80
jbe 0x14000928c
mov ecx, 0xc00000bb
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3
call fcn.140008180
mov rcx, qword [0x14008ac28]
mov rdx, qword [rcx + 0x60]
mov dword [rdx + 0x60], eax
mov rax, qword [0x14008ac28]
mov rcx, qword [rax + 0x60]
add rcx, 0x28
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov rax, qword [0x14008ac28]
mov rcx, qword [rax + 0x60]
add rcx, 0x50
mov qword [rcx + 8], rcx
mov qword [rcx], rcx
mov rax, qword [0x14008ac28]
mov rcx, qword [rax + 0x60]
mov qword [rcx + 8], rcx
mov qword [rcx], rcx
mov rax, qword [0x14008ac28]
mov rcx, qword [rax + 0x60]
add rcx, 0x20
call qword [sym.imp.ntdll.dll_RtlInitializeSRWLock]
mov rax, qword gs:[0x30]
mov edx, 8
mov rcx, qword [rax + 0x60]
lea r8d, [rdx + 0x18]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rdx, rax
test rax, rax
jne 0x140009325
mov ecx, 0xc0000017
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3
movdqa xmm0, xmmword [0x14007e530]
mov r8d, 0x100
movups xmmword [rax], xmm0
mov rax, qword [0x14008ac28]
mov rcx, qword [rax + 0x60]
add rcx, 0x10
call qword [sym.imp.ntdll.dll_RtlInitializeBitMap]
mov rax, qword gs:[0x30]
cmp qword [rax + 0x58], 0
je 0x140009370
call fcn.1400088e0
test eax, eax
jne 0x140009370
mov ecx, 0xc0000001
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3
mov rax, qword [0x14008ac28]
lea rdx, str.RtlUserThreadStart
mov qword [rsp + 0x30], rbx
mov rcx, qword [rax + 0x60]
mov rax, qword [sym.imp.ntdll.dll_LdrShutdownThread]
mov qword [rcx + 0x80], rax
mov rax, qword [0x14008ac28]
mov rcx, qword [rax + 0x60]
mov rax, qword [sym.imp.ntdll.dll_NtSetInformationProcess]
mov qword [rcx + 0x78], rax
mov rax, qword [0x14008ac28]
mov rcx, qword [rax + 0x48]
mov rcx, qword [rcx + 8]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14008ac28]
mov rdx, qword [rcx + 0x60]
mov qword [rdx + 0x88], rax
call fcn.140007620
call fcn.140007c90
mov rax, qword [0x14008ac28]
lea rdx, [0x140008730]
mov rcx, qword [rax + 0x60]
sub rcx, 0xffffffffffffff80
call fcn.140007d40
mov rax, qword [0x14008ac28]
lea rdx, [fcn.140008b10]
mov rcx, qword [rax + 0x60]
add rcx, 0x78
call fcn.140007d40
mov rax, qword [0x14008ac28]
lea rdx, [0x1400086e0]
mov rcx, qword [rax + 0x60]
add rcx, 0x88
call fcn.140007d40
call fcn.140007700
lea rcx, [0x14008ac40]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x14008ac68], rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
xor edx, edx
mov rcx, rax
lea r8d, [rdx + 0x18]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
xor ebx, ebx
lea rcx, [0x140009e90]
mov qword [0x14008ac38], rax
mov qword [rax], rbx
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbx
call fcn.14004331c
xor r9d, r9d
mov qword [rsp + 0x28], rbx
lea r8, [0x140009e70]
mov dword [rsp + 0x20], ebx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea eax, [rbx + 1]
mov rbx, qword [rsp + 0x30]
add rsp, 0x38
ret