Function at 0x68027860
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, [0x680b7840]
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 0x68027c58
mov rdx, r15
mov rcx, r14
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x68027c58
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 0x68027c45
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 0x68027c58
cmp byte [rcx + r12 - 1], 0x5c
je 0x68027935
lea rdx, [r12 + 2]
call sub.msvcrt.dll_realloc
test rax, rax
je 0x68027e28
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 0x68027d48
mov rdx, r12
lea rcx, [0x680b7840]
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x68027d48
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 0x68027d33
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 0x68027e7d
mov ecx, 0x100
call fcn.680655c0
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.680655c0
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.6805fa20
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 0x68027b48
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 0x68027d08
cmp rdx, rax
jae 0x68027b98
add rdx, rdx
lea r14, [r11 + rdx]
cmp rdi, r14
je 0x68027b98
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 0x68027bc5
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, [0x68021b20]
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 0x68027df0
cmp byte [rsp + 0x70], 0
jne 0x68027db8
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x68027dcb
cmp byte [rsp + 0x50], 0
jne 0x68027da8
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 0x68027ccc
mov rsi, qword [rsp + 0x40]
mov rdx, r12
mov rcx, rsi
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x68027cc4
cmp byte [rsp + 0x50], 0
jne 0x68027e18
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 0x68027e65
mov rdx, r12
mov byte [rsp + 0x50], 1
call sub.msvcrt.dll_strcpy
mov byte [rax + rdi], 0
mov rcx, r12
call sub.msvcrt.dll_free
mov r12, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
test r12, r12
jne 0x680278fd
mov r9d, 0x1b3
lea r8, str.src_.._.._distrho_extra_FileBrowserDialogImpl.cpp
lea rdx, str.startDir.isNotEmpty__
lea rcx, [0x680bbda8]
call fcn.6801a730
jmp 0x68027c15
sub rdx, rax
lea rcx, [r12 + 0xe0]
call fcn.6805fa20
mov r11, qword [r12 + 0xe0]
mov rcx, qword [r12 + 0xe8]
sub rcx, r11
sar rcx, 1
jmp 0x68027b98
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 0x680279b4
mov qword [rsp + 0x68], 0xb
mov ecx, 0xc
call sub.msvcrt.dll_malloc
mov qword [rsp + 0x60], rax
test rax, rax
je 0x68027e4d
movabs r9, 0x776f7242656c6946
mov byte [rsp + 0x70], 1
mov qword [rax], r9
mov dword [rax + 8], 0x726573
jmp 0x680279b4
call sub.msvcrt.dll_free
jmp 0x68027c2e
call sub.msvcrt.dll_free
mov rcx, qword [rsp + 0x40]
test rcx, rcx
jne 0x68027c23
mov r9d, 0x100
lea r8, str.src_.._.._distrho_extra_String.hpp
lea rdx, str.fBuffer___nullptr
lea rcx, [0x680bbda8]
call fcn.6801a730
jmp 0x68027c2e
mov r9d, 0x100
lea r8, str.src_.._.._distrho_extra_String.hpp
lea rdx, str.fBuffer___nullptr
lea rcx, [0x680bbda8]
call fcn.6801a730
jmp 0x68027c15
mov rcx, rsi
call sub.msvcrt.dll_free
jmp 0x68027c89
mov r9d, 0x350
lea r8, str.src_.._.._distrho_extra_String.hpp
lea rdx, str.newBuf___nullptr
lea rcx, [0x680bbda8]
call fcn.6801a730
jmp 0x68027935
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], 0
mov byte [rsp + 0x70], 0
jmp 0x680279b4
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], 0
mov byte [rsp + 0x50], 0
jmp 0x68027cc4
lea rdx, str.FileBrowser
mov rcx, r15
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x680279b4
mov rcx, r15
call sub.msvcrt.dll_free
jmp 0x68027d66