Function at 0x140041510
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
mov qword [rsp + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x300
mov rbx, rcx
lea rcx, [rsp + 0x40]
call fcn.14004c600
nop
mov r8, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140041545
mov r8, qword [rbx]
mov r9, qword [rbx + 0x10]
add r9, r8
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.14004cc80
nop
lea rcx, [rsp + 0x40]
call fcn.14004c510
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400415c4
mov rdx, qword [rsp + 0x38]
cmp rdx, 7
jbe 0x14004175d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140041757
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004174d
jmp 0x140041757
mov dword [rsp + 0xc0], 0x238
lea rdx, [rsp + 0xc0]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x1400415ef
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14004157a
mov rbp, qword [rsp + 0x38]
mov r14, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x20]
nop
lea rcx, [rsp + 0xec]
mov rax, 0xffffffffffffffff
nop
inc rax
cmp word [rcx + rax*2], 0
jne 0x140041610
lea r8, [rsp + 0x20]
cmp rbp, 7
cmova r8, rsi
cmp r14, rax
jne 0x1400416fc
mov rdx, r14
lea rcx, [rsp + 0xec]
test r14, r14
je 0x140041668
lea rax, [rsp + 0xec]
sub r8, rax
nop dword [rax + rax]
movzx eax, word [rcx + r8]
cmp ax, word [rcx]
jne 0x1400416fc
add rcx, 2
sub rdx, 1
jne 0x140041650
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [rsp + 0xc8]
cmp rbp, 7
jbe 0x1400416b3
lea rdx, [rbp*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x1400416ab
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004174d
mov rcx, rsi
call fcn.1400b271c
test edi, edi
je 0x14004175d
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x1400416f5
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x1400416f0
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400417c0
mov rcx, r8
call fcn.1400b271c
mov al, 1
jmp 0x140041795
lea rdx, [rsp + 0xc0]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140041600
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp rbp, 7
jbe 0x14004175d
lea rdx, [rbp*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140041754
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140041754
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.1400b271c
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140041793
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14004178e
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400417c0
mov rcx, r8
call fcn.1400b271c
xor al, al
mov byte [rbx], 0
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov qword [rbx + 0x10], 0
lea r11, [rsp + 0x300]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3