Function at 0x140003a30
Capabilities:
Map section object

Disassembly:
push rbx
push rbp
push rsi
sub rsp, 0x6b0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x6a0], rax
mov rsi, r8
lea rax, [rsp + 0x70]
movzx ebp, dl
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x50]
mov rbx, rcx
lea rdx, [rsp + 0x58]
lea r9, [rsp + 0x60]
call fcn.140003150
test eax, eax
jne 0x140003a82
mov eax, 0xffffffff
jmp 0x140003dd5
test rsi, rsi
jne 0x140003aee
xor edx, edx
lea rcx, [rsp + 0x80]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
mov r8, qword [rsp + 0x60]
lea rcx, [rsp + 0x290]
call fcn.140003750
test eax, eax
jne 0x140003aca
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.failed_to_search_a_sacrificial_dll
call fcn.1400028f0
jmp 0x140003dd3
mov r8d, 0x208
lea rdx, [rsp + 0x290]
lea rcx, [rsp + 0x80]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstombs]
lea rsi, [rsp + 0x80]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.___target_dll:
mov qword [rsp + 0x6d8], rdi
call fcn.1400028f0
mov rcx, rax
mov rdx, rsi
call fcn.1400028f0
mov rcx, rax
lea rdx, [0x140008d10]
call fcn.1400028f0
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.___implant_dll:
call fcn.1400028f0
mov rcx, rax
mov rdx, rbx
call fcn.1400028f0
mov rcx, rax
lea rdx, [0x140008d10]
call fcn.1400028f0
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
test bpl, bpl
je 0x140003b79
lea rdx, str.___Loading_the_DLL__using_LoadLibary__classic_DLL_hollowing_..._n
call fcn.1400028f0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdi, rax
jmp 0x140003cc0
lea rdx, str.___Mapping_the_DLL_image..._n
call fcn.1400028f0
xor edi, edi
xor r9d, r9d
mov qword [rsp + 0x30], rdi
xor r8d, r8d
mov dword [rsp + 0x28], 0x80
mov edx, 0x80000000
mov rcx, rsi
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x140003d8c
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x68]
mov dword [rsp + 0x28], 0x1000000
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 2
mov edx, 0xf001f
mov qword [rsp + 0x68], rdi
call qword [sym.imp.ntdll.dll_NtCreateSection]
test eax, eax
je 0x140003c26
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.NtCreateSection_failed
call fcn.1400028f0
mov rcx, rax
lea rdx, [0x140002ac0]
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]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140003dcb
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x78]
mov dword [rsp + 0x48], 2
lea r8, [rsp + 0x60]
mov dword [rsp + 0x40], edi
xor r9d, r9d
mov dword [rsp + 0x38], 1
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rdi
lea rdx, [r9 - 1]
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ntdll.dll_NtMapViewOfSection]
mov ebx, eax
test eax, eax
je 0x140003cbb
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
lea rdx, str._ERROR__NtMapViewOfSection_failed__status_:
call fcn.140002db0
mov rcx, rax
lea rdx, [0x140001fb0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rcx, rax
mov edx, ebx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___long_int____ptr64]
mov rcx, rax
lea rdx, [0x140008d10]
call fcn.140002db0
mov rdi, qword [rsp + 0x60]
test rdi, rdi
je 0x140003dcb
mov rbx, qword [rsp + 0x50]
xor r9d, r9d
mov rdx, qword [rsp + 0x70]
mov rcx, rbx
mov r8, rdi
call fcn.140005590
test al, al
jne 0x140003cfd
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.____Failed_to_relocate_the_implant__n
call fcn.1400028f0
jmp 0x140003dcb
mov r8, qword [rsp + 0x70]
mov rdx, rbx
mov rcx, rdi
call fcn.140003360
test al, al
je 0x140003d7f
xor edx, edx
mov rcx, rbx
call fcn.140005f38
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.___Module_Overloading_finished..._n
call fcn.1400028f0
mov rdx, qword [rsp + 0x58]
mov rcx, rdi
call fcn.1400035c0
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.___Implant_finished__ret:
mov ebx, eax
call fcn.1400028f0
mov rcx, rax
lea rdx, [0x140001f90]
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::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rcx, rax
mov edx, ebx
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___int____ptr64]
mov rcx, rax
lea rdx, [0x140008d10]
call fcn.1400028f0
test bpl, bpl
je 0x140003dcb
mov rdx, rsi
mov rcx, rdi
call fcn.1400036a0
jmp 0x140003dcb
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Couldnt_open_the_file_
call fcn.1400028f0
mov rcx, rax
lea rdx, [0x140001fb0]
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::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rcx, rax
mov rdx, rbx
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___void_const____ptr64____ptr64]
mov rcx, rax
lea rdx, [0x140002ac0]
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]
mov rdi, qword [rsp + 0x6d8]
xor eax, eax
mov rcx, qword [rsp + 0x6a0]
xor rcx, rsp
call fcn.140006450
add rsp, 0x6b0
pop rsi
pop rbp
pop rbx
ret