Function at 0x140018570
Capabilities:
Accept command line arguments
Enumerate files on windows
Enumerate processes
Get file attributes
Query service configuration
Query service status

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x2b8]
sub rsp, 0x390
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x140320c20]
xor rax, rsp
mov qword [rbp + 0x280], rax
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x30]
call fcn.140218bd0
mov r8d, 0x104
lea rdx, [rbp + 0x30]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x40], rax
mov r8d, 0xfde9
lea rdx, [rbp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.1400078f0
nop
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov rdx, rax
mov r8, qword [rsp + 0x40]
call fcn.140018c30
nop
lea rax, [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
cmp rcx, rax
je 0x140018619
call fcn.140222478
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rsi, rax
xor r14d, r14d
test rax, rax
je 0x140018768
lea r8d, [r14 + 5]
lea rdx, str.AntiCheatExpert_Service
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rdi, rax
test rax, rax
je 0x14001875f
mov dword [rbp - 0x28], r14d
lea r9, [rbp - 0x28]
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_QueryServiceConfigA]
test eax, eax
jne 0x1400186ee
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1400186ee
mov qword [rbp - 8], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x10], r14
mov byte [rbp - 0x20], r14b
mov edx, dword [rbp - 0x28]
test rdx, rdx
jne 0x14001869d
mov qword [rbp - 0x10], rdx
mov byte [rbp + rdx - 0x20], dl
jmp 0x1400186a9
xor r8d, r8d
lea rcx, [rbp - 0x20]
call fcn.140007d30
lea rbx, [rbp - 0x20]
cmp qword [rbp - 8], 0x10
cmovae rbx, qword [rbp - 0x20]
lea r9, [rbp - 0x28]
mov r8d, dword [rbp - 0x28]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_QueryServiceConfigA]
test eax, eax
je 0x1400186e5
mov r9d, dword [rbx + 4]
mov r8d, dword [rbx]
mov rdx, qword [rbx + 0x10]
mov ecx, 0xfb1
call fcn.1400108f0
nop
lea rcx, [rbp - 0x20]
call fcn.140004620
xor eax, eax
mov qword [rbp], rax
mov qword [rbp + 8], rax
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rax
mov dword [rbp + 0x20], eax
lea rax, [rbp - 0x28]
mov qword [rsp + 0x20], rax
mov r9d, Ordinal_41
lea r8, [rbp]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x140018756
mov dword [rsp + 0x30], 0x1f2d27b8
mov dword [rsp + 0x34], 0xeb80c8
lea rcx, [rsp + 0x30]
call fcn.14000d480
mov rdx, rax
mov eax, dword [rbp]
mov dword [rsp + 0x20], eax
mov r9d, dword [rbp + 0x1c]
mov r8d, dword [rbp + 4]
call fcn.140018e00
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call fcn.140024080
movzx esi, al
call fcn.140024100
movzx edi, al
call fcn.1400241f0
movzx ebx, al
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov rdx, rax
mov byte [rsp + 0x20], sil
movzx r9d, dil
movzx r8d, bl
call fcn.140018ff0
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14001888c
xor edx, edx
mov r8d, 0x238
lea rcx, [rbp + 0x30]
call fcn.140218bd0
mov dword [rbp + 0x30], 0x238
lea rdx, [rbp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14001888c
mov dword [rsp + 0x30], 0x1140098
mov dword [rsp + 0x34], 0xa0039
mov dword [rsp + 0x38], 0x9700cf
mov dword [rsp + 0x3c], 0xeb
lea rcx, [rsp + 0x30]
call fcn.140018b70
mov rdx, rax
mov r8d, 5
lea rcx, [rbp + 0x5c]
call fcn.140224760
test eax, eax
jne 0x14001886b
lea rax, [rsp + 0x48]
mov qword [rsp + 0x40], rax
mov r8d, 0xfde9
lea rdx, [rbp + 0x5c]
lea rcx, [rsp + 0x40]
call fcn.1400078f0
nop
mov r9d, dword [rbp + 0x58]
mov r8d, dword [rbp + 0x4c]
mov rdx, qword [rsp + 0x40]
mov ecx, 0xfb1
call fcn.1400108f0
nop
lea rax, [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
cmp rcx, rax
je 0x14001886b
call fcn.140222478
lea rdx, [rbp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400187e0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor r14d, r14d
mov qword [rbp - 8], 7
mov qword [rbp - 0x10], r14
mov word [rbp - 0x20], r14w
lea rcx, [rbp - 0x20]
call fcn.140022df0
lea rdx, [rbp - 0x20]
cmp qword [rbp - 8], 8
cmovae rdx, qword [rbp - 0x20]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x40], rax
mov r8d, 0xfde9
lea rcx, [rsp + 0x40]
call fcn.1400078f0
nop
lea rcx, [rbp - 0x20]
cmp qword [rbp - 8], 8
cmovae rcx, qword [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
mov r9d, ebx
mov rdx, qword [rsp + 0x40]
mov ecx, 0xfb1
call fcn.1400108f0
nop
lea rax, [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
cmp rcx, rax
je 0x140018915
call fcn.140222478
xor edx, edx
mov r8d, 0x250
lea rcx, [rbp + 0x30]
call fcn.140218bd0
mov dword [rsp + 0x30], 0x1790097
mov dword [rsp + 0x34], 0x410062
mov dword [rsp + 0x38], 0xbd
lea rcx, [rsp + 0x30]
call fcn.140018ab0
mov r8, rax
lea rdx, [rbp - 0x20]
lea rcx, [rbp]
call fcn.1400107c0
nop
lea rcx, [rbp]
cmp qword [rbp + 0x18], 8
cmovae rcx, qword [rbp]
lea rdx, [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400189e8
nop word [rax + rax]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x40], rax
mov r8d, 0xfde9
lea rdx, [rbp + 0x5c]
lea rcx, [rsp + 0x40]
call fcn.1400078f0
nop
mov eax, dword [rbp + 0x34]
mov dword [rsp + 0x20], eax
mov r9d, dword [rbp + 0x50]
mov r8d, dword [rbp + 0x30]
mov rdx, qword [rsp + 0x40]
call fcn.140018e00
nop
lea rax, [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
cmp rcx, rax
je 0x1400189cd
call fcn.140222478
lea rdx, [rbp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140018980
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
mov r8, qword [rbp + 0x18]
cmp r8, 8
jb 0x140018a02
inc r8
mov rdx, qword [rbp]
lea rcx, [rbp]
call fcn.140008270
mov qword [rbp + 0x18], 7
mov qword [rbp + 0x10], r14
mov word [rbp], r14w
mov r8, qword [rbp - 8]
cmp r8, 8
jb 0x140018a2d
inc r8
mov rdx, qword [rbp - 0x20]
lea rcx, [rbp - 0x20]
call fcn.140008270
call fcn.1400241f0
test al, al
je 0x140018a7f
call fcn.140015120
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140018a49
mov rax, r14
jmp 0x140018a4d
add rax, 4
mov ebx, dword [rax]
call fcn.140015120
mov rax, qword [rax + 0x10]
test rax, rax
je 0x140018a74
add rax, 4
je 0x140018a74
mov r14, qword [rax + 4]
test r14, r14
je 0x140018a74
mov eax, 0x9ca3186e
xor r14, rax
mov r9d, ebx
mov r8, r14
call fcn.1400191e0
mov rcx, qword [rbp + 0x280]
xor rcx, rsp
call fcn.140215090
lea r11, [rsp + 0x390]
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