Function at 0x1400089b0
Capabilities:
Allocate or change rwx memory
Create thread
Enumerate pe sections
Inject thread
Spawn thread to rwx shellcode

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x140015040]
xor rax, rsp
mov qword [rbp + 8], rax
mov r14, rdx
mov rsi, rcx
xor r13d, r13d
mov eax, 0x5a4d
cmp word [rdx], ax
je 0x1400089fe
lea rcx, str._DLL_injection__Invalid_file_n
call fcn.1400013a0
jmp 0x140009b2b
movsxd r15, dword [rdx + 0x3c]
add r15, r14
mov eax, 0x8664
cmp word [r15 + 4], ax
je 0x140008a22
lea rcx, str._DLL_injection__Invalid_platform._n
call fcn.1400013a0
jmp 0x140009b2b
lea rcx, str._DLL_injection__File_ok_n
call fcn.1400013a0
mov r8d, dword [r15 + 0x50]
mov dword [rsp + 0x20], 4
xor edx, edx
mov r9d, 0x3000
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r12, rax
test rax, rax
jne 0x140008b87
lea rcx, str._DLL_injection__Target_process_memory_allocation_failed__ex__n
call fcn.1400013a0
lea rdx, str.Error:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001110
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140008aa0
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [0x140010230]
movdqu xmmword [rsp + 0x50], xmm1
mov byte [rsp + 0x40], r13b
jmp 0x140008b0c
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x20], rcx
mov r9d, 0x400
mov r8d, eax
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
mov r8d, eax
mov rdx, qword [rsp + 0x70]
lea rcx, [rbp - 0x80]
call fcn.140004e00
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_LocalFree]
movups xmm0, xmmword [rbp - 0x80]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rbp - 0x70]
movups xmmword [rsp + 0x50], xmm1
mov rdx, qword [rsp + 0x40]
lea rax, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmovbe rdx, rax
mov r8, qword [rsp + 0x50]
mov rcx, rbx
call fcn.140001480
lea rdx, [0x1400012e0]
mov rcx, rax
call qword [sym.imp.MSVCP140.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]
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x140009b2b
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008b7d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008b7d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000d5c8
jmp 0x140009b2b
mov dword [rbp], r13d
mov r8d, dword [r15 + 0x50]
lea rax, [rbp]
mov qword [rsp + 0x20], rax
mov r9d, 0x40
mov rdx, r12
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov qword [rbp - 0x20], r13
mov qword [rbp - 0x14], r13
mov qword [rbp - 0xc], r13
mov dword [rbp - 4], r13d
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rbp - 0x40], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp - 0x38], rax
mov rax, qword [sym.imp.KERNEL32.dll_RtlAddFunctionTable]
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], r12
mov dword [rbp - 0x18], 1
mov qword [rsp + 0x20], r13
mov r9d, 0x1000
mov r8, r14
mov rdx, r12
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140008d36
lea rcx, str._DLL_injection__Cant_write_file_header._n
call fcn.1400013a0
lea rdx, str.Error:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001110
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140008c51
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [0x140010230]
movdqu xmmword [rsp + 0x50], xmm1
mov byte [rsp + 0x40], r13b
jmp 0x140008cbd
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x20], rcx
mov r9d, 0x400
mov r8d, eax
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
mov r8d, eax
mov rdx, qword [rsp + 0x70]
lea rcx, [rbp - 0x80]
call fcn.140004e00
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_LocalFree]
movups xmm0, xmmword [rbp - 0x80]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rbp - 0x70]
movups xmmword [rsp + 0x50], xmm1
mov rdx, qword [rsp + 0x40]
lea rax, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmovbe rdx, rax
mov r8, qword [rsp + 0x50]
mov rcx, rbx
call fcn.140001480
lea rdx, [0x1400012e0]
mov rcx, rax
call qword [sym.imp.MSVCP140.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]
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x140009010
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000900b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000900b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
movzx ebx, word [r15 + 0x14]
add rbx, 0x2c
mov edi, r13d
cmp word [r15 + 6], r13w
je 0x140008d8b
add rbx, r15
nop dword [rax]
mov eax, dword [rbx - 4]
test eax, eax
je 0x140008d7c
mov r9d, eax
mov r8d, dword [rbx]
add r8, r14
mov edx, dword [rbx - 8]
add rdx, r12
mov qword [rsp + 0x20], r13
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140008e03
inc edi
add rbx, 0x28
movzx eax, word [r15 + 6]
cmp edi, eax
jne 0x140008d50
mov dword [rsp + 0x20], 4
xor edx, edx
mov r9d, 0x3000
lea r8d, [rdx + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r13, rax
test rax, rax
jne 0x14000902a
lea rcx, str._DLL_injection__Target_process_mapping_allocation_failed__ex_._n
call fcn.1400013a0
lea rdx, str.Error:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001110
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140008f31
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [0x140010230]
movdqu xmmword [rsp + 0x50], xmm1
mov byte [rsp + 0x40], al
jmp 0x140008f9e
lea rcx, str._DLL_injection__Cant_map_sections._n
call fcn.1400013a0
lea rdx, str.Error:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001110
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140008e4c
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [0x140010230]
movdqu xmmword [rsp + 0x50], xmm1
mov byte [rsp + 0x40], r13b
jmp 0x140008eb8
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x20], rcx
mov r9d, 0x400
mov r8d, eax
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
mov r8d, eax
mov rdx, qword [rsp + 0x70]
lea rcx, [rbp - 0x80]
call fcn.140004e00
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_LocalFree]
movups xmm0, xmmword [rbp - 0x80]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rbp - 0x70]
movups xmmword [rsp + 0x50], xmm1
mov rdx, qword [rsp + 0x40]
lea rax, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmovbe rdx, rax
mov r8, qword [rsp + 0x50]
mov rcx, rbx
call fcn.140001480
lea rdx, [0x1400012e0]
mov rcx, rax
call qword [sym.imp.MSVCP140.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]
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x140009010
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000900b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000900b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
xor ecx, ecx
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], ecx
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x20], rcx
mov r9d, 0x400
mov r8d, eax
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
mov r8d, eax
mov rdx, qword [rsp + 0x70]
lea rcx, [rbp - 0x80]
call fcn.140004e00
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_LocalFree]
movups xmm0, xmmword [rbp - 0x80]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rbp - 0x70]
movups xmmword [rsp + 0x50], xmm1
mov rdx, qword [rsp + 0x40]
lea rax, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmovbe rdx, rax
mov r8, qword [rsp + 0x50]
mov rcx, rbx
call fcn.140001480
lea rdx, [0x1400012e0]
mov rcx, rax
call qword [sym.imp.MSVCP140.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]
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x140009010
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000900b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000900b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000d5c8
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r12
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
jmp 0x140009b2b
xor r14d, r14d
mov qword [rsp + 0x20], r14
lea r9d, [r14 + 0x40]
lea r8, [rbp - 0x40]
mov rdx, r13
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x14000917c
lea rcx, str._DLL_injection__Cant_write_mapping._n
call fcn.1400013a0
lea rdx, str.Error:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001110
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140009097
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [0x140010230]
movdqu xmmword [rsp + 0x50], xmm1
mov byte [rsp + 0x40], r14b
jmp 0x140009103
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x20], rcx
mov r9d, 0x400
mov r8d, eax
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
mov r8d, eax
mov rdx, qword [rsp + 0x70]
lea rcx, [rbp - 0x80]
call fcn.140004e00
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_LocalFree]
movups xmm0, xmmword [rbp - 0x80]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rbp - 0x70]
movups xmmword [rsp + 0x50], xmm1
mov rdx, qword [rsp + 0x40]
lea rax, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmovbe rdx, rax
mov r8, qword [rsp + 0x50]
mov rcx, rbx
call fcn.140001480
lea rdx, [0x1400012e0]
mov rcx, rax
call qword [sym.imp.MSVCP140.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]
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x1400092d3
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400092ce
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400092ce
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov dword [rsp + 0x20], 0x40
xor edx, edx
mov r9d, 0x3000
mov r8d, 0x1000
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rdi, rax
mov qword [rsp + 0x68], rax
test rax, rax
jne 0x140009302
lea rcx, str._DLL_injection__Memory_shellcode_allocation_failed__ex_._n
call fcn.1400013a0
lea rdx, str.Error:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001110
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1400091f5
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [0x140010230]
movdqu xmmword [rsp + 0x50], xmm1
mov byte [rsp + 0x40], r14b
jmp 0x140009261
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x20], rcx
mov r9d, 0x400
mov r8d, eax
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
mov r8d, eax
mov rdx, qword [rsp + 0x70]
lea rcx, [rbp - 0x80]
call fcn.140004e00
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_LocalFree]
movups xmm0, xmmword [rbp - 0x80]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rbp - 0x70]
movups xmmword [rsp + 0x50], xmm1
mov rdx, qword [rsp + 0x40]
lea rax, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmovbe rdx, rax
mov r8, qword [rsp + 0x50]
mov rcx, rbx
call fcn.140001480
lea rdx, [0x1400012e0]
mov rcx, rax
call qword [sym.imp.MSVCP140.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]
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x1400092d3
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400092ce
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400092ce
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000d5c8
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r12
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r13
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
jmp 0x140009b2b
mov qword [rsp + 0x20], r14
mov r9d, 0x1000
lea r8, [0x140009b60]
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140009456
lea rcx, str._DLL_injection__Cant_write_shellcode._n
call fcn.1400013a0
lea rdx, str.Error:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001110
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140009371
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [0x140010230]
movdqu xmmword [rsp + 0x50], xmm1
mov byte [rsp + 0x40], r14b
jmp 0x1400093dd
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x20], rcx
mov r9d, 0x400
mov r8d, eax
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
mov r8d, eax
mov rdx, qword [rsp + 0x70]
lea rcx, [rbp - 0x80]
call fcn.140004e00
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_LocalFree]
movups xmm0, xmmword [rbp - 0x80]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rbp - 0x70]
movups xmmword [rsp + 0x50], xmm1
mov rdx, qword [rsp + 0x40]
lea rax, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmovbe rdx, rax
mov r8, qword [rsp + 0x50]
mov rcx, rbx
call fcn.140001480
lea rdx, [0x1400012e0]
mov rcx, rax
call qword [sym.imp.MSVCP140.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]
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x1400095df
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400095da
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400095da
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, r12
lea rcx, str._DLL_injection__Mapped_DLL_at__p_n
call fcn.1400013a0
mov rdx, r13
lea rcx, str._DLL_injection__Mapping_info_at__p_n
call fcn.1400013a0
mov rdx, rdi
lea rcx, str._DLL_injection__Shell_code_at__p_n
call fcn.1400013a0
lea rcx, str._DLL_injection__Data_allocated_n
call fcn.1400013a0
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r13
mov r9, rdi
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test rax, rax
jne 0x140009623
lea rcx, str._DLL_injection__Thread_creation_failed._n
call fcn.1400013a0
lea rdx, str.Error:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001110
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140009501
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [0x140010230]
movdqu xmmword [rsp + 0x50], xmm1
mov byte [rsp + 0x40], r14b
jmp 0x14000956d
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x20], rcx
mov r9d, 0x400
mov r8d, eax
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
mov r8d, eax
mov rdx, qword [rsp + 0x70]
lea rcx, [rbp - 0x80]
call fcn.140004e00
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_LocalFree]
movups xmm0, xmmword [rbp - 0x80]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rbp - 0x70]
movups xmmword [rsp + 0x50], xmm1
mov rdx, qword [rsp + 0x40]
lea rax, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmovbe rdx, rax
mov r8, qword [rsp + 0x50]
mov rcx, rbx
call fcn.140001480
lea rdx, [0x1400012e0]
mov rcx, rax
call qword [sym.imp.MSVCP140.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]
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x1400095df
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400095da
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400095da
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000d5c8
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r12
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r13
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
jmp 0x140009b2b
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, rdi
lea rcx, str._DLL_injection__Thread_created_at:__p__waiting_for_return..._n
call fcn.1400013a0
nop dword [rax + rax]
mov dword [rsp + 0x70], r14d
lea rdx, [rsp + 0x70]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov edx, dword [rsp + 0x70]
cmp edx, 0x103
jne 0x140009b1f
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rsp + 0x20], r14
mov r9d, 0x40
lea r8, [rbp - 0x80]
mov rdx, r13
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rbx, qword [rbp - 0x60]
cmp rbx, 0x404040
je 0x140009b0e
cmp rbx, 0x505050
jne 0x1400096b7
lea rcx, str._DLL_injection__WARNING:_Exception_support_failed__n
call fcn.1400013a0
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
test rbx, rbx
je 0x140009640
mov ecx, 0x1400000
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
mov qword [rsp + 0x60], rax
test rax, rax
jne 0x1400096f4
lea rcx, str._DLL_injection__Unable_to_allocate_memory_n
call fcn.1400013a0
jmp 0x140009b2b
xor edx, edx
mov r8d, 0x1400000
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x20], r14
mov r9d, 0x1000
mov r8, rbx
mov rdx, r12
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x14000984d
lea rcx, str._DLL_injection__WARNING_:_Cant_clear_HEADER_n
call fcn.1400013a0
lea rdx, str.Error:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001110
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x14000976f
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [0x140010230]
movdqu xmmword [rsp + 0x50], xmm1
mov byte [rsp + 0x40], r14b
jmp 0x1400097db
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x20], rcx
mov r9d, 0x400
mov r8d, eax
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
mov r8d, eax
mov rdx, qword [rsp + 0x70]
lea rcx, [rbp - 0x80]
call fcn.140004e00
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_LocalFree]
movups xmm0, xmmword [rbp - 0x80]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rbp - 0x70]
movups xmmword [rsp + 0x50], xmm1
mov rdx, qword [rsp + 0x40]
lea rax, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmovbe rdx, rax
mov r8, qword [rsp + 0x50]
mov rcx, rbx
call fcn.140001480
lea rdx, [0x1400012e0]
mov rcx, rax
call qword [sym.imp.MSVCP140.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]
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x14000984d
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009848
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140009848
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000d5c8
movzx ebx, word [r15 + 0x14]
add rbx, 0x18
add rbx, r15
cmp word [r15 + 6], 0
je 0x140009a89
lea rdx, [0x140010010]
lea r8, str..rsrc
lea r9, str..reloc
nop word [rax + rax]
cmp dword [rbx + 8], 0
je 0x140009a6f
xor ecx, ecx
nop dword [rax]
movzx eax, byte [rbx + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x1400098a5
cmp rcx, 7
jne 0x140009890
jmp 0x1400098e8
xor ecx, ecx
nop word [rax + rax]
movzx eax, byte [rbx + rcx]
inc rcx
cmp al, byte [r8 + rcx - 1]
jne 0x1400098c6
cmp rcx, 6
jne 0x1400098b0
jmp 0x1400098e8
xor ecx, ecx
nop dword [rax + rax]
movzx eax, byte [rbx + rcx]
inc rcx
cmp al, byte [r9 + rcx - 1]
jne 0x140009a6f
cmp rcx, 7
jne 0x1400098d0
mov rdx, rbx
lea rcx, str._DLL_injection__Processing__s_removal_n
call fcn.1400013a0
mov r9d, dword [rbx + 8]
mov edx, dword [rbx + 0xc]
add rdx, r12
mov qword [rsp + 0x20], 0
mov r8, qword [rsp + 0x60]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140009a5a
mov rdx, rbx
lea rcx, str._DLL_injection__Cant_clear_section__s._n
call fcn.1400013a0
lea rdx, str.Error:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001110
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140009973
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xor r8d, r8d
mov qword [rsp + 0x50], r8
mov ecx, 0xf
mov qword [rsp + 0x58], rcx
mov byte [rsp + 0x40], r8b
jmp 0x1400099f5
xor ecx, ecx
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], ecx
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x20], rcx
mov r9d, 0x400
mov r8d, eax
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xor ecx, ecx
mov qword [rbp - 0x70], rcx
mov qword [rbp - 0x68], rcx
mov r8d, eax
mov rdx, qword [rsp + 0x70]
lea rcx, [rbp - 0x80]
call fcn.140004e00
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_LocalFree]
movups xmm0, xmmword [rbp - 0x80]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rbp - 0x70]
movups xmmword [rsp + 0x50], xmm1
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rcx, xmm0
movq r8, xmm1
lea rdx, [rsp + 0x40]
cmp rcx, 0xf
cmova rdx, qword [rsp + 0x40]
mov rcx, rdi
call fcn.140001480
lea rdx, [0x1400012e0]
mov rcx, rax
call qword [sym.imp.MSVCP140.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]
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x140009a5a
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009a55
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009b07
call fcn.14000d5c8
lea rdx, [0x140010010]
lea r8, str..rsrc
lea r9, str..reloc
inc r14d
add rbx, 0x28
movzx eax, word [r15 + 6]
cmp r14d, eax
jne 0x140009880
mov rdi, qword [rsp + 0x68]
mov qword [rsp + 0x20], 0
mov r9d, 0x1000
mov r8, qword [rsp + 0x60]
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140009ab9
lea rcx, str._DLL_injection__WARNING:_Cant_clear_shellcode_n
call fcn.1400013a0
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
test eax, eax
jne 0x140009ade
lea rcx, str._DLL_injection__WARNING:_cant_release_shell_code_memory_n
call fcn.1400013a0
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r13
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
test eax, eax
jne 0x140009b03
lea rcx, str._DLL_injection__WARNING:_cant_release_mapping_data_memory_n
call fcn.1400013a0
mov al, 1
jmp 0x140009b2d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
lea rcx, str._DLL_injection__Wrong_mapping_ptr._n
call fcn.1400013a0
jmp 0x1400095df
lea rcx, str._DLL_injection__Process_crashed__exit_code:_0x_x_n
call fcn.1400013a0
xor al, al
mov rcx, qword [rbp + 8]
xor rcx, rsp
call fcn.14000d5a0
mov rbx, qword [rsp + 0x160]
add rsp, 0x110
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret