Function at 0x1400b2a90
Capabilities:
Get file attributes
Set file attributes
Write file on windows

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 - 0xa0]
sub rsp, 0x1a0
mov rax, qword [0x140672360]
xor rax, rsp
mov qword [rbp + 0x90], rax
mov r12, rcx
mov qword [rsp + 0x70], rcx
xor r13b, r13b
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
movups xmmword [rbp + 0x60], xmm0
movups xmmword [rbp + 0x70], xmm0
movups xmmword [rbp + 0x80], xmm0
movdqu xmmword [rsp + 0x60], xmm0
mov rcx, qword [rcx + 8]
test rcx, rcx
je 0x1400b2b09
lock inc dword [rcx + 8]
mov rcx, qword [r12 + 8]
mov rax, qword [r12]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rcx
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x30]
call fcn.1400b2820
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
movdqu xmmword [rbp - 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x58], xmm1
xor esi, esi
mov qword [rbp - 0x48], rsi
mov qword [rbp - 0x40], 0x100
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
lea rax, [rbp - 0x68]
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rsi
movdqa xmmword [rbp], xmm0
movdqa xmmword [rbp + 0x10], xmm1
mov qword [rbp + 0x20], 0x200
mov dword [rbp + 0x28], 0x144
mov byte [rbp + 0x2c], sil
lea rdx, [rbp - 0x10]
lea rcx, [rbp + 0x30]
call fcn.1400aa350
lea edx, [rsi + 1]
lea r15, [rsi - 1]
test al, al
je 0x1400b2ef9
mov rcx, qword [rbp - 0x48]
mov rax, rcx
mov rbx, qword [rbp - 0x50]
sub rax, rbx
cmp rax, rdx
jge 0x1400b2c17
mov r8, qword [rbp - 0x58]
test r8, r8
jne 0x1400b2bd4
cmp qword [rbp - 0x68], r8
jne 0x1400b2bce
mov ecx, edx
call fcn.1403590cc
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x60], rax
mov rbx, qword [rbp - 0x50]
mov r8, qword [rbp - 0x58]
mov rcx, qword [rbp - 0x40]
jmp 0x1400b2be1
sub rcx, r8
lea rax, [rcx + 1]
shr rax, 1
add rcx, rax
sub rbx, r8
lea rdi, [rbx + 1]
cmp rcx, rdi
cmovae rdi, rcx
mov rcx, r8
test rdi, rdi
jne 0x1400b2c01
call fcn.1403683a0
mov rax, rsi
jmp 0x1400b2c09
mov rdx, rdi
call fcn.140370f70
mov qword [rbp - 0x58], rax
add rbx, rax
add rax, rdi
mov qword [rbp - 0x48], rax
lea rax, [rbx + 1]
mov qword [rbp - 0x50], rax
mov byte [rbx], 0
dec qword [rbp - 0x50]
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x18], 0xf
mov byte [rbp - 0x30], 0
mov rdx, qword [rbp - 0x58]
mov r8, r15
inc r8
cmp byte [rdx + r8], 0
jne 0x1400b2c41
lea rcx, [rbp - 0x30]
call fcn.140073120
nop
call fcn.1401d4720
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x78], rsi
mov qword [rbp - 0x70], 7
mov word [rsp + 0x78], si
mov r8, r15
inc r8
cmp word [rax + r8*2], 0
jne 0x1400b2c73
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.1400739a0
nop
mov rcx, qword [rbp - 0x78]
mov rdx, qword [rbp - 0x70]
mov rax, rdx
sub rax, rcx
cmp rax, 0xf
jb 0x1400b2cd3
lea rdi, [rcx + 0xf]
mov qword [rbp - 0x78], rdi
lea rbx, [rsp + 0x78]
cmp rdx, 8
cmovae rbx, qword [rsp + 0x78]
lea rcx, [rbx + rcx*2]
mov r8d, 0x1e
lea rdx, str._telemetry.json
call fcn.14035bc80
mov word [rbx + rdi*2], si
jmp 0x1400b2cf5
lfence
mov qword [rsp + 0x20], 0xf
lea r9, str._telemetry.json
mov edx, 0xf
lea rcx, [rsp + 0x78]
call fcn.1400735a0
mov r14d, esi
nop dword [rax + rax]
lea rdx, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae rdx, qword [rsp + 0x78]
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], 7
mov r8, r15
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400b2d30
lea rcx, [rsp + 0x40]
call fcn.1400739a0
xor bl, bl
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 1
je 0x1400b2d7e
and eax, 0xfffffffe
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
mov edx, eax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400b2e05
mov esi, dword [rbp - 0x20]
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0x10
cmovae rdx, qword [rbp - 0x30]
mov qword [rsp + 0x20], 0
lea r9, [rbp - 0x38]
mov r8d, esi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400b2dfa
movzx ebx, bl
cmp dword [rbp - 0x38], esi
mov eax, 1
cmove ebx, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x1400b2e47
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b2e42
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400b304c
call fcn.140359090
test bl, bl
jne 0x1400b2e64
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
inc r14d
cmp r14d, 5
jge 0x1400b2e67
jmp 0x1400b2d00
mov r13b, 1
mov rdx, qword [rbp - 0x70]
cmp rdx, 8
jb 0x1400b2ea8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b2ea3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400b3052
call fcn.140359090
mov qword [rbp - 0x78], rsi
mov qword [rbp - 0x70], 7
mov word [rsp + 0x78], si
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x1400b2ef4
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b2eef
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400b3046
call fcn.140359090
test r13b, r13b
jne 0x1400b2f2e
lea rax, str.0cg_
mov rcx, qword [str.0cg_]
cmp rcx, rax
je 0x1400b2f2e
test byte [rcx + 0x1c], 1
je 0x1400b2f2e
cmp byte [rcx + 0x19], 2
jb 0x1400b2f2e
mov edx, 0x10
lea r8, [0x1405f5a88]
mov rcx, qword [rcx + 0x10]
call fcn.14007d150
nop
mov rcx, qword [rbp + 8]
call fcn.1403683a0
mov ebx, 1
mov edx, ebx
mov rcx, qword [rbp]
call fcn.140359090
nop
mov rcx, qword [rbp - 0x58]
call fcn.1403683a0
mov edx, ebx
mov rcx, qword [rbp - 0x60]
call fcn.140359090
nop
mov rdi, qword [rbp + 0x48]
test rdi, rdi
je 0x1400b2fba
cmp qword [rdi], 0
je 0x1400b2f8f
mov rbx, qword [rdi]
nop
mov rcx, rbx
cmp rbx, qword [rdi + 0x10]
je 0x1400b2f8a
mov rbx, qword [rbx + 0x10]
call fcn.1403683a0
mov qword [rdi], rbx
test rbx, rbx
jne 0x1400b2f70
mov ebx, 1
mov rax, qword [rdi]
test rax, rax
je 0x1400b2fa1
cmp rax, qword [rdi + 0x10]
jne 0x1400b2fa1
mov qword [rax + 8], rsi
mov rdx, rbx
mov rcx, qword [rdi + 0x20]
call fcn.140359090
mov edx, 0x28
mov rcx, rdi
call fcn.140359090
mov rcx, qword [rbp + 0x60]
call fcn.1403683a0
mov rdx, rbx
mov rcx, qword [rbp + 0x58]
call fcn.140359090
nop
mov rbx, qword [r12 + 8]
test rbx, rbx
je 0x1400b3012
mov eax, r15d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400b3012
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x1401cd220.0]
lock xadd dword [rbx + 0xc], r15d
cmp r15d, 1
jne 0x1400b3012
mov rdx, qword [rbx]
mov rcx, rbx
mov rax, qword [rdx + 8]
call qword [case.0x1401cd220.0]
movzx eax, r13b
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.140359070
lea r11, [rsp + 0x1a0]
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.140368068
nop
call fcn.140368068
nop
call fcn.140368068
int3