Function at 0x6d0a59a0
Capabilities:
Create thread

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x88
lea r14, [0x6d4422b0]
mov r15, qword [r9 + 0x10]
mov qword [rsp + 0x40], r14
mov ebp, ecx
mov r13, rdx
mov rbx, r9
mov qword [rsp + 0x48], 0
mov byte [rsp + 0x50], 0
test r15, r15
je 0x6d0a5d98
mov rdx, r15
mov rcx, r14
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x6d0a5d98
mov rcx, r15
call sub.msvcrt.dll_strlen
lea rcx, [rax + 1]
mov qword [rsp + 0x48], rax
mov r12, rax
call sub.msvcrt.dll_malloc
mov qword [rsp + 0x40], rax
mov rcx, rax
test rax, rax
je 0x6d0a5d85
mov rdx, r15
mov byte [rsp + 0x50], 1
call sub.msvcrt.dll_strcpy
mov byte [rax + r12], 0
mov rcx, rax
test r12, r12
je 0x6d0a5d98
cmp byte [rcx + r12 - 1], 0x5c
je 0x6d0a5a75
lea rdx, [r12 + 2]
call sub.msvcrt.dll_realloc
test rax, rax
je 0x6d0a5f68
mov rdx, qword [rsp + 0x48]
mov r8d, 0x5c
add rdx, rax
mov word [rdx], r8w
add qword [rsp + 0x48], 1
mov qword [rsp + 0x40], rax
mov r12, qword [rbx + 0x18]
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], 0
mov byte [rsp + 0x70], 0
test r12, r12
je 0x6d0a5e88
mov rdx, r12
lea rcx, [0x6d4422b0]
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x6d0a5e88
mov rcx, r12
call sub.msvcrt.dll_strlen
lea rcx, [rax + 1]
mov qword [rsp + 0x68], rax
mov rsi, rax
call sub.msvcrt.dll_malloc
mov qword [rsp + 0x60], rax
mov r15, rax
test rax, rax
je 0x6d0a5e73
mov rdx, r12
mov rcx, rax
mov byte [rsp + 0x70], 1
call sub.msvcrt.dll_strcpy
mov byte [r15 + rsi], 0
test rsi, rsi
je 0x6d0a5fbd
mov ecx, 0x100
call fcn.6d176590
mov qword [rax], 0
pxor xmm0, xmm0
mov ecx, 0x10000
movzx r14d, byte [rbx]
mov byte [rax + 0xa0], 0
mov r12, rax
mov qword [rax + 0xa8], 0
mov qword [rax + 0xc0], 0
movups xmmword [rax + 0xb0], xmm0
call fcn.6d176590
xor edx, edx
mov rcx, rax
lea rdi, [r12 + 0x10]
mov r8d, 0x10000
lea r15, [rax + 0x10000]
mov qword [r12 + 0xb0], rax
and rdi, 0xfffffffffffffff8
mov qword [r12 + 0xc0], r15
call sub.msvcrt.dll_memset
mov r11d, r12d
pxor xmm1, xmm1
mov qword [r12 + 8], 0
sub r11d, edi
mov r10, rax
xor eax, eax
mov qword [r12 + 0x94], 0
lea ecx, [r11 + 0x9c]
mov byte [r12 + 0xf8], r14b
shr ecx, 3
mov qword [r12 + 0xb8], r15
movups xmmword [r12 + 0xc8], xmm1
movups xmmword [r12 + 0xd8], xmm1
movups xmmword [r12 + 0xe8], xmm1
rep stosq qword [rdi], rax
mov byte [r12 + 0xf9], bpl
mov ebp, 0x10081808
mov qword [r12 + 0x10], r13
mov r13d, 0x81808
cmp dword [rbx + 0x2c], 2
mov ebx, dword [rbx + 0x30]
mov dword [r12 + 8], 0x98
cmovne ebp, r13d
xor r8d, r8d
mov qword [r12 + 0x38], r10
mov r14, qword [rsp + 0x40]
mov dword [r12 + 0x40], 0x8000
test ebx, ebx
mov rsi, qword [rsp + 0x60]
sete r8b
mov dword [r12 + 0x68], ebp
mov rcx, r14
mov dword [r12 + 0x9c], r8d
call sub.msvcrt.dll_strlen
lea rcx, [r12 + 0xc8]
lea rdx, [rax + 1]
call fcn.6d1605f0
mov rdx, qword [r12 + 0xc8]
mov r9, qword [r12 + 0xd0]
mov r8, r14
mov ecx, 0xfde9
mov r15, qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
sub r9, rdx
mov qword [rsp + 0x20], rdx
xor edx, edx
sar r9, 1
mov dword [rsp + 0x28], r9d
mov r9d, 0xffffffff
call r15
test eax, eax
je 0x6d0a5c88
mov r10, qword [r12 + 0xc8]
mov qword [r12 + 0x58], r10
mov rcx, rsi
call sub.msvcrt.dll_strlen
mov rdi, qword [r12 + 0xe8]
mov r11, qword [r12 + 0xe0]
lea rdx, [rax + 1]
mov rax, rdi
sub rax, r11
sar rax, 1
mov rcx, rax
cmp rdx, rax
ja 0x6d0a5e48
cmp rdx, rax
jae 0x6d0a5cd8
add rdx, rdx
lea r14, [r11 + rdx]
cmp rdi, r14
je 0x6d0a5cd8
mov qword [r12 + 0xe8], r14
sar rdx, 1
mov rcx, rdx
mov dword [rsp + 0x28], ecx
mov r9d, 0xffffffff
mov r8, rsi
xor edx, edx
mov qword [rsp + 0x20], r11
mov ecx, 0xfde9
call r15
test eax, eax
je 0x6d0a5d05
mov rsi, qword [r12 + 0xe0]
mov qword [r12 + 0x60], rsi
lea rbp, [rsp + 0x3c]
mov r9, r12
xor edx, edx
xor ecx, ecx
mov byte [r12 + 0xa0], 0
lea r8, [0x6d0a0060]
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], 0
call qword [sym.imp.msvcrt.dll__beginthreadex]
mov rcx, qword [rsp + 0x60]
mov qword [r12 + 0xa8], rax
test rcx, rcx
je 0x6d0a5f30
cmp byte [rsp + 0x70], 0
jne 0x6d0a5ef8
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x6d0a5f0b
cmp byte [rsp + 0x50], 0
jne 0x6d0a5ee8
mov rax, r12
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], 0
nop dword [rax + rax]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.msvcrt.dll__getcwd]
mov r12, rax
test rax, rax
je 0x6d0a5e0c
mov rsi, qword [rsp + 0x40]
mov rdx, r12
mov rcx, rsi
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x6d0a5e04
cmp byte [rsp + 0x50], 0
jne 0x6d0a5f58
mov rcx, r12
call sub.msvcrt.dll_strlen
lea rcx, [rax + 1]
mov qword [rsp + 0x48], rax
mov rdi, rax
call sub.msvcrt.dll_malloc
mov qword [rsp + 0x40], rax
mov rcx, rax
test rax, rax
je 0x6d0a5fa5
mov rdx, r12
mov byte [rsp + 0x50], 1
call sub.msvcrt.dll_strcpy
mov byte [rax + rdi], 0
mov rcx, r12
call fcn.6d05d340
mov r12, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
test r12, r12
jne 0x6d0a5a3d
mov r9d, 0x1b3
lea r8, str.src_.._.._distrho_extra_FileBrowserDialogImpl.cpp
lea rdx, str.startDir.isNotEmpty__
lea rcx, [0x6d447908]
call fcn.6d096cf0
jmp 0x6d0a5d55
sub rdx, rax
lea rcx, [r12 + 0xe0]
call fcn.6d1605f0
mov r11, qword [r12 + 0xe0]
mov rcx, qword [r12 + 0xe8]
sub rcx, r11
sar rcx, 1
jmp 0x6d0a5cd8
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], 0
nop dword [rax]
lea rdi, str.FileBrowser
mov ecx, 0xc
mov rsi, r14
repe cmpsb byte [rsi], byte [rdi]
seta al
sbb al, 0
test al, al
je 0x6d0a5af4
mov qword [rsp + 0x68], 0xb
mov ecx, 0xc
call sub.msvcrt.dll_malloc
mov qword [rsp + 0x60], rax
test rax, rax
je 0x6d0a5f8d
movabs r9, 0x776f7242656c6946
mov byte [rsp + 0x70], 1
mov qword [rax], r9
mov dword [rax + 8], 0x726573
jmp 0x6d0a5af4
call fcn.6d05d340
jmp 0x6d0a5d6e
call fcn.6d05d340
mov rcx, qword [rsp + 0x40]
test rcx, rcx
jne 0x6d0a5d63
mov r9d, 0x100
lea r8, str.src_.._.._distrho_extra_String.hpp
lea rdx, str.fBuffer___nullptr
lea rcx, [0x6d447908]
call fcn.6d096cf0
jmp 0x6d0a5d6e
mov r9d, 0x100
lea r8, str.src_.._.._distrho_extra_String.hpp
lea rdx, str.fBuffer___nullptr
lea rcx, [0x6d447908]
call fcn.6d096cf0
jmp 0x6d0a5d55
mov rcx, rsi
call fcn.6d05d340
jmp 0x6d0a5dc9
mov r9d, 0x350
lea r8, str.src_.._.._distrho_extra_String.hpp
lea rdx, str.newBuf___nullptr
lea rcx, [0x6d447908]
call fcn.6d096cf0
jmp 0x6d0a5a75
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], 0
mov byte [rsp + 0x70], 0
jmp 0x6d0a5af4
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], 0
mov byte [rsp + 0x50], 0
jmp 0x6d0a5e04
lea rdx, str.FileBrowser
mov rcx, r15
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x6d0a5af4
mov rcx, r15
call fcn.6d05d340
jmp 0x6d0a5ea6