Function at 0x18003c228
Capabilities:
Check if file exists
Copy file
Create service
Delete file
Get common file path
Persist via windows service

Disassembly:
mov r11, rsp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x370
mov qword [rsp + 0xa0], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov qword [r11 + 0x20], rbp
mov rax, qword [0x18009a658]
xor rax, rsp
mov qword [rsp + 0x360], rax
mov rbx, r8
mov rdi, rdx
xor r12d, r12d
mov dword [rsp + 0x70], r12d
mov edx, 0x22343
lea rcx, [r11 - 0x278]
call fcn.18003c03c
nop
cmp qword [rsp + 0x138], r12
jne 0x18003c2ac
cmp qword [rsp + 0x140], 8
jb 0x18003c2a2
mov rcx, qword [rsp + 0x128]
call fcn.180054958
mov eax, 1
jmp 0x18003c7af
mov word [rsp + 0x150], r12w
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x152]
call fcn.180055bd0
mov ebp, r12d
mov edx, 0x104
lea rcx, [rsp + 0x150]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea rdx, str.drivers
lea rcx, [rsp + 0x150]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rcx, [rsp + 0x150]
call fcn.18003c144
mov rdx, rbx
lea rcx, [rsp + 0x150]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
xor r8d, r8d
lea rdx, [rsp + 0x150]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CopyFileW]
cmp eax, r12d
jne 0x18003c336
mov edi, 8
jmp 0x18003c795
lea rcx, [rsp + 0x150]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ebx, 1
lea r13, str.gxdte
cmp eax, r12d
je 0x18003c3f1
lea rcx, [rsp + 0x150]
call qword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rsi, rax
cmp rax, r12
je 0x18003c3f1
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r12
lea rax, [rsp + 0x150]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 2
mov r9d, 0xf01ff
mov r8, r13
mov rdx, r13
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov edi, r12d
cmp rax, r12
setne dil
cmp rax, r12
je 0x18003c3e6
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x18003c3f4
mov edi, r12d
cmp edi, r12d
jne 0x18003c403
mov edi, 0xa
jmp 0x18003c779
mov ebp, ebx
mov rdx, r13
lea rcx, [rsp + 0xd0]
call fcn.18003c0d8
nop
lea r9, [rsp + 0x128]
cmp qword [rsp + 0x140], 8
cmovae r9, qword [rsp + 0x128]
lea rdx, [rsp + 0xd8]
cmp qword [rsp + 0xf0], 8
cmovae rdx, qword [rsp + 0xd8]
mov dword [rsp + 0x20], r12d
lea r8, str.Group
mov r14, 0xffffffff80000002
mov rcx, r14
call fcn.180005488
cmp eax, r12d
je 0x18003c75c
lea rdx, [rsp + 0xd8]
cmp qword [rsp + 0xf0], 8
cmovae rdx, qword [rsp + 0xd8]
mov dword [rsp + 0x20], r12d
lea r9, str.gxdte_driver
lea r8, str.Description
mov rcx, r14
call fcn.180005488
cmp eax, r12d
je 0x18003c75c
mov esi, 7
mov qword [rsp + 0x98], rsi
mov qword [rsp + 0x90], r12
mov word [rsp + 0x80], r12w
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, r13
repne scasw ax, word [rdi]
not rcx
sub rcx, rbx
mov r8, rcx
mov rdx, r13
lea rcx, [rsp + 0x78]
call fcn.180007250
nop
lea r8, str._Instance
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0xf8]
call fcn.18000c584
nop
cmp qword [rsp + 0x98], 8
jb 0x18003c51f
mov rcx, qword [rsp + 0x80]
call fcn.180054958
mov qword [rsp + 0x98], rsi
mov qword [rsp + 0x90], r12
mov word [rsp + 0x80], r12w
mov edi, 0xb
mov r8, rdi
lea rdx, str.Instances_
lea rcx, [rsp + 0xd0]
call fcn.1800084c8
lea r9, [rsp + 0x100]
cmp qword [rsp + 0x118], 8
cmovae r9, qword [rsp + 0x100]
lea rdx, [rsp + 0xd8]
cmp qword [rsp + 0xf0], 8
cmovae rdx, qword [rsp + 0xd8]
mov dword [rsp + 0x20], r12d
lea r8, str.DefaultInstance
mov rcx, r14
call fcn.180005488
cmp eax, r12d
jne 0x18003c5f3
cmp qword [rsp + 0x118], 8
jb 0x18003c5b9
mov rcx, qword [rsp + 0x100]
call fcn.180054958
mov qword [rsp + 0x118], rsi
mov qword [rsp + 0x110], r12
mov word [rsp + 0x100], r12w
cmp qword [rsp + 0xf0], 8
jb 0x18003c779
mov rcx, qword [rsp + 0xd8]
call fcn.180054958
jmp 0x18003c779
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0xf8]
lea rcx, [rsp + 0xd0]
call fcn.180008398
mov r8d, 0x22343
lea rdx, [0x18007deec]
lea rcx, [rsp + 0xa8]
call fcn.180005248
cmp qword [rax + 0x20], 8
jb 0x18003c636
mov r9, qword [rax + 8]
jmp 0x18003c63a
lea r9, [rax + 8]
lea rdx, [rsp + 0xd8]
cmp qword [rsp + 0xf0], 8
cmovae rdx, qword [rsp + 0xd8]
mov dword [rsp + 0x20], r12d
lea r8, str.Altitude
mov rcx, r14
call fcn.180005488
cmp eax, r12d
je 0x18003c6a6
lea rdx, [rsp + 0xd8]
cmp qword [rsp + 0xf0], 8
cmovae rdx, qword [rsp + 0xd8]
mov dword [rsp + 0x20], r12d
xor r9d, r9d
lea r8, str.Flags
mov rcx, r14
call fcn.180005398
cmp eax, r12d
je 0x18003c6a6
mov bl, r12b
cmp qword [rsp + 0xc8], 8
jb 0x18003c6be
mov rcx, qword [rsp + 0xb0]
call fcn.180054958
cmp bl, r12b
je 0x18003c70e
cmp qword [rsp + 0x118], 8
jb 0x18003c6db
mov rcx, qword [rsp + 0x100]
call fcn.180054958
mov qword [rsp + 0x118], rsi
mov qword [rsp + 0x110], r12
mov word [rsp + 0x100], r12w
cmp qword [rsp + 0xf0], 8
jb 0x18003c779
mov rcx, qword [rsp + 0xd8]
call fcn.180054958
jmp 0x18003c779
mov edi, r12d
cmp qword [rsp + 0x118], 8
jb 0x18003c729
mov rcx, qword [rsp + 0x100]
call fcn.180054958
mov qword [rsp + 0x118], rsi
mov qword [rsp + 0x110], r12
mov word [rsp + 0x100], r12w
cmp qword [rsp + 0xf0], 8
jb 0x18003c795
mov rcx, qword [rsp + 0xd8]
call fcn.180054958
jmp 0x18003c795
mov edi, 0xb
cmp qword [rsp + 0xf0], 8
jb 0x18003c779
mov rcx, qword [rsp + 0xd8]
call fcn.180054958
lea rcx, [rsp + 0x150]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp ebp, r12d
je 0x18003c795
mov rcx, r13
call fcn.180005bac
nop
cmp qword [rsp + 0x140], 8
jb 0x18003c7ad
mov rcx, qword [rsp + 0x128]
call fcn.180054958
mov eax, edi
mov rcx, qword [rsp + 0x360]
xor rcx, rsp
call fcn.180055580
lea r11, [rsp + 0x370]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret