Function at 0x103089c0
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x51c]
mov dword [ebp - 0xc], ecx
jmp 0x103089ea
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x103089fc
mov ecx, dword [ebp - 0xc]
cmp dword [ecx], 0x1f
jne 0x103089fa
jmp 0x103089fc
jmp 0x103089e1
mov dword [ebp - 8], 0
cmp dword [ebp - 0xc], 0
je 0x10308a74
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 8]
mov dword [ebp - 0x10], eax
jmp 0x10308a1d
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
je 0x10308a74
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
add ecx, dword [eax + 4]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
add edx, dword [ecx + 4]
mov dword [ebp - 0xf4], edx
jmp 0x10308a51
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0xf4]
jae 0x10308a72
mov edx, dword [ebp - 4]
movsx eax, byte [edx]
cmp eax, 0xa
jne 0x10308a70
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
jmp 0x10308a48
jmp 0x10308a14
mov edx, dword [ebp - 8]
add edx, 1
push edx
mov eax, dword [0x10351288]
mov ecx, dword [eax + 0x14]
call ecx
add esp, 4
mov dword [ebp - 0xf8], eax
mov edx, dword [ebp - 0xf8]
mov dword [ebp - 0xfc], edx
cmp dword [ebp - 0xc], 0
je 0x10308b2e
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x10], ecx
jmp 0x10308ab8
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 8]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x10308b2e
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
add ecx, dword [eax + 4]
mov dword [ebp - 0xf4], ecx
jmp 0x10308ae0
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xf4]
jae 0x10308b2c
mov ecx, dword [ebp - 4]
movsx edx, byte [ecx]
cmp edx, 0xa
jne 0x10308b0e
mov eax, dword [ebp - 0xfc]
mov byte [eax], 0xd
mov ecx, dword [ebp - 0xfc]
add ecx, 1
mov dword [ebp - 0xfc], ecx
mov edx, dword [ebp - 0xfc]
mov eax, dword [ebp - 4]
mov cl, byte [eax]
mov byte [edx], cl
mov edx, dword [ebp - 0xfc]
add edx, 1
mov dword [ebp - 0xfc], edx
jmp 0x10308ad7
jmp 0x10308aaf
mov eax, dword [ebp - 0xfc]
mov byte [eax], 0
call sym.tk85.dll_TkWinGetPlatformId
cmp eax, 2
jne 0x10308c3d
lea ecx, [ebp - 0xf0]
push ecx
mov edx, dword [0x10351288]
mov eax, dword [edx + 0x1f0]
call eax
add esp, 4
lea ecx, [ebp - 0xf0]
push ecx
push 0xffffffffffffffff
mov edx, dword [ebp - 0xf8]
push edx
mov eax, dword [0x10351288]
mov ecx, dword [eax + 0x594]
call ecx
add esp, 0xc
mov edx, dword [ebp - 0xf8]
push edx
mov eax, dword [0x10351288]
mov ecx, dword [eax + 0x18]
call ecx
add esp, 4
mov edx, dword [ebp - 0xec]
add edx, 2
push edx
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x100], eax
cmp dword [ebp - 0x100], 0
jne 0x10308bd2
lea eax, [ebp - 0xf0]
push eax
mov ecx, dword [0x10351288]
mov edx, dword [ecx + 0x1e8]
call edx
add esp, 4
jmp 0x10308d19
mov eax, dword [ebp - 0x100]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0xfc], eax
mov ecx, dword [ebp - 0xec]
add ecx, 2
push ecx
mov edx, dword [ebp - 0xf0]
push edx
mov eax, dword [ebp - 0xfc]
push eax
call sub.MSVCR90.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp - 0x100]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea edx, [ebp - 0xf0]
push edx
mov eax, dword [0x10351288]
mov ecx, dword [eax + 0x1e8]
call ecx
add esp, 4
mov edx, dword [ebp - 0x100]
push edx
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
jmp 0x10308d19
lea eax, [ebp - 0xf0]
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 0xf8]
push ecx
push 0
mov edx, dword [0x10351288]
mov eax, dword [edx + 0x53c]
call eax
add esp, 0x10
mov ecx, dword [ebp - 0xf8]
push ecx
mov edx, dword [0x10351288]
mov eax, dword [edx + 0x18]
call eax
add esp, 4
mov ecx, dword [ebp - 0xec]
add ecx, 1
push ecx
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x100], eax
cmp dword [ebp - 0x100], 0
jne 0x10308cb2
lea edx, [ebp - 0xf0]
push edx
mov eax, dword [0x10351288]
mov ecx, dword [eax + 0x1e8]
call ecx
add esp, 4
jmp 0x10308d19
mov edx, dword [ebp - 0x100]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xec]
add eax, 1
push eax
mov ecx, dword [ebp - 0xf0]
push ecx
mov edx, dword [ebp - 0xfc]
push edx
call sub.MSVCR90.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 0x100]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea ecx, [ebp - 0xf0]
push ecx
mov edx, dword [0x10351288]
mov eax, dword [edx + 0x1e8]
call eax
add esp, 4
mov ecx, dword [ebp - 0x100]
push ecx
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1022118e
mov esp, ebp
pop ebp
ret