Function at 0x140007370
Capabilities:
Create process on windows
Enumerate processes

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x538
mov qword [rsp + 0x58], 0
mov dword [rsp + 0x80], 0xf
mov qword [rsp + 0xc0], 0
mov qword [rsp + 0xc8], 0
mov qword [rsp + 0xd0], 0
mov dword [rsp + 0x90], 0
mov dword [rsp + 0x94], 0
mov dword [rsp + 0x98], 0
mov dword [rsp + 0x9c], 0
mov dword [rsp + 0xe0], 0x238
xor edx, edx
mov ecx, dword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0xffffffffffffffff
jne 0x140007417
mov eax, 1
jmp 0x140007824
lea rdx, [rsp + 0xe0]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x140007438
mov eax, 1
jmp 0x140007824
mov dword [rsp + 0x34], 0
jmp 0x14000744c
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x558]
cmp dword [rsp + 0x34], eax
jge 0x14000754f
mov dword [rsp + 0x38], 0
jmp 0x140007471
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
movsxd rax, dword [rsp + 0x38]
movsxd rcx, dword [rsp + 0x34]
imul rcx, rcx, 0x208
mov rdx, qword [rsp + 0x550]
add rdx, rcx
mov rcx, rdx
mov qword [rsp + 0xa0], rcx
mov qword [rsp + 0x60], 0xffffffffffffffff
inc qword [rsp + 0x60]
mov rcx, qword [rsp + 0xa0]
mov rdx, qword [rsp + 0x60]
cmp word [rcx + rdx*2], 0
jne 0x1400074a1
mov rcx, qword [rsp + 0x60]
cmp rax, rcx
jae 0x14000754a
movsxd rax, dword [rsp + 0x34]
imul rax, rax, 0x208
mov rcx, qword [rsp + 0x550]
add rcx, rax
mov rax, rcx
movsxd rcx, dword [rsp + 0x38]
movzx eax, word [rax + rcx*2]
mov word [rsp + 0x30], ax
movsxd rax, dword [rsp + 0x34]
imul rax, rax, 0x208
mov rcx, qword [rsp + 0x550]
add rcx, rax
mov rax, rcx
movsxd rcx, dword [rsp + 0x38]
movzx ecx, word [rax + rcx*2]
call fcn.140009be4
mov word [rsp + 0x30], ax
movsxd rax, dword [rsp + 0x34]
imul rax, rax, 0x208
mov rcx, qword [rsp + 0x550]
add rcx, rax
mov rax, rcx
movsxd rcx, dword [rsp + 0x38]
movzx edx, word [rsp + 0x30]
mov word [rax + rcx*2], dx
jmp 0x140007467
jmp 0x140007442
lea rdx, [rsp + 0xe0]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x140007814
mov dword [rsp + 0x3c], 0
jmp 0x14000757e
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
movsxd rax, dword [rsp + 0x3c]
lea rcx, [rsp + 0x10c]
mov qword [rsp + 0xa8], rcx
mov qword [rsp + 0x68], 0xffffffffffffffff
inc qword [rsp + 0x68]
mov rcx, qword [rsp + 0xa8]
mov rdx, qword [rsp + 0x68]
cmp word [rcx + rdx*2], 0
jne 0x14000759c
mov rcx, qword [rsp + 0x68]
cmp rax, rcx
jae 0x140007601
movsxd rax, dword [rsp + 0x3c]
movzx eax, word [rsp + rax*2 + 0x10c]
mov word [rsp + 0x30], ax
movsxd rax, dword [rsp + 0x3c]
movzx eax, word [rsp + rax*2 + 0x10c]
mov ecx, eax
call fcn.140009f24
mov word [rsp + 0x30], ax
movsxd rax, dword [rsp + 0x3c]
movzx ecx, word [rsp + 0x30]
mov word [rsp + rax*2 + 0x10c], cx
jmp 0x140007574
mov qword [rsp + 0x88], 0
mov dword [rsp + 0x40], 0
jmp 0x140007621
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x558]
dec eax
cmp dword [rsp + 0x40], eax
jge 0x14000780f
lea rax, [rsp + 0x10c]
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0x70], 0xffffffffffffffff
inc qword [rsp + 0x70]
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x70]
cmp word [rax + rcx*2], 0
jne 0x14000764d
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rsp + 0x40]
imul rcx, rcx, 0x208
mov rdx, qword [rsp + 0x550]
add rdx, rcx
mov rcx, rdx
mov qword [rsp + 0xb8], rcx
mov qword [rsp + 0x78], 0xffffffffffffffff
inc qword [rsp + 0x78]
mov rcx, qword [rsp + 0xb8]
mov rdx, qword [rsp + 0x78]
cmp word [rcx + rdx*2], 0
jne 0x140007696
mov rcx, qword [rsp + 0x78]
cmp rax, rcx
jb 0x14000780a
movsxd rax, dword [rsp + 0x40]
imul rax, rax, 0x208
mov rcx, qword [rsp + 0x550]
add rcx, rax
mov rax, rcx
mov rdx, rax
lea rcx, [rsp + 0x10c]
call fcn.1400011e0
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0
jne 0x140007742
movsxd rax, dword [rsp + 0x40]
imul rax, rax, 0x208
mov rcx, qword [rsp + 0x550]
add rcx, rax
mov rax, rcx
lea rcx, [rsp + 0x10c]
sub rax, rcx
movzx edx, word [rcx]
cmp dx, word [rcx + rax]
jne 0x140007735
add rcx, 2
test dx, dx
jne 0x14000771f
xor eax, eax
jmp 0x14000773a
sbb eax, eax
or eax, 1
test eax, eax
jne 0x14000780a
lea rax, [rsp + 0x320]
lea rcx, str._IM
mov rdi, rax
mov rsi, rcx
mov ecx, 0xa
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x320]
mov qword [rsp + 0x48], rax
sub qword [rsp + 0x48], 2
add qword [rsp + 0x48], 2
mov rax, qword [rsp + 0x48]
cmp word [rax], 0
jne 0x140007771
mov rax, qword [rsp + 0x48]
lea rcx, [rsp + 0x10c]
xor edx, edx
movzx edi, word [rcx + rdx*2]
mov word [rax + rdx*2], di
inc rdx
test di, di
jne 0x140007791
lea rax, [rsp + 0x320]
mov qword [rsp + 0x50], rax
sub qword [rsp + 0x50], 2
add qword [rsp + 0x50], 2
mov rax, qword [rsp + 0x50]
cmp word [rax], 0
jne 0x1400077b4
mov rax, qword [rsp + 0x50]
lea rcx, [0x140020578]
mov rdi, rax
mov rsi, rcx
mov ecx, 8
rep movsb byte [rdi], byte [rsi]
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x320]
lea r8, str.taskkill
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x14000780f
jmp 0x140007617
jmp 0x14000754f
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
add rsp, 0x538
pop rdi
pop rsi
ret