Function at 0x1008b51
Capabilities:
Check for software breakpoints

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1d0
mov eax, dword [0x10133a4]
mov ecx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov dword [ebp - 4], eax
movzx eax, si
xor ebx, ebx
cmp eax, 0x27
push edi
mov dword [ebp - 0x1b4], ecx
jg 0x1009160
je case.0x1009182.48
cmp eax, 0x1b
jg 0x1008e15
je 0x1008d17
cmp eax, 0x16
jg 0x1008c50
je 0x1008c37
cmp eax, ebx
jle case.0x1009182.42
cmp eax, 0xe
jle 0x1009701
cmp eax, 0x10
je 0x1009701
cmp eax, 0x14
je 0x1008bd7
cmp eax, 0x15
jne case.0x1009182.42
push ebx
push ebx
push 0x10
push ecx
jmp 0x1008e78
push 0x1001f34
call dword [0x100119c]
mov edi, eax
cmp edi, ebx
je 0x1008c27
push 0x1001f28
push edi
call dword [0x1001198]
mov esi, eax
cmp esi, ebx
je 0x1008c1b
push 2
push dword [0x1013b74]
call dword [0x1001324]
push eax
push 0x1013504
push 0x1013aa0
push dword [ebp - 0x1b4]
call esi
push edi
call dword [0x1001194]
jmp 0x1009834
push 0x1001f0c
call fcn.0100eda2
pop ecx
jmp 0x1009834
push dword [ebp + 0x14]
mov byte [0x10141a0], 0
push esi
push dword [ebp + 0xc]
push ecx
call fcn.010079c4
jmp 0x1009834
sub eax, 0x17
je 0x1008d05
dec eax
je 0x1008c7a
dec eax
jne case.0x1009182.42
cmp dword [0x1013018], 0
je 0x1009834
call fcn.01007d21
jmp 0x1009834
mov eax, dword [0x10134f4]
xor ebx, ebx
cmp eax, ebx
je 0x1009834
mov esi, dword [fcn.010012e4]
push ebx
push ebx
push 0x188
push dword [eax + 0x14]
call esi
mov edi, eax
cmp edi, 0xffffffff
je 0x1009834
lea eax, [ebp - 0x1c0]
push eax
mov eax, dword [0x10134f4]
push edi
push 0x189
push dword [eax + 0x14]
call esi
push dword [ebp - 0x1c0]
push dword [ebp - 0x1b4]
call fcn.0100e17a
mov eax, dword [0x10134f4]
cmp word [eax + 0x18], 0xb
push ebx
jne 0x1008cea
push ebx
push dword [eax + 0x14]
call dword [0x1001330]
jmp 0x1009834
push edi
push 0x186
push dword [eax + 0x14]
call esi
push dword [0x10134f0]
call fcn.0100ab40
jmp 0x1009834
push dword [ebp + 0x14]
push esi
push dword [ebp + 0xc]
push ecx
call fcn.0100777d
jmp 0x1009836
mov esi, 0x1001f04
lea edi, [ebp - 0x1b0]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov esi, dword [ebp - 0x1b4]
xor eax, eax
push 0x3f
pop ecx
lea edi, [ebp - 0x1aa]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [0x1014120]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x1b0]
xor ebx, ebx
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x5c]
push eax
mov dword [ebp - 0x5c], 0x58
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x3c], 0x105
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], 0x1013510
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], 0x804
mov dword [ebp - 0x20], 0x1001f00
call dword [0x100147c]
test eax, eax
je 0x1009834
cmp byte [ebp - 0x1b0], bl
je 0x1009834
push esi
call fcn.0100717e
test eax, eax
je 0x1009834
push dword [0x10134fc]
call fcn.0100c65b
lea eax, [ebp - 0x1b0]
push eax
push 0x10018d8
push 0x1001b50
push 0x1013860
call dword [fcn.010013b0]
add esp, 0x10
lea eax, [ebp - 0x1b0]
push eax
push dword [0x1013ba4]
call fcn.0100f023
push 0x10
push 0x16
push eax
push esi
push dword [0x1013b74]
call fcn.0100acf0
push esi
call dword [0x1001308]
push eax
call fcn.0100e6e1
jmp 0x1009834
cmp eax, 0x23
jg 0x10090b0
je case.0x1009182.52
sub eax, 0x1c
je 0x1008fc4
dec eax
dec eax
je 0x1008e83
dec eax
je 0x1008e55
dec eax
jne case.0x1009182.42
xor ebx, ebx
push ebx
push ebx
push str.clipbrd.chm
call dword [0x1001470]
push eax
call fcn.01010deb
jmp 0x1009834
mov eax, dword [0x10134f4]
xor ebx, ebx
cmp eax, ebx
je 0x1009834
test byte [eax + 0x1c], 3
jne 0x1009834
push ebx
push ebx
push 0x10
push dword [0x10134f0]
call dword [fcn.010012e4]
jmp 0x1009834
xor ebx, ebx
push 0x1001ee4
mov dword [ebp - 0x1b8], ebx
xor edi, edi
mov byte [0x1013f60], bl
mov word [ebp - 0xa8], bx
call dword [0x1001190]
cmp eax, ebx
mov dword [ebp - 0x1bc], eax
je 0x1008f57
push 0x1001ed0
push eax
call dword [0x1001198]
mov esi, eax
cmp esi, ebx
je 0x1008f3e
push 0x40
lea eax, [ebp - 0x84]
push eax
push 0xffffffffffffffff
push str.clipbrd.hlp
push ebx
push ebx
call dword [0x100118c]
push 0x272d
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x1b8]
push eax
push 0x12
lea eax, [ebp - 0xa8]
push eax
push 0x1f0002
push dword [ebp - 0x1b4]
inc edi
call esi
cmp dword [ebp - 0x1b8], 1
jne 0x1008f36
lea eax, [ebp - 0x1b8]
push eax
push ebx
push 0x11
push 0x1013f60
push 0xffffffffffffffff
lea eax, [ebp - 0xa8]
push eax
push 0x210
push ebx
call dword [0x1001188]
jmp 0x1008f49
mov byte [0x1013f60], bl
jmp 0x1008f49
push 0x1001eb0
call fcn.0100eda2
pop ecx
push dword [ebp - 0x1bc]
call dword [0x1001194]
jmp 0x1008f62
push 0x1001e90
call fcn.0100eda2
pop ecx
cmp edi, ebx
jne 0x1008f86
push ebx
push 0x100c7f5
push dword [ebp - 0x1b4]
push 0x64
push dword [0x1013b74]
call dword [0x1001468]
mov dword [ebp - 0x1b8], eax
cmp byte [0x1013f60], bl
je 0x1008f9c
push 1
push 0x1013f60
call fcn.0100c3da
jmp 0x1008fb3
push 0x10
push 0x16
push 0x26
push dword [ebp - 0x1b4]
push dword [0x1013b74]
call fcn.0100ac39
push dword [ebp - 0x1b4]
call dword [0x10012f4]
jmp 0x1009834
call dword [0x1001438]
test eax, eax
je 0x1009834
mov eax, dword [0x1014120]
mov edi, dword [ebp - 0x1b4]
mov dword [ebp - 0x50], eax
xor ebx, ebx
lea eax, [ebp - 0x1ac]
mov dword [ebp - 0x40], eax
xor esi, esi
lea eax, [ebp - 0x5c]
inc esi
push eax
mov byte [ebp - 0x1ac], bl
mov dword [ebp - 0x5c], 0x58
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x3c], 0x100
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], 0x1013510
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x20], 0x1001f00
mov dword [ebp - 0x28], 0x8006
call dword [0x1001480]
test eax, eax
je 0x1009834
cmp byte [ebp - 0x1ac], bl
je 0x1009834
push ebx
push edi
call fcn.0100aae1
push dword [0x10134fc]
call fcn.0100c65b
cmp dword [ebp - 0x44], esi
mov eax, 0x1001e84
je 0x100906b
mov eax, 0x1001e78
lea ecx, [ebp - 0x1ac]
push ecx
push eax
push 0x1001b50
push 0x1013860
call dword [fcn.010013b0]
add esp, 0x10
push ebx
lea eax, [ebp - 0x1ac]
push eax
push ebx
push dword [0x1013ba4]
call fcn.010103a2
push 0x10
push 0x16
push eax
push edi
push dword [0x1013b74]
call fcn.0100acf0
jmp 0x1009834
sub eax, 0x24
je 0x100913e
dec eax
je 0x10090fe
dec eax
jne case.0x1009182.42
xor ebx, ebx
cmp dword [0x1014128], ebx
je 0x10090dc
push ebx
push dword [0x1013614]
mov dword [0x1014128], ebx
jmp 0x1009115
mov dword [0x1014128], 1
call fcn.0100a925
push 5
push dword [0x1013614]
call dword [0x10012f0]
jmp 0x1009834
xor ebx, ebx
cmp dword [0x1013e00], ebx
je 0x1009125
push ebx
push dword [0x1013610]
mov dword [0x1013e00], ebx
call dword [0x10012f0]
call fcn.0100a925
jmp 0x1009834
mov dword [0x1013e00], 1
call fcn.0100a925
push 5
push dword [0x1013610]
jmp 0x10090f3
push 0xffffffffffffffff
call fcn.01007f29
mov esi, eax
mov eax, dword [0x10134f4]
push dword [eax]
push dword [0x10134f0]
call fcn.0100c30c
mov eax, esi
jmp 0x1009836
cmp eax, 0x83
jg 0x10095cb
cmp eax, 0x80
jge 0x1009701
sub eax, 0x28
cmp eax, 0xd
ja case.0x1009182.42
jmp dword [eax*4 + 0x1009845]
push 1
call fcn.0100e48a
jmp 0x1009836
call fcn.0100de13
jmp 0x1009836
xor ebx, ebx
push ebx
call fcn.0100e48a
mov esi, dword [fcn.010012e4]
mov edi, eax
lea eax, [ebp - 0x1b8]
push eax
mov eax, dword [0x10134f4]
push edi
push 0x189
push dword [eax + 0x14]
call esi
lea eax, [ebp - 0x1d0]
push eax
mov eax, dword [0x10134f4]
push edi
push 0x198
push dword [eax + 0x14]
call esi
mov eax, dword [ebp - 0x1b8]
push dword [eax + 0x104]
call dword [0x100113c]
mov eax, dword [ebp - 0x1b8]
mov dword [eax + 0x10c], ebx
mov eax, dword [ebp - 0x1b8]
mov dword [eax + 0x104], ebx
push ebx
lea eax, [ebp - 0x1d0]
push eax
mov eax, dword [0x10134f4]
push dword [eax + 0x14]
jmp 0x1008cdf
xor eax, eax
cmp esi, 0x30
sete al
push 0
push eax
push 0x226
push dword [0x1013d24]
jmp 0x1008e78
xor ebx, ebx
push ebx
push ebx
push 0x227
jmp 0x100922c
xor ebx, ebx
push ebx
push ebx
push 0x228
jmp 0x100922c
push dword [0x10134f0]
call dword [0x1001360]
mov eax, dword [0x10134f4]
xor ebx, ebx
cmp eax, ebx
je 0x1009834
test byte [eax + 0x1c], 2
jne 0x1009834
mov cx, word [eax + 0x18]
cmp cx, 0xb
jne 0x1009285
cmp esi, 0x2e
je 0x1009834
cmp cx, 0xa
jne 0x1009294
cmp esi, 0x2d
je 0x1009834
mov ecx, dword [eax + 0x84]
cmp ecx, ebx
je 0x10092b4
push ecx
call fcn.0100d08f
mov eax, dword [0x10134f4]
mov dword [eax + 0x84], ebx
mov eax, dword [0x10134f4]
mov esi, dword [fcn.010012e4]
push ebx
push ebx
push 0x188
push dword [eax + 0x14]
call esi
push ebx
push 0xffffffffffffffff
mov dword [ebp - 0x1b8], eax
mov eax, dword [0x10134f4]
push 0x186
push dword [eax + 0x14]
call esi
push dword [0x10134f0]
call fcn.0100ab40
mov eax, dword [0x10134f4]
push ebx
push ebx
push 0xb
push dword [eax + 0x14]
call esi
mov ecx, dword [0x10134f4]
xor eax, eax
cmp dword [ebp + 0x10], 0x2e
push ebx
sete al
add eax, 0xa
mov word [ecx + 0x18], ax
mov eax, dword [0x10134f4]
mov edi, dword [eax + 0x14]
push edi
call dword [0x10012f0]
mov ecx, dword [0x10134f4]
xor eax, eax
cmp word [ecx + 0x18], 0xb
setne al
dec eax
and eax, 0xfffff200
add eax, 0x1010
push eax
push dword [0x10134f0]
call fcn.0100a4dd
mov ecx, dword [0x10134f4]
mov dword [ecx + 0x14], eax
jmp 0x100938b
mov eax, dword [ebp - 0x1c0]
push ebx
push ebx
push 0x182
push edi
mov dword [eax + 0x108], ebx
call esi
mov eax, dword [ebp - 0x1c0]
mov dword [eax + 0x108], 1
push dword [ebp - 0x1c0]
mov eax, dword [0x10134f4]
push ebx
push 0x180
push dword [eax + 0x14]
call esi
lea eax, [ebp - 0x1c0]
push eax
push ebx
push 0x189
push edi
call esi
cmp eax, 0xffffffff
jne 0x100934f
push edi
call dword [0x100146c]
mov eax, dword [0x10134f4]
test byte [eax + 0x1c], 1
je 0x10093d4
push 0x1014140
push dword [0x10134fc]
call dword [0x1001460]
push str.DefView
lea eax, [ebp - 0x54]
push eax
call dword [0x100122c]
jmp 0x100941c
add eax, 0x20
push eax
lea eax, [ebp - 0x54]
push 0x1013fe0
push eax
call dword [fcn.010013b0]
add esp, 0xc
lea eax, [ebp - 0x54]
push eax
push dword [0x10134f0]
call dword [0x1001460]
mov eax, dword [0x10134f4]
add eax, 0x20
push eax
lea eax, [ebp - 0x54]
push eax
call dword [0x100122c]
push str.Connections
lea eax, [ebp - 0x54]
push eax
call dword [0x1001230]
mov eax, dword [0x1013e8c]
cmp eax, ebx
je 0x100946a
mov ecx, dword [0x10134f4]
mov di, word [ecx + 0x18]
cmp di, 0xa
jne 0x1009441
mov dword [ebp - 0x1bc], 0x2d
jmp 0x1009453
xor ecx, ecx
cmp di, 0xb
setne cl
add ecx, 0x2e
mov dword [ebp - 0x1bc], ecx
push 4
lea ecx, [ebp - 0x1bc]
push ecx
push 4
push ebx
lea ecx, [ebp - 0x54]
push ecx
push eax
call dword [0x1001060]
push dword [0x10134f0]
call fcn.01009f0a
push dword [0x10134f0]
call fcn.0100a075
mov eax, dword [0x10134f4]
push ebx
push dword [ebp - 0x1b8]
push 0x186
push dword [eax + 0x14]
call esi
push dword [0x10134f0]
call fcn.0100ab40
push dword [0x1013ba4]
call dword [0x1001308]
push eax
call fcn.0100e6e1
mov eax, dword [0x10134f4]
push dword [eax + 0x14]
call dword [0x1001360]
jmp 0x1009834
mov edi, dword [0x10134f0]
xor ebx, ebx
cmp edi, ebx
je 0x10094de
push ebx
push edi
call dword [0x1001338]
mov esi, eax
jmp 0x10094e0
xor esi, esi
cmp esi, ebx
je 0x1009834
push edi
call dword [0x1001360]
test byte [esi + 0x1c], 2
jne 0x1009834
cmp word [ebp + 0x10], 0x2f
jne 0x100950d
cmp word [esi + 0x18], 0xc
je 0x1009834
jmp 0x1009546
push ebx
push dword [0x1013f40]
call dword [0x1001168]
cmp eax, 0x102
jne 0x100953a
push ebx
push 0x35
push 0x111
push dword [0x1013ba4]
call dword [0x1001388]
jmp 0x1009834
push dword [0x1013f40]
call dword [0x1001184]
push ebx
push ebx
push 0x188
push dword [esi + 0x14]
call dword [fcn.010012e4]
cmp eax, 0xffffffff
je 0x1009834
push eax
push esi
push edi
call fcn.01008156
jmp 0x1009834
call fcn.01007be5
jmp 0x1009834
xor eax, eax
cmp si, 0x23
sete al
push eax
push dword [ebp + 0x14]
push esi
push dword [ebp + 0xc]
push ecx
call fcn.0100835b
jmp 0x1009836
mov eax, dword [0x10134f4]
test eax, eax
je 0x1009834
test byte [eax + 0x1c], 2
jne 0x1009834
push dword [0x10134f0]
call fcn.0100c65b
mov eax, dword [0x10134f4]
push dword [eax]
push dword [0x10134f0]
call fcn.0100c30c
jmp 0x1009834
cmp eax, 0x8e
je 0x1009701
cmp eax, 0xcb
jle case.0x1009182.42
cmp eax, 0xcd
jle 0x100963c
cmp eax, 0x191
je 0x100960f
cmp eax, 0x400
je 0x1009701
push dword [ebp + 0x14]
push esi
push dword [ebp + 0xc]
push dword [0x1013d24]
push ecx
call dword [0x1001398]
jmp 0x1009836
push 0x1013104
push dword [0x1013614]
push dword [0x1013b74]
push ecx
call dword [0x1001308]
push eax
push dword [ebp + 0x14]
push esi
push 0x111
call dword [0x1001080]
jmp 0x1009834
mov edi, dword [0x10134f0]
xor ebx, ebx
cmp edi, ebx
mov dword [ebp - 0x1bc], edi
je 0x100965a
push ebx
push edi
call dword [0x1001338]
mov esi, eax
jmp 0x100965c
xor esi, esi
cmp esi, ebx
je 0x1009834
push edi
call dword [0x1001360]
test byte [esi + 0x1c], 2
jne 0x1009834
cmp word [esi + 0x18], 0xc
jne 0x1009834
mov edi, dword [fcn.010012e4]
push ebx
push ebx
push 0x188
push dword [esi + 0x14]
call edi
cmp eax, 0xffffffff
mov dword [ebp - 0x1b4], eax
je 0x1009834
cmp eax, ebx
jne 0x10096ae
cmp dword [ebp + 0x10], 0xcc
je 0x10096cc
push ebx
push ebx
push 0x18b
push dword [esi + 0x14]
call edi
dec eax
cmp dword [ebp - 0x1b4], eax
jne 0x10096d8
cmp dword [ebp + 0x10], 0xcd
jne 0x10096e9
push ebx
call dword [fcn.0100144c]
jmp 0x1009834
cmp dword [ebp + 0x10], 0xcd
jne 0x10096e9
inc dword [ebp - 0x1b4]
jmp 0x10096ef
dec dword [ebp - 0x1b4]
push dword [ebp - 0x1b4]
push esi
push dword [ebp - 0x1bc]
jmp 0x1009562
mov eax, dword [0x10134f4]
cmp eax, ebx
je 0x1009834
mov eax, dword [eax + 0x50]
cmp eax, esi
je 0x1009834
mov esi, dword [0x1001424]
push ebx
push eax
push dword [0x101382c]
call esi
push 8
push dword [ebp + 0x10]
push dword [0x101382c]
call esi
push dword [ebp - 0x1b4]
call dword [0x10012fc]
mov eax, dword [0x10134f4]
push dword [eax + 0x50]
push dword [0x10134f0]
call fcn.01006c2e
push dword [ebp + 0x10]
mov esi, eax
push dword [0x10134f0]
call fcn.01006c2e
mov edi, eax
cmp esi, edi
jne 0x100977b
mov eax, dword [0x10134f4]
mov ecx, dword [ebp + 0x10]
mov dword [eax + 0x50], ecx
jmp 0x1009834
push edi
push esi
push dword [0x10134f0]
call fcn.01005af6
cmp esi, 0x80
mov eax, dword [0x10134f4]
mov ecx, dword [ebp + 0x10]
mov dword [eax + 0x80], 1
mov eax, dword [0x10134f4]
mov dword [eax + 0x50], ecx
jne 0x10097e8
push dword [0x10134f8]
call fcn.01006e1a
push ebx
push 3
push dword [0x10134f8]
call dword [0x1001334]
push dword [0x10134f8]
call fcn.0100a075
push dword [0x10134f0]
call fcn.0100aa05
push 1
push ebx
push dword [0x10134f0]
jmp 0x1008cdf
cmp edi, 0x80
jne 0x100981a
push dword [0x10134f8]
call fcn.0100a075
mov eax, dword [0x10134f4]
push ebx
push dword [eax + 0x98]
call dword [0x10012f0]
push dword [0x10134f8]
call fcn.01006e6d
jmp 0x10097da
push 1
push ebx
push dword [0x10134f0]
call dword [0x1001330]
push dword [0x10134f0]
call fcn.0100aa05
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0100ec8a
leave
ret 0x10