Function at 0x140002350
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 [0x14000f010]
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 0x1400023b5
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
jmp 0x140002441
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 0x140002428
lea rdx, [rbp - 4]
mov rax, rsi
movzx ecx, word [r12 + rax*2]
cmp cx, word [rdx + rax*2]
jne 0x1400023da
movzx ecx, word [r12 + rax*2 + 2]
cmp cx, word [rdx + rax*2 + 2]
jne 0x1400023da
add rax, 2
cmp rax, 0xe
jne 0x1400023f2
mov edi, dword [rbp - 0x28]
test rbx, rbx
je 0x140002426
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
jmp 0x140002443
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
test rbx, rbx
je 0x140002441
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 [0x140097478]
mov qword [0x140097478], rax
test rcx, rcx
je 0x140002476
call qword [0x140097470]
mov r14, qword [0x140097478]
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x140097470], rax
mov ecx, 0x200
call fcn.14000606c
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 0x140002550
mov ebx, esi
test dword [rbp - 0x78], 0xfffffff8
jbe 0x140002542
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 0x140002536
mov rdx, r12
lea rcx, [rbp + 0x210]
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
jne 0x1400025dd
mov rcx, qword [rdi]
test rcx, rcx
je 0x140002536
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
mov eax, dword [rbp - 0x78]
shr eax, 3
cmp ebx, eax
jb 0x1400024d1
test r14, r14
je 0x140002550
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.140005dd0
nop
mov qword [0x140097ec8], rdi
lea r9, [rsp + 0x68]
mov r15, qword [rsp + 0x68]
cmp r14, 8
cmovae r9, r15
lea r12, [0x1400974a8]
mov rax, qword [0x1400974c0]
cmp rbx, rax
ja 0x14000263c
mov rdi, r12
cmp rax, 8
cmovae rdi, qword [0x1400974a8]
mov qword [0x1400974b8], rbx
add rbx, rbx
mov r8, rbx
mov rdx, r9
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + rdi], si
jmp 0x14000264d
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 0x140002604
lea rdx, [rbp + 0x210]
lea rcx, [rsp + 0x68]
call fcn.140004d20
nop
mov rcx, r15
call fcn.140005dd0
mov r14, qword [rbp - 0x80]
mov rbx, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x60]
jmp 0x140002580
mov rdx, rbx
call fcn.140005220
mov r14, qword [rbp - 0x80]
mov r15, qword [rsp + 0x68]
mov rcx, r12
cmp qword [0x1400974c0], 8
cmovae rcx, qword [0x1400974a8]
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 [0x1400974a0]
mov qword [0x1400974a0], rax
test rcx, rcx
je 0x1400026aa
call qword [0x140097498]
mov rbx, qword [0x1400974a0]
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x140097498], rax
cmp qword [0x1400974c0], 8
cmovae r12, qword [0x1400974a8]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rsi
mov r8, qword [0x1400974b8]
mov rdx, r12
lea rcx, [rsp + 0x40]
call fcn.140004d20
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.140005a10
test eax, eax
jne 0x140002901
mov rdi, qword [rbp - 0x48]
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x140002763
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000275e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400027e7
call fcn.140005dd0
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 0x140002793
mov rdx, rdi
lea rcx, [rbp - 0x68]
call fcn.1400056e0
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 0x1400027f5
mov rbx, rsi
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x14000280b
mov rdx, qword [rbp - 0x58]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400027ee
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400027ee
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005dd0
jmp 0x14000280b
test rbx, rbx
je 0x140002803
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 0x140002848
nop
cmp dword [rdx + 0x10], 0
je 0x14000283f
test dword [rdx + 0x24], 0x20000000
jne 0x140002848
add rdx, 0x28
cmp rdx, rax
jne 0x140002830
mov eax, dword [rdx + 0xc]
mov ecx, dword [rdx + 8]
mov dword [0x140097eb8], eax
mov dword [0x140097ebc], ecx
sub rbx, rsi
mov rax, rsi
cmp rbx, 0x1000
jb 0x140002885
add rbx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002885
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.140005dd0
nop
cmp r14, 8
jb 0x1400028cf
lea rdx, [r14*2 + 2]
mov rax, r15
cmp rdx, 0x1000
jb 0x1400028c7
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400028c7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r15
call fcn.140005dd0
mov al, 1
mov rcx, qword [rbp + 0x420]
xor rcx, rsp
call fcn.140005db0
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.140002270
int3