Function at 0xc8862
Capabilities:
Get common file path
Get file size
Get hostname
Hash data with crc32
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0xcb27c]
sub esp, 0x28
mov dword [0xcb3ac], eax
push ebx
push edi
push 0x104
push str.C:UsersPhoenixAppDataLocalMicrosoftWindows_viewsystem.exe
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 6
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
test eax, eax
je 0xc88a3
or dword [0xcb2a4], 1
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ebx, dword [0xcb3ac]
lea eax, [ebp - 8]
push esi
push eax
push ecx
mov edx, 0x158
mov ecx, 0xc13d0
mov edi, str.viewsystem
call fcn.000c17df
mov esi, dword [ebp - 8]
pop ecx
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_lstrlen]
push 2
mov dword [ebp - 8], eax
pop ecx
mov eax, ebx
xor edx, edx
div dword [ebp - 8]
mov ebx, eax
add edx, esi
not ebx
jmp 0xc88ea
cmp byte [edx], 0x2c
je 0xc8901
dec edx
cmp edx, esi
ja 0xc88e4
cmp byte [edx], 0x2c
jne 0xc8902
jmp 0xc8901
cmp al, 0x2c
je 0xc8908
cbw
mov word [edi], ax
add edi, 2
inc edx
mov al, byte [edx]
test al, al
jne 0xc88f5
dec ecx
jne 0xc88d5
mov ecx, esi
call fcn.000c1846
xor eax, eax
mov ecx, 0xc1384
mov word [edi], ax
lea eax, [ebp - 8]
push eax
mov edi, 0x73608a49
push edi
push 0xc
pop edx
call fcn.000c1749
pop ecx
pop ecx
mov esi, str.C:UsersPhoenixAppDataLocalMicrosoftWindows
xor ebx, ebx
test byte [0xcb2a4], 1
push esi
push ebx
push ebx
je 0xc895a
push 0x29
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [ebp - 4]
mov ecx, 0xc1380
push eax
push edi
push 4
jmp 0xc896f
push 0x1c
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [ebp - 4]
mov ecx, 0xc1530
push eax
push edi
push 0x14
pop edx
call fcn.000c1749
push str.viewsystem
push esi
push dword [ebp - 4]
mov edi, 0x104
push edi
push esi
call dword [sym.imp.ntdll.dll__snwprintf]
mov ecx, dword [ebp - 4]
add esp, 0x1c
call fcn.000c1846
push str.viewsystem
push esi
push dword [ebp - 8]
push edi
push 0xcb7c0
call dword [sym.imp.ntdll.dll__snwprintf]
mov ecx, dword [ebp - 8]
add esp, 0x14
call fcn.000c1846
push ebx
push ebx
push 3
push ebx
push 1
push 0x80000000
push str.C:UsersPhoenixAppDataLocalMicrosoftWindows_viewsystem.exe
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0xc8a2d
push ebx
push ebx
push ebx
push 2
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov edi, eax
test edi, edi
je 0xc8a21
push ebx
push ebx
push ebx
push 4
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebx, eax
test ebx, ebx
je 0xc8a18
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push eax
push ebx
push 0
call dword [sym.imp.ntdll.dll_RtlComputeCrc32]
push ebx
mov dword [0xcbbd0], eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, 0x104
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x10
push eax
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
pop esi
test eax, eax
je 0xc8ab6
cmp word [ebp - 0x28], 0
lea ecx, [ebp - 0x28]
je 0xc8a80
movzx eax, word [ecx]
cmp eax, 0x30
jb 0xc8a5e
cmp eax, 0x39
jbe 0xc8a78
cmp eax, 0x61
jb 0xc8a68
cmp eax, 0x7a
jbe 0xc8a78
cmp eax, 0x41
jb 0xc8a72
cmp eax, 0x5a
jbe 0xc8a78
push 0x58
pop eax
mov word [ecx], ax
add ecx, 2
cmp word [ecx], bx
jne 0xc8a51
lea eax, [ebp - 8]
push eax
push ecx
push 8
pop edx
mov ecx, 0xc1390
call fcn.000c17df
push dword [0xcb3ac]
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 8]
push edi
push str.WINX06M1V1UF56C_7A22B820
call dword [sym.imp.ntdll.dll__snprintf]
mov ecx, dword [ebp - 8]
add esp, 0x1c
call fcn.000c1846
pop edi
pop ebx
mov esp, ebp
pop ebp
ret