Function at 0x40ed20
Capabilities:
Open clipboard

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x424f08
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x43300c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0xe4]
call fcn.0040f870
xor ebx, ebx
mov dword [ebp - 4], 0
cmp dword [edi + 8], ebx
jle 0x40ee02
lea esi, [edi + 0x50c]
mov dword [ebp - 0x30], esi
inc ebx
mov edx, str.Window
push ebx
push ecx
lea ecx, [ebp - 0xd4]
call fcn.00403520
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
mov edx, 0x4296bc
mov ecx, eax
call fcn.00403520
mov edx, str.WindowName:
lea ecx, [ebp - 0xd4]
call fcn.00403520
lea edx, [esi - 0x500]
mov ecx, eax
call fcn.00403520
mov edx, 0x4296c8
mov ecx, eax
call fcn.00403520
mov edx, str.WindowClass:
lea ecx, [ebp - 0xd4]
call fcn.00403520
mov esi, dword [ebp - 0x30]
mov ecx, eax
mov edx, esi
call fcn.00403520
mov edx, 0x4296dc
mov ecx, eax
call fcn.00403520
add esi, 0x40
mov dword [ebp - 0x30], esi
cmp ebx, dword [edi + 8]
jl 0x40ed78
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x40eeae
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0xcc]
call fcn.0040fa30
mov byte [ebp - 4], 1
lea edx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0x10
cmovae edx, dword [ebp - 0x2c]
sub esp, 0x18
mov esi, esp
mov eax, edx
mov dword [esi], 0
lea edi, [eax + 1]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40ee50
sub eax, edi
mov ecx, esi
push eax
push edx
call fcn.00401960
call fcn.00418de0
mov edx, dword [ebp - 0x18]
add esp, 0x18
cmp edx, 0x10
jb 0x40eea0
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40ee96
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40ee96
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004235ae
add esp, 8
push 0x40
push str.INFO
push str.Dump_data_successfully_copied_to_clipboard_
jmp 0x40eeba
push 0x10
push str.INFO
push str.Cant_open_clipboard_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [ebp - 0xe4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe4], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0xe4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xe8], eax
lea ecx, [ebp - 0xcc]
call fcn.0040f7c0
lea ecx, [ebp - 0xc4]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x7c]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00423570
mov esp, ebp
pop ebp
ret 4