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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x220]
sub rsp, 0x320
mov rax, qword [0x14000b040]
xor rax, rsp
mov qword [rbp + 0x210], rax
mov r14, rdx
mov rsi, rcx
xor r15d, r15d
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0xd0]
call sub.VCRUNTIME140.dll_memset
mov rdx, r14
cmp qword [r14 + 0x18], 0xf
jbe 0x14000136a
mov rdx, qword [r14]
lea rcx, [rbp + 0xd0]
call fcn.140003980
mov rax, qword [rbp + 0xd0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0xd0], rax
mov rax, qword [rbp + 0xd0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0xcc], edx
mov rax, qword [rbp + 0xd0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0xd0]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator__void_const___ptr64]
test al, al
je 0x140001568
mov rsi, qword [r14 + 0x10]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, rsi
cmp rax, 0x14
jb 0x140002714
cmp qword [r14 + 0x18], 0xf
jbe 0x1400013f3
mov r14, qword [r14]
xorps xmm0, xmm0
movups xmmword [rbp + 0xa0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xb0], xmm1
lea r15, [rsi + 0x14]
mov ebx, 0xf
lea rdi, [rbp + 0xa0]
cmp r15, rbx
jbe 0x14000149a
mov rbx, r15
or rbx, 0xf
cmp rbx, rcx
jbe 0x140001459
mov rbx, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140005340
test rax, rax
je 0x140001555
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140001493
mov r8d, 0x16
cmp rbx, r8
cmovb rbx, r8
lea rcx, [rbx + 1]
test rcx, rcx
jne 0x140001473
xor eax, eax
jmp 0x140001490
cmp rcx, 0x1000
jb 0x14000148b
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000270e
jmp 0x14000143a
call fcn.140005340
mov rdi, rax
mov qword [rbp + 0xa0], rdi
mov qword [rbp + 0xb0], r15
mov qword [rbp + 0xb8], rbx
movups xmm0, xmmword [str.Failed_to_open_DLL:]
movups xmmword [rdi], xmm0
mov ecx, dword [0x1400075e8]
mov dword [rdi + 0x10], ecx
lea rcx, [rdi + 0x14]
mov r8, rsi
mov rdx, r14
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + r15], 0
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.140004ca0
lea rdx, [rbp + 0xa0]
cmp qword [rbp + 0xb8], 0xf
cmova rdx, qword [rbp + 0xa0]
mov r8, qword [rbp + 0xb0]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140005100
lea rdx, [0x140004e80]
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 [rbp + 0xb8]
cmp rdx, 0xf
jbe 0x140001561
inc rdx
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000155c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000155c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005384
xor bl, bl
jmp 0x14000261b
lea rdx, [rbp + 0x1f8]
lea rcx, [rbp + 0xd0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::fpos_struct__Mbstatet____cdecl_std::basic_istream_char__struct_std::char_traits_char__::tellg_void____ptr64]
xorps xmm0, xmm0
mov rdi, qword [rbp + 0x200]
movdqu xmmword [rbp + 0x1e0], xmm0
mov qword [rbp + 0x1f0], r15
add rdi, qword [rbp + 0x1f8]
je 0x140001614
movabs rcx, 0x7fffffffffffffff
cmp rdi, rcx
ja 0x14000271a
cmp rdi, 0x1000
jb 0x1400015e6
lea rcx, [rdi + 0x27]
cmp rcx, rdi
jbe 0x140002708
call fcn.140005340
mov rcx, rax
test rax, rax
je 0x1400025fd
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1400015ee
mov rcx, rdi
call fcn.140005340
mov qword [rbp + 0x1e0], rax
lea rbx, [rax + rdi]
mov qword [rbp + 0x1f0], rbx
mov r8, rdi
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 0x1e8], rbx
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0xd0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::seekg_long_long___int64___int____ptr64]
mov r8, qword [rbp + 0x200]
add r8, qword [rbp + 0x1f8]
mov rdx, qword [rbp + 0x1e0]
lea rcx, [rbp + 0xd0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::read_char____ptr64__long_long___int64_____ptr64]
lea rcx, [rbp + 0xe0]
call fcn.1400038c0
test rax, rax
jne 0x14000167c
mov rax, qword [rbp + 0xd0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0xd0]
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 [rbp + 0x1e0]
movsxd r14, dword [rax + 0x3c]
add r14, rax
mov eax, 0x8664
cmp word [r14 + 4], ax
je 0x140001753
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], r15
mov r8d, 0x16
lea rdx, str.DLL_platform_mismatch_
lea rcx, [rsp + 0x60]
call fcn.140003dc0
nop
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.140004ca0
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rdx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x70]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140005100
lea rdx, [0x140004e80]
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 + 0x78]
cmp rdx, 0xf
jbe 0x1400025c4
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001749
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001749
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005384
jmp 0x1400025c4
mov r8d, dword [r14 + 0x50]
mov dword [rsp + 0x20], 0x40
xor edx, edx
mov r9d, 0x3000
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r12, rax
mov rcx, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rbp + 0xa0], rcx
mov rcx, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0xa8], rcx
xor eax, eax
mov qword [rbp + 0xb0], rax
movzx ebx, word [r14 + 0x14]
add rbx, 0x2c
mov edi, r15d
cmp r15w, word [r14 + 6]
jae 0x1400017ef
add rbx, r14
nop
mov eax, dword [rbx - 4]
test eax, eax
je 0x1400017e0
mov r9d, eax
mov r8d, dword [rbx]
add r8, qword [rbp + 0x1e0]
mov edx, dword [rbx - 8]
add rdx, r12
mov qword [rsp + 0x20], r15
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x1400018f6
inc edi
add rbx, 0x28
movzx eax, word [r14 + 6]
cmp edi, eax
jb 0x1400017b0
mov rax, qword [rbp + 0x1e0]
movups xmm0, xmmword [rbp + 0xa0]
movups xmmword [rax], xmm0
movsd xmm1, qword [rbp + 0xb0]
movsd qword [rax + 0x10], xmm1
mov qword [rsp + 0x20], r15
mov r9d, 0x1000
mov r8, qword [rbp + 0x1e0]
mov rdx, r12
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140001c62
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea r9, [rbp + 0xb5]
nop dword [rax]
nop word [rax + rax]
dec r9
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx ecx, dl
shl cl, 2
lea eax, [rcx + rdx]
add al, al
sub r8b, al
add r8b, 0x30
mov byte [r9], r8b
mov r8d, edx
test edx, edx
jne 0x140001850
lea r8, [rbp + 0xb5]
mov rdx, r9
lea rcx, [rbp + 0x20]
call fcn.140004070
nop
mov r8, qword [rbp + 0x30]
mov rcx, qword [rbp + 0x38]
mov rax, rcx
sub rax, r8
mov r15d, 0x2a
lea r14, str.Failed_to_write_headers_and_mapping_data:
cmp rax, r15
jb 0x140001b47
lea rax, [r8 + 0x2a]
mov qword [rbp + 0x30], rax
lea rbx, [rbp + 0x20]
cmp rcx, 0xf
cmova rbx, qword [rbp + 0x20]
lea rax, [0x140007652]
cmp rax, rbx
jbe 0x140001b0b
lea rax, [rbx + r8]
cmp r14, rax
ja 0x140001b0b
cmp rbx, r14
ja 0x140001b03
xor eax, eax
mov edi, eax
jmp 0x140001b0e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea r9, [rbp + 0xb5]
nop word [rax + rax]
dec r9
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx ecx, dl
shl cl, 2
lea eax, [rcx + rdx]
add al, al
sub r8b, al
add r8b, 0x30
mov byte [r9], r8b
mov r8d, edx
test edx, edx
jne 0x140001910
lea r8, [rbp + 0xb5]
mov rdx, r9
lea rcx, [rbp]
call fcn.140004070
nop
mov r8, qword [rbp + 0x10]
mov rcx, qword [rbp + 0x18]
mov rax, rcx
sub rax, r8
mov r15d, 0x1e
lea r14, str.Failed_to_write_section_data:
cmp rax, r15
jb 0x1400019e7
lea rax, [r8 + 0x1e]
mov qword [rbp + 0x10], rax
lea rbx, [rbp]
cmp rcx, 0xf
cmova rbx, qword [rbp]
lea rax, [0x140007626]
cmp rax, rbx
jbe 0x1400019ab
lea rax, [rbx + r8]
cmp r14, rax
ja 0x1400019ab
cmp rbx, r14
ja 0x1400019a3
xor eax, eax
mov edi, eax
jmp 0x1400019ae
mov rdi, rbx
sub rdi, r14
jmp 0x1400019ae
mov rdi, r15
inc r8
lea rcx, [rbx + 0x1e]
mov rdx, rbx
call sub.VCRUNTIME140.dll_memmove
mov r8, rdi
mov rdx, r14
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
sub r15, rdi
lea rdx, [r14 + 0x1e]
add rdx, rdi
lea rcx, [rbx + rdi]
mov r8, r15
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rbp]
jmp 0x1400019fd
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r14
mov rdx, r15
lea rcx, [rbp]
call fcn.1400041a0
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x70], xmm1
xor r15d, r15d
mov qword [rax + 0x10], r15
mov ebx, 0xf
mov qword [rax + 0x18], rbx
mov byte [rax], r15b
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.140004ca0
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], rbx
cmova rdx, qword [rbp - 0x80]
mov r8, qword [rbp - 0x70]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140005100
lea rdx, [0x140004e80]
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 [rbp - 0x68]
cmp rdx, rbx
jbe 0x140001aac
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001aa7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001aa7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005384
movdqa xmm0, xmmword [0x140007990]
movdqu xmmword [rbp - 0x70], xmm0
mov byte [rbp - 0x80], 0
mov rdx, qword [rbp + 0x18]
cmp rdx, 0xf
jbe 0x140001afb
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001af6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001af6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005384
mov rdx, r12
jmp 0x1400025b2
mov rdi, rbx
sub rdi, r14
jmp 0x140001b0e
mov rdi, r15
inc r8
lea rcx, [rbx + 0x2a]
mov rdx, rbx
call sub.VCRUNTIME140.dll_memmove
mov r8, rdi
mov rdx, r14
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
sub r15, rdi
lea rdx, [r14 + 0x2a]
add rdx, rdi
lea rcx, [rbx + rdi]
mov r8, r15
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rbp + 0x20]
jmp 0x140001b5d
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r14
mov rdx, r15
lea rcx, [rbp + 0x20]
call fcn.1400041a0
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x50], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x50], xmm1
xor r15d, r15d
mov qword [rax + 0x10], r15
mov ebx, 0xf
mov qword [rax + 0x18], rbx
mov byte [rax], r15b
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.140004ca0
lea rdx, [rbp - 0x60]
cmp qword [rbp - 0x48], rbx
cmova rdx, qword [rbp - 0x60]
mov r8, qword [rbp - 0x50]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140005100
lea rdx, [0x140004e80]
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 [rbp - 0x48]
cmp rdx, rbx
jbe 0x140001c0c
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001c07
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001c07
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005384
movdqa xmm0, xmmword [0x140007990]
movdqu xmmword [rbp - 0x50], xmm0
mov byte [rbp - 0x60], 0
mov rdx, qword [rbp + 0x38]
cmp rdx, 0xf
jbe 0x140001afb
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001af6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001af6
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 r13, rax
test rax, rax
jne 0x140001e92
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea r9, [rbp + 0xb5]
nop dword [rax]
dec r9
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx ecx, dl
shl cl, 2
lea eax, [rcx + rdx]
add al, al
sub r8b, al
add r8b, 0x30
mov byte [r9], r8b
mov r8d, edx
test edx, edx
jne 0x140001ca0
lea r8, [rbp + 0xb5]
mov rdx, r9
lea rcx, [rbp + 0x40]
call fcn.140004070
nop
mov r8, qword [rbp + 0x50]
mov rcx, qword [rbp + 0x58]
mov rax, rcx
sub rax, r8
mov r15d, 0x29
lea r14, str.Failed_to_allocate_memory_for_shellcode:
cmp rax, r15
jb 0x140001d77
lea rax, [r8 + 0x29]
mov qword [rbp + 0x50], rax
lea rbx, [rbp + 0x40]
cmp rcx, 0xf
cmova rbx, qword [rbp + 0x40]
lea rax, [0x140007681]
cmp rax, rbx
jbe 0x140001d3b
lea rax, [rbx + r8]
cmp r14, rax
ja 0x140001d3b
cmp rbx, r14
ja 0x140001d33
xor eax, eax
mov edi, eax
jmp 0x140001d3e
mov rdi, rbx
sub rdi, r14
jmp 0x140001d3e
mov rdi, r15
inc r8
lea rcx, [rbx + 0x29]
mov rdx, rbx
call sub.VCRUNTIME140.dll_memmove
mov r8, rdi
mov rdx, r14
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
sub r15, rdi
lea rdx, [r14 + 0x29]
add rdx, rdi
lea rcx, [rbx + rdi]
mov r8, r15
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rbp + 0x40]
jmp 0x140001d8d
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r14
mov rdx, r15
lea rcx, [rbp + 0x40]
call fcn.1400041a0
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x30], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x30], xmm1
xor r15d, r15d
mov qword [rax + 0x10], r15
mov ebx, 0xf
mov qword [rax + 0x18], rbx
mov byte [rax], r15b
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.140004ca0
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], rbx
cmova rdx, qword [rbp - 0x40]
mov r8, qword [rbp - 0x30]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140005100
lea rdx, [0x140004e80]
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 [rbp - 0x28]
cmp rdx, rbx
jbe 0x140001e3c
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001e37
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001e37
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005384
movdqa xmm0, xmmword [0x140007990]
movdqu xmmword [rbp - 0x30], xmm0
mov byte [rbp - 0x40], 0
mov rdx, qword [rbp + 0x58]
cmp rdx, 0xf
jbe 0x140001afb
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001af6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001af6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov qword [rsp + 0x20], r15
mov r9d, 0x1000
lea r8, [0x1400027e0]
mov rdx, r13
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x1400020c3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea r9, [rbp + 0xb5]
nop dword [rax + rax]
dec r9
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx ecx, dl
shl cl, 2
lea eax, [rcx + rdx]
add al, al
sub r8b, al
add r8b, 0x30
mov byte [r9], r8b
mov r8d, edx
test edx, edx
jne 0x140001ed0
lea r8, [rbp + 0xb5]
mov rdx, r9
lea rcx, [rbp + 0x60]
call fcn.140004070
nop
mov r8, qword [rbp + 0x70]
mov rcx, qword [rbp + 0x78]
mov rax, rcx
sub rax, r8
mov r15d, 0x1b
lea rdi, str.Failed_to_write_shellcode:
cmp rax, r15
jb 0x140001fa8
lea rax, [r8 + 0x1b]
mov qword [rbp + 0x70], rax
lea rbx, [rbp + 0x60]
cmp rcx, 0xf
cmova rbx, qword [rbp + 0x60]
lea rax, [0x1400076a3]
cmp rax, rbx
jbe 0x140001f6c
lea rax, [rbx + r8]
cmp rdi, rax
ja 0x140001f6c
cmp rbx, rdi
ja 0x140001f64
xor eax, eax
mov r14d, eax
jmp 0x140001f6f
mov r14, rbx
sub r14, rdi
jmp 0x140001f6f
mov r14, r15
inc r8
lea rcx, [rbx + 0x1b]
mov rdx, rbx
call sub.VCRUNTIME140.dll_memmove
mov r8, r14
mov rdx, rdi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
sub r15, r14
lea rdx, [rdi + 0x1b]
add rdx, r14
lea rcx, [rbx + r14]
mov r8, r15
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rbp + 0x60]
jmp 0x140001fbe
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rdi
mov rdx, r15
lea rcx, [rbp + 0x60]
call fcn.1400041a0
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x10], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x10], xmm1
xor r15d, r15d
mov qword [rax + 0x10], r15
mov ebx, 0xf
mov qword [rax + 0x18], rbx
mov byte [rax], r15b
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.140004ca0
lea rdx, [rbp - 0x20]
cmp qword [rbp - 8], rbx
cmova rdx, qword [rbp - 0x20]
mov r8, qword [rbp - 0x10]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140005100
lea rdx, [0x140004e80]
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 [rbp - 8]
cmp rdx, rbx
jbe 0x14000206d
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002068
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002068
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005384
movdqa xmm0, xmmword [0x140007990]
movdqu xmmword [rbp - 0x10], xmm0
mov byte [rbp - 0x20], 0
mov rdx, qword [rbp + 0x78]
cmp rdx, 0xf
jbe 0x14000259a
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002595
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002595
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
jne 0x140002190
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], r15
mov r8d, 0x22
lea rdx, str.Failed_to_get_handle_for_ntdll.dll
lea rcx, [rsp + 0x60]
call fcn.140003dc0
nop
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.140004ca0
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rdx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x70]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140005100
lea rdx, [0x140004e80]
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 + 0x78]
cmp rdx, 0xf
jbe 0x14000259a
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002595
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002595
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
lea rdx, str.NtCreateThreadEx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x140002260
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], r15
mov r8d, 0x2f
lea rdx, str.Failed_to_get_NtCreateThreadEx_function_address
lea rcx, [rsp + 0x60]
call fcn.140003dc0
nop
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.140004ca0
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rdx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x70]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140005100
lea rdx, [0x140004e80]
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 + 0x78]
cmp rdx, 0xf
jbe 0x14000259a
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002595
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002595
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov qword [rbp + 0xc0], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x30], r15d
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r13
mov r9, rsi
xor r8d, r8d
mov edx, 0x1fffff
lea rcx, [rbp + 0xc0]
call rax
mov r8d, eax
test eax, eax
jne 0x140002324
mov rcx, qword [rbp + 0xc0]
test rcx, rcx
je 0x140002324
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop word [rax + rax]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0xa0], xmm0
mov qword [rbp + 0xb0], rax
mov qword [rsp + 0x20], r15
mov r9d, 0x18
lea r8, [rbp + 0xa0]
mov rdx, r12
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rbx, qword [rbp + 0xb0]
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
test rbx, rbx
je 0x1400022c0
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r13
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov bl, 1
jmp 0x1400025c6
lea r9, [rbp + 0xb5]
test r8d, r8d
jns 0x140002380
neg r8d
nop dword [rax]
nop word [rax + rax]
dec r9
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8d, edx
test edx, edx
jne 0x140002340
dec r9
mov byte [r9], 0x2d
jmp 0x1400023aa
dec r9
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8d, edx
test edx, edx
jne 0x140002380
lea r8, [rbp + 0xb5]
mov rdx, r9
lea rcx, [rbp + 0x80]
call fcn.140004070
nop
mov r8, qword [rbp + 0x90]
mov rcx, qword [rbp + 0x98]
mov rax, rcx
sub rax, r8
mov r15d, 0x20
lea rdi, str.Failed_to_create_remote_thread:
cmp rax, r15
jb 0x140002471
lea rax, [r8 + 0x20]
mov qword [rbp + 0x90], rax
lea rbx, [rbp + 0x80]
cmp rcx, 0xf
cmova rbx, qword [rbp + 0x80]
lea rax, [0x140007748]
cmp rax, rbx
jbe 0x140002432
lea rax, [rbx + r8]
cmp rdi, rax
ja 0x140002432
cmp rbx, rdi
ja 0x14000242a
xor eax, eax
mov r14d, eax
jmp 0x140002435
mov r14, rbx
sub r14, rdi
jmp 0x140002435
mov r14, r15
inc r8
lea rcx, [rbx + 0x20]
mov rdx, rbx
call sub.VCRUNTIME140.dll_memmove
mov r8, r14
mov rdx, rdi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
sub r15, r14
lea rdx, [rdi + 0x20]
add rdx, r14
lea rcx, [rbx + r14]
mov r8, r15
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rbp + 0x80]
jmp 0x14000248a
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rdi
mov rdx, r15
lea rcx, [rbp + 0x80]
call fcn.1400041a0
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm1
xor r15d, r15d
mov qword [rax + 0x10], r15
mov ebx, 0xf
mov qword [rax + 0x18], rbx
mov byte [rax], r15b
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.140004ca0
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], rbx
cmova rdx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x70]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140005100
lea rdx, [0x140004e80]
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 + 0x78]
cmp rdx, rbx
jbe 0x140002543
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000253e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000253e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005384
movdqa xmm0, xmmword [0x140007990]
movdqu xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x60], 0
mov rdx, qword [rbp + 0x98]
cmp rdx, 0xf
jbe 0x14000259a
inc rdx
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002595
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002595
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005384
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r12
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rdx, r13
mov r9d, 0x8000
xor r8d, r8d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor bl, bl
mov rcx, qword [rbp + 0x1e0]
test rcx, rcx
je 0x14000261b
mov rdx, qword [rbp + 0x1f0]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002604
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002604
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005384
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x1e0], xmm0
mov qword [rbp + 0x1f0], r15
mov rax, qword [rbp + 0xd0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0xd0], rax
mov rax, qword [rbp + 0xd0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0xcc], edx
lea rax, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rbp + 0xe0], rax
cmp qword [rbp + 0x160], 0
je 0x14000269e
lea rcx, [rbp + 0x150]
mov rax, qword [rbp + 0xf8]
cmp qword [rax], rcx
jne 0x14000269e
mov rdx, qword [rbp + 0x170]
mov rcx, qword [rbp + 0x168]
mov qword [rax], rcx
mov rax, qword [rbp + 0x118]
mov qword [rax], rcx
sub edx, ecx
mov rax, qword [rbp + 0x130]
mov dword [rax], edx
cmp byte [rbp + 0x15c], 0
je 0x1400026b3
lea rcx, [rbp + 0xe0]
call fcn.1400038c0
lea rcx, [rbp + 0xe0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rbp + 0xe8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x180]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
movzx eax, bl
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.140005320
mov rbx, qword [rsp + 0x370]
add rsp, 0x320
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140001110
nop
call fcn.140001110
int3
call fcn.1400011b0
int3
call fcn.140004050
int3