Function at 0x18000bf90
Capabilities:
Connect to wmi namespace via wbemlocator
Get common file path
Get disk information
Get mac address on windows
Query or enumerate registry value
Reference wmi statements
Set registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x698]
sub rsp, 0x770
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1801878e0]
xor rax, rsp
mov qword [rbp + 0x660], rax
mov rbx, rcx
mov qword [rbp - 0x80], rcx
xor edx, edx
mov r8d, 0x200
call fcn.18007f510
lea rsi, [rbx + 0x200]
xor edx, edx
mov r8d, 0x200
mov rcx, rsi
call fcn.18007f510
lea r12, [rbx + 0x400]
xor edx, edx
mov r8d, 0x200
mov rcx, r12
call fcn.18007f510
lea r14, [rbx + 0x600]
xor edx, edx
mov r8d, 0x200
mov rcx, r14
call fcn.18007f510
lea r13, [rbx + 0x800]
xor edx, edx
mov r8d, 0x200
mov rcx, r13
call fcn.18007f510
lea rcx, [rbx + 0xa00]
xor edx, edx
mov r8d, 0x200
call fcn.18007f510
lea rdi, [rbx + 0xc00]
xor edx, edx
mov r8d, 0x200
mov rcx, rdi
call fcn.18007f510
lea rcx, [rbx + 0xe00]
xor edx, edx
mov r8d, 0x200
call fcn.18007f510
lea rcx, [rbx + 0x1000]
xor edx, edx
mov r8d, 0x200
call fcn.18007f510
lea rcx, [rbx + 0x1200]
xor edx, edx
mov r8d, 0x200
call fcn.18007f510
lea rcx, [rbx + 0x1400]
xor edx, edx
mov r8d, 0x200
call fcn.18007f510
lea rcx, [rbx + 0x1600]
xor edx, edx
mov r8d, 0x200
call fcn.18007f510
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
xor ebx, ebx
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
or r15, 0xffffffffffffffff
mov edx, r15d
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
js 0x18000c884
mov qword [rbp - 0x50], rbx
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
lea r9, [0x1800ba760]
xor edx, edx
lea r8d, [rbx + 1]
lea rcx, [0x1800ba830]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x18000c884
mov qword [rbp - 0x58], rbx
mov rcx, qword [rbp - 0x50]
mov rax, qword [rcx]
lea rdx, [rbp - 0x58]
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
lea rdx, str.ROOTCIMV2
call qword [rax + Ordinal_26]
test eax, eax
js 0x18000c87a
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
lea edx, [rbx + 0xa]
mov rcx, qword [rbp - 0x58]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x18000c870
mov qword [rsp + 0x68], rbx
mov rcx, qword [rbp - 0x58]
mov rax, qword [rcx]
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rbx
lea r9d, [rbx + 0x30]
lea r8, str.SELECT__FROM_Win32_ComputerSystemProduct
lea rdx, [0x1800ca538]
call qword [rax + LoadRegTypeLib]
test eax, eax
js 0x18000c292
mov dword [rsp + 0x74], ebx
mov qword [rsp + 0x60], rbx
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
lea rdx, [rsp + 0x74]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x60]
lea r8d, [rbx + 1]
mov edx, r15d
call qword [rax + 0x20]
test eax, eax
js 0x18000c287
cmp dword [rsp + 0x74], ebx
jbe 0x18000c287
mov word [rbp - 0x78], bx
xor eax, eax
mov qword [rbp - 0x76], rax
mov qword [rbp - 0x6e], rax
mov dword [rbp - 0x66], eax
mov word [rbp - 0x62], ax
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
lea r9, [rbp - 0x78]
xor r8d, r8d
lea rdx, str.UUID
call qword [rax + 0x20]
test eax, eax
js 0x18000c27c
mov r8d, 0x100
mov rdx, qword [rbp - 0x70]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_lstrcpynW]
lea rcx, [rbp - 0x78]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x58]
mov rax, qword [rcx]
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rbx
mov r9d, 0x30
lea r8, str.SELECT__FROM_Win32_ComputerSystemProduct
lea rdx, [0x1800ca538]
call qword [rax + LoadRegTypeLib]
test eax, eax
js 0x18000c36f
mov dword [rsp + 0x74], ebx
mov qword [rsp + 0x60], rbx
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
lea rdx, [rsp + 0x74]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x60]
mov r8d, 1
mov edx, r15d
call qword [rax + 0x20]
test eax, eax
js 0x18000c364
cmp dword [rsp + 0x74], ebx
jbe 0x18000c364
mov word [rbp - 0x78], bx
xor eax, eax
mov qword [rbp - 0x76], rax
mov qword [rbp - 0x6e], rax
mov dword [rbp - 0x66], eax
mov word [rbp - 0x62], ax
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
lea r9, [rbp - 0x78]
xor r8d, r8d
lea rdx, str.Name
call qword [rax + 0x20]
test eax, eax
js 0x18000c359
mov r8d, 0x100
mov rdx, qword [rbp - 0x70]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_lstrcpynW]
lea rcx, [rbp - 0x78]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x58]
mov rax, qword [rcx]
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rbx
mov r9d, 0x30
lea r8, str.SELECT__FROM_Win32_OperatingSystem
lea rdx, [0x1800ca538]
call qword [rax + LoadRegTypeLib]
test eax, eax
js 0x18000c45c
mov dword [rsp + 0x74], ebx
mov qword [rsp + 0x60], rbx
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
lea rdx, [rsp + 0x74]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x60]
mov r8d, 1
mov edx, r15d
call qword [rax + 0x20]
test eax, eax
js 0x18000c44b
cmp dword [rsp + 0x74], ebx
jbe 0x18000c44b
mov word [rbp - 0x78], bx
xor eax, eax
mov qword [rbp - 0x76], rax
mov qword [rbp - 0x6e], rax
mov dword [rbp - 0x66], eax
mov word [rbp - 0x62], ax
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
lea r9, [rbp - 0x78]
xor r8d, r8d
lea rdx, str.SerialNumber
call qword [rax + 0x20]
mov r14, qword [rbp - 0x80]
test eax, eax
js 0x18000c43e
mov r8d, 0x100
mov rdx, qword [rbp - 0x70]
lea rcx, [r14 + 0xa00]
call qword [sym.imp.KERNEL32.dll_lstrcpynW]
lea rcx, [rbp - 0x78]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
jmp 0x18000c44f
mov r14, qword [rbp - 0x80]
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
jmp 0x18000c460
mov r14, qword [rbp - 0x80]
mov rcx, qword [rbp - 0x58]
mov rax, qword [rcx]
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rbx
mov r9d, 0x30
lea r8, str.SELECT__FROM_Win32_OperatingSystem
lea rdx, [0x1800ca538]
call qword [rax + LoadRegTypeLib]
test eax, eax
js 0x18000c565
mov dword [rsp + 0x74], ebx
mov qword [rsp + 0x60], rbx
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
lea rdx, [rsp + 0x74]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x60]
mov r8d, 1
mov edx, r15d
call qword [rax + 0x20]
test eax, eax
js 0x18000c55a
cmp dword [rsp + 0x74], ebx
jbe 0x18000c55a
mov word [rbp - 0x78], bx
xor eax, eax
mov qword [rbp - 0x76], rax
mov qword [rbp - 0x6e], rax
mov dword [rbp - 0x66], eax
mov word [rbp - 0x62], ax
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
lea r9, [rbp - 0x78]
xor r8d, r8d
lea rdx, str.InstallDate
call qword [rax + 0x20]
test eax, eax
js 0x18000c54f
mov r8d, 0x100
mov rdx, qword [rbp - 0x70]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcpynW]
cmp word [rdi], bx
je 0x18000c545
mov rax, rdi
nop dword [rax]
cmp word [rdi], 0x2e
jne 0x18000c539
mov word [rdi], bx
add rax, 2
mov rdi, rax
cmp word [rax], bx
jne 0x18000c530
lea rcx, [rbp - 0x78]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x58]
mov rax, qword [rcx]
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rbx
mov r9d, 0x30
lea r8, str.SELECT__FROM_Win32_BIOS
lea rdx, [0x1800ca538]
call qword [rax + LoadRegTypeLib]
test eax, eax
js 0x18000c646
mov dword [rsp + 0x74], ebx
mov qword [rsp + 0x60], rbx
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
lea rdx, [rsp + 0x74]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x60]
mov r8d, 1
mov edx, r15d
call qword [rax + 0x20]
test eax, eax
js 0x18000c63b
cmp dword [rsp + 0x74], ebx
jbe 0x18000c63b
mov word [rbp - 0x78], bx
xor eax, eax
mov qword [rbp - 0x76], rax
mov qword [rbp - 0x6e], rax
mov dword [rbp - 0x66], eax
mov word [rbp - 0x62], ax
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
lea r9, [rbp - 0x78]
xor r8d, r8d
lea rdx, str.SerialNumber
call qword [rax + 0x20]
test eax, eax
js 0x18000c630
mov r8d, 0x100
mov rdx, qword [rbp - 0x70]
lea rcx, [r14 + 0xe00]
call qword [sym.imp.KERNEL32.dll_lstrcpynW]
lea rcx, [rbp - 0x78]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x58]
mov rax, qword [rcx]
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rbx
mov r9d, 0x30
lea r8, str.SELECT__FROM_Win32_BIOS
lea rdx, [0x1800ca538]
call qword [rax + LoadRegTypeLib]
test eax, eax
js 0x18000c727
mov dword [rsp + 0x74], ebx
mov qword [rsp + 0x60], rbx
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
lea rdx, [rsp + 0x74]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x60]
mov r8d, 1
mov edx, r15d
call qword [rax + 0x20]
test eax, eax
js 0x18000c71c
cmp dword [rsp + 0x74], ebx
jbe 0x18000c71c
mov word [rbp - 0x78], bx
xor eax, eax
mov qword [rbp - 0x76], rax
mov qword [rbp - 0x6e], rax
mov dword [rbp - 0x66], eax
mov word [rbp - 0x62], ax
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
lea r9, [rbp - 0x78]
xor r8d, r8d
lea rdx, str.SMBIOSBIOSVersion
call qword [rax + 0x20]
test eax, eax
js 0x18000c711
mov r8d, 0x100
mov rdx, qword [rbp - 0x70]
lea rcx, [r14 + 0x1000]
call qword [sym.imp.KERNEL32.dll_lstrcpynW]
lea rcx, [rbp - 0x78]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x58]
mov rax, qword [rcx]
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rbx
mov r9d, 0x30
lea r8, str.SELECT__FROM_Win32_DiskDrive
lea rdx, [0x1800ca538]
call qword [rax + LoadRegTypeLib]
test eax, eax
js 0x18000c870
mov dword [rsp + 0x74], ebx
mov qword [rsp + 0x60], rbx
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
lea rdx, [rsp + 0x74]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x60]
mov r8d, 1
mov edx, r15d
call qword [rax + 0x20]
test eax, eax
js 0x18000c865
cmp dword [rsp + 0x74], ebx
jbe 0x18000c865
mov word [rbp - 0x78], bx
xor eax, eax
mov qword [rbp - 0x76], rax
mov qword [rbp - 0x6e], rax
mov dword [rbp - 0x66], eax
mov word [rbp - 0x62], ax
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
lea r9, [rbp - 0x78]
xor r8d, r8d
lea rdx, str.SerialNumber
call qword [rax + 0x20]
test eax, eax
js 0x18000c85a
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x30]
call fcn.18007f510
mov r8d, 0x100
mov rdx, qword [rbp - 0x70]
lea rcx, [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_lstrcpynW]
mov edi, ebx
lea r14, [rbp + 0x30]
nop dword [rax + rax]
movzx ecx, word [r14]
call fcn.180086400
test eax, eax
je 0x18000c82d
inc edi
add r14, 2
cmp edi, 0x208
jb 0x18000c810
jmp 0x18000c850
movsxd rax, edi
lea rcx, [rbp + 0x30]
lea rcx, [rcx + rax*2]
mov rdx, rsi
sub rdx, rcx
nop
movzx eax, word [rcx]
mov word [rdx + rcx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x18000c840
lea rcx, [rbp - 0x78]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x58]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x50]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
call fcn.18000be90
test al, al
je 0x18000c89e
mov rax, r15
inc rax
cmp word [rsi + rax*2], bx
jne 0x18000c890
test rax, rax
jne 0x18000c8e6
xor edx, edx
mov r8d, 0x200
mov rcx, rsi
call fcn.18007f510
mov edi, ebx
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x30]
call fcn.18007f510
lea rdx, [rbp + 0x30]
mov ecx, edi
call fcn.18000bb20
test eax, eax
jne 0x18000c8d9
inc edi
cmp edi, 0xa
jl 0x18000c8b0
jmp 0x18000c8e6
lea rdx, [rbp + 0x30]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
xor r13b, r13b
mov byte [rsp + 0x74], r13b
xor r14d, r14d
mov dword [rsp + 0x75], r14d
mov byte [rsp + 0x79], r14b
mov dword [rsp + 0x70], ebx
lea rdx, [rsp + 0x70]
xor ecx, ecx
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
mov edx, dword [rsp + 0x70]
lea ecx, [r14 + 0x40]
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
test rax, rax
je 0x18000c972
lea rdx, [rsp + 0x70]
mov rcx, rax
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x18000c972
lea rcx, [rdi + 0xc]
call fcn.18000bd10
mov ecx, eax
cmp eax, 1
ja 0x18000c95e
mov eax, dword [rdi + 0x198]
mov dword [rsp + 0x74], eax
movzx eax, word [rdi + 0x19c]
mov word [rsp + 0x78], ax
test ecx, ecx
je 0x18000c966
mov rdi, qword [rdi]
test rdi, rdi
jne 0x18000c934
movzx r14d, byte [rsp + 0x79]
movzx r13d, byte [rsp + 0x74]
movzx eax, r14b
movzx ecx, byte [rsp + 0x78]
movzx edx, byte [rsp + 0x77]
movzx r10d, byte [rsp + 0x76]
movzx r9d, byte [rsp + 0x75]
movzx r8d, r13b
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], r10d
lea rdx, str._02X__02X__02X__02X__02X__02X
mov rcx, r12
call qword [sym.imp.USER32.dll_wsprintfW]
mov rcx, rsi
call fcn.180008b70
mov rax, r15
nop dword [rax]
inc rax
cmp word [rsi + rax*2], bx
jne 0x18000c9c0
movabs r14, 0x7fffffffffffffff
test rax, rax
je 0x18000cac2
mov rdx, rsi
lea rcx, [rbp - 0x78]
call fcn.18000ffb0
nop
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 0x10
cmovae rdx, qword [rbp - 0x78]
mov r8d, dword [rbp - 0x68]
lea rcx, [rsp + 0x50]
call fcn.180010920
mov rsi, qword [rbp - 0x68]
lea rdi, [rbp - 0x78]
cmp qword [rbp - 0x60], 0x10
cmovae rdi, qword [rbp - 0x78]
mov qword [rbp - 0x58], rbx
lea r8, [rbp - 0x58]
lea rdx, str.SoftwarexiaoyuInstall
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov rcx, qword [rbp - 0x58]
test eax, eax
jne 0x18000ca5c
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rdi
lea r9d, [rax + 3]
xor r8d, r8d
lea rdx, [0x1800ca6bc]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rbp - 0x58]
test rcx, rcx
je 0x18000ca68
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rax, qword [rbp - 0x60]
cmp rax, 0x10
jb 0x18000cc07
inc rax
mov rcx, qword [rbp - 0x78]
cmp rax, 0x1000
jb 0x18000cc02
test cl, 0x1f
je 0x18000ca94
call fcn.18008185c
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x18000caa3
call fcn.18008185c
int3
sub rcx, rax
cmp rcx, 8
jae 0x18000cab2
call fcn.18008185c
int3
cmp rcx, 0x27
jbe 0x18000cbff
call fcn.18008185c
int3
xor edx, edx
lea r8d, [rdx + 0x64]
lea rcx, [rbp - 0x40]
call fcn.18007f510
mov dword [rsp + 0x74], 0x64
mov qword [rbp - 0x58], rbx
lea r8, [rbp - 0x58]
lea rdx, str.SoftwarexiaoyuInstall
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov rcx, qword [rbp - 0x58]
test eax, eax
je 0x18000cb0a
test rcx, rcx
je 0x18000cb63
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x18000cb63
lea rax, [rsp + 0x74]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1800ca6bc]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rbp - 0x58]
test eax, eax
je 0x18000cb45
test rcx, rcx
je 0x18000cb63
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x18000cb63
test rcx, rcx
je 0x18000cb50
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r8d, dword [rsp + 0x74]
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x50]
call fcn.180010920
xor edx, edx
mov r8d, 0x200
mov rcx, rsi
call fcn.18007f510
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x78]
call fcn.180010170
mov rcx, rax
cmp qword [rax + 0x18], 8
jb 0x18000cb90
mov rcx, qword [rax]
nop dword [rax]
movzx eax, word [rcx]
mov word [rsi], ax
lea rcx, [rcx + 2]
lea rsi, [rsi + 2]
test ax, ax
jne 0x18000cb90
mov rax, qword [rbp - 0x60]
cmp rax, 8
jb 0x18000cc07
inc rax
mov rcx, qword [rbp - 0x78]
cmp rax, r14
jbe 0x18000cbbf
call fcn.18008185c
int3
add rax, rax
cmp rax, 0x1000
jb 0x18000cc02
test cl, 0x1f
je 0x18000cbd5
call fcn.18008185c
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x18000cbe4
call fcn.18008185c
int3
sub rcx, rax
cmp rcx, 8
jae 0x18000cbf3
call fcn.18008185c
int3
cmp rcx, 0x27
jbe 0x18000cbff
call fcn.18008185c
int3
mov rcx, rax
call fcn.18005e5ac
mov rax, r15
mov r13, qword [rbp - 0x80]
nop
inc rax
cmp word [r13 + rax*2], 0
jne 0x18000cc10
test rax, rax
je 0x18000cd0b
mov rdx, r13
lea rcx, [rbp - 0x78]
call fcn.18000ffb0
nop
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 0x10
cmovae rdx, qword [rbp - 0x78]
mov r8d, dword [rbp - 0x68]
lea rcx, [rsp + 0x50]
call fcn.180010920
mov rsi, qword [rbp - 0x68]
lea rdi, [rbp - 0x78]
cmp qword [rbp - 0x60], 0x10
cmovae rdi, qword [rbp - 0x78]
mov qword [rbp - 0x80], rbx
lea r8, [rbp - 0x80]
lea rdx, str.SoftwarexiaoyuInstall
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov rcx, qword [rbp - 0x80]
test eax, eax
jne 0x18000cca5
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rdi
lea r9d, [rax + 3]
xor r8d, r8d
lea rdx, [0x1800ca6c0]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x18000ccb1
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rax, qword [rbp - 0x60]
cmp rax, 0x10
jb 0x18000ce60
inc rax
mov rcx, qword [rbp - 0x78]
cmp rax, 0x1000
jb 0x18000ce52
test cl, 0x1f
je 0x18000ccdd
call fcn.18008185c
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x18000ccec
call fcn.18008185c
int3
sub rcx, rax
cmp rcx, 8
jae 0x18000ccfb
call fcn.18008185c
int3
cmp rcx, 0x27
jbe 0x18000ce4f
call fcn.18008185c
int3
xor edx, edx
lea r8d, [rdx + 0x64]
lea rcx, [rbp - 0x40]
call fcn.18007f510
mov dword [rsp + 0x74], 0x64
mov qword [rbp - 0x80], rbx
lea r8, [rbp - 0x80]
lea rdx, str.SoftwarexiaoyuInstall
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov rcx, qword [rbp - 0x80]
test eax, eax
je 0x18000cd53
test rcx, rcx
je 0x18000cdac
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x18000cdac
lea rax, [rsp + 0x74]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1800ca6c0]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rbp - 0x80]
test eax, eax
je 0x18000cd8e
test rcx, rcx
je 0x18000cdac
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x18000cdac
test rcx, rcx
je 0x18000cd99
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r8d, dword [rsp + 0x74]
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x50]
call fcn.180010920
xor edx, edx
mov r8d, 0x200
mov rcx, r13
call fcn.18007f510
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x78]
call fcn.180010170
mov rcx, rax
cmp qword [rax + 0x18], 8
jb 0x18000cdd6
mov rcx, qword [rax]
mov rdx, r13
nop dword [rax]
movzx eax, word [rcx]
mov word [rdx], ax
lea rcx, [rcx + 2]
lea rdx, [rdx + 2]
test ax, ax
jne 0x18000cde0
mov rax, qword [rbp - 0x60]
cmp rax, 8
jb 0x18000ce60
inc rax
mov rcx, qword [rbp - 0x78]
cmp rax, r14
jbe 0x18000ce0f
call fcn.18008185c
int3
add rax, rax
cmp rax, 0x1000
jb 0x18000ce52
test cl, 0x1f
je 0x18000ce25
call fcn.18008185c
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x18000ce34
call fcn.18008185c
int3
sub rcx, rax
cmp rcx, 8
jae 0x18000ce43
call fcn.18008185c
int3
cmp rcx, 0x27
jbe 0x18000ce4f
call fcn.18008185c
int3
mov rcx, rax
call fcn.18005e5ac
nop word [rax + rax]
inc r15
cmp word [r12 + r15*2], 0
jne 0x18000ce60
test r15, r15
je 0x18000cf5a
mov rdx, r12
lea rcx, [rbp - 0x78]
call fcn.18000ffb0
nop
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 0x10
cmovae rdx, qword [rbp - 0x78]
mov r8d, dword [rbp - 0x68]
lea rcx, [rsp + 0x50]
call fcn.180010920
mov rsi, qword [rbp - 0x68]
lea rdi, [rbp - 0x78]
cmp qword [rbp - 0x60], 0x10
cmovae rdi, qword [rbp - 0x78]
mov qword [rbp - 0x80], rbx
lea r8, [rbp - 0x80]
lea rdx, str.SoftwarexiaoyuInstall
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov rcx, qword [rbp - 0x80]
test eax, eax
jne 0x18000cef4
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rdi
lea r9d, [rax + 3]
xor r8d, r8d
lea rdx, [0x1800ca6c4]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x18000cf00
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rax, qword [rbp - 0x60]
cmp rax, 0x10
jb 0x18000d0aa
inc rax
mov rcx, qword [rbp - 0x78]
cmp rax, 0x1000
jb 0x18000d0a5
test cl, 0x1f
je 0x18000cf2c
call fcn.18008185c
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x18000cf3b
call fcn.18008185c
int3
sub rcx, rax
cmp rcx, 8
jae 0x18000cf4a
call fcn.18008185c
int3
cmp rcx, 0x27
jbe 0x18000d0a2
call fcn.18008185c
int3
xor edx, edx
lea r8d, [rdx + 0x64]
lea rcx, [rbp - 0x40]
call fcn.18007f510
mov dword [rsp + 0x74], 0x64
mov qword [rbp - 0x80], rbx
lea r8, [rbp - 0x80]
lea rdx, str.SoftwarexiaoyuInstall
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov rcx, qword [rbp - 0x80]
test eax, eax
je 0x18000cfa2
test rcx, rcx
je 0x18000cffb
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x18000cffb
lea rax, [rsp + 0x74]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1800ca6c4]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rbp - 0x80]
test eax, eax
je 0x18000cfdd
test rcx, rcx
je 0x18000cffb
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x18000cffb
test rcx, rcx
je 0x18000cfe8
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r8d, dword [rsp + 0x74]
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x50]
call fcn.180010920
xor edx, edx
mov r8d, 0x200
mov rcx, r12
call fcn.18007f510
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x78]
call fcn.180010170
mov rcx, rax
cmp qword [rax + 0x18], 8
jb 0x18000d030
mov rcx, qword [rax]
nop word [rax + rax]
movzx eax, word [rcx]
mov word [r12], ax
lea rcx, [rcx + 2]
lea r12, [r12 + 2]
test ax, ax
jne 0x18000d030
mov rax, qword [rbp - 0x60]
cmp rax, 8
jb 0x18000d0aa
inc rax
mov rcx, qword [rbp - 0x78]
cmp rax, r14
jbe 0x18000d062
call fcn.18008185c
int3
add rax, rax
cmp rax, 0x1000
jb 0x18000d0a5
test cl, 0x1f
je 0x18000d078
call fcn.18008185c
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x18000d087
call fcn.18008185c
int3
sub rcx, rax
cmp rcx, 8
jae 0x18000d096
call fcn.18008185c
int3
cmp rcx, 0x27
jbe 0x18000d0a2
call fcn.18008185c
int3
mov rcx, rax
call fcn.18005e5ac
mov dword [rbp - 0x48], ebx
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
lea r9, [rbp - 0x48]
xor r8d, r8d
xor edx, edx
lea rcx, [0x1800ca6c8]
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x18000d0f2
mov r8d, dword [rbp - 0x48]
lea rdx, str._08X
lea rcx, [r13 + 0x1200]
call qword [sym.imp.USER32.dll_wsprintfW]
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x450]
call fcn.18007f510
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x240]
call fcn.18007f510
mov rdi, rbx
mov rsi, rbx
lea rax, [rbp + 0x450]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x25]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x18000d2fb
lea r8, [0x1800ca070]
lea rdx, [rbp + 0x450]
lea rcx, [rbp + 0x240]
call qword [sym.imp.SHLWAPI.dll_PathCombineW]
movabs r12, 0xfe624e212ac18000
movabs r15, 0xd6bf94d5e57a42bd
test rax, rax
je 0x18000d1e5
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r9 + 1]
lea rcx, [rbp + 0x240]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x18000d1e5
mov qword [rbp - 0x50], rbx
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x18000d1dc
mov rcx, qword [rbp - 0x50]
add rcx, r12
mov rax, r15
mul rcx
mov rdi, rdx
shr rdi, 0x17
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r8, str.user32.dll
lea rdx, [rbp + 0x450]
lea rcx, [rbp + 0x240]
call qword [sym.imp.SHLWAPI.dll_PathCombineW]
test rax, rax
je 0x18000d270
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r9 + 1]
lea rcx, [rbp + 0x240]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x18000d270
mov qword [rbp - 0x50], rbx
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x18000d267
mov rcx, qword [rbp - 0x50]
add rcx, r12
mov rax, r15
mul rcx
mov rsi, rdx
shr rsi, 0x17
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r8, str.notepad.exe
lea rdx, [rbp + 0x450]
lea rcx, [rbp + 0x240]
call qword [sym.imp.SHLWAPI.dll_PathCombineW]
test rax, rax
je 0x18000d2fb
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r9 + 1]
lea rcx, [rbp + 0x240]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x18000d2fb
mov qword [rbp - 0x50], rbx
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x18000d2f2
mov rcx, qword [rbp - 0x50]
add rcx, r12
mov rax, r15
mul rcx
mov rbx, rdx
shr rbx, 0x17
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rsi
mov r9, rdi
lea r8, str._llu__llu__llu
mov edx, 0x100
lea rcx, [r13 + 0x1400]
call fcn.18000b930
mov rax, r13
mov rcx, qword [rbp + 0x660]
xor rcx, rsp
call fcn.18005ef00
lea r11, [rsp + 0x770]
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