Function at 0x497eab
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
sub esp, 0x74
mov dword [ebp - 0x14], 0x582441
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], 0x58244c
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 0x497f57
cmp eax, 7
je 0x497f61
cmp eax, 5
je 0x498006
cmp eax, 0x35
je 0x4981fe
push dword [ebp + 8]
push 0xb
push dword [0x57ef64]
call fcn.004558fb
push eax
push 3
push dword [0x57ef54]
call fcn.004558fb
push eax
push 0xc
lea esi, [esp + 4]
push esi
push 3
call fcn.0042f8d3
jmp 0x49850f
mov eax, 0
jmp 0x49850f
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.00432d34
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 0x498001
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 0x498001
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 0x49850f
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.00440b68
mov dword [ebp - 0x28], eax
push dword [ebp + 8]
call fcn.00440b9e
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.00441712
mov dword [ebp - 0x38], eax
jmp 0x4980bd
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
and eax, 0xff
cmp eax, 8
je 0x498078
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
and eax, 0xff
cmp eax, 7
je 0x498078
xor eax, eax
jmp 0x49807b
xor eax, eax
inc eax
push 1
push 0x40
push dword [ebp - 0x38]
call fcn.0042f5d3
push eax
call fcn.00447454
mov dword [ebp - 0x30], eax
xor eax, eax
push eax
push dword [ebp - 0x30]
push dword [ebp - 0x28]
call fcn.0045458d
mov eax, dword [ebp - 0x1c]
inc eax
push eax
push dword [ebp - 0x30]
call fcn.00445763
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 0x498052
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 0x4981f2
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 0x4981f2
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.00440b68
mov dword [ebp - 0x30], eax
push dword [ebp - 0x38]
call fcn.00440b9e
mov dword [ebp - 0x2c], eax
jmp 0x4981c8
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.00432d34
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 0x498173
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.0048a749
jmp 0x49850f
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 0x4984b3
push 0x582454
call dword [sym.imp.USER32.DLL_RegisterClipboardFormatA]
mov edx, eax
mov eax, dword [ebp - 0x10]
mov dword [eax], edx
push 1
push dword [0x575724]
push dword [ebp - 0x3c]
call fcn.0047337e
mov dword [ebp - 0x34], eax
push dword [ebp - 0x34]
call fcn.004655c5
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 0x4982ce
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 0x4982ce
push dword [ebp - 0x1c]
push dword [ebp - 0x34]
call fcn.00465606
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.00439f3c
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 8]
push eax
call fcn.00439eec
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 8]
push eax
call fcn.00439f15
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.0043a0a6
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.0043a104
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 0x4984a6
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 0x4984a6
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.0043a04a
jmp 0x49850f
mov eax, 0
mov edx, dword [ebp - 0x1c]
cmp eax, edx
jne 0x4984cd
mov eax, 1
mov dword [ebp - 0x20], 1
jmp 0x49850f
xor eax, eax
inc eax
je 0x498501
push dword [ebp + 8]
push 0xb
push dword [0x57ef64]
call fcn.004558fb
push eax
push 3
push dword [0x57ef54]
call fcn.004558fb
push eax
push 0xc
lea esi, [esp + 4]
push esi
push 3
call fcn.0042f8d3
jmp 0x49850f
call fcn.00498506