Function at 0x4754f0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4d3e99
push eax
mov eax, dword [esp + 0x24]
mov dword fs:[0], esp
sub esp, 0x12c
push ebx
push ebp
xor ebp, ebp
push esi
cmp eax, ebp
push edi
je 0x47562e
mov ebx, dword [esp + 0x14c]
cmp ebx, ebp
je 0x47562e
mov ecx, dword [ebx]
mov dword [esp + 0x14], ebp
cmp ecx, ebp
je 0x475594
mov eax, dword [ecx]
push ebp
call dword [eax + 0x10]
cmp eax, ebp
je 0x475594
push pe_nt_image_headers32
call fcn.004bd49b
mov esi, eax
add esp, 4
mov dword [esp + 0x24], esi
cmp esi, ebp
mov dword [esp + 0x144], ebp
je 0x47557d
mov ecx, dword [ebx]
cmp ecx, ebp
je 0x475571
mov edx, dword [ecx]
push ebp
call dword [edx + 0x10]
push eax
mov ecx, esi
call fcn.0049c790
jmp 0x47557f
xor eax, eax
mov ecx, esi
push eax
call fcn.0049c790
jmp 0x47557f
xor eax, eax
mov dword [esp + 0x144], 0xffffffff
mov ebx, eax
mov dword [esp + 0x14], 1
mov esi, dword [esp + 0x164]
push 0xffffffffffffffff
and esi, 6
mov ecx, ebx
je 0x4755ab
call fcn.0049de70
jmp 0x4755b0
call fcn.0049ddf0
cmp esi, ebp
mov dword [esp + 0x10], eax
push 0xffffffffffffffff
mov ecx, ebx
je 0x4755c3
call fcn.0049ddf0
jmp 0x4755c8
call fcn.0049de70
mov ecx, ebx
mov edi, eax
call fcn.0049dcc0
test eax, eax
jne 0x4755df
cmp dword [esp + 0x14], ebp
je 0x47562e
cmp ebx, ebp
jmp 0x47561c
mov ebp, dword [esp + 0x154]
test ebp, ebp
je 0x475649
mov esi, dword [ebp]
test esi, esi
jl 0x475612
mov edx, dword [ebp + 4]
test edx, edx
jl 0x475612
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0x10]
cmp ecx, eax
jge 0x475612
mov eax, dword [ebp + 0xc]
cmp eax, edi
jge 0x475612
cmp esi, ecx
jge 0x475612
cmp edx, eax
jl 0x475649
mov eax, dword [esp + 0x14]
test eax, eax
je 0x47562e
test ebx, ebx
je 0x47562e
mov ecx, ebx
call fcn.0049cb20
push ebx
call fcn.004bd4c4
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x138
ret
mov eax, dword [esp + 0x160]
mov esi, dword [esp + 0x15c]
push 0
push 0x1f4
push eax
push esi
lea ecx, [esp + 0x48]
call fcn.00473c00
mov edi, 1
push 0x45d
lea ecx, [esp + 0x3c]
mov dword [esp + 0x148], edi
call fcn.00473e80
push 0x45e
lea ecx, [esp + 0x3c]
call fcn.00473ee0
mov ecx, ebx
call fcn.0049dc40
cmp eax, 0x464947
je 0x4756ae
mov ecx, dword [esp + 0x150]
push ecx
mov ecx, ebx
call fcn.0049e7d0
lea ecx, [esp + 0x68]
call fcn.0049c390
mov eax, dword [esp + 0x158]
test eax, eax
je 0x4756cf
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], eax
lea ecx, [esp + 0x38]
push 0x7f02
push 0
mov dword [esp + 0x98], 0x4740a0
mov dword [esp + 0x9c], ecx
mov dword [esp + 0x94], edi
call dword [sym.imp.USER32.dll_LoadCursorA]
mov edi, dword [sym.imp.USER32.dll_SetCursor]
push eax
call edi
lea edx, [esp + 0x68]
mov ecx, ebx
push edx
mov dword [esp + 0x34], eax
call fcn.0049ce00
test eax, eax
jne 0x4757bf
mov eax, dword [esp + 0x38]
test eax, eax
je 0x475763
mov eax, dword [esp + 0x30]
push eax
call edi
mov eax, dword [esp + 0x14]
test eax, eax
je 0x475745
test ebx, ebx
je 0x475745
mov ecx, ebx
call fcn.0049cb20
push ebx
call fcn.004bd4c4
add esp, 4
lea ecx, [esp + 0x38]
mov dword [esp + 0x144], 0xffffffff
call fcn.00473c60
mov eax, 1
jmp 0x475630
mov ebx, dword [ebx + 0x54]
lea ecx, [esp + 0xec]
push ebx
push 0x3ed
push esi
push ecx
call fcn.00472a10
add esp, 0x10
lea ecx, [esp + 0x38]
call fcn.00473fa0
mov eax, dword [esp + 0x160]
push 0
lea edx, [esp + 0xf0]
push 0x45d
push edx
push eax
push esi
call fcn.004714c0
add esp, 0x14
lea ecx, [esp + 0x38]
mov dword [esp + 0x144], 0xffffffff
call fcn.00473c60
jmp 0x47562e
mov al, byte [esp + 0x164]
test al, 8
je 0x4757d1
push 0xb4
jmp 0x4757df
test al, 2
je 0x4757d9
push 0xffffffffffffffa6
jmp 0x4757df
test al, 4
je 0x4757e6
push 0x5a
mov ecx, ebx
call fcn.0049ead0
mov ecx, dword [ebx]
xor esi, esi
cmp ecx, esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x28], esi
je 0x475898
mov edx, dword [ecx]
push esi
call dword [edx + 0x10]
cmp eax, esi
je 0x475898
mov ecx, dword [ebx]
cmp ecx, esi
je 0x47581e
mov eax, dword [ecx]
push esi
call dword [eax + 0x10]
jmp 0x475820
xor eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
call edi
add eax, 0x16
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
push ebp
mov dword [esp + 0x24], ebp
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
xor eax, eax
mov dword [esi], 0x14
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov ecx, dword [ebx]
add esi, 0x14
cmp ecx, eax
je 0x475867
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [ebx]
test ecx, ecx
je 0x47587e
mov eax, dword [ecx]
push 0
call dword [eax + 0x10]
jmp 0x475880
xor eax, eax
push eax
call edi
lea esi, [esi + eax + 1]
push ebp
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ebp, dword [esp + 0x154]
push 0xffffffffffffffff
mov ecx, ebx
call fcn.0049e1e0
test eax, eax
je 0x475a14
test ebp, ebp
je 0x4758d7
mov eax, dword [ebp + 4]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp]
sub edx, eax
inc edx
push edx
mov edx, dword [ebp + 8]
sub edx, ecx
inc edx
push edx
push eax
push ecx
push 0xffffffffffffffff
mov ecx, ebx
call fcn.0049e1e0
push eax
call fcn.00470fc0
add esp, 0x14
jmp 0x4758e0
push 0xffffffffffffffff
mov ecx, ebx
call fcn.0049e260
mov dword [esp + 0x18], eax
lea eax, [esp + 0x98]
mov ecx, dword [esp + 0x18]
push eax
push 0x54
push ecx
call dword [sym.imp.GDI32.dll_GetObjectA]
test eax, eax
je 0x475a09
mov edx, dword [esp + 0xa4]
lea eax, [edx + 3]
cdq
and edx, 3
add eax, edx
mov edx, dword [esp + 0xa0]
sar eax, 2
shl eax, 2
imul edx, eax
mov eax, dword [esp + 0xd0]
mov dword [esp + 0x24], edx
lea ebp, [eax*4]
test ebp, ebp
jne 0x47594e
mov ecx, dword [esp + 0xaa]
cmp cx, 8
ja 0x47594e
mov ebp, 1
shl ebp, cl
shl ebp, 2
lea ecx, [edx + ebp + 0x2c]
mov dword [esp + 0xc4], 0
push ecx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, 0xa
lea esi, [esp + 0xb0]
mov edi, eax
mov dword [esp + 0x2c], eax
test ebp, ebp
rep movsd dword es:[edi], dword [esi]
je 0x4759e1
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push edi
push 0
mov esi, eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edx, dword [esp + 0x18]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push edx
push esi
call edi
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x2c]
mov ecx, ebp
add eax, 0x28
shr ecx, 2
push eax
push ecx
push 0
push esi
call dword [sym.imp.GDI32.dll_GetDIBColorTable]
mov edx, dword [esp + 0x34]
push edx
push esi
call edi
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0xac]
lea edi, [eax + ebp + 0x28]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
push 0xffffffffffffffff
mov ecx, ebx
call fcn.0049e220
test eax, eax
je 0x475a6f
push 0
push 0
push 0xffffffffffffffff
mov ecx, ebx
call fcn.0049e220
mov edi, dword [sym.imp.GDI32.dll_GetEnhMetaFileBits]
push eax
call edi
mov esi, eax
test esi, esi
je 0x475a6f
push esi
call fcn.004bd49b
add esp, 4
mov ebp, eax
mov ecx, ebx
push ebp
push esi
push 0xffffffffffffffff
call fcn.0049e220
push eax
call edi
test eax, eax
je 0x475a66
push ebp
push esi
call dword [sym.imp.GDI32.dll_SetEnhMetaFileBits]
mov dword [esp + 0x28], eax
push ebp
call fcn.004bd4c4
add esp, 4
mov eax, dword [esp + 0x14]
test eax, eax
je 0x475a8b
test ebx, ebx
je 0x475a8b
mov ecx, ebx
call fcn.0049cb20
push ebx
call fcn.004bd4c4
add esp, 4
mov eax, dword [esp + 0x160]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x475af4
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
je 0x475ac0
push eax
push 8
call esi
neg eax
sbb eax, eax
neg eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x475ad7
push eax
push 0xe
call esi
neg eax
sbb eax, eax
neg eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x20]
test eax, eax
je 0x475aee
push eax
push 0xf
call esi
neg eax
sbb eax, eax
neg eax
mov dword [esp + 0x1c], eax
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [esp + 0x30]
push ecx
call dword [sym.imp.USER32.dll_SetCursor]
lea ecx, [esp + 0x38]
mov dword [esp + 0x144], 0xffffffff
call fcn.00473c60
mov eax, dword [esp + 0x1c]
jmp 0x475630