Function at 0x401920
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0xffffffffffffffff
push 0x48a888
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
push esi
mov esi, dword [esp + 0x90]
mov dword [esp + 0xc], ecx
push esi
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x401956
xor eax, eax
jmp 0x401b45
push ebx
push ebp
xor ebp, ebp
push edi
push ebp
push ebp
push ebp
push str.DISPLAY
call dword [sym.imp.GDI32.dll_CreateDCA]
push eax
mov dword [esp + 0x24], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [esi]
mov edi, dword [esi + 4]
mov ecx, dword [esi + 8]
mov ebx, eax
mov eax, dword [esi + 0xc]
cmp edx, ebp
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], edi
jge 0x401993
mov dword [esp + 0x14], ebp
mov edx, ebp
cmp edi, ebp
jge 0x40199d
mov dword [esp + 0x10], ebp
mov edi, ebp
mov ebp, dword [esp + 0x18]
mov esi, dword [ebp + 0xe4]
cmp ecx, esi
jle 0x4019ad
mov ecx, esi
mov esi, dword [ebp + 0xe8]
cmp eax, esi
jle 0x4019b9
mov eax, esi
sub ecx, edx
sub eax, edi
mov ebp, ecx
mov edx, eax
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 0x38]
lea esi, [esp + 0x38]
rep stosd dword es:[edi], eax
mov ecx, 0xb
lea edi, [esp + 0x60]
rep stosd dword es:[edi], eax
mov ecx, 0xa
lea edi, [esp + 0x60]
push eax
mov dword [esp + 0x3c], 0x28
mov word [esp + 0x4a], 0x18
mov dword [esp + 0x4c], eax
mov word [esp + 0x48], 1
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], edx
push eax
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x28]
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x6c]
push 0
push ecx
push edi
mov dword [esp + 0x34], edx
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push ebx
call esi
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xa0]
test eax, eax
je 0x401ad7
lea ecx, [esp + 0x28]
call fcn.00482858
push ebx
mov dword [esp + 0x98], 0
call fcn.004828fa
test eax, eax
je 0x401a65
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x2c]
call fcn.0048290f
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x150]
test eax, eax
je 0x401a87
mov eax, dword [eax + 4]
push eax
mov eax, dword [esp + 0x30]
push eax
call fcn.00482a50
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x28]
push 0xcc0020
neg eax
sbb eax, eax
push ecx
and eax, edx
mov edx, dword [esp + 0x1c]
push edx
push eax
mov eax, dword [esp + 0x2c]
push eax
push ebp
push 0
push 0
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
lea ecx, [esp + 0x28]
mov dword [esp + 0x94], 0xffffffff
call fcn.0048298d
jmp 0x401af8
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
push 0xcc0020
push ecx
push edx
push edi
push eax
push ebp
push 0
push 0
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0x20]
push ecx
push ebx
call esi
mov esi, eax
mov eax, dword [esp + 0xa0]
test eax, eax
je 0x401b34
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x1c]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x401b34
call dword [sym.imp.USER32.dll_EmptyClipboard]
push esi
push 2
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
push edi
mov edi, dword [sym.imp.GDI32.dll_DeleteDC]
call edi
push ebx
call edi
pop edi
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x80]
pop esi
mov dword fs:[0], ecx
add esp, 0x88
ret 8