Function at 0x1400a7570
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x390]
sub rsp, 0x490
mov rax, qword [0x140158e70]
xor rax, rsp
mov qword [rbp + 0x380], rax
xor r12d, r12d
mov ebx, r12d
mov dword [rsp + 0x40], ebx
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0x230]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp - 0x78]
lea rcx, [0x14033bec0]
call fcn.140005330
nop
lea rdx, [0x140341810]
cmp qword [0x140341828], 0x10
cmovae rdx, qword [0x140341810]
mov r8, qword [0x140341820]
mov rcx, rax
call fcn.14000ab70
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], r12b
or ebx, 1
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0x10
cmovae rdx, qword [rsp + 0x48]
lea r8d, [r12 + 0x20]
lea rcx, [rbp + 0x230]
call fcn.14000be40
mov rax, qword [rbp + 0x230]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x230], rax
mov rax, qword [rbp + 0x230]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x22c], edx
lea rcx, [rsp + 0x48]
call fcn.14000c420
nop
lea rcx, [rbp - 0x78]
call fcn.14000c420
cmp qword [rbp + 0x2c0], r12
jne 0x1400a76a9
xor bl, bl
jmp 0x1400a7cf6
xor edx, edx
mov r8d, 0xe8
lea rcx, [rbp + 0x140]
call sub.VCRUNTIME140.dll_memset
lea rdi, [0x140116c50]
mov qword [rbp + 0x140], rdi
lea rcx, [rbp + 0x1c8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
or ebx, 2
mov dword [rsp + 0x40], ebx
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x148]
lea rcx, [rbp + 0x140]
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 + 0x140]
movsxd rcx, dword [rax + 4]
lea r13, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx + 0x140], r13
mov rax, qword [rbp + 0x140]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rbp + rcx + 0x13c], edx
lea rcx, [rbp + 0x148]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rsi, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + 0x148], rsi
mov qword [rbp + 0x1b0], r12
mov dword [rbp + 0x1b8], 4
lea rdx, [rbp + 0x240]
lea rcx, [rbp + 0x140]
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_streambuf_char__struct_std::char_traits_char______ptr64____ptr64]
lea rcx, [rbp + 0x240]
call fcn.14000c040
test rax, rax
jne 0x1400a77a1
mov rax, qword [rbp + 0x230]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x230]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
xorps xmm0, xmm0
movups xmmword [rbp + 8], xmm0
mov r14, r12
mov qword [rbp + 0x18], r12
mov r15d, 0xf
mov qword [rbp + 0x20], r15
mov byte [rbp + 8], r14b
or ebx, 8
mov dword [rsp + 0x40], ebx
movups xmmword [rsp + 0x48], xmm0
mov ecx, dword [rbp + 0x1b8]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x1400a7804
mov rax, qword [rbp + 0x188]
mov r8, qword [rax]
test r8, r8
je 0x1400a7804
mov rax, qword [rbp + 0x168]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x1b0]
cmovb r8, qword [rbp + 0x1b0]
sub r8, rdx
jmp 0x1400a783e
test cl, 4
jne 0x1400a7834
mov rax, qword [rbp + 0x180]
mov rcx, qword [rax]
test rcx, rcx
je 0x1400a7834
mov rax, qword [rbp + 0x160]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x198]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
jmp 0x1400a783e
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x1400a7854
lea rcx, [rbp + 8]
call fcn.14000dad0
mov r15, qword [rbp + 0x20]
mov r14, qword [rbp + 0x18]
and ebx, 0xfffffff7
or ebx, 4
lea rdx, [rbp - 0x58]
lea rcx, [0x14033bec0]
call fcn.140005330
nop
lea rdx, str.Engine.ini
cmp qword [0x14033beb8], 0x10
cmovae rdx, qword [str.Engine.ini]
mov r8, qword [0x14033beb0]
mov rcx, rax
call fcn.14000ab70
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x78], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x78], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
or ebx, 0x10
lea rdx, [rsp + 0x68]
cmp qword [rbp - 0x80], 0x10
cmovae rdx, qword [rsp + 0x68]
mov r8d, 0x21
lea rcx, [rbp + 0x240]
call fcn.14000d1d0
xor r8d, r8d
test rax, rax
mov rax, qword [rbp + 0x230]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x230]
je 0x1400a790e
add rcx, rax
xor edx, edx
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool____ptr64]
jmp 0x1400a791d
add rcx, rax
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
lea rcx, [rsp + 0x68]
call fcn.14000c420
nop
lea rcx, [rbp - 0x58]
call fcn.14000c420
cmp qword [rbp + 0x2c0], 0
jne 0x1400a7942
xor bl, bl
jmp 0x1400a7c9a
xor edx, edx
mov r8d, 0xe8
lea rcx, [rbp + 0x50]
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 0x50], rdi
lea rcx, [rbp + 0xd8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
bts ebx, 7
mov dword [rsp + 0x40], ebx
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x58]
lea rcx, [rbp + 0x50]
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 + 0x50]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x50], r13
mov rax, qword [rbp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rbp + rcx + 0x4c], edx
lea rcx, [rbp + 0x58]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
mov qword [rbp + 0x58], rsi
mov qword [rbp + 0xc0], r12
mov dword [rbp + 0xc8], 4
lea rdx, [rbp + 0x240]
lea rcx, [rbp + 0x50]
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_streambuf_char__struct_std::char_traits_char______ptr64____ptr64]
lea rcx, [rbp + 0x240]
call fcn.14000c040
test rax, rax
jne 0x1400a7a05
mov rax, qword [rbp + 0x230]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x230]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
mov rdi, r12
mov qword [rbp - 8], r12
mov esi, 0xf
mov qword [rbp], rsi
mov byte [rbp - 0x18], dil
or ebx, 0x40
mov dword [rsp + 0x40], ebx
movups xmmword [rsp + 0x48], xmm0
mov ecx, dword [rbp + 0xc8]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x1400a7a64
mov rax, qword [rbp + 0x98]
mov r8, qword [rax]
test r8, r8
je 0x1400a7a64
mov rax, qword [rbp + 0x78]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0xc0]
cmovb r8, qword [rbp + 0xc0]
sub r8, rdx
jmp 0x1400a7a9b
test cl, 4
jne 0x1400a7a91
mov rax, qword [rbp + 0x90]
mov rcx, qword [rax]
test rcx, rcx
je 0x1400a7a91
mov rax, qword [rbp + 0x70]
mov rdx, qword [rax]
mov rax, qword [rbp + 0xa8]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
jmp 0x1400a7a9b
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x1400a7ab1
lea rcx, [rbp - 0x18]
call fcn.14000dad0
mov rsi, qword [rbp]
mov rdi, qword [rbp - 8]
movabs rax, 0x7fffffffffffffff
sub rax, r14
cmp rax, 7
jb 0x1400a7d83
lea r9, [rbp + 8]
cmp r15, 0x10
cmovae r9, qword [rbp + 8]
mov qword [rsp + 0x30], 7
lea rax, str.ENDFILE
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
lea rcx, [rbp - 0x38]
call fcn.140023f60
nop
lea rdx, [rbp - 0x18]
cmp rsi, 0x10
cmovae rdx, qword [rbp - 0x18]
mov r8, rdi
lea rcx, [rbp - 0x38]
call fcn.14000ab70
xorps xmm0, xmm0
movups xmmword [rbp + 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x38], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x28], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x38], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rcx, [rbp - 0x38]
call fcn.14000c420
lea rdx, [rbp + 0x28]
lea rcx, [rbp + 0x360]
call fcn.1400ce2d0
nop
lea rdx, [rbp + 0x360]
lea rcx, [rbp - 0x58]
call fcn.14000ada0
mov rbx, rax
mov qword [rsp + 0x40], rax
mov rdx, rax
cmp qword [rax + 0x18], 0x10
jb 0x1400a7b7e
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
add r8, rdx
lea rcx, [rbp + 0x340]
call fcn.1400ce8d0
nop
mov rcx, rbx
call fcn.14000c420
nop
lea rdx, [rbp + 0x340]
lea rcx, [rbp - 0x78]
call fcn.14000ada0
mov rbx, rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1400a7c22
call qword [sym.imp.USER32.dll_EmptyClipboard]
mov rdx, qword [rbx + 0x10]
inc rdx
mov ecx, 0x2000
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
test rax, rax
je 0x1400a7c1c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x1400a7c1c
mov r8, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1400a7bf5
mov r8, qword [rbx]
mov rdx, qword [rbx + 0x10]
inc rdx
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, rdi
mov ecx, 1
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rcx, rbx
call fcn.14000c420
mov bl, 1
lea rcx, [rbp + 0x340]
call fcn.14000c420
nop
lea rcx, [rbp + 0x360]
call fcn.14000c420
nop
lea rcx, [rbp + 0x28]
call fcn.14000c420
nop
lea rcx, [rbp - 0x18]
call fcn.14000c420
nop
mov rax, qword [rbp + 0x50]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x50], r13
mov rax, qword [rbp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rbp + rcx + 0x4c], edx
lea rcx, [rbp + 0x58]
call fcn.1400a9570
lea rcx, [rbp + 0x60]
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 + 0xd8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rbp + 8]
call fcn.14000c420
nop
mov rax, qword [rbp + 0x140]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x140], r13
mov rax, qword [rbp + 0x140]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rbp + rcx + 0x13c], edx
lea rcx, [rbp + 0x148]
call fcn.1400a9570
lea rcx, [rbp + 0x150]
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 + 0x1c8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rcx, qword [rbp + 0x230]
movsxd rdx, dword [rcx + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rdx + 0x230], rax
mov rcx, qword [rbp + 0x230]
movsxd rdx, dword [rcx + 4]
lea r8d, [rdx - 0xb0]
mov dword [rbp + rdx + 0x22c], r8d
lea rcx, [rbp + 0x240]
call fcn.140009b60
lea rcx, [rbp + 0x248]
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 + 0x2e0]
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 + 0x380]
xor rcx, rsp
call fcn.1400f16c0
lea r11, [rsp + 0x490]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140004540
nop
int3