Function at 0x494eba
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
sub esp, 0x74
mov dword [ebp - 0x14], 0x54bb11
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], 0x54bb1c
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 0x494f66
cmp eax, 7
je 0x494f70
cmp eax, 5
je 0x495015
cmp eax, 0x35
je 0x49520d
push dword [ebp + 8]
push 0xb
push dword [0x5485e4]
call fcn.0045293d
push eax
push 3
push dword [0x5485d4]
call fcn.0045293d
push eax
push 0xc
lea esi, [esp + 4]
push esi
push 3
call fcn.0042c152
jmp 0x49551e
mov eax, 0
jmp 0x49551e
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.0042f5b3
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 0x495010
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 0x495010
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 0x49551e
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.0043da6a
mov dword [ebp - 0x28], eax
push dword [ebp + 8]
call fcn.0043daa0
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.0043e614
mov dword [ebp - 0x38], eax
jmp 0x4950cc
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
and eax, 0xff
cmp eax, 8
je 0x495087
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
and eax, 0xff
cmp eax, 7
je 0x495087
xor eax, eax
jmp 0x49508a
xor eax, eax
inc eax
push 1
push 0x40
push dword [ebp - 0x38]
call fcn.0042be52
push eax
call fcn.00444356
mov dword [ebp - 0x30], eax
xor eax, eax
push eax
push dword [ebp - 0x30]
push dword [ebp - 0x28]
call fcn.004514bf
mov eax, dword [ebp - 0x1c]
inc eax
push eax
push dword [ebp - 0x30]
call fcn.00442665
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 0x495061
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 0x495201
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 0x495201
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.0043da6a
mov dword [ebp - 0x30], eax
push dword [ebp - 0x38]
call fcn.0043daa0
mov dword [ebp - 0x2c], eax
jmp 0x4951d7
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.0042f5b3
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 0x495182
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.00487758
jmp 0x49551e
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 0x4954c2
push 0x54bb24
call dword [sym.imp.USER32.DLL_RegisterClipboardFormatA]
mov edx, eax
mov eax, dword [ebp - 0x10]
mov dword [eax], edx
push 1
push dword [0x53e804]
push dword [ebp - 0x3c]
call fcn.00470343
mov dword [ebp - 0x34], eax
push dword [ebp - 0x34]
call fcn.004626d9
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 0x4952dd
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 0x4952dd
push dword [ebp - 0x1c]
push dword [ebp - 0x34]
call fcn.0046271a
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.00436aa5
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 8]
push eax
call fcn.00436a55
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 8]
push eax
call fcn.00436a7e
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.00436c0f
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.00436c6d
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 0x4954b5
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 0x4954b5
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.00436bb3
jmp 0x49551e
mov eax, 0
mov edx, dword [ebp - 0x1c]
cmp eax, edx
jne 0x4954dc
mov eax, 1
mov dword [ebp - 0x20], 1
jmp 0x49551e
xor eax, eax
inc eax
je 0x495510
push dword [ebp + 8]
push 0xb
push dword [0x5485e4]
call fcn.0045293d
push eax
push 3
push dword [0x5485d4]
call fcn.0045293d
push eax
push 0xc
lea esi, [esp + 4]
push esi
push 3
call fcn.0042c152
jmp 0x49551e
call fcn.00495515