Function at 0x140002360
Capabilities:
Enumerate pe sections
Enumerate process modules
Enumerate processes
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x430]
sub rsp, 0x530
mov rax, qword [0x14000c040]
xor rax, rsp
mov qword [rbp + 0x420], rax
xor esi, esi
xor edx, edx
lea ecx, [rsi + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
lea r12, str.BEService.exe
cmp rax, 0xffffffffffffffff
jne 0x1400023c5
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
jmp 0x140002466
mov dword [rbp - 0x30], 0x238
xor edx, edx
mov r8d, 0x234
lea rcx, [rbp - 0x2c]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp - 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
lea rdx, [rbp - 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x140002457
nop dword [rax + rax]
lea rdx, [rbp - 4]
mov rax, rsi
nop word [rax + rax]
movzx ecx, word [r12 + rax*2]
cmp cx, word [rdx + rax*2]
jne 0x140002446
movzx ecx, word [r12 + rax*2 + 2]
cmp cx, word [rdx + rax*2 + 2]
jne 0x140002446
add rax, 2
cmp rax, 0xe
jne 0x140002410
mov edi, dword [rbp - 0x28]
test rbx, rbx
je 0x140002444
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
jmp 0x140002468
lea rdx, [rbp - 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140002400
test rbx, rbx
je 0x140002466
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov edi, esi
mov r8d, edi
xor edx, edx
mov ecx, 0x438
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r14, rax
mov rcx, qword [0x14000c0e0]
mov qword [0x14000c0e0], rax
test rcx, rcx
je 0x14000249b
call qword [0x14000c0d8]
mov r14, qword [0x14000c0e0]
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x14000c0d8], rax
mov ecx, 0x200
call fcn.140004b8c
mov r15, rax
xor edx, edx
mov r8d, 0x200
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rbp - 0x70], r15
mov dword [rbp - 0x78], esi
lea r9, [rbp - 0x78]
mov r8d, 0x200
mov rdx, r15
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
je 0x140002575
mov ebx, esi
test dword [rbp - 0x78], 0xfffffff8
jbe 0x14000256c
nop word [rax + rax]
mov word [rbp + 0x210], si
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x212]
call sub.VCRUNTIME140.dll_memset
mov eax, ebx
lea rdi, [r15 + rax*8]
mov r9d, 0x104
lea r8, [rbp + 0x210]
mov rdx, qword [rdi]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExW]
test eax, eax
je 0x140002560
mov rdx, r12
lea rcx, [rbp + 0x210]
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
jne 0x140002602
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
mov eax, dword [rbp - 0x78]
shr eax, 3
cmp ebx, eax
jb 0x140002500
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov r14d, 7
mov rbx, rsi
mov word [rsp + 0x68], si
mov qword [rbp - 0x80], r14
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x60], rsi
mov rdi, rsi
mov rcx, r15
call fcn.140004900
nop
mov qword [0x14000c938], rdi
lea r9, [rsp + 0x68]
mov r15, qword [rsp + 0x68]
cmp r14, 7
cmova r9, r15
lea r12, [0x14000c110]
mov rax, qword [0x14000c128]
cmp rbx, rax
ja 0x140002668
mov rdi, r12
cmp rax, 7
cmova rdi, qword [0x14000c110]
mov qword [0x14000c120], rbx
add rbx, rbx
mov r8, rbx
mov rdx, r9
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + rdi], si
jmp 0x140002679
mov rax, qword [rdi]
mov qword [rsp + 0x60], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x80], rsi
lea rax, [rbp + 0x210]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140002630
lea rdx, [rbp + 0x210]
lea rcx, [rsp + 0x68]
call fcn.140003a40
nop
mov rcx, r15
call fcn.140004900
mov r14, qword [rbp - 0x80]
mov rbx, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x60]
jmp 0x1400025a5
mov rdx, rbx
call fcn.1400038c0
mov r14, qword [rbp - 0x80]
mov r15, qword [rsp + 0x68]
mov rcx, r12
cmp qword [0x14000c128], 7
cmova rcx, qword [0x14000c110]
mov qword [rsp + 0x30], 0xffffffffffffffff
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
mov rcx, qword [0x14000c108]
mov qword [0x14000c108], rax
test rcx, rcx
je 0x1400026d6
call qword [0x14000c100]
mov rbx, qword [0x14000c108]
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x14000c100], rax
cmp qword [0x14000c128], 7
cmova r12, qword [0x14000c110]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rsi
mov r8, qword [0x14000c120]
mov rdx, r12
lea rcx, [rsp + 0x40]
call fcn.140003a40
nop
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova rcx, qword [rsp + 0x40]
mov r9d, 0xffffffff
mov r8d, 9
lea rdx, [rbp - 0x50]
call fcn.140004548
test eax, eax
jne 0x140002926
mov rdi, qword [rbp - 0x48]
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x14000278f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000278a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002813
call fcn.140004900
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], si
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x68], xmm1
mov qword [rbp - 0x58], rsi
test rdi, rdi
je 0x1400027bf
mov rdx, rdi
lea rcx, [rbp - 0x68]
call fcn.140004260
mov dword [rbp - 0x70], esi
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 0x70]
mov r8d, edi
mov rdx, qword [rbp - 0x68]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x140002821
mov rbx, rsi
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x140002832
mov rdx, qword [rbp - 0x58]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000281a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000281a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004900
jmp 0x140002832
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rbp - 0x58]
mov rsi, qword [rbp - 0x68]
movsxd rcx, dword [rsi + 0x3c]
add rcx, rsi
movzx edx, word [rcx + 0x14]
add rdx, 0x18
add rdx, rcx
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea rax, [rdx + rcx*8]
cmp rdx, rax
je 0x14000286d
cmp dword [rdx + 0x10], 0
je 0x140002864
test dword [rdx + 0x24], 0x20000000
jne 0x14000286d
add rdx, 0x28
cmp rdx, rax
jne 0x140002855
mov eax, dword [rdx + 0xc]
mov ecx, dword [rdx + 8]
mov dword [0x14000c928], eax
mov dword [0x14000c92c], ecx
sub rbx, rsi
mov rax, rsi
cmp rbx, 0x1000
jb 0x1400028aa
add rbx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400028aa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, rbx
mov rcx, rsi
call fcn.140004900
nop
cmp r14, 7
jbe 0x1400028f4
lea rdx, [r14*2 + 2]
mov rax, r15
cmp rdx, 0x1000
jb 0x1400028ec
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400028ec
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r15
call fcn.140004900
mov al, 1
mov rcx, qword [rbp + 0x420]
xor rcx, rsp
call fcn.1400048e0
lea r11, [rsp + 0x530]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
lea r8, [rsp + 0x40]
mov edx, eax
call fcn.140002280
int3