Function at 0x1400a5d90
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 [0x140154e70]
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, [0x140337d18]
call fcn.1400042c0
nop
lea rdx, [0x14033d480]
cmp qword [0x14033d498], 0x10
cmovae rdx, qword [0x14033d480]
mov r8, qword [0x14033d490]
mov rcx, rax
call fcn.140009050
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.14000a540
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.14000a8f0
nop
lea rcx, [rbp - 0x78]
call fcn.14000a8f0
cmp qword [rbp + 0x2c0], r12
jne 0x1400a5ec9
xor bl, bl
jmp 0x1400a6516
xor edx, edx
mov r8d, 0xe8
lea rcx, [rbp + 0x140]
call sub.VCRUNTIME140.dll_memset
lea rdi, [0x140113a70]
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.14000a740
test rax, rax
jne 0x1400a5fc1
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 0x1400a6024
mov rax, qword [rbp + 0x188]
mov r8, qword [rax]
test r8, r8
je 0x1400a6024
mov rax, qword [rbp + 0x168]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x1b0]
cmovb r8, qword [rbp + 0x1b0]
sub r8, rdx
jmp 0x1400a605e
test cl, 4
jne 0x1400a6054
mov rax, qword [rbp + 0x180]
mov rcx, qword [rax]
test rcx, rcx
je 0x1400a6054
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 0x1400a605e
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x1400a6074
lea rcx, [rbp + 8]
call fcn.14000a9f0
mov r15, qword [rbp + 0x20]
mov r14, qword [rbp + 0x18]
and ebx, 0xfffffff7
or ebx, 4
lea rdx, [rbp - 0x58]
lea rcx, [0x140337d18]
call fcn.1400042c0
nop
lea rdx, str.Engine.ini
cmp qword [0x140337d10], 0x10
cmovae rdx, qword [str.Engine.ini]
mov r8, qword [0x140337d08]
mov rcx, rax
call fcn.140009050
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.14000bd20
xor r8d, r8d
test rax, rax
mov rax, qword [rbp + 0x230]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x230]
je 0x1400a612e
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 0x1400a613d
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.14000a8f0
nop
lea rcx, [rbp - 0x58]
call fcn.14000a8f0
cmp qword [rbp + 0x2c0], 0
jne 0x1400a6162
xor bl, bl
jmp 0x1400a64ba
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.14000a740
test rax, rax
jne 0x1400a6225
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 0x1400a6284
mov rax, qword [rbp + 0x98]
mov r8, qword [rax]
test r8, r8
je 0x1400a6284
mov rax, qword [rbp + 0x78]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0xc0]
cmovb r8, qword [rbp + 0xc0]
sub r8, rdx
jmp 0x1400a62bb
test cl, 4
jne 0x1400a62b1
mov rax, qword [rbp + 0x90]
mov rcx, qword [rax]
test rcx, rcx
je 0x1400a62b1
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 0x1400a62bb
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x1400a62d1
lea rcx, [rbp - 0x18]
call fcn.14000a9f0
mov rsi, qword [rbp]
mov rdi, qword [rbp - 8]
movabs rax, 0x7fffffffffffffff
sub rax, r14
cmp rax, 7
jb 0x1400a65a3
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.140022030
nop
lea rdx, [rbp - 0x18]
cmp rsi, 0x10
cmovae rdx, qword [rbp - 0x18]
mov r8, rdi
lea rcx, [rbp - 0x38]
call fcn.140009050
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.14000a8f0
lea rdx, [rbp + 0x28]
lea rcx, [rbp + 0x360]
call fcn.1400cb5c0
nop
lea rdx, [rbp + 0x360]
lea rcx, [rbp - 0x58]
call fcn.140009220
mov rbx, rax
mov qword [rsp + 0x40], rax
mov rdx, rax
cmp qword [rax + 0x18], 0x10
jb 0x1400a639e
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
add r8, rdx
lea rcx, [rbp + 0x340]
call fcn.1400cbbc0
nop
mov rcx, rbx
call fcn.14000a8f0
nop
lea rdx, [rbp + 0x340]
lea rcx, [rbp - 0x78]
call fcn.140009220
mov rbx, rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1400a6442
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 0x1400a643c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x1400a643c
mov r8, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1400a6415
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.14000a8f0
mov bl, 1
lea rcx, [rbp + 0x340]
call fcn.14000a8f0
nop
lea rcx, [rbp + 0x360]
call fcn.14000a8f0
nop
lea rcx, [rbp + 0x28]
call fcn.14000a8f0
nop
lea rcx, [rbp - 0x18]
call fcn.14000a8f0
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.1400a7d90
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.14000a8f0
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.1400a7d90
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.140008c20
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.1400ee850
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.140003540
nop
int3