Function at 0x101e091
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x10438a0]
push ebx
xor ebx, ebx
push esi
xor esi, esi
mov dword [ebp - 0x20], ebx
cmp eax, ebx
jne 0x101e0b9
mov eax, dword [0x10437b8]
imul eax, eax, 0x50
mov eax, dword [eax + 0x10438c4]
mov dword [ebp - 0xc], eax
call fcn.01011dce
mov dword [ebp - 0x1c], eax
mov eax, 0x1000
push eax
push 0x42
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], ebx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 4], eax
cmp eax, ebx
jne 0x101e0ed
push 2
call fcn.01022b3c
xor eax, eax
jmp 0x101e338
xor eax, eax
cmp dword [0x10438a0], ebx
push edi
setne al
cmp eax, 2
mov dword [ebp - 8], eax
jge 0x101e2ca
cmp dword [ebp - 8], ebx
jne 0x101e133
cmp dword [0x10438a0], ebx
jne 0x101e133
mov eax, dword [0x10437b8]
imul eax, eax, 0x50
push dword [eax + 0x10438c8]
call fcn.01011d99
mov edi, eax
cmp edi, ebx
je 0x101e1ff
push 1
jmp 0x101e146
push dword [ebp - 0xc]
call fcn.01011d99
mov edi, eax
cmp edi, ebx
je 0x101e1ff
push ebx
push ebx
push edi
call fcn.0102c81e
test eax, eax
jne 0x101e153
xor edi, edi
cmp edi, ebx
je 0x101e1ff
push 4
push edi
push ebx
call fcn.0101e9db
mov esi, eax
cmp esi, ebx
je 0x101e278
push esi
push dword [ebp - 0xc]
call fcn.01023f0f
mov ebx, eax
push esi
test ebx, ebx
je 0x101e281
push 0xffffffffffffffff
call fcn.01011c0d
push 0xffffffffffffffff
call fcn.01011d48
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
xor eax, eax
cmp dword [ebp - 8], eax
push esi
sete al
lea eax, [eax*4 + 1]
mov dword [esi], eax
call fcn.01015a2d
mov edi, eax
mov dword [esi], 4
test edi, edi
jne 0x101e1c2
mov dword [ebp - 0x14], 0xa3
jmp 0x101e1e2
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 4]
push edi
push esi
call fcn.0101dfc9
push edi
push esi
mov dword [ebp - 4], eax
call fcn.01015d6b
push ebx
push esi
push dword [ebp - 0xc]
call fcn.01023f35
push 0xffffffffffffffff
call fcn.01011c66
mov edi, dword [ebp - 0x14]
test di, di
jne 0x101e28e
inc dword [ebp - 8]
xor ebx, ebx
cmp dword [ebp - 8], 2
jl 0x101e105
cmp esi, ebx
je 0x101e2ca
cmp dword [0x1041760], 2
je 0x101e2c2
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0x44]
mov dword [ebp - 0xc], eax
cmp eax, ebx
je 0x101e2c2
cmp byte [eax], 0
je 0x101e2c2
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, dword [ebp - 0x10]
lea edi, [eax + ebx]
cmp edi, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
jle 0x101e29b
push 0x40
push edi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GlobalReAlloc]
test eax, eax
jne 0x101e298
push esi
call fcn.0101e653
push esi
mov edi, 0x2332
call fcn.0101e653
jmp 0x101e317
mov dword [ebp - 0x20], 1
jmp 0x101e20e
call fcn.0101e653
push 2
pop edi
jmp 0x101e317
push dword [ebp - 0x1c]
call fcn.01011d48
jmp 0x101e317
mov dword [ebp - 4], eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [ebp - 0x14]
add eax, ebx
push dword [ebp - 0xc]
push eax
call dword [sym.imp.msvcrt.dll_memmove]
add esp, 0xc
push dword [ebp - 4]
mov dword [ebp - 0x10], edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call fcn.0101e653
xor ebx, ebx
push dword [ebp - 0x1c]
call fcn.01011d48
mov eax, dword [ebp - 0x10]
push 0x40
inc eax
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GlobalReAlloc]
cmp eax, ebx
je 0x101e2e9
mov dword [ebp - 4], eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x101e312
call dword [sym.imp.USER32.dll_EmptyClipboard]
push dword [ebp - 4]
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
xor eax, eax
inc eax
jmp 0x101e337
mov edi, 0x82
cmp dword [ebp - 4], 0
je 0x101e326
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [ebp - 0x20], 0
jne 0x101e335
movzx eax, di
push eax
call fcn.01022b3c
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4