Function at 0x440310
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6897d8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push esi
push edi
mov eax, dword [0x725fec]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x24], eax
test eax, eax
je 0x440343
mov eax, dword [eax + 0x20]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x44035e
xor esi, esi
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], esi
jmp 0x44049b
xor eax, eax
mov dword [ebp - 0x34], 0
xor edi, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], eax
push eax
mov dword [ebp - 4], eax
mov byte [ebp - 0xd], al
call dword [sym.imp.USER32.dll_EnumClipboardFormats]
mov esi, eax
mov dword [ebp - 0x20], esi
test esi, esi
je 0x440461
nop dword [eax]
lea eax, [esi - 1]
cmp eax, 0x8d
ja case.0x4403a1.3
movzx eax, byte [eax + 0x440548]
jmp dword [eax*4 + 0x44053c]
cmp byte [ebp - 0xd], 0
jne case.0x4403a1.1
mov byte [ebp - 0xd], 1
push esi
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [ebp - 0x1c], eax
test eax, eax
je case.0x4403a1.1
push eax
call dword [sym.imp.KERNEL32.dll_GlobalSize]
mov dword [ebp - 0x18], eax
test eax, eax
je case.0x4403a1.1
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x28], eax
test eax, eax
je case.0x4403a1.1
cmp dword [ebp - 0x14], edi
je 0x44040e
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
add edi, 0x10
mov dword [ebp - 0x30], edi
jmp 0x440420
push edi
lea ecx, [ebp - 0x34]
call fcn.00469970
mov eax, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x30]
mov dword [ebp - 0x14], eax
mov dword [edi - 0x10], esi
lea esi, [edi - 0xc]
push esi
push dword [ebp - 0x18]
mov ecx, esi
call fcn.0040d940
push dword [ebp - 0x18]
push dword [ebp - 0x28]
push dword [esi]
call fcn.006435e0
add esp, 0xc
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov esi, dword [ebp - 0x20]
push esi
call dword [sym.imp.USER32.dll_EnumClipboardFormats]
mov esi, eax
mov dword [ebp - 0x20], eax
test esi, esi
jne 0x440390
call dword [sym.imp.USER32.dll_CloseClipboard]
movq xmm0, qword [ebp - 0x34]
lea ecx, [ebp - 0x34]
mov esi, dword [ebp - 0x14]
movq qword [ebp - 0x40], xmm0
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 4], 0xffffffff
call fcn.00440d30
mov edi, dword [ebp - 0x24]
lea eax, [ebp - 0x40]
add edi, 0x320
cmp edi, eax
je 0x4404d5
mov ecx, edi
call fcn.00440d30
mov eax, dword [ebp - 0x40]
mov dword [edi], eax
mov eax, dword [ebp - 0x3c]
mov dword [edi + 4], eax
mov dword [edi + 8], esi
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x40]
call fcn.00440d30
mov esi, dword [ebp - 0x24]
lea ecx, [esi + 0x31c]
call fcn.004038d0
test esi, esi
jne 0x4404f3
xor ecx, ecx
jmp 0x4404f6
mov ecx, dword [esi + 0x20]
lea edx, [esi + 0x31c]
call fcn.004696c0
cmp byte [ebp + 8], 0
je 0x440529
test esi, esi
jne 0x44050f
xor eax, eax
jmp 0x440512
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x440529
call dword [sym.imp.USER32.dll_EmptyClipboard]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4