Function at 0x4df140
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x38]
push ebx
push esi
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
xor eax, eax
push fcn.004df110
push ebp
push 0x414e60
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [0x5c4858]
lea eax, [ebp - 0x1c]
call fcn.00408c30
mov edx, dword [0x5c4854]
lea eax, [ebp - 0x18]
call fcn.0040a7a0
mov eax, 0x5a68e4
mov edx, 1
call fcn.0040d690
mov dword [ebp - 0xc], eax
mov eax, 0x5a68e4
mov edx, 1
call fcn.0040d690
mov dword [ebp - 0x10], eax
xor eax, eax
push fcn.004df0f0
push ebp
push 0x414e60
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x602c24]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
call dword [0x602c20]
push 0
push 0
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x6c]
mov eax, dword [ebp - 4]
test eax, eax
jle 0x4df4b0
sub eax, 1
je 0x4df3a0
sub eax, 1
je 0x4df220
sub eax, 0xb
je 0x4df3a0
jmp 0x4df4b0
mov eax, 0x5ba8f0
mov edx, 1
mov ecx, 0x5ba8f0
call dword [ecx + 0xbc]
mov dword [ebp - 0x14], eax
xor eax, eax
push fcn.004df0e0
push ebp
push 0x414e60
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0xcc]
mov eax, dword [ebp - 8]
mov eax, dword [eax - 0xc]
xor edx, edx
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx - 0xc]
mov ecx, dword [ecx]
call dword [ecx + 0x1e0]
mov dword [ebp - 0x20], eax
xor eax, eax
push fcn.004df0c0
push ebp
push 0x414e60
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [ebp - 0x20]
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x84]
push eax
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x94]
push eax
push dword [ebp - 0x20]
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 0x2c], eax
push dword [ebp - 0x2c]
push dword [ebp - 0x24]
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x114]
test al, al
je 0x4df2e0
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x118]
mov dword [ebp - 0x30], eax
jmp 0x4df2e7
mov dword [ebp - 0x30], 0
push 0
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x94]
push eax
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x84]
push eax
mov eax, dword [ebp - 0x14]
call fcn.0049b850
mov ebx, eax
call fcn.004a43a0
push eax
push 0
push 0
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x94]
push eax
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x84]
push eax
push dword [ebp - 0x30]
push 0
push 0
push 0xcc0020
mov eax, dword [ebp - 8]
mov eax, dword [eax - 0xc]
xor ecx, ecx
mov edx, dword [ebp - 0x24]
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx - 0xc]
mov ebx, dword [ebx]
call dword [ebx + 0x4e8]
push dword [ebp - 0x28]
push dword [ebp - 0x24]
call sub.gdi32.dll_SelectObject
push dword [ebp - 0x24]
call sub.gdi32.dll_DeleteDC
push dword [ebp - 0x2c]
push dword [ebp - 4]
call sub.user32.dll_SetClipboardData
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.004df0c0
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.004df0e0
jmp 0x4df4c0
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x70]
test edx, edx
jg 0x4df3ba
jl 0x4df498
test eax, eax
je 0x4df498
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x70]
mov edx, eax
lea eax, [ebp - 0x1c]
xor cx, cx
call fcn.004099c0
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x70]
mov ebx, eax
lea eax, [ebp - 0x1c]
call fcn.00403d10
mov edx, eax
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
mov ecx, ebx
call dword [esi + pe_nt_image_headers32]
cmp dword [ebp - 4], 0xd
jne 0x4df458
mov edx, dword [ebp - 0x1c]
test edx, edx
je 0x4df404
mov edx, dword [edx - 4]
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x4df410
mov eax, 0x5ff2f0
lea ecx, [ebp - 0x34]
call fcn.0042d620
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x18]
call fcn.0040b260
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4df42f
mov eax, dword [eax - 4]
shr eax, 1
test eax, eax
je 0x4df48c
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4df43f
mov eax, dword [eax - 4]
shr eax, 1
lea ecx, [eax + eax]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0x84]
jmp 0x4df48c
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0x1c]
call fcn.00428250
mov edx, dword [ebp - 0x38]
lea eax, [ebp - 0x1c]
call fcn.00408c30
cmp dword [ebp - 0x1c], 0
je 0x4df48c
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x4df47e
mov ecx, dword [ecx - 4]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0x84]
push 0
push 0
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x6c]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
call fcn.004df540
jmp 0x4df4c0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.004df540
nop
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.004df0f0
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.004df110
pop esi
pop ebx
mov esp, ebp
pop ebp
ret