Function at 0x422da0
Capabilities:
Open clipboard

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
sub esp, 0x1c
push ecx
push edi
lea edi, [esp + 8]
mov eax, 0xcccccccc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
pop edi
pop ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0xc], 0
mov edx, dword [ebp + 8]
mov ecx, edx
mov esi, dword [ecx]
mov ecx, edx
call dword [esi + 0x1c8]
cmp al, 0
je 0x422f71
mov edx, dword [ebp + 8]
mov ecx, edx
mov esi, dword [ecx]
mov ecx, edx
call dword [esi + 0x200]
cmp al, 0
jne 0x422e6f
mov eax, dword [ebp - 0x24]
mov edx, dword [eax + 4]
cmp byte [edx + 0x96], 0
jne 0x422e6f
mov dword [ebp - 0x10], 0
push str.EditCut
call fcn.0040dc70
pop ecx
push eax
push str.EditCut
lea ecx, [ebp - 0x10]
call fcn.0040c560
cmp dword [ebp - 0x10], 0
je 0x422e31
mov ebx, dword [ebp - 0x10]
mov edx, dword [0x5022fc]
mov dword [ebx + 0x10], edx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0xc]
call fcn.0040cc10
cmp dword [ebp - 0x10], 0
je 0x422e4b
mov ecx, dword [ebp - 0x10]
call fcn.0040c380
push dword [ebp - 0xc]
call fcn.00468270
pop ecx
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x422e6f
push dword [ebp - 0x20]
call fcn.00474250
pop ecx
push dword [ebp - 0x20]
call fcn.004d8ab0
pop ecx
mov edx, dword [ebp + 8]
mov ecx, edx
mov esi, dword [ecx]
mov ecx, edx
call dword [esi + 0x200]
cmp al, 0
jne 0x422ef2
mov dword [ebp - 0x14], 0
push str.EditClear
call fcn.0040dc70
pop ecx
push eax
push str.EditClear
lea ecx, [ebp - 0x14]
call fcn.0040c560
cmp dword [ebp - 0x14], 0
je 0x422eb4
mov ebx, dword [ebp - 0x14]
mov edx, dword [0x5022fc]
mov dword [ebx + 0x10], edx
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0xc]
call fcn.0040cc10
cmp dword [ebp - 0x14], 0
je 0x422ece
mov ecx, dword [ebp - 0x14]
call fcn.0040c380
push dword [ebp - 0xc]
call fcn.00468270
pop ecx
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x422ef2
push dword [ebp - 0x20]
call fcn.00474250
pop ecx
push dword [ebp - 0x20]
call fcn.004d8ab0
pop ecx
mov eax, dword [ebp - 0x24]
mov edx, dword [eax + 4]
cmp byte [edx + 0x96], 0
jne 0x422f71
mov dword [ebp - 0x18], 0
push str.EditCopy
call fcn.0040dc70
pop ecx
push eax
push str.EditCopy
lea ecx, [ebp - 0x18]
call fcn.0040c560
cmp dword [ebp - 0x18], 0
je 0x422f33
mov ebx, dword [ebp - 0x18]
mov edx, dword [0x5022fc]
mov dword [ebx + 0x10], edx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xc]
call fcn.0040cc10
cmp dword [ebp - 0x18], 0
je 0x422f4d
mov ecx, dword [ebp - 0x18]
call fcn.0040c380
push dword [ebp - 0xc]
call fcn.00468270
pop ecx
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x422f71
push dword [ebp - 0x20]
call fcn.00474250
pop ecx
push dword [ebp - 0x20]
call fcn.004d8ab0
pop ecx
mov edx, dword [ebp + 8]
mov ecx, edx
mov esi, dword [ecx]
mov ecx, edx
call dword [esi + 0x200]
cmp al, 0
jne 0x42301c
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
cmp eax, 0
je 0x42301c
push 1
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
cmp eax, 0
je 0x423016
mov dword [ebp - 0x1c], 0
push str.EditPaste
call fcn.0040dc70
pop ecx
push eax
push str.EditPaste
lea ecx, [ebp - 0x1c]
call fcn.0040c560
cmp dword [ebp - 0x1c], 0
je 0x422fd8
mov ebx, dword [ebp - 0x1c]
mov edx, dword [0x5022fc]
mov dword [ebx + 0x10], edx
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0xc]
call fcn.0040cc10
cmp dword [ebp - 0x1c], 0
je 0x422ff2
mov ecx, dword [ebp - 0x1c]
call fcn.0040c380
push dword [ebp - 0xc]
call fcn.00468270
pop ecx
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x423016
push dword [ebp - 0x20]
call fcn.00474250
pop ecx
push dword [ebp - 0x20]
call fcn.004d8ab0
pop ecx
call dword [sym.imp.USER32.dll_CloseClipboard]
cmp dword [ebp - 0xc], 0
je 0x42302a
mov ecx, dword [ebp - 0xc]
call fcn.0040c380
lea esp, [ebp - 8]
pop esi
pop ebx
pop ebp
ret 4