Function at 0x1400698a0
Capabilities:
Query environment variable
Query service status
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x400]
sub rsp, 0x500
mov rax, qword [0x1402b1510]
xor rax, rsp
mov qword [rbp + 0x3f0], rax
mov ecx, 3
call fcn.14006cc00
test eax, eax
jne 0x140069dca
lea ecx, [rax + 0x10]
call fcn.1401d08e8
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [0x1402b79b0], rax
xor r14d, r14d
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], r14w
lea r8d, [r14 + 3]
lea rdx, [0x140291938]
lea rcx, [rbp - 0x60]
call fcn.1400631d0
nop
lea r8, [0x1400693c0]
lea rdx, [0x140069220]
lea rcx, [rbp - 0x60]
call fcn.140068270
mov rcx, qword [0x1402b79b0]
mov qword [rcx], rax
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x14006998d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140069988
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140069e00
call fcn.1401d08e0
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], r14w
mov r8d, 3
lea rdx, [0x1402923b0]
lea rcx, [rbp - 0x60]
call fcn.1400631d0
nop
lea r8, [0x140069700]
lea rdx, [0x140069560]
lea rcx, [rbp - 0x60]
call fcn.140068270
mov rcx, qword [0x1402b79b0]
mov qword [rcx + 8], rax
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x140069a1b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140069a16
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140069e06
call fcn.1401d08e0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], rax
mov dword [rbp - 0x68], eax
mov r8d, 0x104
lea rdx, [rbp + 0x1e0]
lea rcx, str.SystemRoot
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x140069dca
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x30]
call fcn.1401d2e50
movabs r13, 0x9aadf7abdcfcea69
mov qword [rbp - 0x60], r13
movabs r12, 0xdf1917403ef895ea
mov qword [rbp - 0x58], r12
movabs rax, 0x9af1f794dcc3ea35
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], r12
movdqa xmm0, xmmword [rsp + 0x70]
pxor xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rsp + 0x70], xmm0
lea r8, [rsp + 0x70]
mov edx, 0x104
lea rcx, [rbp - 0x30]
call fcn.1401dee00
lea r8, [rbp + 0x1e0]
mov edx, 0x104
lea rcx, [rbp - 0x30]
call fcn.1401dee68
mov qword [rbp - 0x60], r13
mov qword [rbp - 0x58], r12
movabs rax, 0xbcc0ceed17919c83
mov qword [rbp - 0x50], rax
movabs rax, 0xb1f5ec029b2cb6d4
mov qword [rbp - 0x48], rax
movabs rax, 0x5b1419674c84b5cd
mov qword [rbp - 0x40], rax
movabs rcx, 0x29d0432c58fc5cce
mov qword [rbp - 0x38], rcx
movabs rax, 0x9ac6f7ccdc8aea35
mov qword [rsp + 0x40], rax
movabs rax, 0xdf6d172f3e979588
mov qword [rsp + 0x48], rax
movabs rax, 0xbcb4ce8c17e59cf0
mov qword [rsp + 0x50], rax
movabs rax, 0xb191ec2c9b5fb6a1
mov qword [rsp + 0x58], rax
movabs rax, 0x5b1419674cf0b5ac
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rcx
movdqa xmm0, xmmword [rbp - 0x60]
pxor xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [rsp + 0x50]
pxor xmm1, xmmword [rbp - 0x50]
movdqa xmmword [rsp + 0x50], xmm1
movdqa xmm0, xmmword [rbp - 0x40]
pxor xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
lea r8, [rsp + 0x40]
mov edx, 0x104
lea rcx, [rbp - 0x30]
call fcn.1401dee68
mov r8d, reloc.WLDAP32.dll_Ordinal_32
lea rdx, [0x140290e20]
lea rcx, [rbp - 0x30]
call fcn.1401daa4c
mov rbx, rax
test rax, rax
je 0x140069dca
mov r9, rax
mov r15d, 1
mov r8d, r15d
mov edx, r15d
lea rcx, [rsp + 0x30]
call fcn.1401da708
cmp rax, r15
jne 0x140069dc2
cmp byte [rsp + 0x30], 0
jne 0x140069dc2
mov rcx, rbx
call fcn.1401da854
xor bl, bl
mov r8d, r15d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rdi, rax
test rax, rax
je 0x140069dca
lea r8d, [r15 + 3]
lea rdx, [0x1402923b0]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rsi, rax
test rax, rax
je 0x140069c4a
lea rdx, [rbp - 0x80]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
movzx ebx, bl
test eax, eax
cmovne ebx, r15d
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test bl, bl
je 0x140069dca
mov qword [rbp - 0x60], r13
mov qword [rbp - 0x58], r12
movabs rax, 0xbcc0ceed17919c83
mov qword [rbp - 0x50], rax
movabs rax, 0xb1f5ec029b2cb6d4
mov qword [rbp - 0x48], rax
movabs rax, 0x5b1419674c84b5cd
mov qword [rbp - 0x40], rax
movabs rax, 0x29d0432c58fc5cce
mov qword [rbp - 0x38], rax
movabs rax, 0xb582cdd8ac889e01
mov qword [rsp + 0x40], rax
movabs rax, 0xad6d722d5b94f09e
mov qword [rsp + 0x48], rax
movabs rax, 0x92a3afc370e7b2fa
mov qword [rsp + 0x50], rax
movabs rax, 0x9e81896cb55cc0a4
mov qword [rsp + 0x58], rax
movabs rax, 0x29607c0a29e8d0b9
mov qword [rsp + 0x60], rax
movabs rax, 0x29d0432c58fc5cb7
mov qword [rsp + 0x68], rax
movdqa xmm0, xmmword [rbp - 0x60]
pxor xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [rbp - 0x50]
pxor xmm1, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x50], xmm1
movdqa xmm0, xmmword [rbp - 0x40]
pxor xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x48], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x60], 0
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140069d50
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x60]
call fcn.140063c20
nop
mov byte [rsp + 0x28], 1
mov eax, dword [rbp - 0x74]
mov dword [rsp + 0x20], eax
mov r9d, dword [rbp - 0x70]
mov r8d, r15d
mov edx, r15d
lea rcx, [rbp - 0x60]
call fcn.140068fe0
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0x10
jb 0x140069dca
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140069dbb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140069dfa
call fcn.1401d08e0
jmp 0x140069dca
mov rcx, rbx
call fcn.1401da854
mov rcx, qword [rbp + 0x3f0]
xor rcx, rsp
call fcn.1401d08c0
lea r11, [rsp + 0x500]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1401d73a4
int3
call fcn.1401d73a4
int3
call fcn.1401d73a4
int3