Function at 0x44ca12
Capabilities:
Open clipboard

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push edi
push 4
push dword [ebp + 0xc]
xor ebx, ebx
xor edi, edi
inc ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov dword [ebp - 4], eax
test eax, eax
je 0x44cdf4
push esi
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x44cc1b
push 5
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
mov dword [ebp - 0x10], esi
test esi, esi
je 0x44cc1b
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x44cb54
push edi
push esi
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
mov eax, dword [eax + 0x48]
and eax, 0x20
mov dword [ebp + 0xc], eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [0x49d9fc]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x44cad3
movzx eax, word [0x49da34]
mov esi, dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
push eax
call esi
test eax, eax
je 0x44cac0
mov edi, 0xbb9
jmp 0x44cacd
push ebx
call esi
test eax, eax
mov ecx, 0xbb9
cmovne edi, ecx
call dword [sym.imp.USER32.dll_CloseClipboard]
mov esi, dword [ebp - 0x10]
xor eax, eax
cmp dword [ebp + 0xc], eax
push esi
cmovne edi, eax
call fcn.00474334
push dword [ebp - 4]
xor ecx, ecx
test eax, eax
cmovne ebx, ecx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp + 0xc], eax
mov eax, dword [eax + 0xe6]
test eax, eax
je 0x44cb17
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov eax, dword [ebp + 0xc]
push dword [eax + 0xe6]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [ebp - 0xc]
push eax
push esi
call fcn.00474378
mov esi, eax
xor ecx, ecx
xor eax, eax
inc eax
test esi, esi
cmovne eax, ecx
add esi, 0x9c4
mov dword [ebp - 0x10], eax
mov dword [ebp + 0xc], esi
cmp dword [ebp - 0xc], ecx
je 0x44cd2e
inc esi
mov dword [ebp + 0xc], esi
jmp 0x44cd2e
push dword [0x49d9fc]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x44cb85
mov esi, dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
push 2
call esi
test eax, eax
jne 0x44cb7a
push 8
call esi
test eax, eax
je 0x44cb7f
mov edi, 0xbbd
call dword [sym.imp.USER32.dll_CloseClipboard]
push dword [ebp - 4]
xor esi, esi
mov dword [ebp + 0xc], 0x9c4
inc esi
mov dword [ebp - 0x10], esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax + 0xe6]
test ecx, ecx
je 0x44cc0d
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 8], eax
push dword [eax + 0x14]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [eax + 0x14]
cmp ecx, 0xffffffff
je 0x44cbf4
imul ecx, ecx, 0x34
push dword [eax + ecx + 0x44]
mov eax, dword [ebp - 8]
push dword [eax + 0x18]
call fcn.00467c25
test eax, eax
je 0x44cbe9
cmp dword [eax], esi
jne 0x44cbe9
mov ecx, dword [eax + 8]
xor edx, edx
cmp dword [ecx + eax + 0x54], edx
cmovge ebx, edx
mov eax, dword [ebp - 8]
push dword [eax + 0x18]
call sub.KERNEL32.dll_GlobalUnlock
mov eax, dword [ebp - 8]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [eax + 0x14]
call esi
mov eax, dword [ebp - 0x1c]
push dword [eax + 0xe6]
call esi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x44cd2e
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
and dword [ebp - 0x1c], edi
mov edx, eax
mov eax, ebx
mov dword [ebp - 8], edx
mov ecx, dword [edx + 0x4a]
test ecx, ecx
cmovne eax, dword [ebp - 0x1c]
test dword [edx + 0x22], 0x100
lea esi, [ecx*2 + 0xdac]
mov dword [ebp - 0x10], eax
mov dword [ebp + 0xc], esi
je 0x44cc5a
test eax, eax
jne 0x44cc5a
inc esi
mov dword [ebp - 0xc], ebx
mov dword [ebp + 0xc], esi
jmp 0x44cc5d
and dword [ebp - 0xc], edi
push dword [0x49d9fc]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x44ccd5
movzx eax, word [0x49cd5c]
mov esi, dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
push eax
call esi
test eax, eax
je 0x44cc88
mov edi, 0xbba
jmp 0x44cccf
movzx eax, word [0x49cd60]
push eax
call esi
test eax, eax
je 0x44cc9d
mov edi, 0xbbb
jmp 0x44cccf
movzx eax, word [0x49cd68]
push eax
call esi
test eax, eax
je 0x44ccb2
mov edi, 0xbbc
jmp 0x44cccf
push 8
call esi
test eax, eax
je 0x44ccc1
mov edi, 0xbbd
jmp 0x44cccf
push 2
call esi
test eax, eax
mov ecx, 0xbbd
cmovne edi, ecx
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [ebp - 8]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp dword [eax + 0x32], 0
jle 0x44ccf8
xor ebx, ebx
lea eax, [edi - 0xbbc]
and dword [ebp - 0x18], ebx
cmp eax, 2
ja 0x44cd29
xor edi, edi
jmp 0x44cd29
cmp edi, 0xbbc
jl 0x44cd08
cmp edi, 0xbbe
jle 0x44cd0a
xor edi, edi
push dword [eax + 0x1d6]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
xor ecx, ecx
cmp dword [eax + 0x60], ecx
mov eax, dword [ebp - 8]
cmovne ebx, ecx
push dword [eax + 0x1d6]
call esi
push dword [ebp - 4]
call esi
test edi, edi
je 0x44cd38
and dword [ebp - 0x14], 0
jmp 0x44cd3d
mov edi, 0xbb8
mov esi, dword [ebp + 8]
push 0
push 0xcd
push esi
call dword [sym.imp.USER32.dll_GetMenuState]
cmp eax, 0xffffffff
je 0x44cd72
push dword [ebp + 0x10]
push edi
mov edi, 0xcd
push edi
push esi
call fcn.00469f5a
push dword [ebp - 0x14]
push edi
mov edi, dword [sym.imp.USER32.dll_EnableMenuItem]
push esi
call edi
jmp 0x44cd78
mov edi, dword [sym.imp.USER32.dll_EnableMenuItem]
push 0
push 0xc9
push esi
call dword [sym.imp.USER32.dll_GetMenuState]
cmp eax, 0xffffffff
je 0x44cda7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0xc9
push esi
call fcn.00469f5a
push dword [ebp - 0x10]
push 0xc9
push esi
call edi
push ebx
push 0xca
push esi
call edi
push 0
push 0xcc
push esi
call dword [sym.imp.USER32.dll_GetMenuState]
cmp eax, 0xffffffff
je 0x44cdd7
push dword [ebp - 0x18]
push 0xcc
push esi
call edi
push ebx
push 0xd3
push esi
call edi
push 0
push 0xcb
push esi
call dword [sym.imp.USER32.dll_GetMenuState]
cmp eax, 0xffffffff
je 0x44cdf3
push ebx
push 0xcb
push esi
call edi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 0xc