Function at 0x50de98
Capabilities:
Open clipboard

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a0
push ebx
push esi
push edi
mov dword [ebp - 0x19c], 0
push 0
push 0
push 0x147
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x198]
push eax
mov eax, dword [ebp - 0x28]
push eax
push 0x148
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 0x1a0]
push eax
lea eax, [ebp - 0x128]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.00509fd0
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x50df1d
mov dword [ebp - 0x19c], 0x2af8
jmp 0x50e0ba
lea eax, [ebp - 0x12c]
push eax
mov eax, dword [ebp + 0x14]
push eax
call fcn.0050d5e0
add esp, 8
mov dword [ebp - 0x19c], eax
cmp dword [ebp - 0x19c], 0
jne 0x50e0b4
push 0x21
lea eax, [ebp - 0x174]
push eax
push 0x252c
mov eax, dword [0x533640]
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
test eax, eax
je 0x50dfa6
push 0x21
lea eax, [ebp - 0x150]
push eax
push 0x252b
mov eax, dword [0x533640]
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
test eax, eax
je 0x50dfa6
push 0x21
lea eax, [ebp - 0x24]
push eax
push 0x2545
mov eax, dword [0x533640]
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
test eax, eax
jne 0x50dfb5
mov dword [ebp - 0x19c], 0x2711
jmp 0x50e0b4
cmp dword [ebp - 0x28], 0xffffffff
je 0x50dffb
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x198]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x50dffb
lea eax, [ebp - 0x24]
push eax
push 0xffffffffffffffff
push 0x158
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, dword [ebp - 0x28]
jne 0x50e02d
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 0x12c]
push eax
lea eax, [ebp - 0x1a0]
push eax
lea eax, [ebp - 0x128]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.0050bfb0
add esp, 0x14
mov dword [ebp - 0x19c], eax
jmp 0x50e0b4
lea eax, [ebp - 0x174]
push eax
lea eax, [ebp - 0x198]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x50e07b
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 0x12c]
push eax
lea eax, [ebp - 0x1a0]
push eax
lea eax, [ebp - 0x128]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.0050ca6a
add esp, 0x14
mov dword [ebp - 0x19c], eax
jmp 0x50e0b4
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 0x12c]
push eax
mov eax, dword [ebp - 0x1a0]
push eax
lea eax, [ebp - 0x128]
push eax
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.0050c5d9
add esp, 0x20
mov dword [ebp - 0x19c], eax
call dword [sym.imp.USER32.dll_CloseClipboard]
cmp dword [ebp - 0x19c], 0
je 0x50e0da
mov eax, dword [ebp - 0x19c]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.00517e43
add esp, 8
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax + 8]
push eax
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.0050a09d
add esp, 0x10
mov dword [ebp - 0x19c], eax
cmp dword [ebp - 0x19c], 0
je 0x50e11b
mov eax, dword [ebp - 0x19c]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.00517e43
add esp, 8
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax + 8]
push eax
call fcn.005181f8
add esp, 4
pop edi
pop esi
pop ebx
leave
ret