Function at 0x140016c60
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 [0x1400b2080]
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 0x140016cc2
test r14b, r14b
je 0x140016f75
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 rcx, rax
cmp qword [rax + 0x18], 8
jb 0x140016d0c
mov rcx, qword [rax]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x100], rcx
mov qword [rsp + 0x108], rax
movaps xmm0, xmmword [rsp + 0x100]
movdqa xmmword [rsp + 0x100], xmm0
mov qword [rsp + 0x30], 0xd
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 r9, rbx
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x230]
call fcn.1400187f0
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.14003bf30
mov r15, qword [rsp + 0x120]
mov r12, qword [rsp + 0x118]
lea rcx, [rdi + 8]
cmp qword [rdi + 0x20], 0x10
jb 0x140016dfa
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.140053db8
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 0x140016e6e
or eax, 1
mov dword [rcx + rsi], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov eax, eax
mov ecx, 0x10
add rcx, rsi
mov qword [rcx], rax
jmp 0x140016e72
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.14003e2d0
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 0x140016f1e
mov rdx, qword [rsp + 0x128]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016f18
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140016fac
call fcn.140054a70
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 0x140016f75
mov rax, qword [rsp + 0x248]
lea rdx, [rax + rax]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016f6f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140016fb2
call fcn.140054a70
nop
mov rcx, qword [rsp + 0x640]
xor rcx, rsp
call fcn.140054500
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.14005b424
nop
call fcn.14005b424
int3