Function at 0x1400129e0
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, 0x680
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x1400b2080]
xor rax, rsp
mov qword [rsp + 0x650], rax
mov r14, rdx
mov rdi, rcx
mov qword [rsp + 0x20], rcx
mov eax, dword [rcx + 0x40]
cmp eax, 4
setle r13b
movzx esi, byte [rcx + 0xd8]
jle 0x140012a3c
test sil, sil
je 0x140012d07
xor ebx, ebx
mov qword [rsp + 0x250], rbx
lea rax, vtable.fmt::v7::basic_memory_buffer_wchar_t__500__class_std::allocator_wchar_t__.0
mov qword [rsp + 0x240], rax
lea rax, [rsp + 0x260]
mov qword [rsp + 0x248], rax
mov qword [rsp + 0x258], 0x1f4
mov rax, qword [rsp + 0x6d0]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0x6d8]
mov rcx, rax
cmp qword [rax + 0x18], 8
jb 0x140012a96
mov rcx, qword [rax]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rax
movups xmm0, xmmword [rsp + 0xe0]
movups xmmword [rsp + 0x100], xmm0
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [rsp + 0x110], xmm1
mov qword [rsp + 0x30], 0xdc
lea rax, [rsp + 0x100]
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0xe0], xmm0
movups xmm1, xmmword [r9]
movaps xmmword [rsp + 0x30], xmm1
mov r9, rbx
lea r8, [rsp + 0xe0]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x240]
call fcn.1400138e0
mov qword [rsp + 0x130], rbx
lea rax, vtable.fmt::v7::basic_memory_buffer_char__250__class_std::allocator_char__.0
mov qword [rsp + 0x120], rax
lea rax, [rsp + 0x140]
mov qword [rsp + 0x128], rax
mov qword [rsp + 0x138], 0xfa
mov rax, qword [rsp + 0x248]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x250]
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x120]
lea rcx, [rsp + 0x50]
call fcn.14003f8c0
mov r15, qword [rsp + 0x130]
mov r12, qword [rsp + 0x128]
lea rcx, [rdi + 8]
cmp qword [rdi + 0x20], 0x10
jb 0x140012b89
mov rcx, qword [rdi + 8]
mov qword [rsp + 0x60], rcx
mov rax, qword [rdi + 0x18]
mov qword [rsp + 0x68], rax
movups xmm6, xmmword [r14]
movsd xmm7, qword [r14 + 0x10]
call fcn.1400551bc
movups xmm0, xmmword [rsp + 0x60]
movaps xmmword [rsp + 0x80], xmm0
mov dword [rsp + 0x90], 4
mov qword [rsp + 0x98], rax
mov rax, qword gs:[0x58]
mov r14, qword [rax]
mov ecx, SafeArrayPutElement
mov eax, dword [rcx + r14]
mov edx, 0x10
test al, 1
jne 0x140012c00
or eax, 1
mov dword [rcx + r14], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov eax, eax
mov ecx, 0x10
add rcx, r14
mov qword [rcx], rax
jmp 0x140012c04
lea rcx, [rdx + r14]
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, sil
movzx r8d, r13b
lea rdx, [rsp + 0x80]
mov rcx, rdi
call fcn.1400419c0
nop
lea rax, vtable.fmt::v7::basic_memory_buffer_char__250__class_std::allocator_char__.0
mov qword [rsp + 0x120], rax
lea rax, [rsp + 0x140]
mov rcx, qword [rsp + 0x128]
cmp rcx, rax
je 0x140012cb0
mov rdx, qword [rsp + 0x138]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012caa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140012d3e
call fcn.140057c14
nop
lea rax, vtable.fmt::v7::basic_memory_buffer_wchar_t__500__class_std::allocator_wchar_t__.0
mov qword [rsp + 0x240], rax
lea rax, [rsp + 0x260]
mov rcx, qword [rsp + 0x248]
cmp rcx, rax
je 0x140012d07
mov rax, qword [rsp + 0x258]
lea rdx, [rax + rax]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012d01
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140012d44
call fcn.140057c14
nop
mov rcx, qword [rsp + 0x650]
xor rcx, rsp
call fcn.140057960
lea r11, [rsp + 0x680]
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.14005e6c4
nop
call fcn.14005e6c4
int3