Function at 0x1012c9c0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b7a5d
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x10210050]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, 0x102992d0
call fcn.1012cf60
mov eax, dword [0x102992f4]
mov esi, dword [0x102992f0]
mov dword [ebp - 0x44], eax
cmp esi, eax
je 0x1012cadb
nop dword [eax + eax]
mov edx, 0xe80c2f78
mov ecx, 0x101e75d1
call fcn.100644d0
mov ecx, dword [esi]
cmp dword [ecx + 8], eax
je 0x1012cacf
call fcn.1012a4a0
mov eax, dword [esi]
lea ecx, [ebp - 0x20]
add eax, 0x10
push eax
call fcn.10053450
mov dword [ebp - 4], 0
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x54]
call fcn.10053450
mov byte [ebp - 4], 1
mov ecx, 0x102992d0
mov eax, dword [esi]
push dword [eax + 8]
call fcn.1012cfe0
mov ebx, eax
mov byte [ebp - 4], 2
push ecx
lea ecx, [ebp - 0x54]
call fcn.100554b0
mov dl, byte [ebx]
mov cl, byte [ebp - 0x54]
mov byte [ebx], cl
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x4c]
mov byte [ebp - 0x54], dl
mov edi, dword [ebx + 0xc]
mov edx, dword [ebx + 8]
mov dword [ebx + 0xc], ecx
mov dword [ebx + 8], eax
push ecx
mov ecx, ebx
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x48], edi
call fcn.100554b0
mov byte [ebp - 4], 0
push ecx
lea ecx, [ebp - 0x54]
call fcn.100554b0
push dword [ebp - 0x54]
lea ecx, [ebp - 0x4c]
call fcn.10054c20
mov dword [ebp - 4], 0xffffffff
push ecx
lea ecx, [ebp - 0x20]
call fcn.100554b0
push dword [ebp - 0x20]
lea ecx, [ebp - 0x18]
call fcn.10054c20
add esi, 4
cmp esi, dword [ebp - 0x44]
jne 0x1012ca10
push 7
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push str._ph___
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.1003ffa0
mov dword [ebp - 4], 3
lea eax, [ebp - 0x5c]
push ecx
push 1
push 0x7e
push ecx
push eax
mov ecx, 0x102992d0
call fcn.10053000
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x1012cb3b
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.10046420
mov edx, eax
cmp dword [edx + 0x14], 0x10
jb 0x1012cb4f
mov edx, dword [edx]
sub esp, 0x18
mov ecx, edx
mov esi, esp
mov dword [ebp - 0x44], esp
lea edi, [ecx + 1]
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1012cb70
sub ecx, edi
push ecx
push edx
mov ecx, esi
call fcn.1003ffa0
mov byte [ebp - 4], 5
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.101284b0
add esp, 0x18
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x5c]
call fcn.100403e0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x28]
call fcn.100403e0
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [ebp - 0x30]
inc eax
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
jne 0x1012cbd6
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x1012cc14
cmp dword [ebp - 0x2c], 0x10
lea ecx, [ebp - 0x40]
mov eax, dword [ebp - 0x30]
cmovae ecx, dword [ebp - 0x40]
inc eax
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
call fcn.10171890
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, 0x102992d0
call fcn.1012cf60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.100403e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1016fd3e
mov esp, ebp
pop ebp
ret