Function at 0x14001350a
Capabilities:
Create thread
Enumerate process modules
Inject dll
Inject thread

Disassembly:
jmp 0x14002e9d0
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xa28
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x1ba
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xa48]
mov rax, qword [0x14004b048]
xor rax, rbp
mov qword [rbp + 0x9d0], rax
lea rcx, [0x140054107]
call fcn.1400140c2
mov rcx, qword [rbp + 0xa00]
call fcn.140013e74
inc rax
mov rcx, rax
call fcn.140013744
mov qword [rbp + 0x848], rax
mov rax, qword [rbp + 0x848]
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 0xa00]
call fcn.14001315e
mov qword [rbp + 0x9b8], rax
mov rcx, qword [rbp + 0xa00]
call fcn.140013e74
inc rax
mov rcx, qword [rbp + 0x9b8]
mov r8, rcx
mov rdx, rax
mov rcx, qword [rbp + 8]
call qword [sym.imp.ucrtbased.dll_strcpy_s]
mov rcx, qword [rbp + 0xa00]
call fcn.140013e74
mov rcx, qword [rbp + 8]
mov byte [rcx + rax], 0
mov edx, 0x5c
mov rcx, qword [rbp + 8]
call fcn.1400130f5
mov qword [rbp + 0x28], rax
mov edx, dword [rbp + 0xa08]
mov ecx, 8
call fcn.1400137f3
mov qword [rbp + 0x48], rax
mov dword [rbp + 0x70], 0x438
lea rdx, [rbp + 0x70]
mov rcx, qword [rbp + 0x48]
call fcn.140013a6e
test eax, eax
je 0x14002ebd5
lea rdx, [rbp + 0x70]
mov rcx, qword [rbp + 0x48]
call fcn.140013221
test eax, eax
je 0x14002ebd5
lea rcx, [rbp + 0x8c4]
call fcn.1400138f7
mov qword [rbp + 0x9b8], rax
mov rcx, qword [rbp + 8]
call fcn.14001376c
mov rcx, qword [rbp + 8]
add rcx, rax
mov rax, rcx
mov rcx, qword [rbp + 0x9b8]
mov r9, rcx
mov r8, rax
mov rdx, qword [rbp + 8]
lea rcx, [rbp + 0x888]
call fcn.140014077
mov qword [rbp + 0x9c0], rax
mov rcx, qword [rbp + 0x9c0]
call fcn.140013591
mov rdx, rax
lea rcx, [rbp + 0xa0]
call qword [sym.imp.ucrtbased.dll_wcscmp]
test eax, eax
jne 0x14002eb60
mov dword [rbp + 0x9c8], 1
jmp 0x14002eb6a
mov dword [rbp + 0x9c8], 0
movzx eax, byte [rbp + 0x9c8]
mov byte [rbp + 0x864], al
lea rcx, [rbp + 0x888]
call fcn.140013e8d
movzx eax, byte [rbp + 0x864]
test eax, eax
je 0x14002ebd0
lea rdx, str.DLL_already_injected
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400131b8
lea rdx, [0x140013096]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov byte [rbp + 0x8e4], 0
mov rcx, qword [rbp + 0xa00]
call fcn.1400132da
movzx eax, byte [rbp + 0x8e4]
jmp 0x14002ee72
jmp 0x14002ead5
mov r8d, dword [rbp + 0xa08]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rbp + 0x4c8], rax
cmp qword [rbp + 0x4c8], 0
jne 0x14002ec59
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x9b4], eax
lea rdx, str.OpenProcess_failed:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400131b8
mov ecx, dword [rbp + 0x9b4]
mov edx, ecx
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
lea rdx, [0x140013096]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov byte [rbp + 0x904], 0
mov rcx, qword [rbp + 0xa00]
call fcn.1400132da
movzx eax, byte [rbp + 0x904]
jmp 0x14002ee72
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.LoadLibraryA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x4e8], rax
cmp qword [rbp + 0x4e8], 0
jne 0x14002ecc9
lea rdx, str.GetProcAddress_failed
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400131b8
lea rdx, [0x140013096]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov byte [rbp + 0x924], 0
mov rcx, qword [rbp + 0xa00]
call fcn.1400132da
movzx eax, byte [rbp + 0x924]
jmp 0x14002ee72
mov rcx, qword [rbp + 8]
call fcn.14001376c
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov r8, rax
xor edx, edx
mov rcx, qword [rbp + 0x4c8]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rbp + 0x508], rax
cmp qword [rbp + 0x508], 0
jne 0x14002ed45
lea rdx, str.VirtualAllocEx_failed
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400131b8
lea rdx, [0x140013096]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov byte [rbp + 0x944], 0
mov rcx, qword [rbp + 0xa00]
call fcn.1400132da
movzx eax, byte [rbp + 0x944]
jmp 0x14002ee72
mov rcx, qword [rbp + 8]
call fcn.14001376c
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rbp + 8]
mov rdx, qword [rbp + 0x508]
mov rcx, qword [rbp + 0x4c8]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x14002edb8
lea rdx, str.WriteProcessMemory_failed
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400131b8
lea rdx, [0x140013096]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov byte [rbp + 0x964], 0
mov rcx, qword [rbp + 0xa00]
call fcn.1400132da
movzx eax, byte [rbp + 0x964]
jmp 0x14002ee72
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rbp + 0x508]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x4e8]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0x4c8]
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov qword [rbp + 0x528], rax
cmp qword [rbp + 0x528], 0
jne 0x14002ee3e
lea rdx, str.CreateRemoteThread_failed
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400131b8
lea rdx, [0x140013096]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov byte [rbp + 0x984], 0
mov rcx, qword [rbp + 0xa00]
call fcn.1400132da
movzx eax, byte [rbp + 0x984]
jmp 0x14002ee72
mov rcx, qword [rbp + 0x4c8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x528]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [rbp + 0x9a4], 1
mov rcx, qword [rbp + 0xa00]
call fcn.1400132da
movzx eax, byte [rbp + 0x9a4]
mov rdi, rax
lea rcx, [rbp - 0x40]
lea rdx, [0x1400401e0]
call fcn.140013dfc
mov rax, rdi
mov rcx, qword [rbp + 0x9d0]
xor rcx, rbp
call fcn.140013820
lea rsp, [rbp + 0x9e8]
pop rdi
pop rbp
ret