Function at 0x100074f0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
sub esp, 0x34
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x3c]
push ebx
xor ecx, ecx
push ebp
push esi
cmp eax, ecx
push edi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x30], edx
jne 0x10007530
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebp, eax
mov dword [esp + 0x50], ebp
jmp 0x10007536
mov dword [esp + 0x50], eax
mov ebp, eax
mov ebx, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 4
push ebp
call ebx
push 6
push ebp
mov esi, eax
call ebx
push 8
push ebp
mov edi, eax
call ebx
mov ebp, eax
push 0xa
mov eax, dword [esp + 0x54]
push eax
call ebx
test ebp, ebp
mov ecx, eax
je 0x100075be
test ecx, ecx
je 0x100075be
mov eax, esi
imul esi, dword [esp + 0x2c]
imul eax, dword [esp + 0x24]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 2
cdq
idiv ebp
mov dword [esp + 0x34], eax
mov eax, edi
imul eax, dword [esp + 0x28]
imul edi, dword [esp + 0x30]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 2
cdq
idiv ecx
mov dword [esp + 0x38], eax
lea eax, [esi + esi*4]
lea eax, [eax + eax*4]
shl eax, 2
cdq
idiv ebp
mov dword [esp + 0x3c], eax
lea eax, [edi + edi*4]
lea eax, [eax + eax*4]
shl eax, 2
cdq
idiv ecx
mov dword [esp + 0x40], eax
jmp 0x100075de
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
mov eax, dword [esp + 0x60]
test eax, eax
je 0x100075eb
cmp byte [eax], 0
jne 0x100075ed
xor eax, eax
lea edx, [esp + 0x34]
push 0
push edx
push eax
mov eax, dword [esp + 0x5c]
push eax
call dword [sym.imp.GDI32.dll_CreateEnhMetaFileA]
lea ecx, [esp + 0x54]
lea edx, [esp + 0x24]
push ecx
mov esi, eax
push edx
push 0
push esi
call fcn.1000dbe0
mov eax, dword [esp + 0x64]
add esp, 0x10
cmp eax, 8
jne 0x1000762d
mov eax, dword [esp + 0x48]
push eax
call fcn.1000dc80
add esp, 4
mov eax, dword [esp + 0x58]
test eax, eax
jne 0x10007682
mov edi, dword [sym.imp.GDI32.dll_SetBkMode]
push 2
push esi
call edi
mov ebx, eax
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x20], 4
push eax
push esi
mov dword [esp + 0x24], eax
call dword [sym.imp.GDI32.dll_SetBkColor]
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x14], eax
call dword [sym.imp.GDI32.dll_CreateBrushIndirect]
mov ebp, eax
lea edx, [esp + 0x24]
push ebp
push edx
push esi
call dword [sym.imp.USER32.dll_FillRect]
jmp 0x10007693
mov edi, dword [sym.imp.GDI32.dll_SetBkMode]
push 1
push esi
call edi
mov ebx, eax
mov ebp, dword [esp + 0x14]
mov ecx, dword [esp + 0x48]
lea eax, [esp + 0x24]
push eax
push esi
push ecx
call fcn.10012020
test eax, eax
mov dword [esp + 0x48], eax
jne 0x100076f1
push ebx
push esi
call edi
mov eax, dword [esp + 0x58]
test eax, eax
jne 0x100076c3
mov edx, dword [esp + 0x10]
push edx
push esi
call dword [sym.imp.GDI32.dll_SetBkColor]
push esi
call dword [sym.imp.GDI32.dll_CloseEnhMetaFile]
push 0
mov edi, eax
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
push edi
push 0xe
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
push 0
call dword [sym.imp.GDI32.dll_DeleteEnhMetaFile]
push ebp
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
call esi
mov eax, dword [esp + 0x4c]
test eax, eax
jne 0x10007710
mov eax, dword [esp + 0x50]
push eax
call esi
mov eax, dword [esp + 0x48]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 0x1c