Function at 0x494d66
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
sub esp, 0x74
mov dword [ebp - 0x14], 0x54bae1
mov eax, 0
xchg edx, eax
mov eax, dword [ebp - 0x14]
mov dword [eax], edx
mov eax, 0
xchg edx, eax
mov eax, dword [ebp - 0x14]
mov dword [eax + 4], edx
mov dword [ebp - 0x10], 0x54baec
mov eax, 0
xchg edx, eax
mov eax, dword [ebp - 0x10]
mov dword [eax], edx
mov eax, 0
xchg edx, eax
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
and eax, 0xff
cmp eax, 3
je 0x494e12
cmp eax, 7
je 0x494e1c
cmp eax, 5
je 0x494ec1
cmp eax, 0x35
je 0x4950b9
push dword [ebp + 8]
push 0xb
push dword [0x5485bc]
call fcn.004528a1
push eax
push 3
push dword [0x5485ac]
call fcn.004528a1
push eax
push 0xc
lea esi, [esp + 4]
push esi
push 3
call fcn.0042c0ce
jmp 0x4953ca
mov eax, 0
jmp 0x4953ca
mov eax, 0xd
xchg edx, eax
mov eax, dword [ebp - 0x10]
mov dword [eax], edx
mov eax, 0xffffffff
mov dword [ebp - 0x1c], 0xffffffff
xor eax, eax
inc eax
push eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 8]
call fcn.0042f52f
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
shl eax, 1
add eax, 2
push eax
push 2
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov edx, eax
mov eax, dword [ebp - 0x14]
mov dword [eax], edx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp eax, 0
je 0x494ebc
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
mov dword [ebp - 0x20], eax
mov eax, 0
mov edx, dword [ebp - 0x20]
cmp eax, edx
sete al
xor ah, ah
cwde
xor al, 1
cmp eax, 0
je 0x494ebc
mov eax, dword [ebp - 0x1c]
shl eax, 1
add eax, 2
push eax
push dword [ebp - 0x24]
push dword [ebp - 0x20]
call dword [sym.imp.MSVCRT.DLL_memcpy]
add esp, 0xc
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
jmp 0x4953ca
mov eax, 0xf
xchg edx, eax
mov eax, dword [ebp - 0x10]
mov dword [eax], edx
mov eax, 2
mov dword [ebp - 0x1c], 2
push dword [ebp + 8]
call fcn.0043d9e6
mov dword [ebp - 0x28], eax
push dword [ebp + 8]
call fcn.0043da1c
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x28]
sub eax, edx
push edx
mov edx, 0x10
mov ecx, edx
cdq
idiv ecx
pop edx
push eax
call fcn.0043e590
mov dword [ebp - 0x38], eax
jmp 0x494f78
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
and eax, 0xff
cmp eax, 8
je 0x494f33
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
and eax, 0xff
cmp eax, 7
je 0x494f33
xor eax, eax
jmp 0x494f36
xor eax, eax
inc eax
push 1
push 0x40
push dword [ebp - 0x38]
call fcn.0042bdce
push eax
call fcn.004442d2
mov dword [ebp - 0x30], eax
xor eax, eax
push eax
push dword [ebp - 0x30]
push dword [ebp - 0x28]
call fcn.00451423
mov eax, dword [ebp - 0x1c]
inc eax
push eax
push dword [ebp - 0x30]
call fcn.004425e1
pop edx
xchg edx, eax
add eax, edx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x28]
add eax, 0x10
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
cmp eax, edx
jb 0x494f0d
mov eax, dword [ebp - 0x1c]
shl eax, 2
add eax, 0x14
push eax
push 2
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov edx, eax
mov eax, dword [ebp - 0x14]
mov dword [eax], edx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp eax, 0
je 0x4950ad
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
mov dword [ebp - 0x20], eax
mov eax, 0
mov edx, dword [ebp - 0x20]
cmp eax, edx
sete al
xor ah, ah
cwde
xor al, 1
cmp eax, 0
je 0x4950ad
push 0x14
push 0
push dword [ebp - 0x20]
call dword [sym.imp.MSVCRT.DLL_memset]
add esp, 0xc
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x40], eax
mov eax, 0x14
xchg edx, eax
mov eax, dword [ebp - 0x40]
mov dword [eax], edx
xor eax, eax
inc eax
xchg edx, eax
mov eax, dword [ebp - 0x40]
mov dword [eax + 0x10], edx
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
mov edx, eax
mov eax, dword [ebp - 0x20]
add eax, edx
mov dword [ebp - 0x20], eax
push dword [ebp - 0x38]
call fcn.0043d9e6
mov dword [ebp - 0x30], eax
push dword [ebp - 0x38]
call fcn.0043da1c
mov dword [ebp - 0x2c], eax
jmp 0x495083
mov eax, 0xffffffff
mov dword [ebp - 0x1c], 0xffffffff
xor eax, eax
inc eax
push eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x30]
call fcn.0042f52f
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
shl eax, 1
add eax, 2
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x1c]
push dword [ebp - 0x24]
push dword [ebp - 0x20]
call dword [sym.imp.MSVCRT.DLL_memcpy]
add esp, 0xc
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
add eax, edx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x30]
add eax, 0x10
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
cmp eax, edx
jb 0x49502e
mov al, 0
xchg edx, eax
mov eax, dword [ebp - 0x20]
mov byte [eax], dl
mov al, 0
xchg edx, eax
mov eax, dword [ebp - 0x20]
mov byte [eax + 1], dl
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
push 1
call fcn.00487604
jmp 0x4953ca
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0xc]
and eax, 0xffff
push eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0xc]
shr eax, 0x10
pop edx
xchg edx, eax
imul edx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cmp eax, 0
jle 0x49536e
push 0x54baf4
call dword [sym.imp.USER32.DLL_RegisterClipboardFormatA]
mov edx, eax
mov eax, dword [ebp - 0x10]
mov dword [eax], edx
push 1
push dword [0x53e7fc]
push dword [ebp - 0x3c]
call fcn.00470203
mov dword [ebp - 0x34], eax
push dword [ebp - 0x34]
call fcn.00462599
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x1c]
push 2
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov edx, eax
mov eax, dword [ebp - 0x14]
mov dword [eax], edx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp eax, 0
je 0x495189
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
mov dword [ebp - 0x24], eax
mov eax, 0
mov edx, dword [ebp - 0x24]
cmp eax, edx
sete al
xor ah, ah
cwde
xor al, 1
cmp eax, 0
je 0x495189
push dword [ebp - 0x1c]
push dword [ebp - 0x34]
call fcn.004625da
push eax
push dword [ebp - 0x24]
call dword [sym.imp.MSVCRT.DLL_memcpy]
add esp, 0xc
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
mov eax, 0x11
xchg edx, eax
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], edx
xor eax, eax
push eax
push dword [ebp - 0x3c]
call fcn.00436a21
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 8]
push eax
call fcn.004369d1
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 8]
push eax
call fcn.004369fa
mov dword [ebp - 0x4c], eax
mov eax, 0
mov dword [ebp - 0x50], 0
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x44]
call fcn.00436b8b
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x48]
push edx
mov edx, dword [ebp - 0x4c]
imul edx
pop edx
shl eax, 2
mov dword [ebp - 0x1c], eax
mov eax, 0
mov dword [ebp - 0x58], 0
lea eax, [ebp - 0x58]
push eax
push dword [ebp - 0x44]
call fcn.00436be9
mov eax, dword [ebp - 0x1c]
add eax, 0x7c
push eax
push 2
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov edx, eax
mov eax, dword [ebp - 0x14]
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 4]
cmp eax, 0
je 0x495361
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
mov dword [ebp - 0x20], eax
mov eax, 0
mov edx, dword [ebp - 0x20]
cmp eax, edx
sete al
xor ah, ah
cwde
xor al, 1
cmp eax, 0
je 0x495361
push 0x7c
push 0
push dword [ebp - 0x20]
call dword [sym.imp.MSVCRT.DLL_memset]
add esp, 0xc
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x5c], eax
mov eax, 0x7c
xchg edx, eax
mov eax, dword [ebp - 0x5c]
mov dword [eax], edx
mov eax, dword [ebp - 0x48]
xchg edx, eax
mov eax, dword [ebp - 0x5c]
mov dword [eax + 4], edx
mov eax, 0
mov edx, dword [ebp - 0x4c]
sub eax, edx
mov edx, eax
mov eax, dword [ebp - 0x5c]
mov dword [eax + 8], edx
mov eax, 0x200001
xchg edx, eax
mov eax, dword [ebp - 0x5c]
mov dword [eax + 0xc], edx
mov eax, 3
xchg edx, eax
mov eax, dword [ebp - 0x5c]
mov dword [eax + 0x10], edx
mov eax, dword [ebp - 0x1c]
xchg edx, eax
mov eax, dword [ebp - 0x5c]
mov dword [eax + 0x14], edx
mov eax, 0xff000000
xchg edx, eax
mov eax, dword [ebp - 0x5c]
mov dword [eax + 0x34], edx
mov eax, 0xff0000
xchg edx, eax
mov eax, dword [ebp - 0x5c]
mov dword [eax + 0x28], edx
mov eax, 0xff00
xchg edx, eax
mov eax, dword [ebp - 0x5c]
mov dword [eax + 0x2c], edx
mov eax, 0xff
xchg edx, eax
mov eax, dword [ebp - 0x5c]
mov dword [eax + 0x30], edx
mov eax, 0x57696e20
xchg edx, eax
mov eax, dword [ebp - 0x5c]
mov dword [eax + 0x38], edx
mov eax, 4
xchg edx, eax
mov eax, dword [ebp - 0x5c]
mov dword [eax + 0x6c], edx
push dword [ebp - 0x1c]
push dword [ebp - 0x54]
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax]
mov edx, eax
mov eax, dword [ebp - 0x20]
add eax, edx
push eax
call dword [sym.imp.MSVCRT.DLL_memcpy]
add esp, 0xc
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
push dword [ebp - 0x44]
push dword [ebp - 0x3c]
call fcn.00436b2f
jmp 0x4953ca
mov eax, 0
mov edx, dword [ebp - 0x1c]
cmp eax, edx
jne 0x495388
mov eax, 1
mov dword [ebp - 0x20], 1
jmp 0x4953ca
xor eax, eax
inc eax
je 0x4953bc
push dword [ebp + 8]
push 0xb
push dword [0x5485bc]
call fcn.004528a1
push eax
push 3
push dword [0x5485ac]
call fcn.004528a1
push eax
push 0xc
lea esi, [esp + 4]
push esi
push 3
call fcn.0042c0ce
jmp 0x4953ca
call fcn.004953c1