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

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
lea rbp, [rsp - 0x22e0]
mov eax, 0x23e0
call fcn.1800f25c0
sub rsp, rax
mov rax, qword [0x180124010]
xor rax, rsp
mov qword [rbp + 0x22d0], rax
lea rdx, [0x180127638]
lea rcx, [rbp - 0x40]
call fcn.1800bd4e0
mov rdx, rax
lea rcx, [rbp + 0x90]
call fcn.180089750
lea rdx, [0x180127218]
lea rcx, [rbp - 0x40]
call fcn.1800bd4e0
mov rdx, rax
lea rcx, [rbp + 0x58]
call fcn.180089750
cmp qword [rbp + 0x70], 0x10
lea rax, [rbp]
lea rdx, [rbp + 0x58]
mov qword [rsp + 0x20], rax
cmovae rdx, qword [rbp + 0x58]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov r12, qword [rbp + 0xa8]
xor edi, edi
mov r13, qword [rbp + 0x90]
test eax, eax
jne 0x1800b9058
xor edx, edx
lea rcx, [rbp + 0xc0]
mov r8d, 0x208
call fcn.1800cdea0
mov rcx, qword [rbp]
lea rax, [rbp + 0xb0]
mov qword [rsp + 0x58], rax
lea r8, [rbp + 0x30]
lea rax, [rbp + 0x78]
mov dword [rbp + 0x30], 0x104
mov qword [rsp + 0x50], rax
lea rdx, [rbp + 0xc0]
lea rax, [rbp + 0x7c]
mov dword [rbp + 0x2c], edi
mov qword [rsp + 0x48], rax
xor r9d, r9d
lea rax, [rbp + 0x80]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x28]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x84]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x88]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x2c]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [rbp + 0x28]
test eax, eax
je 0x1800b9058
mov r14, qword [rbp + 0xa0]
mov r15d, edi
nop dword [rax]
mov rcx, qword [rbp]
lea r9, [rbp + 0x34]
mov qword [rsp + 0x38], rdi
lea r8, [rbp + 0x2d0]
mov qword [rsp + 0x30], rdi
mov edx, r15d
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
mov dword [rbp + 0x34], 0x1000
mov word [rbp + 0x2d0], di
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x1800b904b
mov qword [rbp + 0x48], rdi
lea rax, [rbp + 0x2d0]
mov qword [rbp + 0x50], 7
mov r8, 0xffffffffffffffff
mov word [rbp + 0x38], di
inc r8
cmp word [rax + r8*2], 0
jne 0x1800b8c00
lea rdx, [rbp + 0x2d0]
lea rcx, [rbp + 0x38]
call fcn.1800bd8c0
cmp qword [rbp + 0x50], 8
lea rdx, [rbp + 0x38]
mov rax, qword [rbp + 0x48]
lea rsi, [rbp + 0x38]
cmovae rdx, qword [rbp + 0x38]
mov ecx, 0xf
cmovae rsi, qword [rbp + 0x38]
mov qword [rbp + 0x18], rdi
mov qword [rbp + 0x20], rcx
lea rbx, [rdx + rax*2]
mov byte [rbp + 8], 0
mov rdx, rbx
sub rdx, rsi
sar rdx, 1
cmp rdx, 0x10
jb 0x1800b8c6d
lea rcx, [rbp + 8]
call fcn.1800c3fa0
mov rcx, qword [rbp + 0x20]
xor edi, edi
mov qword [rbp + 0x18], rdi
cmp rsi, rbx
je 0x1800b8cb5
movzx r9d, byte [rsi]
cmp rdi, rcx
jae 0x1800b8c9b
lea rax, [rdi + 1]
cmp rcx, 0x10
mov qword [rbp + 0x18], rax
lea rax, [rbp + 8]
cmovae rax, qword [rbp + 8]
mov byte [rax + rdi], r9b
mov byte [rax + rdi + 1], 0
jmp 0x1800b8ca4
lea rcx, [rbp + 8]
call fcn.1800beae0
mov rcx, qword [rbp + 0x20]
add rsi, 2
mov rdi, qword [rbp + 0x18]
cmp rsi, rbx
jne 0x1800b8c72
cmp rcx, 0x10
lea rsi, [rbp + 8]
cmovae rsi, qword [rbp + 8]
cmp rdi, 0x10
jae 0x1800b8cd9
movups xmm0, xmmword [rsi]
mov qword [rbp - 0x68], 0xf
movups xmmword [rbp - 0x80], xmm0
jmp 0x1800b8d52
movabs rax, 0x7fffffffffffffff
mov rbx, rdi
or rbx, 0xf
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x1800b8d2d
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1800b9113
mov rcx, rax
call fcn.1800caa38
mov rcx, rax
test rax, rax
je 0x1800b9107
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1800b8d3b
test rcx, rcx
je 0x1800b8d39
call fcn.1800caa38
jmp 0x1800b8d3b
xor eax, eax
lea r8, [rdi + 1]
mov qword [rbp - 0x80], rax
mov rdx, rsi
mov rcx, rax
call fcn.1800ce0c0
mov qword [rbp - 0x68], rbx
mov qword [rbp - 0x70], rdi
cmp r12, 0x10
lea rdi, [rbp + 0x90]
cmovae rdi, r13
cmp r14, 0x10
jae 0x1800b8d7e
movups xmm0, xmmword [rdi]
mov qword [rsp + 0x78], 0xf
movups xmmword [rsp + 0x60], xmm0
jmp 0x1800b8df9
movabs rsi, 0x7fffffffffffffff
mov rbx, r14
or rbx, 0xf
cmp rbx, rsi
cmova rbx, rsi
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x1800b8dd2
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1800b9113
mov rcx, rax
call fcn.1800caa38
mov rcx, rax
test rax, rax
je 0x1800b9107
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1800b8de0
test rcx, rcx
je 0x1800b8dde
call fcn.1800caa38
jmp 0x1800b8de0
xor eax, eax
lea r8, [r14 + 1]
mov qword [rsp + 0x60], rax
mov rdx, rdi
mov rcx, rax
call fcn.1800ce0c0
mov qword [rsp + 0x78], rbx
lea rdx, [rbp - 0x80]
mov qword [rsp + 0x70], r14
lea rcx, [rsp + 0x60]
call fcn.18008b370
test eax, eax
jle 0x1800b8fbe
lea rdx, [0x180127118]
lea rcx, [rbp - 0x20]
call fcn.1800bd4e0
mov rdx, rax
lea rcx, [rbp - 0x40]
call fcn.180089750
lea rdx, [rbp + 8]
mov rbx, rax
lea rcx, [rbp - 0x60]
call fcn.18008c420
mov r8, qword [rbx + 0x10]
mov rcx, rax
mov rdx, qword [rax + 0x18]
mov r9, qword [rax + 0x10]
mov rax, rdx
sub rax, r9
cmp r8, rax
jbe 0x1800b8e7c
mov rax, qword [rbx + 0x18]
sub rax, r8
cmp rax, r9
jb 0x1800b8e7c
cmp rdx, 0x10
jb 0x1800b8e6f
mov rcx, qword [rcx]
mov r8, rcx
mov rcx, rbx
call fcn.1800c2200
jmp 0x1800b8e8e
cmp qword [rbx + 0x18], 0x10
jb 0x1800b8e86
mov rbx, qword [rbx]
mov rdx, rbx
call fcn.1800bd330
movups xmm0, xmmword [rax]
xor edi, edi
movups xmmword [rsp + 0x60], xmm0
movups xmm0, xmmword [rax + 0x10]
mov byte [rax], dil
mov qword [rax + 0x18], 0xf
mov qword [rax + 0x10], rdi
mov rdx, qword [rbp + 0x20]
movups xmmword [rbp - 0x80], xmm0
cmp rdx, 0x10
jb 0x1800b8eea
mov rcx, qword [rbp + 8]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b8ee5
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800b9119
call fcn.1800caa30
movups xmm0, xmmword [rsp + 0x60]
mov rdx, qword [rbp - 0x48]
movups xmm1, xmmword [rbp - 0x80]
movups xmmword [rbp + 8], xmm0
movups xmmword [rbp + 0x18], xmm1
cmp rdx, 0x10
jb 0x1800b8f36
mov rcx, qword [rbp - 0x60]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b8f31
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800b9119
call fcn.1800caa30
mov rdx, qword [rbp - 0x28]
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x48], 0xf
mov byte [rbp - 0x60], 0
cmp rdx, 0x10
jb 0x1800b8f81
mov rcx, qword [rbp - 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b8f7c
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800b9119
call fcn.1800caa30
cmp qword [rbp + 0x20], 0x10
lea rcx, [rbp + 8]
cmovae rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x1800b8f9e
xor al, al
jmp 0x1800b8fa3
shr al, 4
and al, 1
test al, al
je 0x1800b8fc0
lea rdx, [rbp + 8]
lea rcx, [rbp - 0x20]
call fcn.1800bd4e0
mov rcx, rax
call fcn.1800b81a0
jmp 0x1800b8fc0
xor edi, edi
mov rdx, qword [rbp + 0x20]
cmp rdx, 0x10
jb 0x1800b8ffb
mov rcx, qword [rbp + 8]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b8ff6
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800b9107
call fcn.1800caa30
mov rdx, qword [rbp + 0x50]
mov qword [rbp + 0x18], rdi
mov qword [rbp + 0x20], 0xf
mov byte [rbp + 8], 0
cmp rdx, 8
jb 0x1800b904b
mov rcx, qword [rbp + 0x38]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b9046
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800b9107
call fcn.1800caa30
inc r15d
cmp r15d, dword [rbp + 0x28]
jb 0x1800b8ba0
mov rdx, qword [rbp + 0x70]
cmp rdx, 0x10
jb 0x1800b9093
mov rcx, qword [rbp + 0x58]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b908e
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800b910d
call fcn.1800caa30
mov qword [rbp + 0x68], rdi
mov qword [rbp + 0x70], 0xf
mov byte [rbp + 0x58], 0
cmp r12, 0x10
jb 0x1800b90d7
lea rdx, [r12 + 1]
mov rax, r13
cmp rdx, 0x1000
jb 0x1800b90cf
mov r13, qword [r13 - 8]
add rdx, 0x27
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800b910d
mov rcx, r13
call fcn.1800caa30
mov rcx, qword [rbp + 0x22d0]
xor rcx, rsp
call fcn.1800ca770
lea r11, [rsp + 0x23e0]
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
call fcn.1800d9c90
int3
call fcn.1800d9c90
int3
call fcn.1800883a0
int3
call fcn.1800d9c90
int3