Function at 0x868ff0
Capabilities:
Get common file path
Get disk information
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x9b8
xor eax, eax
push ebx
mov dword [esp + 9], eax
push esi
mov dword [esp + 0x11], eax
mov dword [esp + 8], ecx
mov dword [esp + 0x15], eax
push edi
mov word [esp + 0x1d], ax
mov ecx, 0x10
lea edi, [esp + 0x28]
lea edx, [esp + 0x28]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x6c]
push edx
mov byte [esp + 0x14], 0
mov byte [esp + 0x23], al
mov byte [esp + 0x70], al
mov byte [esp + 0x2c], 0x37
mov dword [esp + 0x30], ecx
mov word [esp + 0x34], 0x100
call sub.netapi32.dll_Netbios
mov al, byte [esp + 0x6c]
xor ebx, ebx
test al, al
jbe 0x869127
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x28]
mov byte [esp + 0x28], 0x32
push eax
mov byte [esp + 0x5c], bl
call sub.netapi32.dll_Netbios
test al, al
jne 0x8690e2
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x28]
lea edx, [esp + 0x32]
rep stosd dword es:[edi], eax
mov edi, 0x9645b0
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0x28], 0x33
mov eax, ecx
mov esi, edi
mov edi, edx
mov byte [esp + 0x58], bl
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
lea edx, [esp + 0x28]
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x96
lea edi, [esp + 0x16c]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x16c]
push edx
mov dword [esp + 0x30], ecx
mov word [esp + 0x34], 0x258
call sub.netapi32.dll_Netbios
test al, al
je 0x8690f6
mov eax, dword [esp + 0x6c]
inc ebx
and eax, 0xff
cmp ebx, eax
jl 0x869054
jmp 0x869127
mov al, byte [esp + 0x174]
cmp al, 0xfe
je 0x869105
cmp al, 0xff
jne 0x86911f
mov ecx, dword [esp + 0x16c]
mov dx, word [esp + 0x170]
mov dword [esp + 0x10], ecx
mov word [esp + 0x14], dx
jmp 0x869127
test al, al
je 0x869127
mov byte [esp + 0x10], al
lea eax, [esp + 0x3c4]
push 0x200
push eax
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryA]
lea ecx, [esp + 0x7c4]
push 0x200
lea edx, [esp + 0x6c]
push ecx
lea eax, [esp + 0x2c]
push edx
lea ecx, [esp + 0x2c]
push eax
push ecx
lea edx, [esp + 0x5d8]
push 0x200
lea eax, [esp + 0x3dc]
push edx
push eax
mov byte [esp + 0x3e7], 0
call dword [sym.imp.kernel32.dll_GetVolumeInformationA]
cmp eax, 1
jne 0x869186
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x16], ecx
xor edx, edx
xor eax, eax
lea ecx, [esp + 0x10]
lea esi, [eax + 3]
imul si, word [ecx]
add edx, esi
inc eax
add ecx, 2
cmp eax, 6
jl 0x86918e
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov word [esp + 0x1e], dx
lea edx, [esi + 0x14]
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x18]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x1c]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea edx, [esp + 0xc]
push edx
push 3
push 0
push 0x96d010
push 0x80000002
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x86920b
mov ecx, 0xfffffffc
lea eax, [esi + 4]
sub ecx, esi
mov dl, byte [eax + 0x10]
mov byte [eax], dl
inc eax
lea edx, [ecx + eax]
cmp edx, 0x10
jl 0x8691f3
pop edi
pop esi
pop ebx
add esp, 0x9b8
ret
lea ecx, [esp + 0x20]
lea edx, [esp + 0x6c]
push ecx
lea ecx, [esp + 0x28]
push edx
push ecx
push 0
push 0x96d004
push eax
mov dword [esp + 0x38], 0x100
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
test eax, eax
jne 0x86925b
cmp dword [esp + 0x20], 0x10
jne 0x86925b
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
add esi, 4
mov dword [esi], edx
mov edx, dword [esp + 0x78]
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
jmp 0x86929f
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push 0x10
push ecx
push 3
push 0
push 0x96d004
push edx
call dword [sym.imp.advapi32.dll_RegSetValueExA]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
add esi, 4
mov dword [esi], eax
mov eax, dword [esp + 0x1c]
mov dword [esi + 4], ecx
mov dword [esi + 8], edx
mov dword [esi + 0xc], eax
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.advapi32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
add esp, 0x9b8
ret