Function at 0x18003e854
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 [0x1800a1628]
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.18003e668
nop
cmp qword [rsp + 0x138], r12
jne 0x18003e8d8
cmp qword [rsp + 0x140], 8
jb 0x18003e8ce
mov rcx, qword [rsp + 0x128]
call fcn.180058b34
mov eax, 1
jmp 0x18003eddb
mov word [rsp + 0x150], r12w
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x152]
call fcn.180059db0
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.18003e770
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 0x18003e962
mov edi, 8
jmp 0x18003edc1
lea rcx, [rsp + 0x150]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ebx, 1
lea r13, str.gxdte
cmp eax, r12d
je 0x18003ea1d
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 0x18003ea1d
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 0x18003ea12
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x18003ea20
mov edi, r12d
cmp edi, r12d
jne 0x18003ea2f
mov edi, 0xa
jmp 0x18003eda5
mov ebp, ebx
mov rdx, r13
lea rcx, [rsp + 0xd0]
call fcn.18003e704
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.1800056d8
cmp eax, r12d
je 0x18003ed88
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.1800056d8
cmp eax, r12d
je 0x18003ed88
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.1800076f0
nop
lea r8, str._Instance
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0xf8]
call fcn.18000d580
nop
cmp qword [rsp + 0x98], 8
jb 0x18003eb4b
mov rcx, qword [rsp + 0x80]
call fcn.180058b34
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.180008e08
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.1800056d8
cmp eax, r12d
jne 0x18003ec1f
cmp qword [rsp + 0x118], 8
jb 0x18003ebe5
mov rcx, qword [rsp + 0x100]
call fcn.180058b34
mov qword [rsp + 0x118], rsi
mov qword [rsp + 0x110], r12
mov word [rsp + 0x100], r12w
cmp qword [rsp + 0xf0], 8
jb 0x18003eda5
mov rcx, qword [rsp + 0xd8]
call fcn.180058b34
jmp 0x18003eda5
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0xf8]
lea rcx, [rsp + 0xd0]
call fcn.180008cd8
mov r8d, 0x22343
lea rdx, [0x18008383c]
lea rcx, [rsp + 0xa8]
call fcn.180005498
cmp qword [rax + 0x20], 8
jb 0x18003ec62
mov r9, qword [rax + 8]
jmp 0x18003ec66
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.1800056d8
cmp eax, r12d
je 0x18003ecd2
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.1800055e8
cmp eax, r12d
je 0x18003ecd2
mov bl, r12b
cmp qword [rsp + 0xc8], 8
jb 0x18003ecea
mov rcx, qword [rsp + 0xb0]
call fcn.180058b34
cmp bl, r12b
je 0x18003ed3a
cmp qword [rsp + 0x118], 8
jb 0x18003ed07
mov rcx, qword [rsp + 0x100]
call fcn.180058b34
mov qword [rsp + 0x118], rsi
mov qword [rsp + 0x110], r12
mov word [rsp + 0x100], r12w
cmp qword [rsp + 0xf0], 8
jb 0x18003eda5
mov rcx, qword [rsp + 0xd8]
call fcn.180058b34
jmp 0x18003eda5
mov edi, r12d
cmp qword [rsp + 0x118], 8
jb 0x18003ed55
mov rcx, qword [rsp + 0x100]
call fcn.180058b34
mov qword [rsp + 0x118], rsi
mov qword [rsp + 0x110], r12
mov word [rsp + 0x100], r12w
cmp qword [rsp + 0xf0], 8
jb 0x18003edc1
mov rcx, qword [rsp + 0xd8]
call fcn.180058b34
jmp 0x18003edc1
mov edi, 0xb
cmp qword [rsp + 0xf0], 8
jb 0x18003eda5
mov rcx, qword [rsp + 0xd8]
call fcn.180058b34
lea rcx, [rsp + 0x150]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp ebp, r12d
je 0x18003edc1
mov rcx, r13
call fcn.180005dfc
nop
cmp qword [rsp + 0x140], 8
jb 0x18003edd9
mov rcx, qword [rsp + 0x128]
call fcn.180058b34
mov eax, edi
mov rcx, qword [rsp + 0x360]
xor rcx, rsp
call fcn.180059760
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