Function at 0x14003a550
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 [0x140104200]
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 0x14003a5b2
test r14b, r14b
je 0x14003a84d
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
movaps xmm1, xmmword [r9]
movdqa xmmword [rsp + 0xe0], xmm1
mov r9d, ebx
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x230]
call fcn.1400103c0
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.140056fe0
mov r15, qword [rsp + 0x120]
mov r12, qword [rsp + 0x118]
lea rcx, [rdi + 8]
cmp qword [rdi + 0x20], 0x10
jb 0x14003a6d2
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]
movaps xmm6, xmmword [rax]
movsd xmm7, qword [rax + 0x10]
call fcn.14007fda4
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 0x14003a746
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 0x14003a74a
lea rcx, [rsi + rdx]
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.140059110
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 0x14003a7f6
mov rdx, qword [rsp + 0x128]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003a7f0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003a884
call fcn.1400816f4
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 0x14003a84d
mov rax, qword [rsp + 0x248]
lea rdx, [rax + rax]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003a847
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003a88a
call fcn.1400816f4
nop
mov rcx, qword [rsp + 0x640]
xor rcx, rsp
call fcn.140081690
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.140088774
nop
call fcn.140088774
int3