Function at 0x140011210
Capabilities:
Check if file exists
Create thread
Get file attributes

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
push rdi
push r14
sub rsp, 0x50
mov qword [rsp + 0x40], rsp
mov byte [rsp + 0x30], 0
mov esi, 1
nop dword [rax]
xor eax, eax
lock cmpxchg dword [0x1400ab688], esi
test eax, eax
je 0x140011251
sub eax, esi
jne 0x14001124a
call qword [sym.imp.KERNEL32.dll_SwitchToThread]
jmp 0x140011230
xor al, al
jmp 0x1400114b0
xor edi, edi
mov dword [0x1400ab404], edi
mov ebx, edi
lea r14, [0x1400ab668]
mov dword [rsp + 0x34], ebx
cmp ebx, 4
jge 0x140011285
movsxd rax, ebx
mov rcx, qword [r14 + rax*8]
test rcx, rcx
je 0x140011281
mov qword [r14 + rax*8], rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
jmp 0x140011262
lea r8, [rsp + 0x78]
lea rdx, [0x140010e30]
mov ecx, 6
call qword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
test eax, eax
jne 0x1400112bd
lea rdx, [0x1400112b3]
mov rcx, qword [rsp + 0x40]
call fcn.140028e70
nop
nop
movzx eax, byte [rsp + 0x30]
jmp 0x1400114b0
mov r8d, 0x12c
lea rbx, [0x1400ab410]
mov rdx, rbx
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edx, eax
mov dword [rsp + 0x38], eax
lea ecx, [rax - 1]
cmp ecx, 0x12a
ja 0x140011498
nop dword [rax]
test edx, edx
je 0x140011306
lea eax, [rdx - 1]
cmp word [rbx + rax*2], 0x5c
je 0x140011306
mov edx, eax
mov dword [rsp + 0x38], eax
jmp 0x1400112f0
lea eax, [rdx - 1]
cmp eax, 0x11c
ja 0x14001147e
mov eax, edx
lea rdx, [rbx + rax*2]
movups xmm0, xmmword [str.BvDump64.exe]
movups xmmword [rdx], xmm0
movsd xmm1, qword [0x14007beb0]
movsd qword [rdx + 0x10], xmm1
movzx eax, word [0x14007beb8]
mov word [rdx + 0x18], ax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140011464
test al, 0x10
jne 0x140011464
xor r9d, r9d
xor r8d, r8d
mov edx, esi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x1400ab668], rax
test rax, rax
jne 0x14001138f
lea rdx, [0x140011385]
mov rcx, qword [rsp + 0x40]
call fcn.140028e70
nop
nop
movzx eax, byte [rsp + 0x30]
jmp 0x1400114b0
xor r9d, r9d
xor r8d, r8d
mov edx, esi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x1400ab670], rax
test rax, rax
jne 0x1400113c8
lea rdx, [0x1400113be]
mov rcx, qword [rsp + 0x40]
call fcn.140028e70
nop
nop
movzx eax, byte [rsp + 0x30]
jmp 0x1400114b0
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [0x1400ab678], rax
test rax, rax
jne 0x1400113fe
lea rdx, [0x1400113f4]
mov rcx, qword [rsp + 0x40]
call fcn.140028e70
nop
nop
movzx eax, byte [rsp + 0x30]
jmp 0x1400114b0
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x10000
xor r9d, r9d
lea r8, [0x140010e30]
mov edx, 0x10000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x1400ab680], rax
mov rcx, qword [rsp + 0x40]
test rax, rax
jne 0x14001144d
lea rdx, [0x140011446]
call fcn.140028e70
nop
nop
movzx eax, byte [rsp + 0x30]
jmp 0x1400114b0
mov byte [rsp + 0x30], 1
lea rdx, [0x140011460]
call fcn.140028e70
nop
nop
mov al, 1
jmp 0x1400114b0
lea rdx, [0x140011477]
mov rcx, qword [rsp + 0x40]
call fcn.140028e70
nop
nop
movzx eax, byte [rsp + 0x30]
jmp 0x1400114b0
lea rdx, [0x140011491]
mov rcx, qword [rsp + 0x40]
call fcn.140028e70
nop
nop
movzx eax, byte [rsp + 0x30]
jmp 0x1400114b0
lea rdx, [0x1400114ab]
mov rcx, qword [rsp + 0x40]
call fcn.140028e70
nop
nop
movzx eax, byte [rsp + 0x30]
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret