Function at 0x1400022e0
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 [0x14000d010]
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 0x140002345
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
jmp 0x1400023c7
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 0x1400023b8
lea rdx, [rbp - 4]
mov rax, rsi
movzx ecx, word [r12 + rax*2]
cmp cx, word [rdx + rax*2]
jne 0x14000236a
movzx ecx, word [r12 + rax*2 + 2]
cmp cx, word [rdx + rax*2 + 2]
jne 0x14000236a
add rax, 2
cmp rax, 0xe
jne 0x140002382
mov edi, dword [rbp - 0x28]
test rbx, rbx
je 0x1400023b6
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
jmp 0x1400023c9
test rbx, rbx
je 0x1400023c7
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 [0x14000d070]
mov qword [0x14000d070], rax
test rcx, rcx
je 0x1400023fc
call qword [0x14000d068]
mov r14, qword [0x14000d070]
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x14000d068], rax
mov ecx, 0x200
call fcn.14000526c
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 0x1400024df
mov ebx, esi
test dword [rbp - 0x78], 0xfffffff8
jbe 0x1400024d1
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 0x1400024c5
mov rdx, r12
lea rcx, [rbp + 0x210]
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
jne 0x14000256c
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400024c5
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
mov eax, dword [rbp - 0x78]
shr eax, 3
cmp ebx, eax
jb 0x140002460
test r14, r14
je 0x1400024df
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.140004fd0
nop
mov qword [0x14000d8b8], rdi
lea r9, [rsp + 0x68]
mov r15, qword [rsp + 0x68]
cmp r14, 8
cmovae r9, r15
lea r12, [0x14000d0a0]
mov rax, qword [0x14000d0b8]
cmp rbx, rax
ja 0x1400025cb
mov rdi, r12
cmp rax, 8
cmovae rdi, qword [0x14000d0a0]
mov qword [0x14000d0b0], rbx
add rbx, rbx
mov r8, rbx
mov rdx, r9
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + rdi], si
jmp 0x1400025dc
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
inc r8
cmp word [rax + r8*2], 0
jne 0x140002593
lea rdx, [rbp + 0x210]
lea rcx, [rsp + 0x68]
call fcn.140003db0
nop
mov rcx, r15
call fcn.140004fd0
mov r14, qword [rbp - 0x80]
mov rbx, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x60]
jmp 0x14000250f
mov rdx, rbx
call fcn.140004440
mov r14, qword [rbp - 0x80]
mov r15, qword [rsp + 0x68]
mov rcx, r12
cmp qword [0x14000d0b8], 8
cmovae rcx, qword [0x14000d0a0]
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 [0x14000d098]
mov qword [0x14000d098], rax
test rcx, rcx
je 0x140002639
call qword [0x14000d090]
mov rbx, qword [0x14000d098]
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x14000d090], rax
cmp qword [0x14000d0b8], 8
cmovae r12, qword [0x14000d0a0]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rsi
mov r8, qword [0x14000d0b0]
mov rdx, r12
lea rcx, [rsp + 0x40]
call fcn.140003db0
nop
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
mov r9d, 0xffffffff
mov r8d, 9
lea rdx, [rbp - 0x50]
call fcn.140004c14
test eax, eax
jne 0x140002891
mov rdi, qword [rbp - 0x48]
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x1400026f2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400026ed
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002776
call fcn.140004fd0
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 0x140002722
mov rdx, rdi
lea rcx, [rbp - 0x68]
call fcn.140004930
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 0x140002784
mov rbx, rsi
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x14000279a
mov rdx, qword [rbp - 0x58]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000277d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000277d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004fd0
jmp 0x14000279a
test rbx, rbx
je 0x140002792
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 0x1400027d8
nop dword [rax]
cmp dword [rdx + 0x10], 0
je 0x1400027cf
test dword [rdx + 0x24], 0x20000000
jne 0x1400027d8
add rdx, 0x28
cmp rdx, rax
jne 0x1400027c0
mov eax, dword [rdx + 0xc]
mov ecx, dword [rdx + 8]
mov dword [0x14000d8a8], eax
mov dword [0x14000d8ac], ecx
sub rbx, rsi
mov rax, rsi
cmp rbx, 0x1000
jb 0x140002815
add rbx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002815
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.140004fd0
nop
cmp r14, 8
jb 0x14000285f
lea rdx, [r14*2 + 2]
mov rax, r15
cmp rdx, 0x1000
jb 0x140002857
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002857
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r15
call fcn.140004fd0
mov al, 1
mov rcx, qword [rbp + 0x420]
xor rcx, rsp
call fcn.140004fb0
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.140002200
int3