Function at 0x1800a38e0
Capabilities:
Check if file exists
Get file attributes
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 - 0x22c8]
mov eax, 0x23c8
call fcn.1800d3800
sub rsp, rax
lea rdx, [0x180104158]
lea rcx, [rbp + 0x60]
call fcn.1800a79d0
mov rdx, rax
lea rcx, [rbp + 0x40]
call fcn.18008a600
lea rdx, [0x180103ef8]
lea rcx, [rbp + 0x60]
call fcn.1800a79d0
mov rdx, rax
lea rcx, [rbp - 0x18]
call fcn.18008a600
cmp qword [rbp], 0x10
lea rax, [rbp - 0x80]
lea rdx, [rbp - 0x18]
mov qword [rsp + 0x20], rax
cmovae rdx, qword [rbp - 0x18]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov r12, qword [rbp + 0x58]
xor esi, esi
mov r13, qword [rbp + 0x40]
test eax, eax
jne 0x1800a3f01
xor edx, edx
lea rcx, [rbp + 0xb0]
mov r8d, 0x208
call fcn.1800b2d40
mov rcx, qword [rbp - 0x80]
lea rax, [rbp + 0x80]
mov qword [rsp + 0x58], rax
lea r8, [rbp + 0x2320]
lea rax, [rbp + 8]
mov dword [rbp + 0x2320], 0x104
mov qword [rsp + 0x50], rax
lea rdx, [rbp + 0xb0]
lea rax, [rbp + 0xc]
mov dword [rbp + 0x2318], esi
mov qword [rsp + 0x48], rax
xor r9d, r9d
lea rax, [rbp + 0x10]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x2310]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x14]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x18]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x2318]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [rbp + 0x2310]
test eax, eax
je 0x1800a3f01
mov r14, qword [rbp + 0x50]
mov r15d, esi
nop
mov rcx, qword [rbp - 0x80]
lea r9, [rbp + 0x2328]
mov qword [rsp + 0x38], rsi
lea r8, [rbp + 0x2c0]
mov qword [rsp + 0x30], rsi
mov edx, r15d
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
mov dword [rbp + 0x2328], 0x1000
mov word [rbp + 0x2c0], si
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x1800a3ef1
mov qword [rbp - 0x68], rsi
lea rax, [rbp + 0x2c0]
mov qword [rbp - 0x60], 7
mov r8, 0xffffffffffffffff
mov word [rbp - 0x78], si
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1800a3a90
lea rdx, [rbp + 0x2c0]
lea rcx, [rbp - 0x78]
call fcn.1800a7dc0
cmp qword [rbp - 0x60], 8
lea rdx, [rbp - 0x78]
mov rax, qword [rbp - 0x68]
lea rdi, [rbp - 0x78]
cmovae rdx, qword [rbp - 0x78]
lea rcx, [rsp + 0x60]
cmovae rdi, qword [rbp - 0x78]
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], 0xf
lea rbx, [rdx + rax*2]
mov byte [rsp + 0x60], 0
mov rdx, rbx
sub rdx, rdi
sar rdx, 1
call fcn.1800a9410
cmp rdi, rbx
je 0x1800a3b49
nop word [rax + rax]
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x78]
movzx r9d, byte [rdi]
cmp rcx, rdx
jae 0x1800a3b36
lea rax, [rcx + 1]
cmp rdx, 0x10
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x60]
cmovae rax, qword [rsp + 0x60]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1800a3b40
lea rcx, [rsp + 0x60]
call fcn.1800a8980
add rdi, 2
cmp rdi, rbx
jne 0x1800a3b00
cmp qword [rsp + 0x78], 0x10
lea rsi, [rsp + 0x60]
mov rdi, qword [rsp + 0x70]
cmovae rsi, qword [rsp + 0x60]
cmp rdi, 0x10
jae 0x1800a3b76
movups xmm0, xmmword [rsi]
mov qword [rbp - 0x20], 0xf
movups xmmword [rbp - 0x38], xmm0
jmp 0x1800a3bef
movabs rax, 0x7fffffffffffffff
mov rbx, rdi
or rbx, 0xf
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x1800a3bca
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1800a3f9c
mov rcx, rax
call fcn.1800afef8
mov rcx, rax
test rax, rax
je 0x1800a3f90
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1800a3bd8
test rcx, rcx
je 0x1800a3bd6
call fcn.1800afef8
jmp 0x1800a3bd8
xor eax, eax
lea r8, [rdi + 1]
mov qword [rbp - 0x38], rax
mov rdx, rsi
mov rcx, rax
call fcn.1800b2f60
mov qword [rbp - 0x20], rbx
mov qword [rbp - 0x28], rdi
cmp r12, 0x10
lea rdi, [rbp + 0x40]
cmovae rdi, r13
cmp r14, 0x10
jae 0x1800a3c16
movups xmm0, xmmword [rdi]
mov qword [rbp - 0x40], 0xf
movups xmmword [rbp - 0x58], xmm0
jmp 0x1800a3c8f
movabs rax, 0x7fffffffffffffff
mov rbx, r14
or rbx, 0xf
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x1800a3c6a
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1800a3f9c
mov rcx, rax
call fcn.1800afef8
mov rcx, rax
test rax, rax
je 0x1800a3f90
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1800a3c78
test rcx, rcx
je 0x1800a3c76
call fcn.1800afef8
jmp 0x1800a3c78
xor eax, eax
lea r8, [r14 + 1]
mov qword [rbp - 0x58], rax
mov rdx, rdi
mov rcx, rax
call fcn.1800b2f60
mov qword [rbp - 0x40], rbx
lea rdx, [rbp - 0x38]
mov qword [rbp - 0x48], r14
lea rcx, [rbp - 0x58]
call fcn.18008c1a0
test eax, eax
jle 0x1800a3e5f
lea rdx, [0x180103e18]
lea rcx, [rbp + 0x88]
call fcn.1800a79d0
mov rdx, rax
lea rcx, [rbp + 0x60]
call fcn.18008a600
lea rdx, [rsp + 0x60]
mov rbx, rax
lea rcx, [rbp + 0x20]
call fcn.18008d210
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 0x1800a3d14
mov rax, qword [rbx + 0x18]
sub rax, r8
cmp rax, r9
jb 0x1800a3d14
cmp rdx, 0x10
jb 0x1800a3d07
mov rcx, qword [rcx]
mov r8, rcx
mov rcx, rbx
call fcn.1800a9670
jmp 0x1800a3d26
cmp qword [rbx + 0x18], 0x10
jb 0x1800a3d1e
mov rbx, qword [rbx]
mov rdx, rbx
call fcn.1800a7730
movups xmm0, xmmword [rax]
xor esi, esi
movups xmmword [rbp - 0x58], xmm0
movups xmm0, xmmword [rax + 0x10]
mov byte [rax], sil
mov qword [rax + 0x18], 0xf
mov qword [rax + 0x10], rsi
mov rdx, qword [rsp + 0x78]
movups xmmword [rbp - 0x38], xmm0
cmp rdx, 0x10
jb 0x1800a3d83
mov rcx, qword [rsp + 0x60]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800a3d7e
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800a3fa2
call fcn.1800afef0
movups xmm0, xmmword [rbp - 0x58]
mov rdx, qword [rbp + 0x38]
movups xmm1, xmmword [rbp - 0x38]
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm1
cmp rdx, 0x10
jb 0x1800a3dd0
mov rcx, qword [rbp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800a3dcb
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800a3fa2
call fcn.1800afef0
mov rdx, qword [rbp + 0x78]
mov qword [rbp + 0x30], rsi
mov qword [rbp + 0x38], 0xf
mov byte [rbp + 0x20], 0
cmp rdx, 0x10
jb 0x1800a3e1b
mov rcx, qword [rbp + 0x60]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800a3e16
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800a3fa2
call fcn.1800afef0
cmp qword [rsp + 0x78], 0x10
lea rcx, [rsp + 0x60]
cmovae rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x1800a3e3b
xor al, al
jmp 0x1800a3e40
shr al, 4
and al, 1
test al, al
je 0x1800a3e61
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x88]
call fcn.1800a79d0
mov rcx, rax
call fcn.1800a2fc0
jmp 0x1800a3e61
xor esi, esi
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x1800a3e9e
mov rcx, qword [rsp + 0x60]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800a3e99
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800a3f90
call fcn.1800afef0
mov rdx, qword [rbp - 0x60]
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], 0xf
mov byte [rsp + 0x60], 0
cmp rdx, 8
jb 0x1800a3ef1
mov rcx, qword [rbp - 0x78]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800a3eec
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800a3f90
call fcn.1800afef0
inc r15d
cmp r15d, dword [rbp + 0x2310]
jb 0x1800a3a20
mov rdx, qword [rbp]
cmp rdx, 0x10
jb 0x1800a3f38
mov rcx, qword [rbp - 0x18]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800a3f33
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800a3f96
call fcn.1800afef0
mov qword [rbp - 8], rsi
mov qword [rbp], 0xf
mov byte [rbp - 0x18], 0
cmp r12, 0x10
jb 0x1800a3f7c
lea rdx, [r12 + 1]
mov rax, r13
cmp rdx, 0x1000
jb 0x1800a3f74
mov r13, qword [r13 - 8]
add rdx, 0x27
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800a3f96
mov rcx, r13
call fcn.1800afef0
add rsp, 0x23c8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1800bb0c0
int3
call fcn.1800bb0c0
int3
call fcn.1800893c0
int3
call fcn.1800bb0c0
int3