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

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x150
mov qword [rsp + 0xf0], 0xfffffffffffffffe
mov qword [rsp + 0x190], rbx
mov rax, qword [0x180101090]
xor rax, rsp
mov qword [rsp + 0x148], rax
mov rbx, r9
mov r12d, r8d
mov rbp, rdx
mov r13d, ecx
mov rcx, rdx
call fcn.180004da0
lea r15, [0x180108f60]
xor r14d, r14d
test rbp, rbp
je 0x180008999
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, r14d
cmp eax, 0xffffffff
sete sil
mov dword [rsp + 0x98], 4
lea rax, [rsp + 0x98]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x9c]
lea r8, [0x1800cdde0]
lea rdx, str.SoftwareWOW6432Nodeprojonepodlp_smprule_
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x18000899e
cmp dword [rsp + 0x9c], 4
jne 0x18000899e
cmp dword [rsp + 0x90], r14d
je 0x18000899e
and dword [rsp + 0xd0], 0xfffffe00
mov qword [rsp + 0xd8], r14
mov qword [rsp + 0xe0], r14
mov qword [rsp + 0xe8], r14
lea rax, [rsp + 0x40]
mov qword [rsp + 0x90], rax
mov rcx, rbp
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov rdx, rax
mov qword [rsp + 0x118], 7
mov qword [rsp + 0x110], r14
mov word [rsp + 0x100], r14w
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rsp + 0xf8]
call fcn.18000f510
nop
lea rdx, [rsp + 0xf8]
lea rcx, [rsp + 0x68]
call fcn.180001590
nop
mov byte [rsp + 0x48], 4
bts dword [rsp + 0x48], 8
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], r14
mov rdx, qword [rax + 0x18]
cmp qword [rax + 0x20], 0x10
jb 0x180008667
mov rcx, qword [rax + 8]
jmp 0x18000866b
lea rcx, [rax + 8]
call fcn.18006587c
mov qword [rsp + 0x40], rax
lea r8, [0x1800ce1af]
lea rdx, str.bl_name
lea rcx, [rsp + 0xc8]
call fcn.1800671b4
mov rcx, rax
lea rdx, [rsp + 0x40]
call fcn.1800662a8
nop
cmp qword [rsp + 0x88], 0x10
jb 0x1800086b3
mov rcx, qword [rsp + 0x70]
call fcn.18009a864
mov qword [rsp + 0x88], socket
mov qword [rsp + 0x80], r14
mov byte [rsp + 0x70], 0
cmp qword [rsp + 0x118], 8
jb 0x1800086e4
mov rcx, qword [rsp + 0x100]
call fcn.18009a864
lea rax, [rsp + 0x40]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x118], 7
mov qword [rsp + 0x110], r14
mov word [rsp + 0x100], r14w
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbp
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rdx, rbp
lea rcx, [rsp + 0xf8]
call fcn.18000f510
nop
lea rdx, [rsp + 0xf8]
lea rcx, [rsp + 0x68]
call fcn.180001590
nop
mov byte [rsp + 0x48], 4
bts dword [rsp + 0x48], 8
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], r14
mov rdx, qword [rax + 0x18]
cmp qword [rax + 0x20], 0x10
jb 0x180008770
mov rcx, qword [rax + 8]
jmp 0x180008774
lea rcx, [rax + 8]
call fcn.18006587c
mov qword [rsp + 0x40], rax
lea r8, [0x1800ce1b7]
lea rdx, str.bl_path
lea rcx, [rsp + 0xc8]
call fcn.1800671b4
mov rcx, rax
lea rdx, [rsp + 0x40]
call fcn.1800662a8
nop
cmp qword [rsp + 0x88], 0x10
jb 0x1800087bc
mov rcx, qword [rsp + 0x70]
call fcn.18009a864
mov qword [rsp + 0x88], socket
mov qword [rsp + 0x80], r14
mov byte [rsp + 0x70], 0
cmp qword [rsp + 0x118], 8
jb 0x1800087ed
mov rcx, qword [rsp + 0x100]
call fcn.18009a864
lea rax, [rsp + 0x40]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x118], 7
mov qword [rsp + 0x110], r14
mov word [rsp + 0x100], r14w
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, r15
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rdx, r15
lea rcx, [rsp + 0xf8]
call fcn.18000f510
nop
lea rdx, [rsp + 0xf8]
lea rcx, [rsp + 0x68]
call fcn.180001590
nop
mov byte [rsp + 0x48], 4
bts dword [rsp + 0x48], 8
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], r14
mov rdx, qword [rax + 0x18]
cmp qword [rax + 0x20], 0x10
jb 0x180008879
mov rcx, qword [rax + 8]
jmp 0x18000887d
lea rcx, [rax + 8]
call fcn.18006587c
mov qword [rsp + 0x40], rax
lea r8, [0x1800ce1bf]
lea rdx, str.bl_proc
lea rcx, [rsp + 0xc8]
call fcn.1800671b4
mov rcx, rax
lea rdx, [rsp + 0x40]
call fcn.1800662a8
nop
cmp qword [rsp + 0x88], 0x10
jb 0x1800088c5
mov rcx, qword [rsp + 0x70]
call fcn.18009a864
mov qword [rsp + 0x88], socket
mov qword [rsp + 0x80], r14
mov byte [rsp + 0x70], 0
cmp qword [rsp + 0x118], 8
jb 0x1800088f6
mov rcx, qword [rsp + 0x100]
call fcn.18009a864
lea rax, [rsp + 0x40]
mov qword [rsp + 0x90], rax
mov byte [rsp + 0x48], 4
bts dword [rsp + 0x48], 8
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], r14
lea rcx, [0x1801039e0]
cmp qword [0x1801039f8], 0x10
cmovae rcx, qword [0x1801039e0]
mov edx, dword [0x1801039f0]
call fcn.18006587c
mov qword [rsp + 0x40], rax
lea r8, [0x1800ce1c9]
lea rdx, str.bl_hash4k
lea rcx, [rsp + 0xc8]
call fcn.1800671b4
mov rcx, rax
lea rdx, [rsp + 0x40]
call fcn.1800662a8
mov r9d, 1
xor r8d, r8d
lea rdx, [rsp + 0xc8]
lea rcx, str.t_bansendfile_log
call fcn.18005e25c
nop
lea rcx, [rsp + 0xc8]
call fcn.180066210
jmp 0x18000899e
mov esi, 1
and dword [rsp + 0xa8], 0xfffffe00
mov qword [rsp + 0xb0], r14
mov qword [rsp + 0xb8], r14
mov qword [rsp + 0xc0], r14
lea rax, [rsp + 0x40]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x118], 7
mov qword [rsp + 0x110], r14
mov word [rsp + 0x100], r14w
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, r15
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rdx, r15
lea rcx, [rsp + 0xf8]
call fcn.18000f510
nop
lea rdx, [rsp + 0xf8]
lea rcx, [rsp + 0x68]
call fcn.180001590
nop
mov byte [rsp + 0x48], 4
bts dword [rsp + 0x48], 8
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], r14
mov rdx, qword [rax + 0x18]
cmp qword [rax + 0x20], 0x10
jb 0x180008a4d
mov rcx, qword [rax + 8]
jmp 0x180008a51
lea rcx, [rax + 8]
call fcn.18006587c
mov qword [rsp + 0x40], rax
lea r8, [0x1800ce1e8]
lea rdx, str.proc
lea rcx, [rsp + 0xa0]
call fcn.1800671b4
mov rcx, rax
lea rdx, [rsp + 0x40]
call fcn.1800662a8
nop
cmp qword [rsp + 0x88], 0x10
jb 0x180008a99
mov rcx, qword [rsp + 0x70]
call fcn.18009a864
mov qword [rsp + 0x88], socket
mov qword [rsp + 0x80], r14
mov byte [rsp + 0x70], 0
cmp qword [rsp + 0x118], 8
jb 0x180008aca
mov rcx, qword [rsp + 0x100]
call fcn.18009a864
mov qword [rsp + 0x140], 7
mov qword [rsp + 0x138], r14
mov word [rsp + 0x128], r14w
test esi, esi
je 0x180008bcf
lea rdi, [0x1800cda60]
cmp qword [rbx + 0x18], 0
jne 0x180008b02
mov rbx, rdi
jmp 0x180008b13
cmp qword [rbx + 0x20], 8
jb 0x180008b0f
mov rbx, qword [rbx + 8]
jmp 0x180008b13
add rbx, 8
mov edx, 1
lea rcx, [rsp + 0xf8]
call fcn.180051f30
nop
cmp qword [rax + 0x20], 8
jb 0x180008b33
mov rax, qword [rax + 8]
jmp 0x180008b37
add rax, 8
lea rcx, [0x1800ce1ec]
test r12d, r12d
cmovne rdi, rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
mov r9, rbx
mov r8, rdi
lea rdx, [0x1800ce200]
lea rcx, [rsp + 0x68]
call fcn.180053a60
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x120]
call fcn.18000db80
nop
cmp qword [rsp + 0x88], 8
jb 0x180008b94
mov rcx, qword [rsp + 0x70]
call fcn.18009a864
mov qword [rsp + 0x88], 7
mov qword [rsp + 0x80], r14
mov word [rsp + 0x70], r14w
cmp qword [rsp + 0x118], 8
jb 0x180008dd3
mov rcx, qword [rsp + 0x100]
call fcn.18009a864
jmp 0x180008dd3
lea rax, [rsp + 0x40]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x118], 7
mov qword [rsp + 0x110], r14
mov word [rsp + 0x100], r14w
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbp
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rdx, rbp
lea rcx, [rsp + 0xf8]
call fcn.18000f510
nop
lea rdx, [rsp + 0xf8]
lea rcx, [rsp + 0x68]
call fcn.180001590
nop
mov byte [rsp + 0x48], 4
bts dword [rsp + 0x48], 8
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], r14
mov rdx, qword [rax + 0x18]
cmp qword [rax + 0x20], 0x10
jb 0x180008c5b
mov rcx, qword [rax + 8]
jmp 0x180008c5f
lea rcx, [rax + 8]
call fcn.18006587c
mov qword [rsp + 0x40], rax
lea r8, [0x1800cdc8c]
lea rdx, str.file
lea rcx, [rsp + 0xa0]
call fcn.1800671b4
mov rcx, rax
lea rdx, [rsp + 0x40]
call fcn.1800662a8
nop
cmp qword [rsp + 0x88], 0x10
jb 0x180008ca7
mov rcx, qword [rsp + 0x70]
call fcn.18009a864
mov qword [rsp + 0x88], socket
mov qword [rsp + 0x80], r14
mov byte [rsp + 0x70], 0
cmp qword [rsp + 0x118], 8
jb 0x180008cd8
mov rcx, qword [rsp + 0x100]
call fcn.18009a864
lea rdi, [0x1800cda60]
cmp qword [rbx + 0x18], 0
jne 0x180008ceb
mov rbx, rdi
jmp 0x180008cfc
cmp qword [rbx + 0x20], 8
jb 0x180008cf8
mov rbx, qword [rbx + 8]
jmp 0x180008cfc
add rbx, 8
mov edx, 1
lea rcx, [rsp + 0xf8]
call fcn.180051f30
nop
cmp qword [rax + 0x20], 8
jb 0x180008d1c
mov rsi, qword [rax + 8]
jmp 0x180008d20
lea rsi, [rax + 8]
mov rcx, rbp
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
lea rcx, [0x1800ce250]
lea r9, [0x1800ce258]
test eax, eax
cmovne r9, rcx
lea rcx, [0x1800ce1ec]
test r12d, r12d
cmovne rdi, rcx
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbx
mov r8, rdi
lea rdx, [0x1800ce260]
lea rcx, [rsp + 0x68]
call fcn.180053a60
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x120]
call fcn.18000db80
nop
cmp qword [rsp + 0x88], 8
jb 0x180008da1
mov rcx, qword [rsp + 0x70]
call fcn.18009a864
mov qword [rsp + 0x88], 7
mov qword [rsp + 0x80], r14
mov word [rsp + 0x70], r14w
cmp qword [rsp + 0x118], 8
jb 0x180008dd3
mov rcx, qword [rsp + 0x100]
call fcn.18009a864
lea rax, [rsp + 0x40]
mov qword [rsp + 0x90], rax
lea rdx, [rsp + 0x120]
lea rcx, [rsp + 0x68]
call fcn.180001590
nop
mov byte [rsp + 0x48], 4
bts dword [rsp + 0x48], 8
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], r14
mov rdx, qword [rax + 0x18]
cmp qword [rax + 0x20], 0x10
jb 0x180008e1e
mov rcx, qword [rax + 8]
jmp 0x180008e22
lea rcx, [rax + 8]
call fcn.18006587c
mov qword [rsp + 0x40], rax
lea r8, [0x1800cda67]
lea rdx, [0x1800cda64]
lea rcx, [rsp + 0xa0]
call fcn.1800671b4
mov rcx, rax
lea rdx, [rsp + 0x40]
call fcn.1800662a8
nop
cmp qword [rsp + 0x88], 0x10
jb 0x180008e6a
mov rcx, qword [rsp + 0x70]
call fcn.18009a864
lea rdx, str.WeChat_Files
mov rcx, rbp
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
test rax, rax
je 0x180008e99
cmp r13d, 3
jne 0x180008e99
mov rdx, rbp
lea rcx, str.ignore_notify:__s
call fcn.18005c5d0
jmp 0x180008f99
call fcn.180051898
mov r8d, eax
lea rdx, str.notifyMsg__08x
lea rcx, [rsp + 0xf8]
call fcn.180053a60
nop
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0xa0]
call fcn.180067bb0
nop
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.180001500
cmp qword [rax + 0x20], 8
jb 0x180008ee3
mov rdi, qword [rax + 8]
jmp 0x180008ee7
lea rdi, [rax + 8]
lea rbx, [rsp + 0x100]
cmp qword [rsp + 0x118], 8
cmovae rbx, qword [rsp + 0x100]
test rdi, rdi
je 0x180008f11
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
jmp 0x180008f14
mov eax, r14d
lea eax, [rax + rax + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdi
mov r9d, 1
mov r8, rbx
lea rdx, str.SoftwareWOW6432Nodeprojonepodlp_bansendfile_
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHSetValueW]
cmp qword [rsp + 0x88], 8
jb 0x180008f53
mov rcx, qword [rsp + 0x70]
call fcn.18009a864
mov qword [rsp + 0x88], 7
mov qword [rsp + 0x80], r14
mov word [rsp + 0x70], r14w
cmp qword [rsp + 0x60], 0x10
jb 0x180008f80
mov rcx, qword [rsp + 0x48]
call fcn.18009a864
nop
cmp qword [rsp + 0x118], 8
jb 0x180008f99
mov rcx, qword [rsp + 0x100]
call fcn.18009a864
nop
cmp qword [rsp + 0x140], 8
jb 0x180008fb1
mov rcx, qword [rsp + 0x128]
call fcn.18009a864
mov qword [rsp + 0x140], 7
mov qword [rsp + 0x138], r14
mov word [rsp + 0x128], r14w
movsx eax, byte [rsp + 0xa8]
cmp eax, 4
je 0x180009002
add eax, 0xfffffffa
cmp eax, 1
ja 0x18000901a
mov rdi, qword [rsp + 0xa0]
test rdi, rdi
je 0x18000901a
mov rcx, rdi
call fcn.18006afa0
mov rcx, rdi
call fcn.18009a864
jmp 0x18000901a
bt dword [rsp + 0xa8], 8
jae 0x18000901a
mov rcx, qword [rsp + 0xa0]
call fcn.18009a9fc
mov rcx, qword [rsp + 0xb0]
test rcx, rcx
je 0x180009047
lea rdi, [rcx - 8]
lea r9, [0x180065be8]
mov r8d, dword [rdi]
mov edx, 8
call fcn.18009ae90
mov rcx, rdi
call fcn.18009af58
mov rcx, qword [rsp + 0x148]
xor rcx, rsp
call fcn.180099fe0
mov rbx, qword [rsp + 0x190]
add rsp, 0x150
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret