Function at 0x140002890
Capabilities:
Check if file exists
Get file attributes
Query or enumerate registry value
Set current directory

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x268]
sub rsp, 0x340
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x14002b020]
xor rax, rsp
mov qword [rbp + 0x210], rax
mov rsi, rcx
mov qword [rsp + 0x50], rcx
xor r15d, r15d
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r15w
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], r15w
lea rcx, [rbp - 0x20]
call fcn.1400014e0
nop
mov rdx, rax
lea rcx, [rbp - 0x40]
call fcn.140001320
mov r9, rax
mov rcx, qword [rax + 0x10]
movabs r12, 0x7ffffffffffffffe
mov rax, r12
sub rax, rcx
cmp rax, 7
jb 0x1400030af
cmp qword [r9 + 0x18], 8
jb 0x140002949
mov r9, qword [r9]
mov qword [rsp + 0x30], 7
lea rax, str.Shared_
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x80]
call fcn.140003ba0
nop
lea r13, [0x14002bc18]
mov r9, r13
cmp qword [0x14002bc30], 8
cmovae r9, qword [0x14002bc18]
mov rdi, qword [0x14002bc28]
mov r14, qword [rbp - 0x70]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
sub rax, r14
cmp rdi, rax
ja 0x1400029d5
lea rax, [rdi + r14]
mov qword [rbp - 0x70], rax
lea rbx, [rbp - 0x80]
cmp rcx, 8
cmovae rbx, qword [rbp - 0x80]
lea rcx, [rbx + r14*2]
lea r8, [rdi + rdi]
mov rdx, r9
call fcn.140006880
lea rax, [r14 + rdi]
mov word [rbx + rax*2], r15w
lea rax, [rbp - 0x80]
jmp 0x1400029e6
mov qword [rsp + 0x20], rdi
mov rdx, rdi
lea rcx, [rbp - 0x80]
call fcn.140001dd0
movups xmm6, xmmword [rax]
movups xmm7, xmmword [rax + 0x10]
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 7
mov word [rax], r15w
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x140002a3f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002a3a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400030b5
call fcn.140004c58
movups xmmword [rsp + 0x60], xmm6
movups xmmword [rsp + 0x70], xmm7
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x140002a89
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002a84
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400030bb
call fcn.140004c58
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], r15w
mov rdx, qword [rbp - 0x28]
cmp rdx, 8
jb 0x140002ada
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002ad5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400030c1
call fcn.140004c58
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x28], 7
mov word [rbp - 0x40], r15w
mov rdx, qword [rbp - 8]
cmp rdx, 8
jb 0x140002b2b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002b26
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400030c7
call fcn.140004c58
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140002c49
test al, 0x10
jne 0x140002c49
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rsp + 0x70]
movups xmmword [rsi + 0x10], xmm1
mov qword [rsp + 0x70], r15
mov edx, 7
mov qword [rsp + 0x78], rdx
mov word [rsp + 0x60], r15w
mov rax, qword [rbp - 0x48]
cmp rax, 8
jb 0x140002bbe
lea rdx, [rax*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002bb4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400030a3
call fcn.140004c58
mov rdx, qword [rsp + 0x78]
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], r15w
cmp rdx, 8
jb 0x140002c0c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002c07
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400030a9
call fcn.140004c58
mov rax, rsi
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.140004960
lea r11, [rsp + 0x340]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
movdqa xmm0, xmmword [0x1400275b0]
movdqu xmmword [rbp - 0x80], xmm0
mov dword [rsp + 0x50], 0x20019
mov dword [rsp + 0x54], 0x20219
mov rbx, r15
nop dword [rax]
xor r8d, r8d
lea rdx, [0x140026fd4]
lea rcx, [rsp + 0x60]
call fcn.140001750
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + rbx*4 + 0x50]
xor r8d, r8d
lea rdx, str.SoftwareImage_LineSharedPaths
mov rcx, qword [rbp + rbx*8 - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140002cf0
mov dword [rsp + 0x40], 0x208
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rbp]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
xor r8d, r8d
lea rdx, str.Shared_DLLs
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x140002d02
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc rbx
cmp rbx, 2
jge 0x140002dc2
jmp 0x140002c70
lea rax, [rbp]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140002d10
lea rdx, [rbp]
lea rcx, [rsp + 0x60]
call fcn.140001750
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x20]
call fcn.140001320
nop
lea rcx, [rbp - 0x60]
cmp rcx, rax
je 0x140002d5c
mov rdx, rax
cmp qword [rax + 0x18], 8
jb 0x140002d4e
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
lea rcx, [rbp - 0x60]
call fcn.140001750
nop
mov rdx, qword [rbp - 8]
cmp rdx, 8
jb 0x140002d9c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002d97
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400030cd
call fcn.140004c58
cmp qword [rbp - 0x50], 0
je 0x140002db7
lea rcx, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae rcx, qword [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r14, qword [rsp + 0x70]
test r14, r14
je 0x140002fea
mov rax, r12
sub rax, r14
cmp rax, 1
jb 0x1400030d3
lea r12, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae r12, qword [rsp + 0x60]
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], r15
lea r15, [r14 + 1]
mov ebx, 7
lea rdi, [rbp - 0x80]
cmp r15, rbx
jbe 0x140002ea5
mov rbx, r15
or rbx, 7
movabs rax, 0x7ffffffffffffffe
cmp rbx, rax
jbe 0x140002e35
mov rbx, rax
mov rcx, 0xfffffffffffffffe
jmp 0x140002e64
mov eax, 0xa
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x1400030d9
add rcx, rcx
cmp rcx, 0x1000
jb 0x140002e90
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400030d9
mov rcx, rax
call fcn.140004c1c
test rax, rax
je 0x1400030e5
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140002ea1
test rcx, rcx
je 0x140002e9f
call fcn.140004c1c
mov rdi, rax
jmp 0x140002ea1
xor edi, edi
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], rbx
lea rbx, [r14 + r14]
mov r8, rbx
mov rdx, r12
mov rcx, rdi
call fcn.140006880
mov eax, 0x5c
mov word [rdi + rbx], ax
xor eax, eax
mov word [rdi + r15*2], ax
cmp qword [0x14002bc30], 8
cmovae r13, qword [0x14002bc18]
mov rdi, qword [0x14002bc28]
mov r14, qword [rbp - 0x70]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
sub rax, r14
cmp rdi, rax
ja 0x140002f30
lea rax, [rdi + r14]
mov qword [rbp - 0x70], rax
lea rbx, [rbp - 0x80]
cmp rcx, 8
cmovae rbx, qword [rbp - 0x80]
lea rcx, [rbx + r14*2]
lea r8, [rdi + rdi]
mov rdx, r13
call fcn.140006880
lea rax, [r14 + rdi]
xor r15d, r15d
mov word [rbx + rax*2], r15w
lea rax, [rbp - 0x80]
jmp 0x140002f47
mov qword [rsp + 0x20], rdi
mov r9, r13
mov rdx, rdi
lea rcx, [rbp - 0x80]
call fcn.140001dd0
xor r15d, r15d
movups xmm6, xmmword [rax]
movups xmm7, xmmword [rax + 0x10]
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 7
mov word [rax], r15w
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x140002fa0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002f9b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400030df
call fcn.140004c58
movups xmmword [rsp + 0x60], xmm6
movups xmmword [rsp + 0x70], xmm7
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x140002fea
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002fe5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400030e5
call fcn.140004c58
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rsp + 0x70]
movups xmmword [rsi + 0x10], xmm1
mov qword [rsp + 0x70], r15
mov edx, 7
mov qword [rsp + 0x78], rdx
mov word [rsp + 0x60], r15w
mov rax, qword [rbp - 0x48]
cmp rax, 8
jb 0x140003051
lea rdx, [rax*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003047
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400030a3
call fcn.140004c58
mov rdx, qword [rsp + 0x78]
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], r15w
cmp rdx, 8
jb 0x140002c0c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002c07
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400030a9
jmp 0x140002c07
call fcn.14000bda8
nop
call fcn.14000bda8
nop
call fcn.140001300
nop
call fcn.14000bda8
nop
call fcn.14000bda8
nop
call fcn.14000bda8
nop
call fcn.14000bda8
int3
call fcn.14000bda8
int3
call fcn.140001300
int3
call fcn.140001260
nop
call fcn.14000bda8
nop
call fcn.14000bda8
int3