Function at 0x140002700
Capabilities:
Acquire debug privileges
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x220]
sub rsp, 0x320
xor r12d, r12d
mov qword [rsp + 0x78], r12
movdqa xmm0, xmmword [0x140042af0]
movdqu xmmword [rbp - 0x78], xmm0
mov byte [rsp + 0x78], r12b
lea rcx, [rbp - 0x20]
call fcn.140003d50
nop
lea rax, [rbp - 0x20]
mov qword [rbp - 0x60], rax
mov dword [rbp - 0x58], r12d
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x20]
call fcn.140005230
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
test byte [rdx + rax + 0x10], 6
mov rax, qword [rbp - 0x60]
cmovne rax, r12
mov qword [rbp - 0x60], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
mov ecx, r12d
mov qword [rsp + 0x70], rcx
movaps xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rsp + 0x30], xmm0
lea rdx, [rsp + 0x60]
mov qword [rbp + 0x270], rdx
test rax, rax
je 0x1400027f8
mov rdx, qword [rsp + 0x68]
cmp rdx, rcx
je 0x1400027b8
mov eax, dword [rsp + 0x38]
mov dword [rdx], eax
add qword [rsp + 0x68], 4
jmp 0x1400027c7
lea r8, [rsp + 0x38]
lea rcx, [rsp + 0x60]
call fcn.14000a0b0
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call fcn.140005230
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
test byte [rdx + rax + 0x10], 6
jne 0x1400027f3
cmp qword [rsp + 0x30], 0
je 0x1400027f8
mov rcx, qword [rsp + 0x70]
jmp 0x1400027a0
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], 0
mov r8d, 0xd
lea rdx, str.Py_NoSiteFlag
lea rcx, [rsp + 0x40]
call fcn.140004970
nop
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x50]
call fcn.140001d00
mov rbx, rax
lea rax, [rsp + 0x78]
cmp rax, rbx
je 0x1400028b5
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x140002884
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000287f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002de4
call fcn.14000ba74
movdqa xmm0, xmmword [0x140042af0]
movdqu xmmword [rbp - 0x78], xmm0
mov byte [rsp + 0x78], 0
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x78], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp - 0x78], xmm1
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x1400028f0
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400028eb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002de4
call fcn.14000ba74
mov qword [rbp - 0x40], r12
mov qword [rbp - 0x38], 0xf
mov byte [rbp - 0x50], 0
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x14000293d
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002938
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002dea
call fcn.14000ba74
lea rcx, [rbp - 0x10]
call fcn.140004560
mov r13d, 2
test rax, rax
jne 0x14000297d
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
mov eax, 6
cmp qword [rbp + rcx + 0x28], 0
cmovne eax, r13d
or eax, dword [rbp + rcx - 0x10]
and eax, 0x17
mov dword [rbp + rcx - 0x10], eax
and eax, dword [rbp + rcx - 0xc]
jne 0x140002df0
mov qword [rbp - 0x68], r12
mov qword [rbp + 0x278], 1
lea rcx, [0x140042878]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, str.Py_NoSiteFlag
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rax], 1
xor ecx, ecx
call qword [sym.imp.python27.dll_Py_InitializeEx]
lea rcx, [rsp + 0x78]
cmp qword [rbp - 0x70], 0x10
cmovae rcx, qword [rsp + 0x78]
xor r9d, r9d
mov r8d, 0x101
lea rdx, str.ap.py
call qword [sym.imp.python27.dll_Py_CompileStringFlags]
mov rbx, rax
test rax, rax
jne 0x140002a40
lea r8, [rsp + 0x40]
lea rdx, [rbp + 0x270]
lea rcx, [rsp + 0x30]
call qword [sym.imp.python27.dll_PyErr_Fetch]
lea r8, [rsp + 0x40]
lea rdx, [rbp + 0x270]
lea rcx, [rsp + 0x30]
call qword [sym.imp.python27.dll_PyErr_NormalizeException]
mov rcx, qword [rbp + 0x270]
call qword [sym.imp.python27.dll_PyObject_Str]
mov rcx, rax
call qword [sym.imp.python27.dll_PyString_AsString]
lea r9d, [rbx + 0x10]
lea r8, str.Compile_Error_
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov edx, r13d
mov rcx, rbx
call qword [sym.imp.python27.dll_PyMarshal_WriteObjectToString]
mov rbx, rax
test rax, rax
jne 0x140002aae
lea r8, [rsp + 0x30]
lea rdx, [rbp + 0x270]
lea rcx, [rsp + 0x40]
call qword [sym.imp.python27.dll_PyErr_Fetch]
lea r8, [rsp + 0x30]
lea rdx, [rbp + 0x270]
lea rcx, [rsp + 0x40]
call qword [sym.imp.python27.dll_PyErr_NormalizeException]
mov rcx, qword [rbp + 0x270]
call qword [sym.imp.python27.dll_PyObject_Str]
mov rcx, rax
call qword [sym.imp.python27.dll_PyString_AsString]
lea r9d, [rbx + 0x10]
lea r8, str.Compile_Error_
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
lea r8, [rbp + 0x278]
lea rdx, [rbp - 0x68]
mov rcx, rbx
call qword [sym.imp.python27.dll_PyString_AsStringAndSize]
cmp eax, 0xffffffff
jne 0x140002b23
lea r8, [rsp + 0x30]
lea rdx, [rbp + 0x270]
lea rcx, [rsp + 0x40]
call qword [sym.imp.python27.dll_PyErr_Fetch]
lea r8, [rsp + 0x30]
lea rdx, [rbp + 0x270]
lea rcx, [rsp + 0x40]
call qword [sym.imp.python27.dll_PyErr_NormalizeException]
mov rcx, qword [rbp + 0x270]
call qword [sym.imp.python27.dll_PyObject_Str]
mov rcx, rax
call qword [sym.imp.python27.dll_PyString_AsString]
mov r9d, 0x10
lea r8, str.Compile_Error_
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
call qword [sym.imp.python27.dll_Py_Finalize]
mov r14d, dword [rbp + 0x278]
mov r15, qword [rbp - 0x68]
xor edx, edx
mov r8d, 0x12c
lea rcx, [rbp + 0xf4]
call fcn.14000dfe0
mov dword [rbp + 0xf0], 0x130
xor edx, edx
mov ecx, r13d
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140002cc6
lea rdx, [rbp + 0xf0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x140002cbc
lea rdx, str.exeFile.exe
lea rcx, [rbp + 0x11c]
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x140002c78
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rbp + 0x270]
mov edx, 0xf01ff
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x140002c25
lea r8, [rsp + 0x30]
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x140002c18
mov dword [rsp + 0x40], 1
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x44], rax
mov dword [rsp + 0x4c], r13d
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
mov r9d, 0x10
lea r8, [rsp + 0x40]
xor edx, edx
mov rcx, qword [rbp + 0x270]
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov rcx, qword [rbp + 0x270]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [rbp + 0xf8]
mov r8d, edi
xor edx, edx
mov ecx, 0x43b
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x140002c9e
mov edx, edi
lea rcx, str.Processing__eve_process__d_n
call fcn.140001080
mov r8d, r14d
mov rdx, r15
mov rcx, rbx
call fcn.140002220
test eax, eax
je 0x140002c8d
lea rcx, str.Injection_succeeded._n
call fcn.140001080
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbp + 0xf0]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32Next]
jmp 0x140002b7a
lea rcx, str.Injection_failed._n
call fcn.140001080
mov rcx, rbx
jmp 0x140002cbf
mov r9d, 0x10
lea r8, str.Error_
lea rdx, str.Couldnt_open_process_
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x140002cc6
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140002d1c
mov rax, qword [rsp + 0x70]
sub rax, rcx
sar rax, 2
lea rdx, [rax*4]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002d09
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002e39
call fcn.14000ba74
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r12
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x20], rax
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 0x24], edx
lea rcx, [rbp - 0x10]
call fcn.140003ab0
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x20], rax
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x18]
mov dword [rbp + rcx - 0x24], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x90], rax
lea rcx, [rbp + 0x90]
call fcn.14000af18
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x140002dc1
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002dbc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002dde
call fcn.14000ba74
xor eax, eax
mov rbx, qword [rsp + 0x360]
add rsp, 0x320
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1400195a0
nop
call fcn.1400195a0
nop
call fcn.1400195a0
int3
test al, 4
je 0x140002dfd
lea rdx, str.ios_base::badbit_set
jmp 0x140002e12
test r13b, al
lea rdx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140001340
mov r8, rax
lea rcx, [rbp - 0x50]
call fcn.140001ba0
lea rdx, [0x140046da0]
lea rcx, [rbp - 0x50]
call fcn.14000d840
nop
call fcn.1400195a0
int3