Function at 0x18017dc40
Capabilities:
Access peb ldr_data

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x18]
sub rsp, 0x110
movaps xmmword [rax - 0x18], xmm6
movzx r14d, r9b
movsxd rsi, r8d
movaps xmm6, xmm1
mov rdi, rcx
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
call fcn.18011dae8
mov rbx, rax
mov cl, 1
call fcn.18011bb38
mov qword [rbx + 8], rax
mov qword [rbp - 0x80], rbx
lea rax, [rsp + 0x28]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x6c]
mov qword [rsp + 0x78], rax
xor eax, eax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x48], rax
lea rax, vtable.juce::NumberToStringConverters::StackArrayStream.0
mov qword [rsp + 0x20], rax
mov ecx, dword [0x18067a7b8]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov eax, dword [rdx + rax]
cmp dword [0x1806c7098], eax
jg 0x18017de3a
mov rax, qword [rsp + 0x40]
mov qword [rax], rdi
mov rax, qword [rsp + 0x60]
mov qword [rax], rdi
mov rax, qword [rsp + 0x78]
mov dword [rax], 0x30
mov r9d, 1
xor r8d, r8d
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x70]
call fcn.180018950
test esi, esi
jle 0x18017dd73
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
mov eax, r14d
xor eax, 1
shl eax, 0xc
add eax, 0x1000
or dword [rbp + rcx - 0x58], eax
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x50], rsi
movaps xmm1, xmm6
lea rcx, [rbp - 0x70]
call fcn.180018670
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x70], rax
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rbp + rcx - 0x74], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp - 0x60], rax
lea rcx, [rbp - 0x60]
call fcn.18011bea4
nop
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax]
mov rax, qword [rsp + 0x60]
mov rdx, qword [rax]
sub rdx, rcx
mov rax, qword [rbp + 0x40]
mov qword [rax], rdx
lea rax, vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov qword [rsp + 0x20], rax
mov rbx, qword [rbp - 0x80]
test rbx, rbx
je 0x18017de15
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x18017de08
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
test rax, rax
je 0x18017de08
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
mov rcx, rbx
call fcn.18011d9c0
mov rax, rdi
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret
lea rcx, [0x1806c7098]
call fcn.18011da70
cmp dword [0x1806c7098], 0xffffffff
jne 0x18017dd16
call fcn.18011bd94
mov rcx, qword [rax + 8]
mov qword [0x1806c6fe8], rcx
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
lea rcx, [0x180399390]
call fcn.18011de7c
lea rcx, [0x1806c7098]
call fcn.18011da04
jmp 0x18017dd16