Function at 0x4196c0
Capabilities:
Get disk information
Persist via windows service
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x4d044c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4c2d08]
mov dword [ebp - 0xc], eax
movzx eax, word [0x4c2d0c]
push ebx
mov word [ebp - 8], ax
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x21c], edx
push esi
mov word [ebp - 0x214], ax
xor esi, esi
movzx eax, word [ecx]
push edi
mov word [ebp - 0xc], ax
xor edi, edi
push 0x104
lea eax, [ebp - 0x214]
mov dword [ebp - 0x224], ecx
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0x22c], esi
push eax
mov dword [ebp - 0x218], esi
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x419977
mov ecx, dword [ebp - 0x224]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x419740
sub ecx, edx
lea edx, [ebp - 0x214]
sar ecx, 1
lea esi, [edx + 2]
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x419760
sub edx, esi
sar edx, 1
lea eax, [edx + ecx]
lea eax, [eax*2 + 2]
push eax
call fcn.0048b928
mov esi, eax
add esp, 4
mov dword [ebp - 0x228], esi
test esi, esi
je 0x419975
mov eax, dword [ebp - 0x224]
add eax, 4
push eax
lea eax, [ebp - 0x214]
push eax
push 0x4c2d10
push esi
call fcn.0041b250
mov eax, dword [ebp - 0x21c]
add esp, 0x10
test eax, eax
je 0x41985b
mov ax, word [eax]
xor ecx, ecx
mov word [ebp - 0xc], ax
lea eax, [ebp - 0x214]
push 0x104
push eax
lea eax, [ebp - 0xc]
mov word [ebp - 0x214], cx
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x419964
mov ecx, dword [ebp - 0x21c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4197f6
sub ecx, edx
lea edx, [ebp - 0x214]
sar ecx, 1
lea ebx, [edx + 2]
nop
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x419810
sub edx, ebx
sar edx, 1
lea eax, [edx + ecx]
lea eax, [eax*2 + 2]
push eax
call fcn.0048b928
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x419964
mov eax, dword [ebp - 0x21c]
add eax, 4
push eax
lea eax, [ebp - 0x214]
push eax
push 0x4c2d10
push ebx
call fcn.0041b250
add esp, 0x10
lea eax, [ebp - 0x218]
push eax
push 0xf003f
push 0
push str.SYSTEMCurrentControlSet_servicesK7SentryConfig
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x419957
push 0x20000
push eax
mov dword [ebp - 0x220], 0x20000
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
je 0x419957
lea eax, [ebp - 0x220]
mov esi, edi
push eax
push edi
lea eax, [ebp - 0x230]
push eax
push 0
push str.OnBootPendingFSActions
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4198dc
mov esi, dword [ebp - 0x220]
shr esi, 1
dec esi
lea esi, [edi + esi*2]
push dword [ebp - 0x228]
push 0x4c2db4
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea esi, [esi + eax*2]
xor eax, eax
mov word [esi], ax
add esi, 2
test ebx, ebx
je 0x419913
push ebx
push 0x4c2db4
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea esi, [esi + eax*2]
xor eax, eax
mov word [esi], ax
add esi, 2
mov word [esi], ax
sub esi, edi
add esi, 2
push esi
push edi
push 7
push eax
push str.OnBootPendingFSActions
push dword [ebp - 0x218]
mov dword [ebp - 0x220], esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, dword [ebp - 0x228]
xor ecx, ecx
test eax, eax
mov edx, 1
cmove ecx, edx
mov dword [ebp - 0x22c], ecx
test ebx, ebx
je 0x419964
push ebx
call fcn.0048b923
add esp, 4
push esi
call fcn.0048b923
mov esi, dword [ebp - 0x22c]
add esp, 4
jmp 0x419977
xor esi, esi
mov eax, dword [ebp - 0x218]
test eax, eax
je 0x419988
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x41999c
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004606ac
mov esp, ebp
pop ebp
ret