Function at 0x101c932
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push 2
pop esi
cmp word [ebp + 0xc], si
je 0x101c95b
xor ebx, ebx
push ebx
push dword [0x103a3c0]
call fcn.010234a0
test eax, eax
jne 0x101c95d
jmp 0x101cd4d
xor ebx, ebx
movzx eax, word [ebp + 0xc]
mov ecx, 0x4b1
cmp eax, ecx
jg 0x101cd54
je 0x101ca3d
sub eax, 0x44d
je 0x101c9ab
sub eax, esi
je 0x101c99b
dec eax
je 0x101c98e
dec eax
jne 0x101cc94
jmp 0x101cc2f
push dword [ebp + 8]
call fcn.01026884
jmp 0x101ccea
call fcn.0100cc36
push eax
call fcn.010260a8
jmp 0x101cd4a
push ebx
push ebx
push dword [ebp + 8]
call fcn.0100be3d
mov dword [ebp - 4], eax
call fcn.01026ae9
cmp dword [ebp - 4], ebx
je 0x101cd4a
call fcn.01027958
push dword [ebp - 4]
and byte [0x1038ba8], 0
call fcn.0100e505
push 1
mov dword [ebp + 8], eax
pop eax
mov dword [0x103a6fc], eax
push eax
lea eax, [ebp - 4]
push ebx
push eax
push 0x1001770
call fcn.01021ceb
test eax, eax
je 0x101ca29
cmp dword [0x103a768], ebx
je 0x101ca1c
cmp dword [0x103a7ac], ebx
je 0x101ca1c
push ebx
push 0xb
push dword [ebp + 8]
mov dword [0x1037ab4], ebx
call fcn.01008fd4
jmp 0x101ca29
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], ebx
push eax
push esi
call fcn.0102165d
lea eax, [ebp + 8]
mov dword [0x103a6fc], ebx
push eax
call fcn.0100e4ec
jmp 0x101cd4a
call fcn.0101d960
push dword [ebp + 8]
call fcn.01018196
call fcn.0101d987
jmp 0x101cd4a
mov edi, dword [sym.imp.USER32.dll_EnableMenuItem]
push 3
push esi
push dword [0x103a758]
call edi
call fcn.0100cc36
push eax
call fcn.010257c8
test eax, eax
je 0x101cd4a
push ebx
push esi
push dword [0x103a758]
call edi
jmp 0x101cd4a
push 0x1018e58
push dword [ebp + 8]
push 0x387
jmp 0x101cce5
mov ecx, 0x5ab
cmp eax, ecx
jg 0x101cb0e
je 0x101ccf1
mov ecx, 0x516
cmp eax, ecx
je 0x101caca
jle 0x101cc94
cmp eax, 0x51f
jg 0x101cc94
add eax, 0xfffffae9
push eax
jmp 0x101caed
push 0x1018c58
push dword [ebp + 8]
push 0x38a
call fcn.01021c60
mov esi, eax
call fcn.01026ae9
cmp esi, ebx
je 0x101cd4a
dec esi
push esi
call fcn.0100cc36
push eax
call fcn.01006566
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 3
mov dword [ebp - 8], edx
call fcn.0102165d
jmp 0x101cd4a
mov ecx, 0x5b4
cmp eax, ecx
jg 0x101cb54
je 0x101cb49
cmp eax, 0x5ad
jne 0x101cc94
mov eax, dword [0x103a83c]
push 1
push 3
push 0x417
lea eax, [eax + eax*4]
shl eax, 4
push dword [eax + 0x103a3c0]
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x101cd4a
mov dword [0x103a7b8], ebx
jmp 0x101cc4f
mov ecx, 0x5dd
cmp eax, ecx
jg 0x101cc82
je 0x101cc61
sub eax, 0x5b5
je 0x101cc45
dec eax
je 0x101cc39
sub eax, 3
je 0x101cbdb
dec eax
je 0x101cbb4
sub eax, 4
je 0x101cba4
dec eax
je 0x101cb98
dec eax
jne 0x101cc94
mov dword [0x103a7a4], esi
jmp 0x101cbaa
mov dword [0x103a7a4], 1
jmp 0x101cbaa
mov dword [0x103a7a4], ebx
call fcn.01023bdd
jmp 0x101cd4a
mov eax, dword [0x103a884]
cmp eax, ebx
jne 0x101cbce
mov eax, dword [0x103a83c]
lea eax, [eax + eax*4]
shl eax, 4
mov eax, dword [eax + 0x103a3c0]
push 0x1024152
push eax
push 0x7c
jmp 0x101ccd1
xor eax, eax
cmp dword [0x103a7c4], ebx
sete al
mov dword [0x103a7c4], eax
mov eax, dword [0x103a71c]
cmp eax, ebx
je 0x101cbf8
mov esi, eax
jmp 0x101cc09
mov eax, dword [0x103a83c]
lea eax, [eax + eax*4]
shl eax, 4
mov esi, dword [eax + 0x103a3c0]
mov eax, dword [0x103a78c]
or al, 4
push eax
push dword [0x103a728]
push 0x1f
call fcn.01023cda
push eax
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x101cd4a
call fcn.0101b280
jmp 0x101cd4a
mov dword [0x103a7b8], 0xfffffffc
jmp 0x101cc4f
mov dword [0x103a7b8], 4
push ebx
push 1
push 0x406
call fcn.0101da10
jmp 0x101cd4a
mov eax, dword [0x103a83c]
lea eax, [eax + eax*4]
shl eax, 4
push dword [eax + 0x103a3c4]
call fcn.0100cc4b
push eax
call fcn.01023998
jmp 0x101cd4a
sub eax, 0x5de
je 0x101ccf1
dec eax
je 0x101ccd8
dec eax
je 0x101ccad
sub eax, 0x68
je 0x101cca1
push dword [ebp + 0xc]
call fcn.0100ab0d
jmp 0x101cd4a
xor dword [0x103a770], 0x10
jmp 0x101cd4a
cmp dword [0x103876c], esi
je 0x101cd4a
mov eax, dword [0x103a83c]
push 0x100b968
lea eax, [eax + eax*4]
shl eax, 4
push dword [eax + 0x103a3c0]
push 0x74
call fcn.01021c60
jmp 0x101cd4a
push 0x1019538
push dword [ebp + 8]
push 0x38b
call fcn.01021c60
call fcn.01026ae9
jmp 0x101cd4a
mov eax, dword [0x103a83c]
lea eax, [eax + eax*4]
shl eax, 4
mov ecx, dword [eax + 0x103a40c]
mov edx, ecx
and edx, 0xf
cmp dl, 3
jne 0x101cd11
and ecx, 0xfffffff0
jmp 0x101cd17
and ecx, 0xfffffff3
or ecx, 3
cmp dword [0x103a7a4], 1
mov dword [eax + 0x103a40c], ecx
je 0x101cd34
test byte [eax + 0x103a40c], 3
jne 0x101cd34
push 0xfffffffffffffffe
pop ecx
jmp 0x101cd37
or ecx, 0xffffffff
push 0x13
push ebx
push ebx
push ebx
push ebx
push ecx
push dword [eax + 0x103a3c0]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 0xc
mov ecx, 0x515
cmp eax, ecx
jg 0x101ca99
je 0x101ca87
mov esi, 0x4b2
sub eax, esi
je 0x101ca54
dec eax
jne 0x101cc94
mov ecx, dword [0x103a884]
mov eax, dword [0x103a83c]
cmp ecx, ebx
je 0x101cd8f
mov dword [ebp + 0xc], ecx
jmp 0x101cd9e
lea edx, [eax + eax*4]
shl edx, 4
mov edx, dword [edx + 0x103a3c4]
mov dword [ebp + 0xc], edx
xor esi, esi
cmp ecx, ebx
jne 0x101cdd4
lea eax, [eax + eax*4]
shl eax, 4
push dword [eax + 0x103a3c8]
call fcn.0100cc4b
mov edi, eax
cmp edi, ebx
je 0x101cdd4
push 1
push ebx
push edi
call fcn.010258ed
test eax, eax
je 0x101cdd4
push edi
call fcn.01014cff
test eax, eax
je 0x101cdd4
mov esi, edi
cmp esi, ebx
jne 0x101cdfe
push dword [ebp + 0xc]
call fcn.0100cc4b
mov edi, eax
cmp edi, ebx
je 0x101cdfe
push ebx
push ebx
push edi
call fcn.010258ed
test eax, eax
je 0x101cdfe
push edi
call fcn.01014cff
test eax, eax
je 0x101cdfe
mov esi, edi
call fcn.0101d960
cmp esi, ebx
je 0x101ca42
xor edi, edi
cmp dword [esi + 4], ebx
jne 0x101ce20
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
mov dword [esi + 4], edi
lea eax, [ebp + 0xc]
push eax
push dword [esi + 0x126]
push dword [esi + 0x122]
push dword [esi + 0x11e]
push dword [esi + 0x11a]
push esi
call fcn.01015b03
mov ebx, eax
test ebx, ebx
je 0x101ce7d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x101ce6c
call dword [sym.imp.USER32.dll_EmptyClipboard]
push ebx
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x101ce7d
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push 0x82
call fcn.0101da51
test edi, edi
je 0x101ca4a
push edi
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ReleaseDC]
and dword [esi + 4], 0
jmp 0x101ca4a