Function at 0x419fe0
Capabilities:
Delete file
Delete service
Get common file path
Manipulate safe mode programs
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x86c
mov eax, dword [0x44a044]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20e]
push ecx
mov word [ebp - 0x210], ax
call fcn.00427f40
add esp, 0xc
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x416]
push eax
mov word [ebp - 0x418], dx
call fcn.00427f40
add esp, 0xc
push 2
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
je 0x41a089
push 0xf01ff
push str.wm7f
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, eax
test esi, esi
je 0x41a086
lea ecx, [ebp - 0x844]
push ecx
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
push esi
call ebx
push edi
call ebx
push 0x446cb4
call fcn.00406870
mov ebx, dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
xor eax, eax
movzx edx, ax
mov eax, edx
shl edx, 0x10
or eax, edx
add esp, 4
mov ecx, 0x82
lea edi, [ebp - 0x210]
rep stosd dword es:[edi], eax
push 0x104
lea eax, [ebp - 0x210]
push eax
call ebx
lea edi, [ebp - 0x210]
add edi, 0xfffffffe
lea esp, [esp]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x41a0d0
mov ecx, 0xd
mov esi, str.System32driverswm7f.sys
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x210]
push ecx
movsw word es:[edi], word [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
movzx edx, ax
mov eax, edx
shl edx, 0x10
or eax, edx
mov ecx, 0x82
lea edi, [ebp - 0x210]
rep stosd dword es:[edi], eax
push 0x104
lea eax, [ebp - 0x210]
push eax
call ebx
lea edi, [ebp - 0x210]
add edi, 0xfffffffe
jmp 0x41a130
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x41a130
mov ecx, 0xd
mov esi, str.System32driverswm7f.inf
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x210]
push ecx
movsw word es:[edi], word [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
movzx edx, ax
mov eax, edx
shl edx, 0x10
or eax, edx
mov ecx, 0x82
lea edi, [ebp - 0x210]
rep stosd dword es:[edi], eax
push 0x104
lea eax, [ebp - 0x210]
push eax
call ebx
lea edi, [ebp - 0x210]
add edi, 0xfffffffe
jmp 0x41a190
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x41a190
mov ecx, 0xd
mov esi, str.System32driverswm7f.cat
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x210]
push ecx
movsw word es:[edi], word [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push str.GetNativeSystemInfo
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
test eax, eax
je 0x41a1dd
lea edx, [ebp - 0x86c]
push edx
call eax
movzx eax, word [ebp - 0x86c]
test eax, eax
je 0x41a3bc
cmp eax, 9
jne 0x41a3bc
push str.Kernel32.dll
mov dword [ebp - 0x848], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x41a3bc
push str.Wow64DisableWow64FsRedirection
push esi
call edi
lea ecx, [ebp - 0x848]
push ecx
call eax
push esi
test eax, eax
je 0x41a3b6
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
movzx edx, ax
mov eax, edx
shl edx, 0x10
or eax, edx
mov ecx, 0x82
lea edi, [ebp - 0x418]
rep stosd dword es:[edi], eax
xor eax, eax
movzx edx, ax
mov eax, edx
shl edx, 0x10
or eax, edx
mov ecx, 0x82
lea edi, [ebp - 0x210]
rep stosd dword es:[edi], eax
push 0x104
lea eax, [ebp - 0x418]
push eax
call ebx
xor eax, eax
jmp 0x41a280
movzx ecx, word [ebp + eax - 0x418]
mov word [ebp + eax - 0x210], cx
add eax, 2
test cx, cx
jne 0x41a280
lea edi, [ebp - 0x210]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x41a2a1
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, 0xd
mov esi, str.System32driverswm7f.sys
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x210]
push ecx
movsw word es:[edi], word [esi]
call ebx
xor eax, eax
movzx edx, ax
mov eax, edx
shl edx, 0x10
or eax, edx
mov ecx, 0x82
lea edi, [ebp - 0x210]
rep stosd dword es:[edi], eax
xor eax, eax
jmp 0x41a2f0
movzx ecx, word [ebp + eax - 0x418]
mov word [ebp + eax - 0x210], cx
add eax, 2
test cx, cx
jne 0x41a2f0
lea edi, [ebp - 0x210]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x41a311
mov ecx, 0xd
mov esi, str.System32driverswm7f.inf
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x210]
push eax
movsw word es:[edi], word [esi]
call ebx
xor eax, eax
movzx edx, ax
mov eax, edx
shl edx, 0x10
or eax, edx
mov ecx, 0x82
lea edi, [ebp - 0x210]
rep stosd dword es:[edi], eax
xor eax, eax
nop
movzx ecx, word [ebp + eax - 0x418]
mov word [ebp + eax - 0x210], cx
add eax, 2
test cx, cx
jne 0x41a350
lea edi, [ebp - 0x210]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x41a371
mov ecx, 0xd
mov esi, str.System32driverswm7f.cat
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x210]
push eax
movsw word es:[edi], word [esi]
call ebx
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x41a3bc
push str.Wow64RevertWow64FsRedirection
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0x446d6c
call fcn.00406870
add esp, 4
xor ecx, ecx
push 0x40e
push ecx
lea edx, [ebp - 0x826]
push edx
mov word [ebp - 0x828], cx
call fcn.00427f40
add esp, 0xc
mov edx, str.SYSTEMCurrentControlSetControlSafeBootMinimalwm7f.sys
lea ecx, [ebp - 0x828]
call fcn.004075e0
push 0
lea eax, [ebp - 0x828]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00408b80
add esp, 0xc
xor ecx, ecx
push 0x40e
push ecx
lea edx, [ebp - 0x826]
push edx
mov word [ebp - 0x828], cx
call fcn.00427f40
add esp, 0xc
mov edx, str.SYSTEMCurrentControlSetControlSafeBootNetworkwm7f.sys
lea ecx, [ebp - 0x828]
call fcn.004075e0
push 0
lea eax, [ebp - 0x828]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00408b80
add esp, 0xc
push 0x446e70
call fcn.00406870
mov ecx, dword [ebp - 4]
add esp, 4
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00421294
mov esp, ebp
pop ebp
ret