Function at 0x180018010
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x3b8]
sub rsp, 0x4b0
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x180064138]
xor rax, rsp
mov qword [rbp + 0x3a0], rax
mov rsi, rcx
mov qword [rsp + 0x78], rcx
xor ebx, ebx
mov dword [rsp + 0x40], ebx
call fcn.180007b50
mov rcx, rax
test rax, rax
je 0x1800183cc
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsi], rax
mov dword [rsp + 0x40], 1
lea rcx, [rsp + 0x68]
call fcn.180018660
nop
lea rdx, str.ludashi
mov rcx, qword [rsp + 0x68]
call fcn.180033a50
lea rdi, [rbx - 1]
test eax, eax
jne 0x1800181f7
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x190]
call fcn.180027560
mov dword [rsp + 0x48], 1
mov dword [rsp + 0x44], 0x104
mov qword [rsp + 0x58], rbx
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 0x201
xor r8d, r8d
lea rdx, str.SoftwareLudashi
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x180018379
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x190]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x48]
xor r8d, r8d
lea rdx, str.Setup_Path
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x180018379
lea rdx, str.ComputerZ_CN.exe
lea rcx, [rbp + 0x190]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rcx, [rbp + 0x190]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x180018379
call fcn.180007b50
mov rcx, rax
test rax, rax
je 0x1800183d7
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x190]
cmp rax, 0x10000
jae 0x1800181af
lea rax, [rbp + 0x190]
movzx edx, ax
lea rcx, [rsp + 0x30]
call fcn.18000cc80
jmp 0x1800181df
lea rcx, [rbp + 0x190]
mov rax, rdi
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x1800181c0
mov r8d, eax
lea rdx, [rbp + 0x190]
lea rcx, [rsp + 0x30]
call fcn.18000fcf0
nop
mov rdx, rsi
lea rcx, [rsp + 0x30]
call fcn.18000c2a0
nop
mov rdx, qword [rsp + 0x30]
jmp 0x18001835f
lea rdx, str.bizhi
mov rcx, qword [rsp + 0x68]
call fcn.180033a50
test eax, eax
jne 0x180018379
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x80]
call fcn.180027560
mov dword [rsp + 0x50], 1
mov dword [rsp + 0x4c], 0x104
mov qword [rsp + 0x60], rbx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x201
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths360wpapp.exe
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x180018379
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
xor r8d, r8d
lea rdx, str.Path
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x180018379
lea rdx, str.birdwp.exe
lea rcx, [rbp - 0x80]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rcx, [rbp - 0x80]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1800182d7
lea rdx, str...360wpapp.exe
lea rcx, [rbp - 0x80]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rcx, [rbp - 0x80]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x180018379
call fcn.180007b50
mov rcx, rax
test rax, rax
je 0x1800183c1
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x80]
cmp rax, 0x10000
jae 0x180018328
lea rax, [rbp - 0x80]
movzx edx, ax
lea rcx, [rsp + 0x38]
call fcn.18000cc80
jmp 0x18001834c
lea rcx, [rbp - 0x80]
mov rax, rdi
nop
inc rax
cmp word [rcx + rax*2], 0
jne 0x180018330
mov r8d, eax
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x38]
call fcn.18000fcf0
nop
mov rdx, rsi
lea rcx, [rsp + 0x38]
call fcn.18000c2a0
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x180018379
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x180018396
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [r8 + 8]
mov rax, rsi
mov rcx, qword [rbp + 0x3a0]
xor rcx, rsp
call fcn.18001e0c0
lea r11, [rsp + 0x4b0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
mov ecx, 0x80004005
call fcn.180008e40
nop
mov ecx, 0x80004005
call fcn.180008e40
nop
mov ecx, 0x80004005
call fcn.180008e40
int3