Function at 0x140002370
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
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x430]
sub rsp, 0x530
mov rax, qword [0x14000e040]
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 r15, str.BEService.exe
cmp rax, 0xffffffffffffffff
jne 0x1400023d4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
jmp 0x140002485
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 0x140002467
nop word [rax + rax]
lea rdx, [rbp - 4]
mov rax, rsi
nop word [rax + rax]
movzx ecx, word [r15 + rax*2]
cmp cx, word [rdx + rax*2]
jne 0x140002456
movzx ecx, word [r15 + rax*2 + 2]
cmp cx, word [rdx + rax*2 + 2]
jne 0x140002456
add rax, 2
cmp rax, 0xe
jne 0x140002420
mov edi, dword [rbp - 0x28]
test rbx, rbx
je 0x140002454
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
jmp 0x140002487
lea rdx, [rbp - 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140002410
test rbx, rbx
je 0x140002476
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
test rbx, rbx
je 0x140002485
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 [0x1400df128]
mov qword [0x1400df128], rax
test rcx, rcx
je 0x1400024ba
call qword [0x1400df120]
mov r14, qword [0x1400df128]
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x1400df120], rax
mov ecx, 0x200
call fcn.140005dc4
mov r12, rax
xor edx, edx
mov r8d, 0x200
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rbp - 0x70], r12
mov dword [rbp - 0x78], esi
lea r9, [rbp - 0x78]
mov r8d, 0x200
mov rdx, r12
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
je 0x14000259f
mov ebx, esi
test dword [rbp - 0x78], 0xfffffff8
jbe 0x140002591
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, [r12 + 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 0x140002585
mov rdx, r15
lea rcx, [rbp + 0x210]
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
jne 0x14000262c
mov rcx, qword [rdi]
test rcx, rcx
je 0x140002585
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
mov eax, dword [rbp - 0x78]
shr eax, 3
cmp ebx, eax
jb 0x140002520
test r14, r14
je 0x14000259f
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov r15d, 7
mov rbx, rsi
mov word [rsp + 0x68], si
mov qword [rbp - 0x80], r15
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x60], rsi
mov rdi, rsi
mov rcx, r12
call fcn.140005b40
nop
mov qword [0x1400df108], rdi
lea r9, [rsp + 0x68]
mov r12, qword [rsp + 0x68]
cmp r15, 7
cmova r9, r12
lea r13, [0x1400de6e0]
mov rax, qword [0x1400de6f8]
cmp rbx, rax
ja 0x14000268b
mov rdi, r13
cmp rax, 7
cmova rdi, qword [0x1400de6e0]
mov qword [0x1400de6f0], rbx
add rbx, rbx
mov r8, rbx
mov rdx, r9
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + rdi], si
jmp 0x14000269c
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 0x140002653
lea rdx, [rbp + 0x210]
lea rcx, [rsp + 0x68]
call fcn.140004c20
nop
mov rcx, r12
call fcn.140005b40
mov r15, qword [rbp - 0x80]
mov rbx, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x60]
jmp 0x1400025cf
mov rdx, rbx
call fcn.140004aa0
mov r15, qword [rbp - 0x80]
mov r12, qword [rsp + 0x68]
mov rcx, r13
cmp qword [0x1400de6f8], 7
cmova rcx, qword [0x1400de6e0]
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 r14, rax
mov rcx, qword [0x1400df150]
mov qword [0x1400df150], rax
test rcx, rcx
je 0x1400026f9
call qword [0x1400df148]
mov r14, qword [0x1400df150]
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x1400df148], rax
cmp qword [0x1400de6f8], 7
cmova r13, qword [0x1400de6e0]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rsi
mov r8, qword [0x1400de6f0]
mov rdx, r13
lea rcx, [rsp + 0x40]
call fcn.140004c20
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.140005784
test eax, eax
jne 0x140002955
mov rdi, qword [rbp - 0x48]
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x1400027b2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400027ad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002838
call fcn.140005b40
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], si
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x68], xmm1
mov rbx, rsi
mov qword [rbp - 0x58], rbx
test rdi, rdi
je 0x1400027e9
mov rdx, rdi
lea rcx, [rbp - 0x68]
call fcn.140005450
mov rbx, qword [rbp - 0x58]
mov dword [rbp - 0x70], esi
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 0x70]
mov r8d, edi
mov rdi, qword [rbp - 0x68]
mov rdx, rdi
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x14000284c
mov r14, rsi
test rdi, rdi
je 0x140002860
sub rbx, rdi
mov rax, rdi
cmp rbx, 0x1000
jb 0x14000283f
add rbx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000283f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, rbx
mov rcx, rdi
call fcn.140005b40
jmp 0x140002860
test r14, r14
je 0x14000285a
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r14, rbx
mov rsi, rdi
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 0x14000289b
cmp dword [rdx + 0x10], 0
je 0x140002892
test dword [rdx + 0x24], 0x20000000
jne 0x14000289b
add rdx, 0x28
cmp rdx, rax
jne 0x140002883
mov eax, dword [rdx + 0xc]
mov ecx, dword [rdx + 8]
mov dword [0x1400df0f8], eax
mov dword [0x1400df0fc], ecx
sub r14, rsi
mov rax, rsi
cmp r14, 0x1000
jb 0x1400028d8
add r14, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400028d8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, r14
mov rcx, rsi
call fcn.140005b40
nop
cmp r15, 7
jbe 0x140002923
lea rdx, [r15*2 + 2]
mov rax, r12
cmp rdx, 0x1000
jb 0x14000291b
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000291b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r12
call fcn.140005b40
mov al, 1
mov rcx, qword [rbp + 0x420]
xor rcx, rsp
call fcn.140005b20
lea r11, [rsp + 0x530]
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
lea r8, [rsp + 0x40]
mov edx, eax
call fcn.140002290
int3