Function at 0x10195dc
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x103d580]
push ebx
xor ebx, ebx
push esi
xor esi, esi
cmp eax, ebx
mov dword [ebp - 0x20], ebx
jne 0x1019607
mov eax, dword [0x103d498]
lea eax, [eax + eax*4]
shl eax, 4
mov eax, dword [eax + 0x103d5a4]
mov dword [ebp - 0x10], eax
call fcn.0100d726
mov dword [ebp - 0x1c], eax
mov eax, 0x1000
push eax
push 0x42
mov dword [ebp - 0x18], eax
mov dword [ebp - 0xc], ebx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp eax, ebx
mov dword [ebp - 4], eax
jne 0x101963b
push 2
call fcn.0101e025
xor eax, eax
jmp 0x1019881
xor eax, eax
cmp dword [0x103d580], ebx
push edi
setne al
cmp eax, 2
mov dword [ebp - 8], eax
jge 0x1019817
cmp dword [ebp - 8], ebx
jne 0x1019684
cmp dword [0x103d580], ebx
jne 0x1019684
mov eax, dword [0x103d498]
lea eax, [eax + eax*4]
shl eax, 4
push dword [eax + 0x103d5a8]
call fcn.0100d6f1
mov edi, eax
cmp edi, ebx
je 0x1019750
push 1
jmp 0x1019697
push dword [ebp - 0x10]
call fcn.0100d6f1
mov edi, eax
cmp edi, ebx
je 0x1019750
push ebx
push ebx
push edi
call fcn.01027954
test eax, eax
jne 0x10196a4
xor edi, edi
cmp edi, ebx
je 0x1019750
push 4
push edi
push ebx
call fcn.01019e3e
mov esi, eax
cmp esi, ebx
je 0x10197c6
push esi
push dword [ebp - 0x10]
call fcn.0101f29d
mov ebx, eax
test ebx, ebx
push esi
je 0x10197cf
push 0xffffffffffffffff
call fcn.0100d565
push 0xffffffffffffffff
call fcn.0100d6a0
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.01011158
mov edi, eax
test edi, edi
mov dword [esi], 4
jne 0x1019713
mov dword [ebp - 0x14], 0xa3
jmp 0x1019733
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 4]
push edi
push esi
call fcn.01019516
push edi
push esi
mov dword [ebp - 4], eax
call fcn.0101144d
push ebx
push esi
push dword [ebp - 0x10]
call fcn.0101f2c3
push 0xffffffffffffffff
call fcn.0100d5be
mov edi, dword [ebp - 0x14]
test di, di
jne 0x10197dc
inc dword [ebp - 8]
xor ebx, ebx
cmp dword [ebp - 8], 2
jl 0x1019653
cmp esi, ebx
je 0x1019817
cmp dword [0x103b768], 2
je 0x1019811
mov eax, dword [esi + 0xc]
mov ebx, dword [eax + 0x44]
test ebx, ebx
je 0x1019811
cmp byte [ebx], 0
je 0x1019811
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0xc]
lea edi, [eax + ecx]
cmp edi, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
jle 0x10197e9
push 0x40
push edi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GlobalReAlloc]
test eax, eax
jne 0x10197e6
push esi
call fcn.01019b89
push esi
mov edi, 0x2332
call fcn.01019b89
jmp 0x1019860
mov dword [ebp - 0x20], 1
jmp 0x101975f
call fcn.01019b89
push 2
pop edi
jmp 0x1019860
push dword [ebp - 0x1c]
call fcn.0100d6a0
jmp 0x1019860
mov dword [ebp - 4], eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
add eax, ecx
push ebx
push eax
call dword [sym.imp.msvcrt.dll_memmove]
add esp, 0xc
push dword [ebp - 4]
mov dword [ebp - 0xc], edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call fcn.01019b89
push dword [ebp - 0x1c]
call fcn.0100d6a0
mov eax, dword [ebp - 0xc]
push 0x40
inc eax
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GlobalReAlloc]
push dword [ebp + 8]
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x101985b
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 0x1019880
mov edi, 0x82
cmp dword [ebp - 4], 0
je 0x101986f
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [ebp - 0x20], 0
jne 0x101987e
movzx eax, di
push eax
call fcn.0101e025
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4