Function at 0x410540
Capabilities:
Open clipboard

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x425fa8
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x43400c]
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.00411090
xor ebx, ebx
mov dword [ebp - 4], 0
cmp dword [edi + 8], ebx
jle 0x410622
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.004044d0
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, 0x42aa40
mov ecx, eax
call fcn.004044d0
mov edx, str.WindowName:
lea ecx, [ebp - 0xd4]
call fcn.004044d0
lea edx, [esi - 0x500]
mov ecx, eax
call fcn.004044d0
mov edx, 0x42aa4c
mov ecx, eax
call fcn.004044d0
mov edx, str.WindowClass:
lea ecx, [ebp - 0xd4]
call fcn.004044d0
mov esi, dword [ebp - 0x30]
mov ecx, eax
mov edx, esi
call fcn.004044d0
mov edx, 0x42aa60
mov ecx, eax
call fcn.004044d0
add esi, 0x40
mov dword [ebp - 0x30], esi
cmp ebx, dword [edi + 8]
jl 0x410598
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4106ce
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0xcc]
call fcn.00411250
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 0x410670
sub eax, edi
mov ecx, esi
push eax
push edx
call fcn.00401960
call fcn.004199f0
mov edx, dword [ebp - 0x18]
add esp, 0x18
cmp edx, 0x10
jb 0x4106c0
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4106b6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4106b6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0042458e
add esp, 8
push 0x40
push str.INFO
push str.Dump_data_successfully_copied_to_clipboard_
jmp 0x4106da
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.00410fe0
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.00424550
mov esp, ebp
pop ebp
ret 4