Function at 0x180047f20
Capabilities:
Execute shellcode via indirect call

Disassembly:
push rbx
push r15
sub rsp, 0x28
mov rbx, rcx
movzx r15d, r8b
mov rcx, qword [rcx]
movzx r9d, dl
test rcx, rcx
je 0x18004811e
mov rdx, qword [rbx + 0x28]
mov r8, qword [rbx + 0x20]
mov rax, rdx
sub rax, r8
jne 0x180047f7a
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.WriteExeProtected:NewBytes_Zero
call fcn.18000b990
lea rdx, [0x18000bb70]
mov rcx, rax
add rsp, 0x28
pop r15
pop rbx
jmp 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 qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rdi
test r9b, r9b
je 0x180048056
mov rdx, qword [rbx + 0x10]
sub rdx, qword [rbx + 8]
cmp rax, rdx
je 0x180047fcf
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.WriteExeProtected:Bytes_not_copied_
call fcn.18000b990
lea rdx, [0x18000bb70]
mov rcx, rax
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x28
pop r15
pop rbx
jmp 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]
xor edi, edi
lea r9, [rsp + 0x40]
mov dword [rsp + 0x40], edi
lea r8d, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r10, qword [rbx + 0x10]
mov rdx, qword [rbx + 8]
cmp r10, rdx
je 0x18004802b
mov esi, edi
nop dword [rax]
nop word [rax + rax]
movzx r8d, byte [rsi + rdx]
mov edx, edi
mov rcx, qword [rbx]
call fcn.180134080
mov r10, qword [rbx + 0x10]
lea rsi, [rsi + 1]
mov rdx, qword [rbx + 8]
inc edi
mov rcx, r10
movsxd rax, edi
sub rcx, rdx
cmp rax, rcx
jb 0x180048000
mov r8d, dword [rsp + 0x40]
lea r9, [rsp + 0x40]
mov rcx, qword [rbx]
sub r10, rdx
mov rdx, r10
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x28
pop r15
pop rbx
ret
xor edi, edi
mov esi, edi
test rax, rax
je 0x180048114
mov qword [rsp + 0x20], r14
mov r14d, edi
mov qword [rsp + 0x48], rbp
mov rcx, qword [rbx]
test r15b, r15b
je 0x1800480a5
mov edx, esi
call fcn.180133dc0
mov rdx, qword [rbx + 0x10]
mov byte [rsp + 0x40], al
cmp rdx, qword [rbx + 0x18]
je 0x180048095
mov byte [rdx], al
inc qword [rbx + 0x10]
jmp 0x1800480eb
lea r8, [rsp + 0x40]
lea rcx, [rbx + 8]
call fcn.18005e910
jmp 0x1800480eb
sub rdx, r8
mov dword [rsp + 0x40], edi
mov r8d, 0x40
lea r9, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r8, qword [rbx + 0x20]
mov edx, esi
mov rcx, qword [rbx]
movzx r8d, byte [r14 + r8]
call fcn.180134080
mov rdx, qword [rbx + 0x28]
lea r9, [rsp + 0x40]
sub rdx, qword [rbx + 0x20]
mov r8d, dword [rsp + 0x40]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rdx, qword [rbx + 0x28]
inc esi
mov r8, qword [rbx + 0x20]
mov rcx, rdx
sub rcx, r8
movsxd rax, esi
inc r14
cmp rax, rcx
jb 0x180048070
mov r14, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x28
pop r15
pop rbx
ret