Function at 0x401630
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x178
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x50], xmm6
movaps xmmword [rbp + 0x60], xmm7
movaps xmmword [rbp + 0x70], xmm8
movaps xmmword [rbp + 0x80], xmm9
movaps xmmword [rbp + 0x90], xmm10
movaps xmmword [rbp + 0xa0], xmm11
movaps xmmword [rbp + 0xb0], xmm12
movaps xmmword [rbp + 0xc0], xmm13
movaps xmmword [rbp + 0xd0], xmm14
movaps xmmword [rbp + 0xe0], xmm15
mov qword [rbp + 0x140], rcx
lea rax, [sym.__gxx_personality_sj0]
mov qword [rbp - 0x30], rax
lea rax, [0x00552150]
mov qword [rbp - 0x28], rax
lea rax, [rbp - 0x20]
lea rbx, [rbp + 0x50]
mov qword [rax], rbx
lea rdx, [0x00401867]
mov qword [rax + 8], rdx
mov qword [rax + 0x10], rsp
lea rax, [rbp - 0x60]
mov rcx, rax
call dbg._Unwind_SjLj_Register
mov ecx, 0
mov rax, qword [sym.imp.USER32.dll_OpenClipboard]
mov dword [rbp - 0x58], 0xffffffff
call rax
test eax, eax
sete al
test al, al
je 0x40172f
lea rax, [rbp + 0x3c]
mov rcx, rax
call fcn.00479d60
lea rax, [rbp + 0x3c]
mov dword [rbp - 0x58], 1
mov r8, rax
lea rdx, [0x0052e0d9]
mov rcx, qword [rbp + 0x140]
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.basic_string_char_const__std::allocator_char__const_
lea rax, [rbp + 0x3c]
mov rcx, rax
call sym.std::allocator_char_::allocator__
jmp 0x40194a
mov ecx, 1
mov rax, qword [sym.imp.USER32.dll_GetClipboardData]
mov dword [rbp - 0x58], 0xffffffff
call rax
mov qword [rbp + 0x48], rax
mov rax, qword [sym.imp.USER32.dll_CloseClipboard]
call rax
cmp qword [rbp + 0x48], 0
jne 0x401796
lea rax, [rbp + 0x3d]
mov rcx, rax
call fcn.00479d60
lea rax, [rbp + 0x3d]
mov dword [rbp - 0x58], 2
mov r8, rax
lea rdx, [0x0052e0d9]
mov rcx, qword [rbp + 0x140]
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.basic_string_char_const__std::allocator_char__const_
lea rax, [rbp + 0x3d]
mov rcx, rax
call sym.std::allocator_char_::allocator__
jmp 0x40194a
mov rax, qword [rbp + 0x48]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [rbp - 0x58], 0xffffffff
call rax
mov qword [rbp + 0x40], rax
cmp qword [rbp + 0x40], 0
jne 0x4017f6
lea rax, [rbp + 0x3e]
mov rcx, rax
call fcn.00479d60
lea rax, [rbp + 0x3e]
mov dword [rbp - 0x58], 3
mov r8, rax
lea rdx, [0x0052e0d9]
mov rcx, qword [rbp + 0x140]
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.basic_string_char_const__std::allocator_char__const_
lea rax, [rbp + 0x3e]
mov rcx, rax
call sym.std::allocator_char_::allocator__
jmp 0x40194a
lea rax, [rbp + 0x3f]
mov rcx, rax
call fcn.00479d60
lea rcx, [rbp + 0x3f]
mov rdx, qword [rbp + 0x40]
lea rax, [rbp + 0x10]
mov dword [rbp - 0x58], 4
mov r8, rcx
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.basic_string_char_const__std::allocator_char__const_
lea rax, [rbp + 0x3f]
mov rcx, rax
call sym.std::allocator_char_::allocator__
mov rax, qword [rbp + 0x48]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [rbp - 0x58], 5
call rax
lea rax, [rbp + 0x10]
mov rdx, rax
mov rcx, qword [rbp + 0x140]
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.basic_string_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____
lea rax, [rbp + 0x10]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
jmp 0x40194a
lea rax, [rbp - 0x60]
mov rcx, rax
call sym._Unwind_SjLj_Unregister
mov rax, qword [rbp + 0x140]
movaps xmm6, xmmword [rbp + 0x50]
movaps xmm7, xmmword [rbp + 0x60]
movaps xmm8, xmmword [rbp + 0x70]
movaps xmm9, xmmword [rbp + 0x80]
movaps xmm10, xmmword [rbp + 0x90]
movaps xmm11, xmmword [rbp + 0xa0]
movaps xmm12, xmmword [rbp + 0xb0]
movaps xmm13, xmmword [rbp + 0xc0]
movaps xmm14, xmmword [rbp + 0xd0]
movaps xmm15, xmmword [rbp + 0xe0]
add rsp, 0x178
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret