Function at 0x1400f4f60
Capabilities:
Create thread

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov r14, rdx
mov rsi, rcx
mov rdx, qword [rsp + 0xd8]
mov r12d, dword [rsp + 0xb8]
mov eax, dword [rsp + 0xc0]
mov rcx, qword [rsp + 0xb0]
mov rbp, qword [0x140324948]
xor rbp, rsp
mov qword [rsp + 0x40], rbp
mov ebp, 1
lock xadd dword [0x14034eb98], ebp
mov qword [rsi], r8
mov qword [rsi + 8], r9
mov qword [rsi + 0x10], rcx
xorps xmm0, xmm0
movups xmmword [rsi + 0x68], xmm0
movups xmmword [rsi + 0x78], xmm0
xor ecx, ecx
mov qword [rsi + 0x88], rcx
mov dword [rsi + 0x90], eax
movups xmmword [rsi + 0x98], xmm0
mov dword [rsi + 0xa8], r12d
movups xmmword [rsi + 0xb0], xmm0
movups xmmword [rsi + 0xc0], xmm0
mov byte [rsi + 0xd0], 0
mov dword [rsi + 0x110], ecx
movups xmmword [rsi + 0x100], xmm0
movups xmmword [rsi + 0x118], xmm0
mov dword [rsi + 0x127], ecx
mov qword [rsp + 0x38], rcx
test rdx, rdx
je 0x1400f5024
lea rcx, [rsp + 0x38]
jmp 0x1400f5094
mov r15, qword [rsp + 0xe0]
mov rdi, qword [rsp + 0xc8]
test rdi, rdi
je 0x1400f505d
mov ecx, 0x368
call fcn.140190820
mov rbx, rax
mov r8d, dword [rsi + 0x90]
mov rcx, rax
mov rdx, rdi
mov r9, r15
call fcn.14011fb40
jmp 0x1400f508c
mov rdi, qword [rsp + 0xd0]
test rdi, rdi
je 0x1400f5099
mov ecx, 0x368
call fcn.140190820
mov rbx, rax
mov r8d, dword [rsi + 0x90]
mov rcx, rax
mov rdx, rdi
mov r9, r15
call fcn.14011fc40
lea rcx, [rsp + 0x38]
mov rdx, rbx
call fcn.1400f53d0
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400f50c3
call fcn.14011fce0
test al, al
je 0x1400f50c3
lea rcx, [rsi + 0x18]
mov rdx, qword [rsp + 0x38]
mov qword [rsp + 0x38], 0
call fcn.1400f53d0
cmp qword [rsi + 0x18], 0
jne 0x1400f51be
lea rcx, [rsi + 0xd8]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov rdi, qword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
xor ecx, ecx
xor edx, edx
mov r8d, 1
xor r9d, r9d
call rdi
mov qword [rsi + 0x100], rax
xor ecx, ecx
xor edx, edx
mov r8d, 1
xor r9d, r9d
call rdi
mov qword [rsi + 0x108], rax
test rax, rax
je 0x1400f5150
lea rax, [rsi + 0x100]
cmp qword [rax], 0
je 0x1400f5150
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
lea r8, [0x1400f5410]
mov edx, 0x10000
xor ecx, ecx
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsi + 0xc8], rax
lea rdi, [rsi + 0x98]
lea rcx, [0x1401ea0da]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsi + 0x80], rax
test rax, rax
je 0x1400f5187
lea rdx, str.MiniDumpWriteDump
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x88], rax
lea rcx, str.rpcrt4.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rdi], rax
test rax, rax
je 0x1400f51b3
lea rdx, str.UuidCreate
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0xa0], rax
mov rcx, rsi
mov rdx, r14
call fcn.1400f5490
lea rdi, [rsi + 0x130]
mov ecx, 0x20
call fcn.140190820
mov qword [rax + 0x10], 0
xor ecx, ecx
mov dword [rax + 0x18], ecx
mov qword [rax + 8], rdi
mov rcx, qword [rsi + 0x130]
mov qword [rax], rcx
mov qword [rcx + 8], rax
mov qword [rsi + 0x130], rax
inc qword [rsi + 0x140]
test ebp, ebp
jne 0x1400f520d
lea rcx, [0x14034eb70]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
test r12d, r12d
je 0x1400f5382
lea rcx, [0x14034eb70]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rdi, qword [0x14034eb60]
test rdi, rdi
jne 0x1400f5251
mov ecx, 0x18
call fcn.140190820
mov rdi, rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], 0
mov qword [0x14034eb60], rax
mov rbx, qword [rdi + 8]
mov rbp, qword [rdi + 0x10]
cmp rbx, rbp
jae 0x1400f526f
mov qword [rbx], rsi
mov eax, 8
add qword [rdi + 8], rax
jmp 0x1400f5326
mov r14, qword [rdi]
sub rbx, r14
mov r13, rbx
sar r13, 3
lea rax, [r13 + 1]
mov rcx, rax
shr rcx, 0x3d
jne 0x1400f53c5
movabs r8, 0x1fffffffffffffff
sub rbp, r14
mov rdx, rbp
sar rdx, 3
movabs rcx, 0xffffffffffffffe
cmp rdx, rcx
ja 0x1400f52d0
sar rbp, 2
cmp rbp, rax
cmovb rbp, rax
test rbp, rbp
je 0x1400f53bb
cmp rbp, r8
jbe 0x1400f52d3
call fcn.1401a6a70
ud2
mov rbp, r8
lea rcx, [rbp*8]
call fcn.140190820
mov r15, rax
lea r12, [r15 + rbp*8]
lea rbp, [r15 + r13*8]
add rbp, 8
mov qword [rbp - 8], rsi
test rbx, rbx
jle 0x1400f5306
mov rcx, r15
mov rdx, r14
mov r8, rbx
call fcn.140193590
mov qword [rdi], r15
mov qword [rdi + 8], rbp
mov qword [rdi + 0x10], r12
test r14, r14
mov r12d, dword [rsp + 0xb8]
je 0x1400f5326
mov rcx, r14
call fcn.140190860
test r12b, 1
je 0x1400f5343
lea rdi, [rsi + 0xb0]
lea rcx, [0x1400f54c0]
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov qword [rdi], rax
test r12b, 2
je 0x1400f535c
lea rcx, [0x1400f55a0]
call fcn.1401a43e0
mov qword [rsi + 0xb8], rax
test r12b, 4
je 0x1400f5375
lea rcx, [0x1400f5750]
call fcn.1401933c0
mov qword [rsi + 0xc0], rax
lea rcx, [0x14034eb70]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rsi, qword [rsp + 0x38]
test rsi, rsi
je 0x1400f539c
mov rcx, rsi
call fcn.14011fc90
mov rcx, rsi
call fcn.140190860
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140190ca0
nop
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor ebp, ebp
xor r15d, r15d
jmp 0x1400f52e3
mov rcx, rdi
call fcn.14006cb10
ud2