Function at 0x180055800
Capabilities:
Check if file exists
Get common file path
Get file attributes
Query environment variable
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2648]
mov eax, 0x2748
call fcn.18007c000
sub rsp, rax
movaps xmmword [rsp + 0x2730], xmm6
movaps xmmword [rsp + 0x2720], xmm7
mov rax, qword [0x18036d060]
xor rax, rsp
mov qword [rbp + 0x2610], rax
mov qword [rbp - 0x58], r9
mov r15, r8
mov rsi, rdx
mov r14, rcx
mov qword [rbp], rcx
mov rax, qword [rbp + 0x26b8]
mov qword [rbp - 0x60], rax
mov rax, qword [rbp + 0x26c0]
mov qword [rbp - 8], rax
xor edx, edx
mov r8d, 0x2000
lea rcx, [rbp + 0x610]
call fcn.180211600
xor edi, edi
mov qword [rbp - 0x38], rdi
mov qword [rbp - 0x30], 7
mov word [rbp - 0x48], di
movups xmm0, xmmword [rsi]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rsp + 0x70], xmm1
mov qword [rsi + 0x10], rdi
mov qword [rsi + 0x18], 7
mov word [rsi], di
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.18004a4d0
mov rbx, rax
cmp rsi, rax
je 0x1800558ec
mov rcx, rsi
call fcn.18000db90
movups xmm0, xmmword [rbx]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rsi + 0x10], xmm1
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 7
mov word [rbx], di
lea rcx, [rsp + 0x40]
call fcn.18000db90
mov rdx, rsi
lea rcx, [rbp - 0x28]
call fcn.180049d20
nop
mov r13, qword [rbp - 0x28]
mov r12, qword [rbp - 0x18]
cmp dword [0x18038c58c], 9
ja 0x18005597c
lea rcx, [rbp - 0x28]
mov rbx, qword [rbp - 0x10]
cmp rbx, 8
cmovae rcx, r13
mov qword [rsp + 0x20], 7
lea r9, str.ext_ms_
xor r8d, r8d
mov rdx, r12
call fcn.180036e20
test rax, rax
jne 0x18005597c
mov eax, 4
cmp r12, rax
cmovb rax, r12
lea rcx, [rbp - 0x28]
cmp rbx, 8
cmovae rcx, r13
sub r12, rax
mov qword [rbp - 0x18], r12
lea r8, [r12*2 + 2]
lea rdx, [rcx + rax*2]
call fcn.180210e90
mov r12, qword [rbp - 0x18]
mov r13, qword [rbp - 0x28]
mov rax, qword [r14 + 8]
mov rbx, qword [rax]
mov r14, 0xffffffffffffffff
cmp rbx, rax
je 0x1800559e2
mov rdi, qword [rbp - 0x10]
lea r9, [rbx + 0x10]
cmp qword [r9 + 0x18], 8
jb 0x1800559a1
mov r9, qword [r9]
mov rax, r14
inc rax
cmp word [r9 + rax*2], 0
jne 0x1800559a4
lea rcx, [rbp - 0x28]
cmp rdi, 8
cmovae rcx, r13
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, r12
call fcn.180036e20
cmp rax, r14
jne 0x1800559e0
mov rax, qword [rbx]
mov rbx, rax
mov rcx, qword [rbp]
cmp rax, qword [rcx + 8]
jne 0x180055993
xor edi, edi
mov rax, qword [rbp]
cmp rbx, qword [rax + 8]
je 0x180055be6
mov r8, qword [rbx + 0x30]
cmp r8, qword [rbx + 0x38]
je 0x180055a73
mov rcx, qword [r15 + 0x10]
cmp qword [r15 + 0x18], 8
jb 0x180055a08
mov r15, qword [r15]
mov rax, qword [r8 + 0x10]
cmp qword [r8 + 0x18], 8
jb 0x180055a16
mov r8, qword [r8]
cmp rax, rcx
jne 0x180055a50
test rax, rax
je 0x180055a69
movzx ecx, word [r8]
movzx edx, word [r15]
cmp cx, dx
jb 0x180055a50
sub r8, r15
cmp cx, dx
ja 0x180055a50
cmp rax, 1
je 0x180055a69
dec rax
add r15, 2
movzx ecx, word [r8 + r15]
movzx edx, word [r15]
cmp cx, dx
jae 0x180055a33
mov rdx, qword [rbx + 0x30]
cmp rsi, rdx
je 0x180055a91
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 8
jb 0x180055a89
mov rdx, qword [rdx]
jmp 0x180055a89
mov rdx, qword [rbx + 0x38]
sub rdx, 0x20
jmp 0x180055a54
cmp rsi, r15
je 0x180055a91
mov r8, qword [r15 + 0x10]
cmp qword [r15 + 0x18], 8
jb 0x180055a86
mov r15, qword [r15]
mov rdx, r15
mov rcx, rsi
call fcn.18000dc00
mov r9, qword [rbp - 8]
mov r8, qword [rbp - 0x60]
mov rdx, rsi
call fcn.180056570
mov edx, eax
mov ecx, 0x80000000
add eax, ecx
test ecx, eax
jne 0x180056524
cmp edx, 0xc015001d
je 0x180056524
test byte [rbp + 0x26b0], 2
je 0x180056526
xor edx, edx
mov r8d, 0x1fe
lea rcx, [rbp + 0x10]
call fcn.180211600
mov edx, 0xff
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], di
lea rax, [rbp + 0x10]
inc r14
cmp word [rax + r14*2], 0
jne 0x180055b02
mov r8, r14
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x40]
call fcn.18000dc00
nop
mov r8d, 1
lea rdx, [0x1803124c0]
lea rcx, [rsp + 0x40]
call fcn.1800166c0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
mov rdx, rsi
cmp qword [rsi + 0x18], 8
jb 0x180055b6c
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
lea rcx, [rsp + 0x60]
call fcn.1800166c0
movups xmm6, xmmword [rax]
movups xmmword [rbp - 0x80], xmm6
movups xmm7, xmmword [rax + 0x10]
movdqu xmmword [rbp - 0x70], xmm7
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
lea rax, [rbp - 0x80]
cmp rsi, rax
je 0x180055bc2
mov rcx, rsi
call fcn.18000db90
movups xmmword [rsi], xmm6
movups xmmword [rsi + 0x10], xmm7
movdqa xmm0, xmmword [0x180316dc0]
movdqu xmmword [rbp - 0x70], xmm0
mov word [rbp - 0x80], di
lea rcx, [rbp - 0x80]
call fcn.18000db90
nop
lea rcx, [rsp + 0x60]
call fcn.18000db90
nop
lea rcx, [rsp + 0x40]
call fcn.18000db90
jmp 0x180056526
mov r12d, dword [rbp + 0x26b0]
test r12b, 1
jne 0x180055c29
mov r9, qword [rbp - 8]
mov r13, qword [rbp - 0x60]
mov r8, r13
mov rdx, rsi
call fcn.180056570
mov edx, eax
mov ecx, 0x80000000
add eax, ecx
test ecx, eax
jne 0x180056524
cmp edx, 0xc015001d
je 0x180056524
test r12b, 4
je 0x180055c33
mov edi, 0xc0000225
jmp 0x180056526
mov rcx, rsi
cmp qword [rsi + 0x18], 8
jb 0x180055c40
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x180056526
mov qword [rbp + 8], rdi
lea r8, [rbp + 8]
lea rdx, str.SYSTEMCurrentControlSetControlSession_ManagerKnownDLLs
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
movsxd r15, eax
test eax, eax
jne 0x180055d5f
mov ebx, edi
nop dword [rax + rax]
test r15, r15
jne 0x180055d5f
xor edx, edx
mov r8d, 0x1fe
lea rcx, [rbp + 0x410]
call fcn.180211600
xor edx, edx
mov r8d, 0x1fe
lea rcx, [rbp + 0x10]
call fcn.180211600
mov dword [rbp - 8], 0xff
mov dword [rbp], edi
lea rax, [rbp - 8]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x10]
mov qword [rsp + 0x30], rax
lea rax, [rbp]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 8]
lea r8, [rbp + 0x410]
mov edx, ebx
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
movsxd r15, eax
lea rdx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rdx, qword [rbp - 0x28]
lea rcx, [rbp + 0x10]
call fcn.18022d548
test eax, eax
jne 0x180055d51
xor edx, edx
mov r8d, 0x1fe
lea rcx, [rbp + 0x210]
call fcn.180211600
mov dword [rbp - 8], 0xff
mov edx, 0xff
lea rcx, [rbp + 0x210]
test r12b, 8
je 0x180055d42
call qword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryW]
jmp 0x180055d48
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test r15, r15
je 0x180055f12
inc ebx
cmp ebx, 0x1000
jl 0x180055c80
mov rax, qword [rbp - 0x58]
cmp qword [rax + 0x10], 0
je 0x180055e0e
lea r8, [0x1803124c0]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.18003d650
nop
lea rdx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rdx, qword [rbp - 0x28]
mov r8, qword [rbp - 0x18]
mov rcx, rax
call fcn.1800166c0
movups xmm7, xmmword [rax]
movups xmmword [rsp + 0x60], xmm7
movups xmm6, xmmword [rax + 0x10]
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
lea rcx, [rbp - 0x48]
call fcn.18000db90
movups xmmword [rbp - 0x48], xmm7
movups xmmword [rbp - 0x38], xmm6
movdqa xmm0, xmmword [0x180316dc0]
movdqu xmmword [rsp + 0x70], xmm0
mov word [rsp + 0x60], di
lea rcx, [rsp + 0x60]
call fcn.18000db90
nop
lea rcx, [rsp + 0x40]
call fcn.18000db90
lea rcx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rcx, qword [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x18005636d
mov r8d, dword [r13 + 8]
lea rdx, [rbp - 0x80]
call fcn.180056a40
nop
mov r8d, 1
lea rdx, [0x1803124c0]
mov rcx, rax
call fcn.1800166c0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
lea rdx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rdx, qword [rbp - 0x28]
mov r8, qword [rbp - 0x18]
lea rcx, [rsp + 0x60]
call fcn.1800166c0
movups xmm7, xmmword [rax]
movups xmmword [rsp + 0x40], xmm7
movups xmm6, xmmword [rax + 0x10]
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
lea rcx, [rbp - 0x48]
call fcn.18000db90
movups xmmword [rbp - 0x48], xmm7
movups xmmword [rbp - 0x38], xmm6
movdqa xmm0, xmmword [0x180316dc0]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], di
lea rcx, [rsp + 0x40]
call fcn.18000db90
nop
lea rcx, [rsp + 0x60]
call fcn.18000db90
nop
lea rcx, [rbp - 0x80]
call fcn.18000db90
lea rcx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rcx, qword [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x18005636d
mov edx, 0x1000
lea rcx, [rbp + 0x610]
test r12b, 8
je 0x18005601d
call qword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryW]
jmp 0x180056023
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], di
lea rax, [rbp + 0x210]
mov r8, r14
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x180055f30
lea rdx, [rbp + 0x210]
lea rcx, [rbp - 0x80]
call fcn.18000dc00
nop
mov r8d, 1
lea rdx, [0x1803124c0]
lea rcx, [rbp - 0x80]
call fcn.1800166c0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
lea rax, [rbp + 0x10]
nop
inc r14
cmp word [rax + r14*2], 0
jne 0x180055f90
mov r8, r14
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x60]
call fcn.1800166c0
movups xmm6, xmmword [rax]
movups xmmword [rsp + 0x40], xmm6
movups xmm7, xmmword [rax + 0x10]
movdqu xmmword [rsp + 0x50], xmm7
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
lea rax, [rsp + 0x40]
cmp rsi, rax
je 0x180055ff9
mov rcx, rsi
call fcn.18000db90
movups xmmword [rsi], xmm6
movups xmmword [rsi + 0x10], xmm7
movdqa xmm0, xmmword [0x180316dc0]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], di
lea rcx, [rsp + 0x40]
call fcn.18000db90
nop
lea rcx, [rsp + 0x60]
call fcn.18000db90
nop
lea rcx, [rbp - 0x80]
call fcn.18000db90
jmp 0x180056513
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], di
lea rax, [rbp + 0x610]
mov r8, r14
inc r8
cmp word [rax + r8*2], 0
jne 0x180056040
lea rdx, [rbp + 0x610]
lea rcx, [rsp + 0x40]
call fcn.18000dc00
nop
mov r8d, 1
lea rdx, [0x1803124c0]
lea rcx, [rsp + 0x40]
call fcn.1800166c0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
lea rdx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rdx, qword [rbp - 0x28]
mov r8, qword [rbp - 0x18]
lea rcx, [rsp + 0x60]
call fcn.1800166c0
movups xmm7, xmmword [rax]
movups xmmword [rbp - 0x80], xmm7
movups xmm6, xmmword [rax + 0x10]
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
lea rcx, [rbp - 0x48]
call fcn.18000db90
movups xmmword [rbp - 0x48], xmm7
movups xmmword [rbp - 0x38], xmm6
movdqa xmm0, xmmword [0x180316dc0]
movdqu xmmword [rbp - 0x70], xmm0
mov word [rbp - 0x80], di
lea rcx, [rbp - 0x80]
call fcn.18000db90
nop
lea rcx, [rsp + 0x60]
call fcn.18000db90
nop
lea rcx, [rsp + 0x40]
call fcn.18000db90
lea rcx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rcx, qword [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x18005636d
mov edx, 0x1000
lea rcx, [rbp + 0x610]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], di
lea rax, [rbp + 0x610]
mov r8, r14
inc r8
cmp word [rax + r8*2], 0
jne 0x180056160
lea rdx, [rbp + 0x610]
lea rcx, [rsp + 0x40]
call fcn.18000dc00
nop
mov r8d, 1
lea rdx, [0x1803124c0]
lea rcx, [rsp + 0x40]
call fcn.1800166c0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
lea rdx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rdx, qword [rbp - 0x28]
mov r8, qword [rbp - 0x18]
lea rcx, [rsp + 0x60]
call fcn.1800166c0
movups xmm7, xmmword [rax]
movups xmmword [rbp - 0x80], xmm7
movups xmm6, xmmword [rax + 0x10]
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
lea rcx, [rbp - 0x48]
call fcn.18000db90
movups xmmword [rbp - 0x48], xmm7
movups xmmword [rbp - 0x38], xmm6
movdqa xmm0, xmmword [0x180316dc0]
movdqu xmmword [rbp - 0x70], xmm0
mov word [rbp - 0x80], di
lea rcx, [rbp - 0x80]
call fcn.18000db90
nop
lea rcx, [rsp + 0x60]
call fcn.18000db90
nop
lea rcx, [rsp + 0x40]
call fcn.18000db90
lea rcx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rcx, qword [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x18005636d
lea rdx, [rbp + 0x610]
mov ecx, 0x1000
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], di
lea rax, [rbp + 0x610]
mov r8, r14
inc r8
cmp word [rax + r8*2], 0
jne 0x180056280
lea rdx, [rbp + 0x610]
lea rcx, [rsp + 0x40]
call fcn.18000dc00
nop
mov r8d, 1
lea rdx, [0x1803124c0]
lea rcx, [rsp + 0x40]
call fcn.1800166c0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
lea rdx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rdx, qword [rbp - 0x28]
mov r8, qword [rbp - 0x18]
lea rcx, [rsp + 0x60]
call fcn.1800166c0
movups xmm7, xmmword [rax]
movups xmmword [rbp - 0x80], xmm7
movups xmm6, xmmword [rax + 0x10]
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
lea rcx, [rbp - 0x48]
call fcn.18000db90
movups xmmword [rbp - 0x48], xmm7
movups xmmword [rbp - 0x38], xmm6
movdqa xmm0, xmmword [0x180316dc0]
movdqu xmmword [rbp - 0x70], xmm0
mov word [rbp - 0x80], di
lea rcx, [rbp - 0x80]
call fcn.18000db90
nop
lea rcx, [rsp + 0x60]
call fcn.18000db90
nop
lea rcx, [rsp + 0x40]
call fcn.18000db90
lea rcx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rcx, qword [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x180056399
lea rax, [rbp - 0x48]
cmp rsi, rax
je 0x180056513
lea rdx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rdx, qword [rbp - 0x48]
mov r8, qword [rbp - 0x38]
mov rcx, rsi
call fcn.18000dc00
jmp 0x180056513
mov r8d, 0x1000
lea rdx, [rbp + 0x610]
lea rcx, [0x180314d60]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea r8, [rbp - 0x50]
lea rdx, [0x180314d5c]
lea rcx, [rbp + 0x610]
call fcn.18022d888
test rax, rax
je 0x18005650e
nop dword [rax]
nop word [rax + rax]
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], di
mov r8, r14
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x180056400
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.18000dc00
nop
mov r8d, 1
lea rdx, [0x1803124c0]
lea rcx, [rsp + 0x60]
call fcn.1800166c0
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x68], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x70], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
lea rdx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rdx, qword [rbp - 0x28]
mov r8, qword [rbp - 0x18]
lea rcx, [rbp - 0x80]
call fcn.1800166c0
movups xmm7, xmmword [rax]
movups xmmword [rsp + 0x40], xmm7
movups xmm6, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm6
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
lea rcx, [rbp - 0x48]
call fcn.18000db90
movups xmmword [rbp - 0x48], xmm7
movups xmmword [rbp - 0x38], xmm6
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], di
lea rcx, [rsp + 0x40]
call fcn.18000db90
nop
lea rcx, [rbp - 0x80]
call fcn.18000db90
nop
lea rcx, [rsp + 0x60]
call fcn.18000db90
lea rcx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rcx, qword [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x18005636d
lea r8, [rbp - 0x50]
lea rdx, [0x180314d5c]
mov rcx, qword [rbp - 0x50]
call fcn.18022d888
test rax, rax
jne 0x1800563e0
mov edi, 0xc0000225
mov rcx, qword [rbp + 8]
test rcx, rcx
jle 0x180056526
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x180056526
mov edi, edx
lea rcx, [rbp - 0x28]
call fcn.18000db90
nop
lea rcx, [rbp - 0x48]
call fcn.18000db90
mov eax, edi
mov rcx, qword [rbp + 0x2610]
xor rcx, rsp
call fcn.18007b140
movaps xmm6, xmmword [rsp + 0x2730]
movaps xmm7, xmmword [rsp + 0x2720]
add rsp, 0x2748
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret