Function at 0x533c50
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
test dl, dl
je 0x533c6d
add esp, 0xfffffff0
call fcn.00402ab0
mov ebx, ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x53405c
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x14]
xor eax, eax
call fcn.006265c4
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
add eax, 4
call fcn.004038bc
mov eax, dword [ebp - 4]
mov dword [eax + 8], ebx
mov eax, dword [ebp - 4]
lea edx, [eax + 8]
mov eax, dword [0x674e10]
call fcn.00534650
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x533cc9
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0x80000000
jmp 0x53403e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
sub eax, 2
je 0x533cfd
sub eax, 6
je 0x533cfd
sub eax, 6
jne 0x533dd5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_CopyEnhMetaFileW
push eax
call sub.gdi32.dll_DeleteEnhMetaFile
jmp 0x533e1b
mov dl, 1
mov eax, dword [0x64dec8]
call fcn.006515a0
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x533dc1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 2
jne 0x533d3c
push 9
call sub.user32.dll_GetClipboardData
push eax
mov ecx, dword [ebp - 0x10]
mov dx, 2
mov eax, dword [ebp - 0xc]
call fcn.00651de4
jmp 0x533da1
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x533d9a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov edi, ebx
push edi
mov esi, ebx
mov eax, dword [esi]
add eax, ebx
mov edx, dword [esi + 0x20]
shl edx, 2
add eax, edx
push eax
push 4
push edi
mov eax, dword [0x6725dc]
mov eax, dword [eax]
push eax
call sub.gdi32.dll_CreateDIBitmap
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.006522fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x533da1
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov eax, dword [ebp - 0xc]
call fcn.006273fc
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x38]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x533dcb
mov eax, dword [ebp - 0xc]
call fcn.004028c0
jmp 0x533e1b
push 0xffff
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
mov dl, 1
mov eax, dword [0x655cb0]
call fcn.00659754
mov ebx, eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_GlobalSize
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, eax
mov eax, ebx
pop ecx
mov esi, dword [eax]
call dword [esi + 8]
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_GlobalUnlock
mov eax, ebx
call fcn.004028c0
mov edx, 0xd
mov eax, dword [0x674e10]
call fcn.005346fc
test al, al
je 0x533f59
push 0xd
call sub.user32.dll_GetClipboardData
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_GlobalSize
mov edx, eax
shr edx, 1
mov eax, 0x4b
call fcn.0065b28c
mov ebx, eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, eax
mov eax, dword [ebp - 4]
add eax, 0xc
mov ecx, ebx
call fcn.00403964
mov eax, dword [ebp - 4]
add eax, 0xc
call fcn.0065c7b8
jmp 0x533e85
mov eax, dword [ebp - 4]
add eax, 0xc
call fcn.0065b900
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x533e9a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
cmp word [eax], 0x20
jbe 0x533e7a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov dx, 0xd
call fcn.0065b694
test eax, eax
je 0x533ebd
mov edx, eax
dec edx
mov eax, dword [ebp - 4]
add eax, 0xc
call fcn.00403de4
jmp 0x533eeb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov dx, 0xa
call fcn.0065b694
test eax, eax
je 0x533eeb
mov edx, eax
dec edx
mov eax, dword [ebp - 4]
add eax, 0xc
call fcn.00403de4
jmp 0x533eeb
mov eax, dword [ebp - 4]
add eax, 0xc
call fcn.0065b928
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x533f05
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0065b8e4
cmp ax, 0x20
jbe 0x533ee0
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x533f4e
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_GlobalSize
shr eax, 1
cmp eax, 0x4b
jle 0x533f2e
mov eax, dword [ebp - 4]
add eax, 0xc
mov edx, 0x534084
call fcn.00403ac4
push 0x534090
mov eax, dword [ebp - 4]
push dword [eax + 0xc]
push 0x534090
mov eax, dword [ebp - 4]
add eax, 0xc
mov edx, 3
call fcn.00403b88
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_GlobalUnlock
jmp 0x533f64
mov eax, dword [ebp - 4]
add eax, 0xc
call fcn.00403880
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
jne 0x533ff2
mov eax, dword [0x674e10]
inc dword [eax + 0x40]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
sub eax, 2
je 0x533f8e
sub eax, 6
je 0x533f8e
sub eax, 6
jne 0x533f95
mov ebx, 0x534094
jmp 0x533fc7
mov edx, 2
mov eax, dword [0x674e10]
call fcn.005346fc
test al, al
jne 0x533fbb
mov edx, 8
mov eax, dword [0x674e10]
call fcn.005346fc
test al, al
je 0x533fc2
mov ebx, 0x534094
jmp 0x533fc7
mov ebx, 0x5340a8
lea ecx, [ebp - 0x18]
mov eax, dword [0x674e10]
mov edx, dword [eax + 0x40]
mov eax, ebx
call fcn.0065da0c
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.0065c958
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
add eax, 0xc
call fcn.004038bc
mov eax, dword [0x674e10]
call fcn.00534b80
mov eax, dword [ebp - 4]
add eax, 0x10
mov edx, dword [0x674e10]
mov edx, dword [edx + 0x2c]
call fcn.004032c8
mov eax, dword [ebp - 4]
add eax, 0x14
mov edx, dword [0x674e10]
mov edx, dword [edx + 0x30]
call fcn.004032c8
mov eax, dword [0x674e10]
add eax, 0x2c
call fcn.00403274
mov eax, dword [0x674e10]
add eax, 0x30
call fcn.00403274
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x534063
lea eax, [ebp - 0x18]
call fcn.00403274
lea eax, [ebp - 0x14]
call fcn.00403880
ret