Function at 0x100bd7f
Capabilities:
Write clipboard data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
xor edi, edi
push 0x7f02
push edi
mov dword [ebp - 4], edi
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
push 0x10025ec
mov dword [ebp - 0x10], eax
call fcn.0100eda2
mov esi, dword [ebp + 0xc]
cmp esi, edi
pop ecx
je 0x100c1c7
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100c1c7
cmp dword [ebp + 8], edi
jne 0x100be18
push 0x10025b4
call fcn.0100eda2
movzx eax, word [esi]
sub eax, 0xa
pop ecx
je 0x100be07
dec eax
jne 0x100c1d2
push 0x10
push 0x16
push 0x1d
push dword [0x1013ba4]
push dword [0x1013b74]
call fcn.0100ac39
jmp 0x100c1d2
push dword [esi + 0xc]
push dword [esi + 8]
push edi
call fcn.0100a142
jmp 0x100c1d2
mov eax, dword [esi + 4]
cmp eax, edi
mov ebx, dword [sym.imp.USER32.dll_GetWindowLongA]
je 0x100be2b
push edi
push eax
call ebx
mov edi, eax
test edi, edi
je 0x100c1d2
movzx ecx, word [esi]
mov eax, ecx
sub eax, 0xa
je 0x100c18b
dec eax
je 0x100c02a
dec eax
je 0x100be78
dec eax
je 0x100be56
push ecx
push 0x1002590
jmp 0x100bea5
mov esi, dword [esi + 4]
test esi, esi
je 0x100be64
push 0
push esi
call ebx
jmp 0x100be66
xor eax, eax
and dword [eax], 0
push 0x1002574
call fcn.0100eda2
jmp 0x100c1d1
push 0x1002568
call fcn.0100eda2
pop ecx
lea eax, [ebp - 8]
push eax
push dword [esi + 0xc]
push 0x189
push dword [edi + 0x14]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
jne 0x100beb0
push dword [esi + 0xc]
push 0x1001bd4
call fcn.0100eda2
pop ecx
jmp 0x100c1d1
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
call sub.USER32.dll_DdeAccessData
test eax, eax
mov dword [ebp + 0xc], eax
je 0x100c048
push dword [esi + 4]
push dword [edi + 0x84]
call fcn.0100d02f
cmp eax, 1
jne 0x100bf3b
push dword [edi + 0x84]
call fcn.0100ce3b
mov ebx, 0x10017d4
push ebx
push dword [ebp + 0xc]
jmp 0x100bf25
push 0xc9
push eax
call fcn.0100a3a1
cmp eax, 8
mov dword [ebp + 0xc], eax
jne 0x100bf12
push 0
push 2
push dword [edi + 0x84]
call fcn.0100cf31
push 0
push dword [ebp + 0xc]
push dword [edi + 0x84]
call fcn.0100cf31
push ebx
push 0
call fcn.0100d593
test eax, eax
jne 0x100bef0
push dword [edi + 0x84]
call fcn.0100d05f
jmp 0x100bf46
push 0x100253c
call fcn.0100eda2
pop ecx
push dword [ebp + 8]
call sub.USER32.dll_DdeUnaccessData
push dword [ebp + 8]
call sub.USER32.dll_DdeFreeDataHandle
mov eax, dword [ebp - 8]
inc eax
test byte [edi + 0x1c], 1
mov ebx, 0x1013860
push eax
je 0x100bf6d
push 0x1014140
jmp 0x100bf71
lea eax, [edi + 0x20]
push eax
push 0x1002534
push ebx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowTextA]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
xor ebx, ebx
inc ebx
mov dword [edi + 0x50], 0x400
mov dword [edi + 0x80], ebx
push dword [esi + 4]
call fcn.0100aa05
mov ax, word [edi + 0x18]
cmp ax, 0xc
je 0x100bfe3
mov word [edi + 0x1a], ax
mov word [edi + 0x18], 0xc
push dword [esi + 4]
call fcn.01009f0a
push dword [esi + 4]
call fcn.0100a075
push dword [0x1013ba4]
call dword [sym.imp.USER32.dll_GetMenu]
push eax
call fcn.0100e6e1
jmp 0x100bff6
push 0
push dword [esi + 0xc]
push 0x186
push dword [edi + 0x14]
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [esi + 4]
call fcn.0100ab40
push ebx
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [ebp - 8]
cmp dword [eax + 0x104], 0
jne 0x100c022
push dword [esi + 0xc]
push eax
push dword [esi + 4]
call fcn.0100b368
mov dword [ebp - 4], ebx
jmp 0x100c1d2
push 0x1002528
call fcn.0100eda2
pop ecx
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
call sub.USER32.dll_DdeAccessData
test eax, eax
mov dword [ebp + 0xc], eax
jne 0x100c06b
push dword [0x1013508]
call sub.USER32.dll_DdeGetLastError
push 0x30
push 0x16
push eax
push dword [esi + 4]
push dword [0x1013b74]
call fcn.0100ad70
jmp 0x100c1d2
push eax
push 0x1002514
call fcn.0100eda2
pop ecx
pop ecx
push dword [0x1013ba4]
call fcn.01004ddb
cmp eax, 1
jne 0x100c16e
push 0x1013504
push eax
call fcn.0100b209
mov dword [ebp - 4], eax
mov dword [edi + 0x50], 0x400
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [esi + 4]
push 0x1002508
mov dword [0x1013500], eax
call fcn.0100eda2
mov si, word [esi + 0x14]
cmp si, 1
pop ecx
je 0x100c0d4
movzx eax, si
push eax
push 0x10024e8
call fcn.0100eda2
pop ecx
pop ecx
mov ebx, 0x10017d4
push ebx
push dword [ebp + 0xc]
call fcn.0100d593
mov esi, eax
test esi, esi
je 0x100c137
mov edi, dword [sym.imp.USER32.dll_SetClipboardData]
push esi
push 0x10024e0
call fcn.0100eda2
pop ecx
pop ecx
push 0xc9
push esi
call fcn.0100a3a1
mov esi, eax
test esi, esi
jne 0x100c119
push 0x10024c8
call fcn.0100eda2
pop ecx
jmp 0x100c129
cmp esi, 8
jne 0x100c124
push 0
push 2
call edi
push 0
push esi
call edi
push ebx
push 0
call fcn.0100d593
mov esi, eax
test esi, esi
jne 0x100c0ee
push 0x10022c4
call fcn.0100eda2
pop ecx
call fcn.01004e45
xor esi, esi
cmp dword [ebp - 4], esi
je 0x100c159
push 0x1013504
push esi
call fcn.0100b209
mov eax, dword [0x10134f8]
cmp eax, esi
je 0x100c179
push 1
push esi
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x100c179
push 0x100249c
call fcn.0100eda2
pop ecx
push dword [ebp + 8]
call sub.USER32.dll_DdeUnaccessData
push dword [ebp + 8]
call sub.USER32.dll_DdeFreeDataHandle
jmp 0x100c1be
push dword [esi + 8]
push dword [esi + 0xc]
push 0x100247c
call fcn.0100eda2
add esp, 0xc
push dword [esi + 0xc]
push dword [esi + 8]
push dword [ebp + 8]
call fcn.0100a142
push dword [0x1013ba4]
call dword [sym.imp.USER32.dll_GetMenu]
push eax
call fcn.0100e6e1
mov dword [ebp - 4], 1
jmp 0x100c1d2
push 0x100245c
call fcn.0100eda2
pop ecx
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_SetCursor]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 8