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

Disassembly:
push 0x14
mov eax, 0x101cabe
call fcn.01019f65
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x14], edi
cmp dword [esi + 0x398], edi
je 0x101884a
call fcn.01015eb9
push edi
mov ecx, esi
call fcn.01014362
push eax
mov ecx, esi
call fcn.01016bbd
mov ecx, esi
call fcn.01014362
cmp eax, edi
je 0x101889b
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x30]
test eax, eax
jne 0x101889b
mov ebx, dword [esi + 0x24]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
test eax, eax
je 0x101889b
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 0x1018a15
je 0x1018a03
add ecx, 0xfffffff4
cmp eax, ecx
jg 0x101897b
je 0x1018953
cmp eax, 3
jl 0x1018ab4
cmp eax, 4
jle 0x1018947
cmp eax, 5
je 0x10188f5
cmp eax, 0xcb
je 0x101892e
cmp eax, 0xcc
je 0x101891b
cmp eax, 0xcd
je 0x1018908
cmp eax, 0xd1
jne 0x1018ab4
mov ecx, esi
call fcn.01017438
or dword [0x1026cac], 0x20
jmp 0x1018c3d
lea eax, [ebp - 0x10]
push eax
push edi
push edi
push edi
mov ecx, esi
call fcn.010145da
jmp 0x1018c3d
lea eax, [ebp - 0x10]
push eax
push edi
push edi
push edi
mov ecx, esi
call fcn.010145a7
jmp 0x1018c3d
cmp dword [ebp + 0xc], 0x300
jne 0x1018c3d
mov ecx, esi
call fcn.01015f75
jmp 0x1018c3d
mov ecx, esi
call fcn.01015f2d
jmp 0x1018c3d
cmp dword [esi + 0x374], edi
je 0x1018968
push edi
push 0xe124
mov ecx, esi
call fcn.01018813
mov ecx, esi
call fcn.0101823f
or dword [0x1026cac], 1
jmp 0x1018c3d
sub eax, 0x8001
je 0x10189f0
dec eax
je 0x10189d5
sub eax, 4
je 0x10189c2
sub eax, 4
je 0x10189b6
dec eax
jne 0x1018ab4
cmp dword [esi + 0x58], edi
je 0x1018c3d
mov dword [esi + 0x58], edi
push edi
mov ecx, esi
call fcn.01017071
mov ecx, esi
call fcn.01015927
jmp 0x1018c3d
mov ecx, esi
call fcn.01015596
jmp 0x1018c52
mov ecx, esi
call fcn.01017292
or dword [0x1026cac], 4
jmp 0x1018c3d
mov eax, dword [esi + 4]
cmp eax, edi
je 0x1018c3d
push edi
push edi
push 0x10
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x1018c3d
mov ecx, esi
call fcn.01017116
or dword [0x1026cac], 2
jmp 0x1018c3d
cmp dword [esi + 0x58], edi
jne 0x1018c3d
mov dword [esi + 0x58], 1
jmp 0x10189a2
mov ecx, 0x8017
cmp eax, ecx
jg 0x1018a8c
je 0x1018a80
sub eax, 0x800d
je 0x1018a65
sub eax, 3
je 0x1018a59
dec eax
je 0x1018a46
dec eax
je 0x1018c3d
dec eax
dec eax
jne 0x1018ab4
mov ecx, esi
call fcn.01014743
jmp 0x1018c3d
mov ecx, esi
call fcn.01018138
or dword [0x1026cac], 0x10
jmp 0x1018c3d
mov ecx, esi
call fcn.0101460d
jmp 0x1018c3d
push edi
push 0x1008358
push dword [esi + 4]
push 0xcd
push dword [esi]
call dword [sym.imp.USER32.dll_DialogBoxParamW]
jmp 0x1018c3d
mov ecx, esi
call fcn.01017983
jmp 0x1018c3d
sub eax, 0xe102
je 0x1018c21
sub eax, 5
je 0x1018c10
sub eax, 0x1b
je 0x1018c07
dec eax
dec eax
je 0x1018bbb
dec eax
je 0x1018abc
mov dword [ebp - 0x10], edi
jmp 0x1018c3d
mov ebx, dword [esi + 0x37c]
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, ebx
jne 0x1018c3d
push ebx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1018c3d
push dword [esi + 0x37c]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x1018c3d
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 0x1018ba7
push 0xd
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x1018b98
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [ebp - 0x18], eax
cmp eax, edi
je 0x1018b98
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, edi
je 0x1018b98
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 0x1018b5a
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.01019576
call dword [sym.imp.USER32.dll_CloseClipboard]
cmp dword [ebp + 0xc], edi
jne 0x1018c3d
push edi
push edi
push 0x302
push dword [esi + 0x37c]
call ebx
jmp 0x1018c3d
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.01016a6a
lea eax, [ebp - 0x10]
push eax
push edi
push edi
push edi
mov ecx, esi
call fcn.010168a2
mov ecx, esi
call fcn.01015927
mov ecx, esi
call fcn.010148f3
jmp 0x1018c3d
mov ecx, esi
call fcn.01015bc0
jmp 0x1018c3d
push edi
mov ecx, esi
call fcn.01015d72
or dword [0x1026cac], 8
jmp 0x1018c3d
cmp dword [esi + 0x374], edi
je 0x1018c36
push edi
push 0xe124
mov ecx, esi
call fcn.01018813
mov ecx, esi
call fcn.01017708
cmp dword [ebp - 0x14], edi
je 0x1018c52
push edi
mov ecx, esi
call fcn.01014362
push eax
mov ecx, esi
call fcn.01016bbd
mov eax, dword [ebp - 0x10]
call fcn.0101a051
ret 8