Function at 0x1400279a0
Capabilities:
Get file version info
Query service configuration
Write file on windows

Disassembly:
mov r11, rsp
push rbp
push rbx
push rsi
push rdi
push r15
lea rbp, [r11 - 0x5f]
sub rsp, 0xc0
mov rax, qword [0x14005a018]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov qword [r11 + 0x18], r12
mov rax, rdx
mov qword [r11 - 0x30], r13
xor esi, esi
mov qword [r11 - 0x38], r14
mov qword [rbp - 0x49], rdx
mov qword [rbp - 0x39], rcx
nop dword [rax + rax]
mov rcx, qword [rax + rsi*8]
lea rdx, [rbp - 0x31]
mov qword [rbp - 0x31], 0
call fcn.140025790
mov rdi, qword [rbp - 0x31]
mov rbx, 0xffffffffffffffff
cmp byte [rdi + rbx + 1], 0
lea rbx, [rbx + 1]
jne 0x140027a00
mov edx, 1
lea rcx, [rbx - 4]
call fcn.14002f9e8
lea r9, [rbx - 5]
mov rcx, rax
lea r8, [rdi + 1]
mov r15, rax
lea rdx, [rbx - 4]
call fcn.1400333fc
mov rcx, r15
call fcn.140026fa0
cmp eax, 1
jne 0x140027b87
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov r8d, 1
mov rdx, r15
mov rcx, rax
mov qword [rbp - 0x41], rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
lea r9, [rbp - 0x19]
xor r8d, r8d
mov rcx, rax
mov qword [rbp - 0x31], rax
xor edx, edx
mov r14, rax
call qword [sym.imp.ADVAPI32.dll_QueryServiceConfigA]
mov ebx, dword [rbp - 0x19]
xor ecx, ecx
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
lea r9, [rbp - 0x19]
mov r8d, ebx
mov rdx, rax
mov rcx, r14
mov rdi, rax
call qword [sym.imp.ADVAPI32.dll_QueryServiceConfigA]
mov r14, qword [rdi + 0x10]
lea rdx, [rbp - 0x15]
mov rcx, r14
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov edi, eax
test eax, eax
je 0x140027b13
mov ecx, edi
mov edx, 1
call fcn.14002f9e8
mov r9, rax
mov r8d, edi
xor edx, edx
mov rcx, r14
mov rbx, rax
call qword [sym.imp.VERSION.dll_GetFileVersionInfoA]
lea r9, [rbp - 0x11]
mov rcx, rbx
lea r8, [rbp - 0x29]
lea rdx, [0x140051644]
call qword [sym.imp.VERSION.dll_VerQueryValueA]
mov rcx, qword [rbp - 0x29]
movzx edi, word [rcx + 0x12]
movzx r14d, word [rcx + 0x10]
movzx r12d, word [rcx + 0x16]
movzx r13d, word [rcx + 0x14]
mov rcx, rbx
call fcn.14002fc28
jmp 0x140027b1e
xor edi, edi
xor r14d, r14d
xor r12d, r12d
xor r13d, r13d
mov dword [rsp + 0x30], r13d
lea r8, [0x140051b30]
mov dword [rsp + 0x28], r12d
lea rcx, [rbp - 1]
mov r9d, edi
mov dword [rsp + 0x20], r14d
mov edx, SafeArrayCopy
call fcn.140025df0
lea rcx, [rbp - 1]
call fcn.140033728
mov rcx, qword [rbp - 0x31]
mov rbx, rax
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, qword [rbp - 0x41]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, qword [rbp - 0x39]
call fcn.140003eb0
lea r8, [rbp - 9]
mov rcx, rbx
lea rdx, [rbp - 0x21]
call fcn.1400018b0
mov r12, qword [rbp - 9]
test r12, r12
jne 0x140027ba5
mov rcx, r15
call fcn.14002fc28
inc rsi
cmp rsi, 1
jge 0x140027ca8
mov rax, qword [rbp - 0x49]
jmp 0x1400279e0
mov r13, qword [rbp - 0x21]
lea rdx, [0x140051b20]
mov rcx, r15
call fcn.140027220
mov ecx, 0x7530
call qword [sym.imp.KERNEL32.dll_Sleep]
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov r8d, 1
mov rdx, r15
mov rcx, rax
mov r14, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
lea r9, [rbp - 0x19]
xor r8d, r8d
mov rcx, rax
xor edx, edx
mov rsi, rax
call qword [sym.imp.ADVAPI32.dll_QueryServiceConfigA]
mov ebx, dword [rbp - 0x19]
xor ecx, ecx
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
lea r9, [rbp - 0x19]
mov r8d, ebx
mov rdx, rax
mov rcx, rsi
mov rdi, rax
call qword [sym.imp.ADVAPI32.dll_QueryServiceConfigA]
mov rcx, qword [rdi + 0x10]
call fcn.140033728
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
call fcn.140033648
lea r8, [0x140051b3c]
mov rdx, rbx
lea rcx, [rbp - 0x31]
call fcn.1400331f0
test eax, eax
jne 0x140027c7d
mov r9, qword [rbp - 0x31]
lea edx, [rax + 1]
mov r8, r12
mov rcx, r13
call fcn.140032fcc
test rax, rax
je 0x140027c7d
mov rcx, qword [rbp - 0x31]
call fcn.140030770
lea rdx, [rbp - 0x49]
lea rcx, [0x140051a70]
call fcn.140025790
mov rdx, qword [rbp - 0x49]
mov rcx, rbx
call fcn.140025e50
lea rdx, [0x140051b40]
mov rcx, r15
call fcn.140027220
mov r14, qword [rsp + 0xb0]
xor eax, eax
mov r13, qword [rsp + 0xb8]
mov r12, qword [rsp + 0x100]
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.14002d5c0
add rsp, 0xc0
pop r15
pop rdi
pop rsi
pop rbx
pop rbp
ret