Function at 0x1400372c0
Capabilities:
Access peb ldr_data

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x670
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x1400f1200]
xor rax, rsp
mov qword [rsp + 0x640], rax
mov esi, r8d
mov qword [rsp + 0x40], rdx
mov rdi, rcx
mov qword [rsp + 0x20], rcx
mov eax, dword [rcx + 0x40]
cmp r8d, eax
setge r13b
movzx r14d, byte [rcx + 0xd8]
jge 0x140037322
test r14b, r14b
je 0x1400375bc
xor ebx, ebx
mov qword [rsp + 0x240], rbx
lea rax, vtable.fmt::v7::basic_memory_buffer_wchar_t__500__class_std::allocator_wchar_t__.0
mov qword [rsp + 0x230], rax
lea rax, [rsp + 0x250]
mov qword [rsp + 0x238], rax
mov qword [rsp + 0x248], 0x1f4
mov rax, qword [rsp + 0x6c0]
mov ecx, dword [rax]
mov dword [rsp + 0x100], ecx
movaps xmm0, xmmword [rsp + 0x100]
movdqa xmmword [rsp + 0x100], xmm0
mov qword [rsp + 0x30], 1
lea rax, [rsp + 0x100]
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [r9]
movaps xmmword [rsp + 0xe0], xmm1
mov r9d, ebx
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x230]
call fcn.14000ef40
mov qword [rsp + 0x120], rbx
lea rax, vtable.fmt::v7::basic_memory_buffer_char__250__class_std::allocator_char__.0
mov qword [rsp + 0x110], rax
lea rax, [rsp + 0x130]
mov qword [rsp + 0x118], rax
mov qword [rsp + 0x128], 0xfa
mov rax, qword [rsp + 0x238]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x240]
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0x50]
call fcn.140052220
mov r15, qword [rsp + 0x120]
mov r12, qword [rsp + 0x118]
lea rcx, [rdi + 8]
cmp qword [rdi + 0x20], 0x10
jb 0x140037441
mov rcx, qword [rdi + 8]
mov qword [rsp + 0x60], rcx
mov rax, qword [rdi + 0x18]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x40]
movups xmm6, xmmword [rax]
movsd xmm7, qword [rax + 0x10]
call fcn.140077590
movups xmm0, xmmword [rsp + 0x60]
movaps xmmword [rsp + 0x80], xmm0
mov dword [rsp + 0x90], esi
mov qword [rsp + 0x98], rax
mov rax, qword gs:[0x58]
mov rsi, qword [rax]
mov ecx, 0x18
mov eax, dword [rcx + rsi]
mov edx, 0x10
test al, 1
jne 0x1400374b5
or eax, 1
mov dword [rcx + rsi], eax
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentThreadId]
mov eax, eax
mov ecx, 0x10
add rcx, rsi
mov qword [rcx], rax
jmp 0x1400374b9
lea rcx, [rdx + rsi]
mov rax, qword [rcx]
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xa8], rbx
mov qword [rsp + 0xb0], rbx
movups xmmword [rsp + 0xb8], xmm6
movsd qword [rsp + 0xc8], xmm7
mov qword [rsp + 0xd0], r12
mov qword [rsp + 0xd8], r15
movzx r9d, r14b
movzx r8d, r13b
lea rdx, [rsp + 0x80]
mov rcx, rdi
call fcn.140054150
nop
lea rax, vtable.fmt::v7::basic_memory_buffer_char__250__class_std::allocator_char__.0
mov qword [rsp + 0x110], rax
lea rax, [rsp + 0x130]
mov rcx, qword [rsp + 0x118]
cmp rcx, rax
je 0x140037565
mov rdx, qword [rsp + 0x128]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003755f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400375f3
call fcn.140078eb4
nop
lea rax, vtable.fmt::v7::basic_memory_buffer_wchar_t__500__class_std::allocator_wchar_t__.0
mov qword [rsp + 0x230], rax
lea rax, [rsp + 0x250]
mov rcx, qword [rsp + 0x238]
cmp rcx, rax
je 0x1400375bc
mov rax, qword [rsp + 0x248]
lea rdx, [rax + rax]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400375b6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400375f9
call fcn.140078eb4
nop
mov rcx, qword [rsp + 0x640]
xor rcx, rsp
call fcn.140078e50
lea r11, [rsp + 0x670]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call fcn.14007fed8
nop
call fcn.14007fed8
int3