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

Disassembly:
push 0x14
mov eax, 0x101c9ee
call fcn.01019ea3
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x14], edi
cmp dword [esi + 0x398], edi
je 0x1018788
call fcn.01015df7
push edi
mov ecx, esi
call fcn.010142a0
push eax
mov ecx, esi
call fcn.01016afb
mov ecx, esi
call fcn.010142a0
cmp eax, edi
je 0x10187d9
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x30]
test eax, eax
jne 0x10187d9
mov ebx, dword [esi + 0x24]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
test eax, eax
je 0x10187d9
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 0x1018953
je 0x1018941
add ecx, 0xfffffff4
cmp eax, ecx
jg 0x10188b9
je 0x1018891
cmp eax, 3
jl 0x10189f2
cmp eax, 4
jle 0x1018885
cmp eax, 5
je 0x1018833
cmp eax, 0xcb
je 0x101886c
cmp eax, 0xcc
je 0x1018859
cmp eax, 0xcd
je 0x1018846
cmp eax, 0xd1
jne 0x10189f2
mov ecx, esi
call fcn.01017376
or dword [0x1026cac], 0x20
jmp 0x1018b7b
lea eax, [ebp - 0x10]
push eax
push edi
push edi
push edi
mov ecx, esi
call fcn.01014518
jmp 0x1018b7b
lea eax, [ebp - 0x10]
push eax
push edi
push edi
push edi
mov ecx, esi
call fcn.010144e5
jmp 0x1018b7b
cmp dword [ebp + 0xc], 0x300
jne 0x1018b7b
mov ecx, esi
call fcn.01015eb3
jmp 0x1018b7b
mov ecx, esi
call fcn.01015e6b
jmp 0x1018b7b
cmp dword [esi + 0x374], edi
je 0x10188a6
push edi
push 0xe124
mov ecx, esi
call fcn.01018751
mov ecx, esi
call fcn.0101817d
or dword [0x1026cac], 1
jmp 0x1018b7b
sub eax, 0x8001
je 0x101892e
dec eax
je 0x1018913
sub eax, 4
je 0x1018900
sub eax, 4
je 0x10188f4
dec eax
jne 0x10189f2
cmp dword [esi + 0x58], edi
je 0x1018b7b
mov dword [esi + 0x58], edi
push edi
mov ecx, esi
call fcn.01016faf
mov ecx, esi
call fcn.01015865
jmp 0x1018b7b
mov ecx, esi
call fcn.010154d4
jmp 0x1018b90
mov ecx, esi
call fcn.010171d0
or dword [0x1026cac], 4
jmp 0x1018b7b
mov eax, dword [esi + 4]
cmp eax, edi
je 0x1018b7b
push edi
push edi
push 0x10
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x1018b7b
mov ecx, esi
call fcn.01017054
or dword [0x1026cac], 2
jmp 0x1018b7b
cmp dword [esi + 0x58], edi
jne 0x1018b7b
mov dword [esi + 0x58], 1
jmp 0x10188e0
mov ecx, 0x8017
cmp eax, ecx
jg 0x10189ca
je 0x10189be
sub eax, 0x800d
je 0x10189a3
sub eax, 3
je 0x1018997
dec eax
je 0x1018984
dec eax
je 0x1018b7b
dec eax
dec eax
jne 0x10189f2
mov ecx, esi
call fcn.01014681
jmp 0x1018b7b
mov ecx, esi
call fcn.01018076
or dword [0x1026cac], 0x10
jmp 0x1018b7b
mov ecx, esi
call fcn.0101454b
jmp 0x1018b7b
push edi
push 0x1008328
push dword [esi + 4]
push 0xcd
push dword [esi]
call dword [sym.imp.USER32.dll_DialogBoxParamW]
jmp 0x1018b7b
mov ecx, esi
call fcn.010178c1
jmp 0x1018b7b
sub eax, 0xe102
je 0x1018b5f
sub eax, 5
je 0x1018b4e
sub eax, 0x1b
je 0x1018b45
dec eax
dec eax
je 0x1018af9
dec eax
je 0x10189fa
mov dword [ebp - 0x10], edi
jmp 0x1018b7b
mov ebx, dword [esi + 0x37c]
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, ebx
jne 0x1018b7b
push ebx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1018b7b
push dword [esi + 0x37c]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x1018b7b
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 0x1018ae5
push 0xd
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x1018ad6
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [ebp - 0x18], eax
cmp eax, edi
je 0x1018ad6
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, edi
je 0x1018ad6
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 0x1018a98
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.010194b4
call dword [sym.imp.USER32.dll_CloseClipboard]
cmp dword [ebp + 0xc], edi
jne 0x1018b7b
push edi
push edi
push 0x302
push dword [esi + 0x37c]
call ebx
jmp 0x1018b7b
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.010169a8
lea eax, [ebp - 0x10]
push eax
push edi
push edi
push edi
mov ecx, esi
call fcn.010167e0
mov ecx, esi
call fcn.01015865
mov ecx, esi
call fcn.01014831
jmp 0x1018b7b
mov ecx, esi
call fcn.01015afe
jmp 0x1018b7b
push edi
mov ecx, esi
call fcn.01015cb0
or dword [0x1026cac], 8
jmp 0x1018b7b
cmp dword [esi + 0x374], edi
je 0x1018b74
push edi
push 0xe124
mov ecx, esi
call fcn.01018751
mov ecx, esi
call fcn.01017646
cmp dword [ebp - 0x14], edi
je 0x1018b90
push edi
mov ecx, esi
call fcn.010142a0
push eax
mov ecx, esi
call fcn.01016afb
mov eax, dword [ebp - 0x10]
call fcn.01019f8f
ret 8