Function at 0x1018761
Capabilities:
Check for software breakpoints
Open clipboard
Read clipboard data

Disassembly:
push 0x14
mov eax, 0x101c9e0
call fcn.01019e99
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x14], edi
cmp dword [esi + 0x398], edi
je 0x1018798
call fcn.01015e07
push edi
mov ecx, esi
call fcn.010142b0
push eax
mov ecx, esi
call fcn.01016b0b
mov ecx, esi
call fcn.010142b0
cmp eax, edi
je 0x10187e9
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x30]
test eax, eax
jne 0x10187e9
mov ebx, dword [esi + 0x24]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
test eax, eax
je 0x10187e9
push 0x7f02
push edi
mov dword [ebp - 0x14], 1
call dword [sym.imp.USER32.dll_LoadCursorW]
mov edi, dword [sym.imp.USER32.dll_SetCursor]
push eax
call edi
mov dword [ebp - 0x18], eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x18]
push dword [ebp - 0x18]
call edi
xor edi, edi
mov eax, dword [ebp + 8]
mov ecx, 0x800c
cmp eax, ecx
jg 0x1018963
je 0x1018951
add ecx, 0xfffffff4
cmp eax, ecx
jg 0x10188c9
je 0x10188a1
cmp eax, 3
jl 0x1018a02
cmp eax, 4
jle 0x1018895
cmp eax, 5
je 0x1018843
cmp eax, 0xcb
je 0x101887c
cmp eax, 0xcc
je 0x1018869
cmp eax, 0xcd
je 0x1018856
cmp eax, 0xd1
jne 0x1018a02
mov ecx, esi
call fcn.01017386
or dword [0x1026cac], 0x20
jmp 0x1018b8b
lea eax, [ebp - 0x10]
push eax
push edi
push edi
push edi
mov ecx, esi
call fcn.01014528
jmp 0x1018b8b
lea eax, [ebp - 0x10]
push eax
push edi
push edi
push edi
mov ecx, esi
call fcn.010144f5
jmp 0x1018b8b
cmp dword [ebp + 0xc], 0x300
jne 0x1018b8b
mov ecx, esi
call fcn.01015ec3
jmp 0x1018b8b
mov ecx, esi
call fcn.01015e7b
jmp 0x1018b8b
cmp dword [esi + 0x374], edi
je 0x10188b6
push edi
push 0xe124
mov ecx, esi
call fcn.01018761
mov ecx, esi
call fcn.0101818d
or dword [0x1026cac], 1
jmp 0x1018b8b
sub eax, 0x8001
je 0x101893e
dec eax
je 0x1018923
sub eax, 4
je 0x1018910
sub eax, 4
je 0x1018904
dec eax
jne 0x1018a02
cmp dword [esi + 0x58], edi
je 0x1018b8b
mov dword [esi + 0x58], edi
push edi
mov ecx, esi
call fcn.01016fbf
mov ecx, esi
call fcn.01015875
jmp 0x1018b8b
mov ecx, esi
call fcn.010154e4
jmp 0x1018ba0
mov ecx, esi
call fcn.010171e0
or dword [0x1026cac], 4
jmp 0x1018b8b
mov eax, dword [esi + 4]
cmp eax, edi
je 0x1018b8b
push edi
push edi
push 0x10
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x1018b8b
mov ecx, esi
call fcn.01017064
or dword [0x1026cac], 2
jmp 0x1018b8b
cmp dword [esi + 0x58], edi
jne 0x1018b8b
mov dword [esi + 0x58], 1
jmp 0x10188f0
mov ecx, 0x8017
cmp eax, ecx
jg 0x10189da
je 0x10189ce
sub eax, 0x800d
je 0x10189b3
sub eax, 3
je 0x10189a7
dec eax
je 0x1018994
dec eax
je 0x1018b8b
dec eax
dec eax
jne 0x1018a02
mov ecx, esi
call fcn.01014691
jmp 0x1018b8b
mov ecx, esi
call fcn.01018086
or dword [0x1026cac], 0x10
jmp 0x1018b8b
mov ecx, esi
call fcn.0101455b
jmp 0x1018b8b
push edi
push 0x1008328
push dword [esi + 4]
push 0xcd
push dword [esi]
call dword [sym.imp.USER32.dll_DialogBoxParamW]
jmp 0x1018b8b
mov ecx, esi
call fcn.010178d1
jmp 0x1018b8b
sub eax, 0xe102
je 0x1018b6f
sub eax, 5
je 0x1018b5e
sub eax, 0x1b
je 0x1018b55
dec eax
dec eax
je 0x1018b09
dec eax
je 0x1018a0a
mov dword [ebp - 0x10], edi
jmp 0x1018b8b
mov ebx, dword [esi + 0x37c]
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, ebx
jne 0x1018b8b
push ebx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1018b8b
push dword [esi + 0x37c]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x1018b8b
push dword [esi + 4]
mov dword [ebp + 0xc], edi
call dword [sym.imp.USER32.dll_OpenClipboard]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x1018af5
push 0xd
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x1018ae6
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [ebp - 0x18], eax
cmp eax, edi
je 0x1018ae6
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, edi
je 0x1018ae6
push eax
lea ecx, [ebp + 8]
call sub.MFC42u.dll_CString::CString_1
push 9
lea ecx, [ebp + 8]
mov dword [ebp - 4], edi
call sub.MFC42u.dll_CString::Find
cmp eax, 0xffffffff
je 0x1018aa8
push 0x20
push 9
lea ecx, [ebp + 8]
call sub.MFC42u.dll_CString::Replace
push dword [ebp + 8]
lea eax, [ebp - 0x20]
push eax
push 0x461
push dword [esi + 0x37c]
mov dword [ebp - 0x20], 2
mov dword [ebp - 0x1c], 0x4b0
call ebx
push dword [ebp - 0x18]
mov dword [ebp + 0xc], 1
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.010194aa
call dword [sym.imp.USER32.dll_CloseClipboard]
cmp dword [ebp + 0xc], edi
jne 0x1018b8b
push edi
push edi
push 0x302
push dword [esi + 0x37c]
call ebx
jmp 0x1018b8b
xor ecx, ecx
lea eax, [esi + 0x374]
cmp dword [eax], edi
mov dword [esi + 0x3a0], edi
sete cl
mov dword [esi + 0x3b0], edi
mov dword [esi + 0x39c], edi
mov dword [esi + 0x398], edi
mov dword [eax], ecx
mov ecx, esi
call fcn.010169b8
lea eax, [ebp - 0x10]
push eax
push edi
push edi
push edi
mov ecx, esi
call fcn.010167f0
mov ecx, esi
call fcn.01015875
mov ecx, esi
call fcn.01014841
jmp 0x1018b8b
mov ecx, esi
call fcn.01015b0e
jmp 0x1018b8b
push edi
mov ecx, esi
call fcn.01015cc0
or dword [0x1026cac], 8
jmp 0x1018b8b
cmp dword [esi + 0x374], edi
je 0x1018b84
push edi
push 0xe124
mov ecx, esi
call fcn.01018761
mov ecx, esi
call fcn.01017656
cmp dword [ebp - 0x14], edi
je 0x1018ba0
push edi
mov ecx, esi
call fcn.010142b0
push eax
mov ecx, esi
call fcn.01016b0b
mov eax, dword [ebp - 0x10]
call fcn.01019f85
ret 8