Function at 0x1800036b0
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1a8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x32
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1c8]
mov rax, qword [0x18021f400]
xor rax, rbp
mov qword [rbp + 0x178], rax
lea rcx, [0x1802380a6]
call fcn.180140630
lea r8, [rbp + 0x28]
lea rdx, [rbp + 8]
mov rcx, qword [rbp + 0x1a0]
call fcn.180003d30
mov qword [rbp + 0x48], 0
cmp qword [0x18021f8f8], 0
jne 0x180003737
cmp qword [0x18021f8f0], 0
je 0x180003737
mov rax, qword [0x18021f8f0]
mov qword [0x18021f8f8], rax
cmp qword [0x18021f8f8], 0
je 0x1800037cf
mov rax, qword [0x18021f8f8]
cmp qword [rax + 0x10], 0
je 0x1800037cf
mov rax, qword [0x18021f8f8]
mov rcx, qword [rbp + 8]
cmp qword [rax + 0x10], rcx
jb 0x1800037cf
mov rax, qword [0x18021f8f8]
mov rcx, qword [rbp + 0x28]
cmp qword [rax + 0x10], rcx
ja 0x1800037cf
mov rax, qword [0x18021f8f8]
mov rax, qword [rax + 0x10]
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 8]
cmp qword [rbp + 0x48], rax
jb 0x180003798
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0x48], rax
jbe 0x18000379f
xor eax, eax
jmp 0x18000395c
mov rax, qword [0x18021f8f8]
mov rcx, qword [rbp + 0x48]
mov rcx, qword [rcx + 0x48]
mov qword [rax + 0x10], rcx
mov r8d, 0x60
mov edx, 0xcc
mov rcx, qword [rbp + 0x48]
call sub.VCRUNTIME140D.dll_memset
mov rax, qword [rbp + 0x48]
jmp 0x18000395c
mov rax, qword [0x18021f8f0]
mov qword [0x18021f8f8], rax
jmp 0x1800037f1
mov rax, qword [0x18021f8f8]
mov rax, qword [rax + 8]
mov qword [0x18021f8f8], rax
cmp qword [0x18021f8f8], 0
je 0x18000383c
cmp qword [0x18021f8f8], 0
je 0x18000383a
mov rax, qword [0x18021f8f8]
cmp qword [rax + 0x10], 0
je 0x18000383a
mov rax, qword [0x18021f8f8]
mov rcx, qword [rbp + 8]
cmp qword [rax + 0x10], rcx
jb 0x18000383a
mov rax, qword [0x18021f8f8]
mov rcx, qword [rbp + 0x28]
cmp qword [rax + 0x10], rcx
ja 0x18000383a
jmp 0x180003775
jmp 0x1800037df
mov rcx, qword [rbp + 0x1a0]
call fcn.180006530
and eax, 0xffff
mov eax, eax
mov rcx, qword [rbp + 0x1a0]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x1a0], rax
mov r8, qword [rbp + 0x28]
mov rdx, qword [rbp + 8]
mov rcx, qword [rbp + 0x1a0]
call fcn.180003990
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
je 0x18000395a
mov rax, qword [rbp + 0x68]
mov qword [0x18021f8f8], rax
mov rax, qword [0x18021f8f8]
mov dword [rax], 0x52727464
mov rax, qword [0x18021f8f8]
mov qword [rax + 0x10], 0
mov rax, qword [0x18021f8f8]
mov rcx, qword [0x18021f8f0]
mov qword [rax + 8], rcx
mov rax, qword [0x18021f8f8]
mov qword [0x18021f8f0], rax
mov qword [rbp + 0x88], 0
mov rax, qword [0x18021f8f8]
add rax, 0x60
mov qword [rbp + 0x48], rax
mov dword [rbp + 0xa4], 0x2a8
jmp 0x180003901
mov eax, dword [rbp + 0xa4]
dec eax
mov dword [rbp + 0xa4], eax
cmp dword [rbp + 0xa4], 1
jle 0x180003943
movsxd rax, dword [rbp + 0xa4]
imul rax, rax, 0x60
mov rcx, qword [rbp + 0x48]
mov rdx, qword [rbp + 0x88]
mov qword [rcx + rax + 0x48], rdx
movsxd rax, dword [rbp + 0xa4]
imul rax, rax, 0x60
mov rcx, qword [rbp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
jmp 0x1800038f3
mov rax, qword [0x18021f8f8]
mov rcx, qword [rbp + 0x88]
mov qword [rax + 0x10], rcx
jmp 0x180003775
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x18014c570]
call fcn.180140400
mov rax, rdi
mov rcx, qword [rbp + 0x178]
xor rcx, rbp
call fcn.180140880
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret