Function at 0x140053950
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x130]
sub rsp, 0x230
mov rax, qword [0x1401530c0]
xor rax, rsp
mov qword [rbp + 0x120], rax
mov rsi, r8
mov rdi, rdx
mov r14, qword [rbp + 0x190]
mov r15, qword [rbp + 0x198]
xor r13d, r13d
mov dword [rsp + 0x40], r13d
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
lea rdx, [rbp + 0x168]
movabs rcx, 0xff00ff00ff00ff00
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x78], rdx
mov rax, qword [rdx]
xor rax, rcx
mov qword [rsp + 0x68], rax
mov qword [rdx], r13
movabs rax, 0x6c0998a96daa9764
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x30], rax
movabs rax, 0x214c085514e5d28f
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x38], rax
movabs rax, 0x2666cccc19c3e533
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x100], rax
movabs rax, 0x214c0855148bbdfc
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x108], rax
movdqa xmm0, xmmword [rsp + 0x30]
xorps xmm0, xmmword [rbp + 0x100]
movdqa xmmword [rsp + 0x30], xmm0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x100], xmm0
lea rax, [rbp + 0x168]
mov qword [rbp + 0x108], rcx
mov qword [rbp + 0x110], rax
mov rbx, qword [rax]
xor rbx, rcx
mov qword [rbp + 0x100], rbx
mov qword [rax], r13
mov ecx, r13d
lea r8, [0x14005e4f0]
lea r12, [0x140000000]
mov rax, qword [0x140155bf0]
test rax, rax
je 0x140053aca
mov edx, r13d
cmp rax, r8
je 0x140053ab9
inc ecx
mov edx, ecx
mov rax, qword [r12 + rcx*8 + 0x155bf0]
test rax, rax
jne 0x140053aa1
jmp 0x140053aca
mov r8, qword [r12 + rdx*8 + 0x157840]
test r8, r8
jne 0x140053bb1
mov edx, 0x1f4
xor ecx, ecx
mov r9d, 0x40
mov r8d, 0x1000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8, rax
lea r9, [0x14005e4f0]
test rax, rax
jne 0x140053afa
mov r8, r13
jmp 0x140053b90
mov rcx, r9
mov edx, 3
movups xmm0, xmmword [rcx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rax + 0x30], xmm1
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rax + 0x40], xmm0
movups xmm1, xmmword [rcx + 0x50]
movups xmmword [rax + 0x50], xmm1
movups xmm0, xmmword [rcx + 0x60]
movups xmmword [rax + 0x60], xmm0
lea rax, [rax + 0x80]
movups xmm1, xmmword [rcx + 0x70]
movups xmmword [rax - 0x10], xmm1
lea rcx, [rcx + 0x80]
sub rdx, 1
jne 0x140053b02
movups xmm0, xmmword [rcx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rax + 0x30], xmm1
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rax + 0x40], xmm0
movups xmm1, xmmword [rcx + 0x50]
movups xmmword [rax + 0x50], xmm1
movups xmm0, xmmword [rcx + 0x60]
movups xmmword [rax + 0x60], xmm0
mov ecx, dword [rcx + 0x70]
mov dword [rax + 0x70], ecx
mov rax, qword [0x140157500]
mov qword [r12 + rax*8 + 0x155bf0], r9
mov qword [r12 + rax*8 + 0x157840], r8
inc rax
mov qword [0x140157500], rax
lea rdx, [rsp + 0x40]
mov rcx, qword [sym.imp.VMProtectSDK64.dll_VMProtectBeginUltra]
call r8
nop
movabs rax, 0xff00ff00ff00ff00
xor rbx, rax
lea rax, [rbp + 0x168]
mov qword [rax], rbx
xor edx, edx
lea rcx, [rbp - 0x80]
call fcn.14005d210
nop
lea rax, [rsp + 0x30]
mov qword [rsp + 0x40], rax
mov byte [rsp + 0x30], 0
xor eax, eax
mov qword [rsp + 0x38], rax
mov rdx, rsi
lea rcx, [rsp + 0x30]
call fcn.14006a4c0
nop
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.14004d430
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.14005b9c0
nop
movzx edx, byte [rax]
movzx ecx, byte [rsp + 0x30]
mov byte [rax], cl
mov byte [rsp + 0x30], dl
mov rcx, qword [rax + 8]
mov r8, qword [rsp + 0x38]
mov qword [rax + 8], r8
mov qword [rsp + 0x38], rcx
movzx edx, byte [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.14005cc80
nop
lea rax, [rsp + 0x30]
mov qword [rbp + 0x100], rax
mov byte [rsp + 0x30], 0
xor eax, eax
mov qword [rsp + 0x38], rax
mov rdx, r15
lea rcx, [rsp + 0x30]
call fcn.14006a4c0
nop
mov rdx, r14
lea rcx, [rsp + 0x48]
call fcn.14004d430
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.14005b9c0
nop
movzx edx, byte [rax]
movzx ecx, byte [rsp + 0x30]
mov byte [rax], cl
mov byte [rsp + 0x30], dl
mov rcx, qword [rax + 8]
mov rdx, qword [rsp + 0x38]
mov qword [rax + 8], rdx
mov qword [rsp + 0x38], rcx
movzx edx, byte [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.14005cc80
nop
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x80]
call fcn.14005bae0
nop
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x70]
call fcn.140052ad0
nop
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
cmova rdx, qword [rbp - 0x70]
mov r8, qword [rbp - 0x60]
lea rcx, [rbp - 0x50]
call fcn.14004e2c0
nop
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp - 0x10]
call fcn.1400d67e2
lea rdi, [0x140154b80]
mov rbx, rdi
cmp qword [0x140154b98], 0xf
cmova rbx, qword [0x140154b80]
lea rax, [r12 + 0x13b124]
mov qword [rbp - 0x10], rax
lea rcx, [rbp + 0x98]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov dword [rsp + 0x40], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 8]
lea rcx, [rbp - 0x10]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
lea rsi, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x10], rsi
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x14], edx
lea rcx, [rbp - 8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rbp - 8], rax
mov byte [rbp + 0x74], 0
mov byte [rbp + 0x69], 0
lea rcx, [rbp - 8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp + 0x78], r13
mov rax, qword [0x140154f20]
mov qword [rbp + 0x6c], rax
mov qword [rbp + 0x60], r13
mov r9d, 0x40
mov r8d, Ordinal_35
mov rdx, rbx
lea rcx, [rbp - 8]
call fcn.14005dcb0
test rax, rax
jne 0x140053df7
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x10]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x10], rsi
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x14], edx
cmp qword [rbp + 0x78], 0
jne 0x140053e24
xor bl, bl
jmp 0x140053f14
lea rdx, [rbp - 0x50]
cmp qword [rbp - 0x38], 0xf
cmova rdx, qword [rbp - 0x50]
mov r8, qword [rbp - 0x40]
lea rcx, [rbp - 0x10]
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__::write_char_const____ptr64__long_long___int64_____ptr64]
lea rcx, [rbp - 8]
call fcn.140048210
test rax, rax
jne 0x140053e6b
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x10]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
mov rax, qword [0x140154b90]
cmp qword [0x140154b98], 0xf
cmova rdi, qword [0x140154b80]
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rax
call fcn.1400d5ff8
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
lea r8, [rsp + 0x30]
mov edx, eax
lea rcx, [rsp + 0x48]
call fcn.140050a90
nop
lea rcx, [rsp + 0x48]
call fcn.1400514b0
movzx ebx, al
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x140053f00
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140053efb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140053efb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d4f10
movdqa xmm0, xmmword [0x14013da60]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], r13w
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x10], rsi
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x14], edx
lea rcx, [rbp - 8]
call fcn.140047be0
lea rcx, [rbp]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x98]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x140053f92
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140053f8d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140053f8d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d4f10
movdqa xmm0, xmmword [0x14013da80]
movdqu xmmword [rbp - 0x40], xmm0
mov byte [rbp - 0x50], 0
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x140053fe9
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140053fdc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140053fdc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d4f10
movdqa xmm0, xmmword [0x14013da80]
mov qword [rbp - 0x60], r13
mov qword [rbp - 0x58], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x70], 0
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x14005403f
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140054032
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140054032
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d4f10
movdqa xmm0, xmmword [0x14013da80]
movdqu xmmword [rbp - 0x20], xmm0
mov byte [rbp - 0x30], 0
movzx edx, byte [rbp - 0x80]
lea rcx, [rbp - 0x78]
call fcn.14005cc80
nop
mov rax, qword [rsp + 0x68]
movabs rcx, 0xff00ff00ff00ff00
xor rax, rcx
lea rcx, [rbp + 0x168]
mov qword [rcx], rax
movzx eax, bl
mov rcx, qword [rbp + 0x120]
xor rcx, rsp
call fcn.1400d4c50
mov rbx, qword [rsp + 0x270]
add rsp, 0x230
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret