Function at 0x1800b53a0
Capabilities:
Check if file exists
Get file attributes
Query or enumerate registry value

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 - 0x2300]
mov eax, 0x2400
call fcn.1800f5030
sub rsp, rax
mov rax, qword [0x180126010]
xor rax, rsp
mov qword [rbp + 0x22f0], rax
mov r12, rcx
lea rdx, [0x1801294f8]
lea rcx, [rbp - 0x40]
call fcn.1800bf440
mov rdx, rax
lea rcx, [rbp + 0xb0]
call fcn.18008aa30
lea rdx, [0x1801298b8]
lea rcx, [rbp - 0x40]
call fcn.1800bf440
mov rdx, rax
lea rcx, [rbp + 0x78]
call fcn.18008aa30
cmp qword [rbp + 0x90], 0x10
lea rax, [rbp + 0x20]
lea rdx, [rbp + 0x78]
mov qword [rsp + 0x20], rax
cmovae rdx, qword [rbp + 0x78]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov r13, qword [rbp + 0xb0]
xor edi, edi
test eax, eax
jne 0x1800b5971
xor edx, edx
lea rcx, [rbp + 0xe0]
mov r8d, 0x208
call fcn.1800d0180
mov rcx, qword [rbp + 0x20]
lea rax, [rbp + 0xd0]
mov qword [rsp + 0x58], rax
lea r8, [rbp + 0x50]
lea rax, [rbp + 0x98]
mov dword [rbp + 0x50], 0x104
mov qword [rsp + 0x50], rax
lea rdx, [rbp + 0xe0]
lea rax, [rbp + 0x9c]
mov dword [rbp + 0x4c], edi
mov qword [rsp + 0x48], rax
xor r9d, r9d
lea rax, [rbp + 0xa0]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x48]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0xa4]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0xa8]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x4c]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [rbp + 0x48]
test eax, eax
je 0x1800b5971
mov r14, qword [rbp + 0xc0]
mov r15d, edi
mov rcx, qword [rbp + 0x20]
lea r9, [rbp + 0x54]
mov qword [rsp + 0x38], rdi
lea r8, [rbp + 0x2f0]
mov qword [rsp + 0x30], rdi
mov edx, r15d
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
mov dword [rbp + 0x54], 0x1000
mov word [rbp + 0x2f0], di
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x1800b5964
mov qword [rbp + 0x58], rdi
lea rax, [rbp + 0x2f0]
mov qword [rbp + 0x68], rdi
mov r8, 0xffffffffffffffff
mov qword [rbp + 0x70], 7
inc r8
cmp word [rax + r8*2], 0
jne 0x1800b5562
lea rdx, [rbp + 0x2f0]
lea rcx, [rbp + 0x58]
call fcn.1800bf8b0
cmp qword [rbp + 0x70], 8
lea rdx, [rbp + 0x58]
mov rax, qword [rbp + 0x68]
lea rsi, [rbp + 0x58]
cmovae rdx, qword [rbp + 0x58]
mov ecx, 0xf
cmovae rsi, qword [rbp + 0x58]
mov qword [rbp + 0x28], rdi
mov qword [rbp + 0x38], rdi
lea rbx, [rdx + rax*2]
mov qword [rbp + 0x40], rcx
mov rdx, rbx
sub rdx, rsi
sar rdx, 1
cmp rdx, 0x10
jb 0x1800b55cf
lea rcx, [rbp + 0x28]
call fcn.1800c7440
mov rcx, qword [rbp + 0x40]
xor edi, edi
mov qword [rbp + 0x38], rdi
cmp rsi, rbx
je 0x1800b5617
movzx r9d, byte [rsi]
cmp rdi, rcx
jae 0x1800b55fd
lea rax, [rdi + 1]
cmp rcx, 0x10
mov qword [rbp + 0x38], rax
lea rax, [rbp + 0x28]
cmovae rax, qword [rbp + 0x28]
mov byte [rax + rdi], r9b
mov byte [rax + rdi + 1], 0
jmp 0x1800b5606
lea rcx, [rbp + 0x28]
call fcn.1800c0bc0
mov rcx, qword [rbp + 0x40]
add rsi, 2
mov rdi, qword [rbp + 0x38]
cmp rsi, rbx
jne 0x1800b55d4
cmp rcx, 0x10
lea rsi, [rbp + 0x28]
cmovae rsi, qword [rbp + 0x28]
cmp rdi, 0x10
jae 0x1800b563d
movups xmm0, xmmword [rsi]
mov qword [rsp + 0x78], 0xf
movups xmmword [rsp + 0x60], xmm0
jmp 0x1800b56b8
movabs rax, 0x7fffffffffffffff
mov rbx, rdi
or rbx, 0xf
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x1800b5691
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1800b5a8a
mov rcx, rax
call fcn.1800cd2d4
mov rcx, rax
test rax, rax
je 0x1800b5a7e
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1800b569f
test rcx, rcx
je 0x1800b569d
call fcn.1800cd2d4
jmp 0x1800b569f
xor eax, eax
lea r8, [rdi + 1]
mov qword [rsp + 0x60], rax
mov rdx, rsi
mov rcx, rax
call fcn.1800d03a0
mov qword [rsp + 0x78], rbx
cmp qword [rbp + 0xc8], 0x10
mov qword [rsp + 0x70], rdi
lea rdi, [rbp + 0xb0]
cmovae rdi, r13
cmp r14, 0x10
jae 0x1800b56e7
movups xmm0, xmmword [rdi]
mov qword [rbp - 0x68], 0xf
movups xmmword [rbp - 0x80], xmm0
jmp 0x1800b5760
movabs rsi, 0x7fffffffffffffff
mov rbx, r14
or rbx, 0xf
cmp rbx, rsi
cmova rbx, rsi
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x1800b573b
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1800b5a8a
mov rcx, rax
call fcn.1800cd2d4
mov rcx, rax
test rax, rax
je 0x1800b5a7e
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1800b5749
test rcx, rcx
je 0x1800b5747
call fcn.1800cd2d4
jmp 0x1800b5749
xor eax, eax
lea r8, [r14 + 1]
mov qword [rbp - 0x80], rax
mov rdx, rdi
mov rcx, rax
call fcn.1800d03a0
mov qword [rbp - 0x68], rbx
lea rdx, [rsp + 0x60]
mov qword [rbp - 0x70], r14
lea rcx, [rbp - 0x80]
call fcn.18008c5f0
test eax, eax
jle 0x1800b58d7
lea rdx, [0x180128bb8]
lea rcx, [rbp]
call fcn.1800bf440
mov rdx, rax
lea rcx, [rbp - 0x40]
call fcn.18008aa30
lea rdx, [rbp + 0x28]
mov rbx, rax
lea rcx, [rbp - 0x60]
call fcn.18008d700
mov r9, rbx
lea rcx, [rbp - 0x20]
mov r8, rax
call fcn.1800c2600
mov rdx, qword [rbp + 0x40]
cmp rdx, 0x10
jb 0x1800b57f0
mov rcx, qword [rbp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b57eb
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800b5a90
call fcn.1800cd2cc
movups xmm0, xmmword [rbp - 0x20]
mov rdx, qword [rbp - 0x48]
movups xmm1, xmmword [rbp - 0x10]
movups xmmword [rbp + 0x28], xmm0
movups xmmword [rbp + 0x38], xmm1
cmp rdx, 0x10
jb 0x1800b583b
mov rcx, qword [rbp - 0x60]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b5836
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800b5a90
call fcn.1800cd2cc
mov rdx, qword [rbp - 0x28]
xor edi, edi
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x48], 0xf
mov byte [rbp - 0x60], dil
cmp rdx, 0x10
jb 0x1800b5888
mov rcx, qword [rbp - 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b5883
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800b5a90
call fcn.1800cd2cc
cmp qword [rbp + 0x40], 0x10
lea rcx, [rbp + 0x28]
cmovae rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x1800b58a5
xor al, al
jmp 0x1800b58aa
shr al, 4
and al, 1
test al, al
je 0x1800b58d9
mov rdx, r12
lea rcx, [rbp]
call fcn.1800bf440
lea rdx, [rbp + 0x28]
mov rbx, rax
lea rcx, [rbp - 0x40]
call fcn.1800bf440
mov rcx, rax
mov rdx, rbx
call fcn.1800b4a90
jmp 0x1800b58d9
xor edi, edi
mov rdx, qword [rbp + 0x40]
cmp rdx, 0x10
jb 0x1800b5914
mov rcx, qword [rbp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b590f
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800b5a7e
call fcn.1800cd2cc
mov rdx, qword [rbp + 0x70]
mov qword [rbp + 0x38], rdi
mov qword [rbp + 0x40], 0xf
mov byte [rbp + 0x28], 0
cmp rdx, 8
jb 0x1800b5964
mov rcx, qword [rbp + 0x58]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b595f
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800b5a7e
call fcn.1800cd2cc
inc r15d
cmp r15d, dword [rbp + 0x48]
jb 0x1800b5502
mov rdx, qword [rbp + 0x90]
cmp rdx, 0x10
jb 0x1800b59af
mov rcx, qword [rbp + 0x78]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b59aa
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800b5a84
call fcn.1800cd2cc
mov rax, qword [rbp + 0xc8]
mov qword [rbp + 0x88], rdi
mov qword [rbp + 0x90], 0xf
mov byte [rbp + 0x78], 0
cmp rax, 0x10
jb 0x1800b5a03
lea rdx, [rax + 1]
mov rax, r13
cmp rdx, 0x1000
jb 0x1800b59fb
mov r13, qword [r13 - 8]
add rdx, 0x27
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800b5a84
mov rcx, r13
call fcn.1800cd2cc
mov rdx, qword [r12 + 0x18]
cmp rdx, 0x10
jb 0x1800b5a3b
mov rcx, qword [r12]
inc rdx
cmp rdx, 0x1000
jb 0x1800b5a36
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800b5a84
mov rcx, r8
call fcn.1800cd2cc
mov qword [r12 + 0x10], rdi
mov qword [r12 + 0x18], 0xf
mov byte [r12], 0
mov rcx, qword [rbp + 0x22f0]
xor rcx, rsp
call fcn.1800cd010
lea r11, [rsp + 0x2400]
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.1800dc358
int3
call fcn.1800dc358
int3
call fcn.180088bc0
int3
call fcn.1800dc358
int3