Function at 0x30036f9
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov eax, dword [0x300d080]
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x3003728
mov eax, dword [0x300ede8]
push eax
push dword [0x300d07c]
call fcn.030062cc
jmp 0x300396a
push 2
call dword [sym.imp.USER32.dll_GetClipboardData]
lea ecx, [ebp - 0x1c]
mov dword [0x3011e1c], eax
push ecx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
cmp eax, 0x18
je 0x3003763
mov eax, dword [0x300eeac]
push eax
push dword [0x300d07c]
call fcn.030062cc
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x300396a
cmp dword [ebp + 0x18], 0
je 0x3003778
mov eax, dword [ebp - 0x18]
cmp word [0x3010932], ax
jb 0x3003778
mov dword [ebp + 0x10], eax
mov eax, dword [0x300d080]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
push 0
push 1
push 1
push esi
push edi
call dword [sym.imp.GDI32.dll_CreateBitmap]
push ebx
mov dword [0x3011e18], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [0x3011e18]
push eax
mov dword [0x3011f50], eax
call dword [sym.imp.GDI32.dll_SelectObject]
test eax, eax
je 0x300393b
test ebx, ebx
je 0x300393b
cmp dword [0x3011e18], 0
je 0x300393b
cmp dword [0x3011f50], 0
je 0x300393b
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [0x3011e1c]
push eax
mov dword [0x3011e14], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push ebx
mov dword [ebp - 4], eax
push dword [0x300d080]
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp dword [ebp - 4], 0
je 0x3003916
cmp dword [0x3011e14], 0
je 0x3003916
push 3
mov eax, dword [0x3011f50]
push eax
call dword [sym.imp.GDI32.dll_SetStretchBltMode]
push 0xcc0020
mov dword [0x3011e10], eax
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push 0
push 0
mov eax, dword [0x3011f50]
push dword [0x3011e14]
push esi
push edi
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_StretchBlt]
test eax, eax
je 0x30038f1
mov eax, dword [0x3011e10]
test eax, eax
je 0x30038f1
push eax
xor edi, edi
push dword [0x3011f50]
call dword [sym.imp.GDI32.dll_SetStretchBltMode]
cmp dword [ebp + 0x10], edi
je 0x30038c2
mov ecx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
imul ecx, ecx, 0x41
add esi, ecx
xor ebx, ebx
cmp dword [ebp + 0x14], ebx
je 0x30038b9
push ebx
push edi
push dword [0x3011f50]
call dword [sym.imp.GDI32.dll_GetPixel]
cmp eax, 1
sbb al, al
inc ebx
neg al
mov byte [esi + ebx + 0x300f1df], al
cmp ebx, dword [ebp + 0x14]
jb 0x3003897
add esi, 0x41
inc edi
cmp edi, dword [ebp + 0x10]
jb 0x3003890
mov eax, dword [0x3011e14]
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [0x3011f50]
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [0x3011e18]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [ebp + 0x10]
jmp 0x300396c
mov eax, dword [0x300eeac]
push eax
push dword [0x300d07c]
call fcn.030062cc
call dword [sym.imp.USER32.dll_CloseClipboard]
push dword [0x3011e14]
call dword [sym.imp.GDI32.dll_DeleteDC]
jmp 0x3003952
mov eax, dword [0x300eeac]
push eax
push dword [0x300d07c]
call fcn.030062cc
call dword [sym.imp.USER32.dll_CloseClipboard]
push dword [0x3011e14]
call dword [sym.imp.GDI32.dll_DeleteDC]
jmp 0x3003952
mov eax, dword [0x300eeac]
push eax
push dword [0x300d07c]
call fcn.030062cc
call dword [sym.imp.USER32.dll_CloseClipboard]
push dword [0x3011f50]
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [0x3011e18]
call dword [sym.imp.GDI32.dll_DeleteObject]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14