Function at 0x10309660
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 0x1030968a
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x1030969c
mov ecx, dword [ebp - 0xc]
cmp dword [ecx], 0x1f
jne 0x1030969a
jmp 0x1030969c
jmp 0x10309681
mov dword [ebp - 8], 0
cmp dword [ebp - 0xc], 0
je 0x10309714
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 8]
mov dword [ebp - 0x10], eax
jmp 0x103096bd
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
je 0x10309714
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 0x103096f1
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0xf4]
jae 0x10309712
mov edx, dword [ebp - 4]
movsx eax, byte [edx]
cmp eax, 0xa
jne 0x10309710
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
jmp 0x103096e8
jmp 0x103096b4
mov edx, dword [ebp - 8]
add edx, 1
push edx
mov eax, dword [0x103513c8]
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 0x103097ce
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x10], ecx
jmp 0x10309758
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 8]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x103097ce
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 0x10309780
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xf4]
jae 0x103097cc
mov ecx, dword [ebp - 4]
movsx edx, byte [ecx]
cmp edx, 0xa
jne 0x103097ae
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 0x10309777
jmp 0x1030974f
mov eax, dword [ebp - 0xfc]
mov byte [eax], 0
call sym.tk85.dll_TkWinGetPlatformId
cmp eax, 2
jne 0x103098dd
lea ecx, [ebp - 0xf0]
push ecx
mov edx, dword [0x103513c8]
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 [0x103513c8]
mov ecx, dword [eax + 0x594]
call ecx
add esp, 0xc
mov edx, dword [ebp - 0xf8]
push edx
mov eax, dword [0x103513c8]
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 0x10309872
lea eax, [ebp - 0xf0]
push eax
mov ecx, dword [0x103513c8]
mov edx, dword [ecx + 0x1e8]
call edx
add esp, 4
jmp 0x103099b9
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 [0x103513c8]
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 0x103099b9
lea eax, [ebp - 0xf0]
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 0xf8]
push ecx
push 0
mov edx, dword [0x103513c8]
mov eax, dword [edx + 0x53c]
call eax
add esp, 0x10
mov ecx, dword [ebp - 0xf8]
push ecx
mov edx, dword [0x103513c8]
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 0x10309952
lea edx, [ebp - 0xf0]
push edx
mov eax, dword [0x103513c8]
mov ecx, dword [eax + 0x1e8]
call ecx
add esp, 4
jmp 0x103099b9
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 [0x103513c8]
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