Function at 0x1006cbf0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x6c
push esi
push edi
mov edi, dword [esp + 0x7c]
xor esi, esi
cmp edi, esi
jne 0x1006cc09
mov eax, dword [esp + 0x78]
pop edi
pop esi
add esp, 0x6c
ret
push ebx
push edi
call sym.leptonlib.dll_numaGetRefcount
mov ebx, 1
add esp, 4
cmp eax, ebx
je 0x1006cc27
mov eax, dword [esp + 0x7c]
pop ebx
pop edi
pop esi
add esp, 0x6c
ret
push ebp
mov ebp, dword [esp + 0x88]
cmp ebp, ebx
jl 0x1006e7a6
mov eax, dword [esp + 0x8c]
cmp eax, ebx
jl 0x1006e7a6
cmp ebp, 0x40
jge 0x1006cc6b
cmp eax, 0x40
jge 0x1006cc6b
mov ecx, dword [esp + 0x80]
push eax
push ebp
push edi
push ecx
call sym.leptonlib.dll_pixDilateCompBrickDwa
add esp, 0x10
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x6c
ret
cmp ebp, 0x3f
jle 0x1006cc8b
push esi
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x3c]
push eax
push ebp
call sym.leptonlib.dll_getExtendedCompositeParameters
mov eax, dword [esp + 0x9c]
add esp, 0x10
cmp eax, 0x3f
jle 0x1006ccab
mov eax, dword [esp + 0x8c]
push esi
lea ecx, [esp + 0x6c]
push ecx
lea edx, [esp + 0x4c]
push edx
push eax
call sym.leptonlib.dll_getExtendedCompositeParameters
add esp, 0x10
push edi
call sym.leptonlib.dll_pixCreateTemplateNoInit
add esp, 4
mov dword [esp + 0x84], eax
cmp ebp, ebx
jne 0x1006ccd3
push edi
call sym.leptonlib.dll_boxClone
mov ecx, eax
add esp, 4
mov dword [esp + 0x10], ecx
jmp 0x1006dc6f
cmp ebp, 0x40
jge 0x1006ce28
push edi
call sym.leptonlib.dll_numaGetRefcount
add esp, 4
cmp eax, ebx
je 0x1006ccf6
xor eax, eax
mov ecx, eax
mov dword [esp + 0x10], ecx
jmp 0x1006dc6f
cmp ebp, 0x3f
jg 0x1006ce11
cmp ebp, ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x30], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], esi
jle 0x1006cd42
push esi
push esi
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x54]
push ecx
push ebp
call sym.leptonlib.dll_getCompositeParameters
add esp, 0x1c
push esi
push 0x40
push edi
call sym.leptonlib.dll_pixAddBorder
add esp, 0xc
mov dword [esp + 0x24], eax
cmp dword [esp + 0x34], ebx
jne 0x1006cd6e
mov edx, dword [esp + 0x18]
push edx
push ebx
push eax
push esi
call sym.leptonlib.dll_pixFMorphopGen_1
add esp, 0x10
mov dword [esp + 0x1c], eax
jmp 0x1006cd9d
mov ecx, dword [esp + 0x18]
push ecx
push ebx
push eax
push esi
call sym.leptonlib.dll_pixFMorphopGen_1
mov edx, dword [esp + 0x30]
push edx
push ebx
push eax
push esi
mov dword [esp + 0x5c], eax
call sym.leptonlib.dll_pixFMorphopGen_2
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x5c]
push eax
call sym.leptonlib.dll_pixDestroy
add esp, 0x24
lea ecx, [esp + 0x24]
push ecx
call sym.leptonlib.dll_pixDestroy
mov edx, dword [esp + 0x20]
push 0x40
push edx
call sym.leptonlib.dll_pixRemoveBorder
mov dword [esp + 0x30], eax
lea eax, [esp + 0x28]
push eax
call sym.leptonlib.dll_pixDestroy
mov eax, dword [esp + 0x28]
mov edi, dword [sym.imp.MSVCR90.dll_free]
add esp, 0x10
cmp eax, esi
je 0x1006cdd8
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x20]
cmp eax, esi
je 0x1006cde6
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x38]
cmp eax, esi
je 0x1006cdf4
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x30]
cmp eax, esi
je 0x1006ce02
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x24]
mov ecx, eax
mov dword [esp + 0x10], ecx
jmp 0x1006dc6f
push ebx
push ebp
push edi
push esi
call sym.leptonlib.dll_pixDilateCompBrickExtendDwa
mov ecx, eax
add esp, 0x10
mov dword [esp + 0x10], ecx
jmp 0x1006dc6f
jne 0x1006cf53
push edi
call sym.leptonlib.dll_numaGetRefcount
add esp, 4
cmp eax, ebx
je 0x1006ce46
xor ecx, ecx
mov dword [esp + 0x10], ecx
jmp 0x1006dc6f
push esi
push esi
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x54]
push ecx
push 0x3f
mov dword [esp + 0x80], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x34], esi
call sym.leptonlib.dll_getCompositeParameters
push esi
push 0x40
push edi
call sym.leptonlib.dll_pixAddBorder
add esp, 0x28
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x34], ebx
jne 0x1006ceb2
mov edx, dword [esp + 0x18]
push edx
push ebx
push eax
push esi
call sym.leptonlib.dll_pixFMorphopGen_1
add esp, 0x10
mov dword [esp + 0x24], eax
jmp 0x1006cee1
mov ecx, dword [esp + 0x18]
push ecx
push ebx
push eax
push esi
call sym.leptonlib.dll_pixFMorphopGen_1
mov edx, dword [esp + 0x30]
push edx
push ebx
push eax
push esi
mov dword [esp + 0x5c], eax
call sym.leptonlib.dll_pixFMorphopGen_2
mov dword [esp + 0x44], eax
lea eax, [esp + 0x5c]
push eax
call sym.leptonlib.dll_pixDestroy
add esp, 0x24
lea ecx, [esp + 0x1c]
push ecx
call sym.leptonlib.dll_pixDestroy
mov edx, dword [esp + 0x28]
push 0x40
push edx
call sym.leptonlib.dll_pixRemoveBorder
mov dword [esp + 0x28], eax
lea eax, [esp + 0x30]
push eax
call sym.leptonlib.dll_pixDestroy
mov eax, dword [esp + 0x28]
mov edi, dword [sym.imp.MSVCR90.dll_free]
add esp, 0x10
cmp eax, esi
je 0x1006cf1c
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x20]
cmp eax, esi
je 0x1006cf2a
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x38]
cmp eax, esi
je 0x1006cf38
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x30]
cmp eax, esi
je 0x1006cf46
push eax
call edi
add esp, 4
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x10], ecx
jmp 0x1006dc6f
mov ebp, dword [esp + 0x40]
cmp ebp, 3
jge 0x1006cf66
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x18], ecx
jmp 0x1006cf6f
mov edx, dword [esp + 0x34]
inc edx
mov dword [esp + 0x18], edx
push edi
test byte [esp + 0x1c], bl
je 0x1006d49e
call sym.leptonlib.dll_numaGetRefcount
add esp, 4
cmp ebp, 2
jle 0x1006d0e3
cmp eax, ebx
jne 0x1006d0da
cmp ebp, ebx
jl 0x1006d0da
cmp ebp, 0x3f
jg 0x1006d0c7
cmp ebp, ebx
jne 0x1006cfb9
push edi
push esi
call sym.leptonlib.dll_pixCopy
add esp, 8
mov ecx, eax
jmp 0x1006d1f2
cmp ebp, ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x30], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], esi
jle 0x1006cffc
push esi
push esi
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x54]
push eax
push ebp
call sym.leptonlib.dll_getCompositeParameters
add esp, 0x1c
push esi
push 0x40
push edi
call sym.leptonlib.dll_pixAddBorder
add esp, 0xc
mov dword [esp + 0x28], eax
cmp dword [esp + 0x34], ebx
jne 0x1006d028
mov ecx, dword [esp + 0x1c]
push ecx
push ebx
push eax
push esi
call sym.leptonlib.dll_pixFMorphopGen_1
add esp, 0x10
mov dword [esp + 0x24], eax
jmp 0x1006d057
mov edx, dword [esp + 0x1c]
push edx
push ebx
push eax
push esi
call sym.leptonlib.dll_pixFMorphopGen_1
mov ecx, dword [esp + 0x30]
push ecx
push ebx
push eax
push esi
mov dword [esp + 0x5c], eax
call sym.leptonlib.dll_pixFMorphopGen_2
lea edx, [esp + 0x5c]
push edx
mov dword [esp + 0x48], eax
call sym.leptonlib.dll_pixDestroy
add esp, 0x24
lea eax, [esp + 0x28]
push eax
call sym.leptonlib.dll_pixDestroy
mov ecx, dword [esp + 0x28]
push 0x40
push ecx
call sym.leptonlib.dll_pixRemoveBorder
lea edx, [esp + 0x30]
push edx
mov dword [esp + 0x38], eax
call sym.leptonlib.dll_pixDestroy
mov eax, dword [esp + 0x2c]
mov edi, dword [sym.imp.MSVCR90.dll_free]
add esp, 0x10
cmp eax, esi
je 0x1006d092
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x20]
cmp eax, esi
je 0x1006d0a0
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x38]
cmp eax, esi
je 0x1006d0ae
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x30]
cmp eax, esi
je 0x1006d0bc
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x28]
mov ecx, eax
jmp 0x1006d1f2
push ebx
push ebp
push edi
push esi
call sym.leptonlib.dll_pixDilateCompBrickExtendDwa
add esp, 0x10
mov ecx, eax
jmp 0x1006d1f2
xor eax, eax
mov ecx, eax
jmp 0x1006d1f2
cmp eax, ebx
je 0x1006d0ee
xor ecx, ecx
jmp 0x1006d1f2
push esi
push esi
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x54]
push eax
push 0x3f
mov dword [esp + 0x80], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x38], esi
call sym.leptonlib.dll_getCompositeParameters
push esi
push 0x40
push edi
call sym.leptonlib.dll_pixAddBorder
add esp, 0x28
mov dword [esp + 0x20], eax
cmp dword [esp + 0x34], ebx
jne 0x1006d15a
mov ecx, dword [esp + 0x1c]
push ecx
push ebx
push eax
push esi
call sym.leptonlib.dll_pixFMorphopGen_1
add esp, 0x10
mov dword [esp + 0x28], eax
jmp 0x1006d189
mov edx, dword [esp + 0x1c]
push edx
push ebx
push eax
push esi
call sym.leptonlib.dll_pixFMorphopGen_1
mov ecx, dword [esp + 0x34]
push ecx
push ebx
push eax
push esi
mov dword [esp + 0x5c], eax
call sym.leptonlib.dll_pixFMorphopGen_2
lea edx, [esp + 0x5c]
push edx
mov dword [esp + 0x4c], eax
call sym.leptonlib.dll_pixDestroy
add esp, 0x24
lea eax, [esp + 0x20]
push eax
call sym.leptonlib.dll_pixDestroy
mov ecx, dword [esp + 0x2c]
push 0x40
push ecx
call sym.leptonlib.dll_pixRemoveBorder
lea edx, [esp + 0x34]
push edx
mov dword [esp + 0x30], eax
call sym.leptonlib.dll_pixDestroy
mov eax, dword [esp + 0x2c]
mov edi, dword [sym.imp.MSVCR90.dll_free]
add esp, 0x10
cmp eax, esi
je 0x1006d1c4
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x24]
cmp eax, esi
je 0x1006d1d2
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x38]
cmp eax, esi
je 0x1006d1e0
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x30]
cmp eax, esi
je 0x1006d1ee
push eax
call edi
add esp, 4
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
cdq
sub eax, edx
sar eax, 1
cmp eax, esi
mov dword [esp + 0x10], ecx
jle 0x1006dc6f
mov dword [esp + 0x40], eax
jmp 0x1006d210
mov ebp, dword [esp + 0x84]
mov edi, ecx
cmp ecx, esi
je 0x1006d34d
push ecx
call sym.leptonlib.dll_numaGetRefcount
add esp, 4
cmp eax, ebx
jne 0x1006d349
push esi
push esi
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x5c]
push eax
push 0x3f
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x38], esi
call sym.leptonlib.dll_getCompositeParameters
push esi
push 0x40
push edi
call sym.leptonlib.dll_pixAddBorder
add esp, 0x28
mov dword [esp + 0x20], eax
cmp dword [esp + 0x38], ebx
jne 0x1006d2a1
mov ecx, dword [esp + 0x1c]
push ecx
push ebx
push eax
push esi
call sym.leptonlib.dll_pixFMorphopGen_1
add esp, 0x10
mov dword [esp + 0x28], eax
jmp 0x1006d2d0
mov edx, dword [esp + 0x1c]
push edx
push ebx
push eax
push esi
call sym.leptonlib.dll_pixFMorphopGen_1
mov ecx, dword [esp + 0x34]
push ecx
push ebx
push eax
push esi
mov dword [esp + 0x6c], eax
call sym.leptonlib.dll_pixFMorphopGen_2
lea edx, [esp + 0x6c]
push edx
mov dword [esp + 0x4c], eax
call sym.leptonlib.dll_pixDestroy
add esp, 0x24
lea eax, [esp + 0x20]
push eax
call sym.leptonlib.dll_pixDestroy
mov ecx, dword [esp + 0x2c]
push 0x40
push ecx
call sym.leptonlib.dll_pixRemoveBorder
lea edx, [esp + 0x34]
push edx
mov dword [esp + 0x30], eax
call sym.leptonlib.dll_pixDestroy
mov eax, dword [esp + 0x2c]
mov edi, dword [sym.imp.MSVCR90.dll_free]
add esp, 0x10
cmp eax, esi
je 0x1006d30b
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x24]
cmp eax, esi
je 0x1006d319
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x50]
cmp eax, esi
je 0x1006d327
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x54]
cmp eax, esi
je 0x1006d335
push eax
call edi
add esp, 4
cmp ebp, esi
je 0x1006d349
push esi
push esi
lea eax, [esp + 0x28]
push eax
push ebp
call sym.leptonlib.dll_pixTransferAllData
add esp, 0x10
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x84]
mov ebp, ecx
cmp edi, esi
je 0x1006d48f
mov ecx, edi
push ecx
call sym.leptonlib.dll_numaGetRefcount
add esp, 4
cmp eax, ebx
jne 0x1006d48b
push esi
push esi
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x6c]
push edx
push 0x3f
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x80], esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x34], esi
call sym.leptonlib.dll_getCompositeParameters
push esi
push 0x40
push edi
call sym.leptonlib.dll_pixAddBorder
add esp, 0x28
mov dword [esp + 0x34], eax
cmp dword [esp + 0x3c], ebx
jne 0x1006d3e3
mov ecx, dword [esp + 0x18]
push ecx
push ebx
push eax
push esi
call sym.leptonlib.dll_pixFMorphopGen_1
add esp, 0x10
mov dword [esp + 0x2c], eax
jmp 0x1006d412
mov edx, dword [esp + 0x18]
push edx
push ebx
push eax
push esi
call sym.leptonlib.dll_pixFMorphopGen_1
mov ecx, dword [esp + 0x40]
push ecx
push ebx
push eax
push esi
mov dword [esp + 0x7c], eax
call sym.leptonlib.dll_pixFMorphopGen_2
lea edx, [esp + 0x7c]
push edx
mov dword [esp + 0x50], eax
call sym.leptonlib.dll_pixDestroy
add esp, 0x24
lea eax, [esp + 0x34]
push eax
call sym.leptonlib.dll_pixDestroy
mov ecx, dword [esp + 0x30]
push 0x40
push ecx
call sym.leptonlib.dll_pixRemoveBorder
lea edx, [esp + 0x38]
push edx
mov dword [esp + 0x44], eax
call sym.leptonlib.dll_pixDestroy
mov eax, dword [esp + 0x28]
mov edi, dword [sym.imp.MSVCR90.dll_free]
add esp, 0x10
cmp eax, esi
je 0x1006d44d
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x30]
cmp eax, esi
je 0x1006d45b
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x60]
cmp eax, esi
je 0x1006d469
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x64]
cmp eax, esi
je 0x1006d477
push eax
call edi
add esp, 4
cmp ebp, esi
je 0x1006d48b
push esi
push esi
lea eax, [esp + 0x3c]
push eax
push ebp
call sym.leptonlib.dll_pixTransferAllData
add esp, 0x10
mov ecx, dword [esp + 0x10]
sub dword [esp + 0x40], ebx
jne 0x1006d210
jmp 0x1006dc6f
cmp ebp, 2
jle 0x1006d753
mov ebx, eax
call sym.leptonlib.dll_numaGetRefcount
add esp, 4
cmp eax, 1
jne 0x1006d60b
cmp ebp, eax
jl 0x1006d60b
cmp ebp, 0x3f
jg 0x1006d5fe
cmp ebp, eax
jne 0x1006d4de
push edi
push ebx
call sym.leptonlib.dll_pixCopy
add esp, 8
jmp 0x1006d60b
cmp ebp, eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x1c], esi
jle 0x1006d521
push esi
push esi
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x78]
push ecx
push ebp
call sym.leptonlib.dll_getCompositeParameters
add esp, 0x1c
push esi
push 0x40
push edi
call sym.leptonlib.dll_pixAddBorder
add esp, 0xc
cmp dword [esp + 0x40], 1
mov dword [esp + 0x2c], eax
jne 0x1006d54f
mov edx, dword [esp + 0x1c]
push edx
push 1
push eax
push esi
call sym.leptonlib.dll_pixFMorphopGen_1
add esp, 0x10
mov dword [esp + 0x34], eax
jmp 0x1006d586
mov ecx, dword [esp + 0x1c]
push ecx
push 1
push eax
push esi
call sym.leptonlib.dll_pixFMorphopGen_1
mov edx, dword [esp + 0x40]
push edx
push 1
push eax
push esi
mov dword [esp + 0x80], eax
call sym.leptonlib.dll_pixFMorphopGen_2
mov dword [esp + 0x54], eax
lea eax, [esp + 0x80]
push eax
call sym.leptonlib.dll_pixDestroy
add esp, 0x24
lea ecx, [esp + 0x2c]
push ecx
call sym.leptonlib.dll_pixDestroy
mov edx, dword [esp + 0x38]
push 0x40
push edx
call sym.leptonlib.dll_pixRemoveBorder
mov dword [esp + 0x38], eax
lea eax, [esp + 0x40]
push eax
call sym.leptonlib.dll_pixDestroy
mov eax, dword [esp + 0x2c]
mov edi, dword [sym.imp.MSVCR90.dll_free]
add esp, 0x10
cmp eax, esi
je 0x1006d5c1
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x30]
cmp eax, esi
je 0x1006d5cf
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x5c]
cmp eax, esi
je 0x1006d5dd
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x58]
cmp eax, esi
je 0x1006d5eb
push eax
call edi
add esp, 4
cmp ebx, esi
je 0x1006d60b
push esi
push esi
lea ecx, [esp + 0x34]
push ecx
push ebx
call sym.leptonlib.dll_pixTransferAllData
jmp 0x1006d608
push 1
push ebp
push edi
push ebx
call sym.leptonlib.dll_pixDilateCompBrickExtendDwa
add esp, 0x10
mov edi, dword [esp + 0x84]
cmp edi, esi
jne 0x1006d620
xor ecx, ecx
lea ebx, [ecx + 1]
jmp 0x1006d9bb
push edi
call sym.leptonlib.dll_numaGetRefcount
mov ebx, 1
add esp, 4
cmp eax, ebx
je 0x1006d639
xor ecx, ecx
jmp 0x1006d9bb
push esi
push esi
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x78]
push edx
push 0x3f
mov dword [esp + 0x94], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x38], esi
call sym.leptonlib.dll_getCompositeParameters
push esi
push 0x40
push edi
call sym.leptonlib.dll_pixAddBorder
add esp, 0x28
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x40], ebx
jne 0x1006d6ab
mov ecx, dword [esp + 0x1c]
push ecx
push ebx
push eax
push esi
call sym.leptonlib.dll_pixFMorphopGen_1
add esp, 0x10
mov dword [esp + 0x34], eax
jmp 0x1006d6e0
mov edx, dword [esp + 0x1c]
push edx
push ebx
push eax
push esi
call sym.leptonlib.dll_pixFMorphopGen_1
mov ecx, dword [esp + 0x40]
push ecx
push ebx
push eax
push esi
mov dword [esp + 0x80], eax
call sym.leptonlib.dll_pixFMorphopGen_2
lea edx, [esp + 0x80]
push edx
mov dword [esp + 0x58], eax
call sym.leptonlib.dll_pixDestroy
add esp, 0x24
lea eax, [esp + 0x2c]
push eax
call sym.leptonlib.dll_pixDestroy
mov ecx, dword [esp + 0x38]
push 0x40
push ecx
call sym.leptonlib.dll_pixRemoveBorder
lea edx, [esp + 0x40]
push edx
mov dword [esp + 0x3c], eax
call sym.leptonlib.dll_pixDestroy
mov eax, dword [esp + 0x2c]
mov edi, dword [sym.imp.MSVCR90.dll_free]
add esp, 0x10
cmp eax, esi
je 0x1006d71b
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x30]
cmp eax, esi
je 0x1006d729
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x5c]
cmp eax, esi
je 0x1006d737
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x58]
cmp eax, esi
je 0x1006d745
push eax
call edi
add esp, 4
mov ecx, dword [esp + 0x2c]
mov ebx, 1
jmp 0x1006d9bb
mov ebp, eax
call sym.leptonlib.dll_numaGetRefcount
add esp, 4
cmp eax, ebx
jne 0x1006d885
push esi
push esi
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0x78]
push eax
push 0x3f
mov dword [esp + 0x94], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x38], esi
call sym.leptonlib.dll_getCompositeParameters
push esi
push 0x40
push edi
call sym.leptonlib.dll_pixAddBorder
add esp, 0x28
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x40], ebx
jne 0x1006d7d7
mov ecx, dword [esp + 0x1c]
push ecx
push ebx
push eax
push esi
call sym.leptonlib.dll_pixFMorphopGen_1
add esp, 0x10
mov dword [esp + 0x34], eax
jmp 0x1006d80c
mov edx, dword [esp + 0x1c]
push edx
push ebx
push eax
push esi
call sym.leptonlib.dll_pixFMorphopGen_1
mov ecx, dword [esp + 0x40]
push ecx
push ebx
push eax
push esi
mov dword [esp + 0x80], eax
call sym.leptonlib.dll_pixFMorphopGen_2
lea edx, [esp + 0x80]
push edx
mov dword [esp + 0x58], eax
call sym.leptonlib.dll_pixDestroy
add esp, 0x24
lea eax, [esp + 0x2c]
push eax
call sym.leptonlib.dll_pixDestroy
mov ecx, dword [esp + 0x38]
push 0x40
push ecx
call sym.leptonlib.dll_pixRemoveBorder
lea edx, [esp + 0x40]
push edx
mov dword [esp + 0x3c], eax
call sym.leptonlib.dll_pixDestroy
mov eax, dword [esp + 0x2c]
mov edi, dword [sym.imp.MSVCR90.dll_free]
add esp, 0x10
cmp eax, esi
je 0x1006d847
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x30]
cmp eax, esi
je 0x1006d855
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x5c]
cmp eax, esi
je 0x1006d863
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x58]
cmp eax, esi
je 0x1006d871
push eax
call edi
add esp, 4
cmp ebp, esi
je 0x1006d885
push esi
push esi
lea eax, [esp + 0x34]
push eax
push ebp
call sym.leptonlib.dll_pixTransferAllData
add esp, 0x10
mov edi, dword [esp + 0x84]
cmp edi, esi
jne 0x1006d897
xor ecx, ecx
jmp 0x1006d9bb
push edi
call sym.leptonlib.dll_numaGetRefcount
add esp, 4
cmp eax, ebx
je 0x1006d8ab
xor ecx, ecx
jmp 0x1006d9bb
push esi
push esi
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x78]
push ecx
push 0x3f
mov dword [esp + 0x94], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x38], esi
call sym.leptonlib.dll_getCompositeParameters
push esi
push 0x40
push edi
call sym.leptonlib.dll_pixAddBorder
add esp, 0x28
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x40], ebx
jne 0x1006d91d
mov edx, dword [esp + 0x1c]
push edx
push ebx
push eax
push esi
call sym.leptonlib.dll_pixFMorphopGen_1
add esp, 0x10
mov dword [esp + 0x34], eax
jmp 0x1006d952
mov ecx, dword [esp + 0x1c]
push ecx
push ebx
push eax
push esi
call sym.leptonlib.dll_pixFMorphopGen_1
mov edx, dword [esp + 0x40]
push edx
push ebx
push eax
push esi
mov dword [esp + 0x80], eax
call sym.leptonlib.dll_pixFMorphopGen_2
mov dword [esp + 0x54], eax
lea eax, [esp + 0x80]
push eax
call sym.leptonlib.dll_pixDestroy
add esp, 0x24
lea ecx, [esp + 0x2c]
push ecx
call sym.leptonlib.dll_pixDestroy
mov edx, dword [esp + 0x38]
push 0x40
push edx
call sym.leptonlib.dll_pixRemoveBorder
mov dword [esp + 0x38], eax
lea eax, [esp + 0x40]
push eax
call sym.leptonlib.dll_pixDestroy
mov eax, dword [esp + 0x2c]
mov edi, dword [sym.imp.MSVCR90.dll_free]
add esp, 0x10
cmp eax, esi
je 0x1006d98d
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x30]
cmp eax, esi
je 0x1006d99b
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x5c]
cmp eax, esi
je 0x1006d9a9
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x58]
cmp eax, esi
je 0x1006d9b7
push eax
call edi
add esp, 4
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x18]
cdq
sub eax, edx
sar eax, 1
sub eax, ebx
cmp eax, esi
mov dword [esp + 0x10], ecx
jle 0x1006dc6f
mov dword [esp + 0x38], eax
jmp 0x1006d9e0
mov ebp, dword [esp + 0x84]
mov edi, ecx
cmp ecx, esi
je 0x1006db26
push ecx
call sym.leptonlib.dll_numaGetRefcount
add esp, 4
cmp eax, ebx
jne 0x1006db22
push esi
push esi
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x78]
push ecx
push 0x3f
mov dword [esp + 0x94], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x38], esi
call sym.leptonlib.dll_getCompositeParameters
push esi
push 0x40
push edi
call sym.leptonlib.dll_pixAddBorder
add esp, 0x28
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x40], ebx
jne 0x1006da74
mov edx, dword [esp + 0x1c]
push edx
push ebx
push eax
push esi
call sym.leptonlib.dll_pixFMorphopGen_1
add esp, 0x10
mov dword [esp + 0x34], eax
jmp 0x1006daa9
mov ecx, dword [esp + 0x1c]
push ecx
push ebx
push eax
push esi
call sym.leptonlib.dll_pixFMorphopGen_1
mov edx, dword [esp + 0x40]
push edx
push ebx
push eax
push esi
mov dword [esp + 0x80], eax
call sym.leptonlib.dll_pixFMorphopGen_2
mov dword [esp + 0x54], eax
lea eax, [esp + 0x80]
push eax
call sym.leptonlib.dll_pixDestroy
add esp, 0x24
lea ecx, [esp + 0x2c]
push ecx
call sym.leptonlib.dll_pixDestroy
mov edx, dword [esp + 0x38]
push 0x40
push edx
call sym.leptonlib.dll_pixRemoveBorder
mov dword [esp + 0x38], eax
lea eax, [esp + 0x40]
push eax
call sym.leptonlib.dll_pixDestroy
mov eax, dword [esp + 0x2c]
mov edi, dword [sym.imp.MSVCR90.dll_free]
add esp, 0x10
cmp eax, esi
je 0x1006dae4
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x30]
cmp eax, esi
je 0x1006daf2
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x5c]
cmp eax, esi
je 0x1006db00
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x58]
cmp eax, esi
je 0x1006db0e
push eax
call edi
add esp, 4
cmp ebp, esi
je 0x1006db22
push esi
push esi
lea ecx, [esp + 0x34]
push ecx
push ebp
call sym.leptonlib.dll_pixTransferAllData
add esp, 0x10
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x84]
mov ebp, ecx
cmp edi, esi
je 0x1006dc65
mov edx, edi
push edx
call sym.leptonlib.dll_numaGetRefcount
add esp, 4
cmp eax, ebx
jne 0x1006dc61
push esi
push esi
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0x68]
push eax
push 0x3f
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x34], esi
call sym.leptonlib.dll_getCompositeParameters
push esi
push 0x40
push edi
call sym.leptonlib.dll_pixAddBorder
add esp, 0x28
mov dword [esp + 0x20], eax
cmp dword [esp + 0x3c], ebx
jne 0x1006dbb9
mov ecx, dword [esp + 0x18]
push ecx
push ebx
push eax
push esi
call sym.leptonlib.dll_pixFMorphopGen_1
add esp, 0x10
mov dword [esp + 0x28], eax
jmp 0x1006dbe8
mov edx, dword [esp + 0x18]
push edx
push ebx
push eax
push esi
call sym.leptonlib.dll_pixFMorphopGen_1
mov ecx, dword [esp + 0x34]
push ecx
push ebx
push eax
push esi
mov dword [esp + 0x70], eax
call sym.leptonlib.dll_pixFMorphopGen_2
lea edx, [esp + 0x70]
push edx
mov dword [esp + 0x4c], eax
call sym.leptonlib.dll_pixDestroy
add esp, 0x24
lea eax, [esp + 0x20]
push eax
call sym.leptonlib.dll_pixDestroy
mov ecx, dword [esp + 0x2c]
push 0x40
push ecx
call sym.leptonlib.dll_pixRemoveBorder
lea edx, [esp + 0x34]
push edx
mov dword [esp + 0x30], eax
call sym.leptonlib.dll_pixDestroy
mov eax, dword [esp + 0x28]
mov edi, dword [sym.imp.MSVCR90.dll_free]
add esp, 0x10
cmp eax, esi
je 0x1006dc23
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x24]
cmp eax, esi
je 0x1006dc31
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x4c]
cmp eax, esi
je 0x1006dc3f
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x48]
cmp eax, esi
je 0x1006dc4d
push eax
call edi
add esp, 4
cmp ebp, esi
je 0x1006dc61
push esi
push esi
lea eax, [esp + 0x28]
push eax
push ebp
call sym.leptonlib.dll_pixTransferAllData
add esp, 0x10
mov ecx, dword [esp + 0x10]
sub dword [esp + 0x38], ebx
jne 0x1006d9e0
mov eax, dword [esp + 0x8c]
cmp eax, ebx
jne 0x1006dc8c
push ecx
call sym.leptonlib.dll_boxClone
add esp, 4
mov dword [esp + 0x14], eax
jmp 0x1006e75b
cmp eax, 0x40
jge 0x1006dca6
push eax
push ebx
push ecx
push esi
call sym.leptonlib.dll_pixDilateCompBrickDwa
add esp, 0x10
mov dword [esp + 0x14], eax
jmp 0x1006e75b
jne 0x1006ddee
mov edi, ecx
cmp ecx, esi
jne 0x1006dcbd
xor eax, eax
mov dword [esp + 0x14], eax
jmp 0x1006e75b
push ecx
call sym.leptonlib.dll_numaGetRefcount
add esp, 4
cmp eax, ebx
je 0x1006dcd5
xor eax, eax
mov dword [esp + 0x14], eax
jmp 0x1006e75b
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x20]
push edx
push esi
push esi
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x78]
push ecx
push 0x3f
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], esi
call sym.leptonlib.dll_getCompositeParameters
push esi
push 0x40
push edi
call sym.leptonlib.dll_pixAddBorder
add esp, 0x28
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x40], ebx
jne 0x1006dd47
mov edx, dword [esp + 0x1c]
push edx
push ebx
push eax
push esi
call sym.leptonlib.dll_pixFMorphopGen_1
add esp, 0x10
mov dword [esp + 0x34], eax
jmp 0x1006dd7c
mov ecx, dword [esp + 0x1c]
push ecx
push ebx
push eax
push esi
call sym.leptonlib.dll_pixFMorphopGen_1
mov edx, dword [esp + 0x40]
push edx
push ebx
push eax
push esi
mov dword [esp + 0x80], eax
call sym.leptonlib.dll_pixFMorphopGen_2
mov dword [esp + 0x54], eax
lea eax, [esp + 0x80]
push eax
call sym.leptonlib.dll_pixDestroy
add esp, 0x24
lea ecx, [esp + 0x2c]
push ecx
call sym.leptonlib.dll_pixDestroy
mov edx, dword [esp + 0x38]
push 0x40
push edx
call sym.leptonlib.dll_pixRemoveBorder
mov dword [esp + 0x38], eax
lea eax, [esp + 0x40]
push eax
call sym.leptonlib.dll_pixDestroy
mov eax, dword [esp + 0x6c]
mov edi, dword [sym.imp.MSVCR90.dll_free]
add esp, 0x10
cmp eax, esi
je 0x1006ddb7
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x58]
cmp eax, esi
je 0x1006ddc5
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x1c]
cmp eax, esi
je 0x1006ddd3
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x30]
cmp eax, esi
je 0x1006dde1
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
jmp 0x1006e75b
mov eax, dword [esp + 0x68]
cmp eax, 3
mov edx, dword [esp + 0x44]
jl 0x1006ddfc
inc edx
mov dword [esp + 0x18], edx
test dl, 1
je 0x1006e200
cmp eax, 2
jle 0x1006de1f
push eax
push ebx
push ecx
push esi
call sym.leptonlib.dll_pixDilateCompBrickDwa
add esp, 0x10
jmp 0x1006df50
mov edi, ecx
cmp ecx, esi
jne 0x1006de2c
xor eax, eax
jmp 0x1006df50
push ecx
call sym.leptonlib.dll_numaGetRefcount
add esp, 4
cmp eax, ebx
je 0x1006de40
xor eax, eax
jmp 0x1006df50
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x20]
push ecx
push esi
push esi
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x7c]
push eax
push 0x3f
mov dword [esp + 0x60], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
call sym.leptonlib.dll_getCompositeParameters
push esi
push 0x40
push edi
call sym.leptonlib.dll_pixAddBorder
add esp, 0x28
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x44], ebx
jne 0x1006deb2
mov ecx, dword [esp + 0x1c]
push ecx
push ebx
push eax
push esi
call sym.leptonlib.dll_pixFMorphopGen_1
add esp, 0x10
mov dword [esp + 0x34], eax
jmp 0x1006dee7
mov edx, dword [esp + 0x1c]
push edx
push ebx
push eax
push esi
call sym.leptonlib.dll_pixFMorphopGen_1
mov ecx, dword [esp + 0x40]
push ecx
push ebx
push eax
push esi
mov dword [esp + 0x84], eax
call sym.leptonlib.dll_pixFMorphopGen_2
lea edx, [esp + 0x84]
push edx
mov dword [esp + 0x58], eax
call sym.leptonlib.dll_pixDestroy
add esp, 0x24
lea eax, [esp + 0x2c]
push eax
call sym.leptonlib.dll_pixDestroy
mov ecx, dword [esp + 0x38]
push 0x40
push ecx
call sym.leptonlib.dll_pixRemoveBorder
lea edx, [esp + 0x40]
push edx
mov dword [esp + 0x3c], eax
call sym.leptonlib.dll_pixDestroy
mov eax, dword [esp + 0x70]
mov edi, dword [sym.imp.MSVCR90.dll_free]
add esp, 0x10
cmp eax, esi
je 0x1006df22
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x5c]
cmp eax, esi
je 0x1006df30
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x1c]
cmp eax, esi
je 0x1006df3e
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x30]
cmp eax, esi
je 0x1006df4c
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x2c]
mov edi, eax
mov eax, dword [esp + 0x18]
cdq
sub eax, edx
sar eax, 1
cmp eax, esi
mov dword [esp + 0x14], edi
jle 0x1006e75b
mov dword [esp + 0x3c], eax
jmp 0x1006df74
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x84]
cmp edi, esi
je 0x1006e0b4
push edi
call sym.leptonlib.dll_numaGetRefcount
add esp, 4
cmp eax, ebx
jne 0x1006e0b4
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x20]
push ecx
push esi
push esi
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x7c]
push eax
push 0x3f
mov dword [esp + 0x60], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
call sym.leptonlib.dll_getCompositeParameters
push esi
push 0x40
push edi
call sym.leptonlib.dll_pixAddBorder
add esp, 0x28
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x44], ebx
jne 0x1006e006
mov ecx, dword [esp + 0x1c]
push ecx
push ebx
push eax
push esi
call sym.leptonlib.dll_pixFMorphopGen_1
add esp, 0x10
mov dword [esp + 0x34], eax
jmp 0x1006e03b
mov edx, dword [esp + 0x1c]
push edx
push ebx
push eax
push esi
call sym.leptonlib.dll_pixFMorphopGen_1
mov ecx, dword [esp + 0x40]
push ecx
push ebx
push eax
push esi
mov dword [esp + 0x84], eax
call sym.leptonlib.dll_pixFMorphopGen_2
lea edx, [esp + 0x84]
push edx
mov dword [esp + 0x58], eax
call sym.leptonlib.dll_pixDestroy
add esp, 0x24
lea eax, [esp + 0x2c]
push eax
call sym.leptonlib.dll_pixDestroy
mov ecx, dword [esp + 0x38]
push 0x40
push ecx
call sym.leptonlib.dll_pixRemoveBorder
lea edx, [esp + 0x40]
push edx
mov dword [esp + 0x3c], eax
call sym.leptonlib.dll_pixDestroy
mov eax, dword [esp + 0x70]
mov edi, dword [sym.imp.MSVCR90.dll_free]
add esp, 0x10
cmp eax, esi
je 0x1006e076
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x5c]
cmp eax, esi
je 0x1006e084
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x1c]
cmp eax, esi
je 0x1006e092
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x30]
cmp eax, esi
je 0x1006e0a0
push eax
call edi
add esp, 4
cmp ebp, esi
je 0x1006e0b4
push esi
push esi
lea eax, [esp + 0x34]
push eax
push ebp
call sym.leptonlib.dll_pixTransferAllData
add esp, 0x10
mov edi, dword [esp + 0x84]
mov ebp, dword [esp + 0x14]
cmp edi, esi
je 0x1006e1f1
mov ecx, edi
push ecx
call sym.leptonlib.dll_numaGetRefcount
add esp, 4
cmp eax, ebx
jne 0x1006e1f1
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x1c]
push eax
push esi
push esi
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x6c]
push edx
push 0x3f
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x40], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], esi
call sym.leptonlib.dll_getCompositeParameters
push esi
push 0x40
push edi
call sym.leptonlib.dll_pixAddBorder
add esp, 0x28
mov dword [esp + 0x20], eax
cmp dword [esp + 0x40], ebx
jne 0x1006e149
mov ecx, dword [esp + 0x18]
push ecx
push ebx
push eax
push esi
call sym.leptonlib.dll_pixFMorphopGen_1
add esp, 0x10
mov dword [esp + 0x28], eax
jmp 0x1006e178
mov edx, dword [esp + 0x18]
push edx
push ebx
push eax
push esi
call sym.leptonlib.dll_pixFMorphopGen_1
mov ecx, dword [esp + 0x34]
push ecx
push ebx
push eax
push esi
mov dword [esp + 0x74], eax
call sym.leptonlib.dll_pixFMorphopGen_2
lea edx, [esp + 0x74]
push edx
mov dword [esp + 0x4c], eax
call sym.leptonlib.dll_pixDestroy
add esp, 0x24
lea eax, [esp + 0x20]
push eax
call sym.leptonlib.dll_pixDestroy
mov ecx, dword [esp + 0x2c]
push 0x40
push ecx
call sym.leptonlib.dll_pixRemoveBorder
lea edx, [esp + 0x34]
push edx
mov dword [esp + 0x30], eax
call sym.leptonlib.dll_pixDestroy
mov eax, dword [esp + 0x60]
mov edi, dword [sym.imp.MSVCR90.dll_free]
add esp, 0x10
cmp eax, esi
je 0x1006e1b3
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x4c]
cmp eax, esi
je 0x1006e1c1
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x1006e1cf
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x24]
cmp eax, esi
je 0x1006e1dd
push eax
call edi
add esp, 4
cmp ebp, esi
je 0x1006e1f1
push esi
push esi
lea eax, [esp + 0x28]
push eax
push ebp
call sym.leptonlib.dll_pixTransferAllData
add esp, 0x10
sub dword [esp + 0x3c], ebx
jne 0x1006df70
jmp 0x1006e75b
cmp eax, 2
jle 0x1006e230
push eax
push ebx
push ecx
mov ecx, dword [esp + 0x90]
push ecx
call sym.leptonlib.dll_pixDilateCompBrickDwa
mov edi, dword [esp + 0x94]
add esp, 0x10
cmp edi, esi
jne 0x1006e22a
xor eax, eax
jmp 0x1006e4af
push edi
jmp 0x1006e38c
mov ebp, dword [esp + 0x84]
mov edi, ecx
cmp ecx, esi
je 0x1006e372
push ecx
call sym.leptonlib.dll_numaGetRefcount
add esp, 4
cmp eax, ebx
jne 0x1006e372
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x20]
push ecx
push esi
push esi
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x7c]
push eax
push 0x3f
mov dword [esp + 0x60], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
call sym.leptonlib.dll_getCompositeParameters
push esi
push 0x40
push edi
call sym.leptonlib.dll_pixAddBorder
add esp, 0x28
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x44], ebx
jne 0x1006e2c4
mov ecx, dword [esp + 0x1c]
push ecx
push ebx
push eax
push esi
call sym.leptonlib.dll_pixFMorphopGen_1
add esp, 0x10
mov dword [esp + 0x34], eax
jmp 0x1006e2f9
mov edx, dword [esp + 0x1c]
push edx
push ebx
push eax
push esi
call sym.leptonlib.dll_pixFMorphopGen_1
mov ecx, dword [esp + 0x40]
push ecx
push ebx
push eax
push esi
mov dword [esp + 0x84], eax
call sym.leptonlib.dll_pixFMorphopGen_2
lea edx, [esp + 0x84]
push edx
mov dword [esp + 0x58], eax
call sym.leptonlib.dll_pixDestroy
add esp, 0x24
lea eax, [esp + 0x2c]
push eax
call sym.leptonlib.dll_pixDestroy
mov ecx, dword [esp + 0x38]
push 0x40
push ecx
call sym.leptonlib.dll_pixRemoveBorder
lea edx, [esp + 0x40]
push edx
mov dword [esp + 0x3c], eax
call sym.leptonlib.dll_pixDestroy
mov eax, dword [esp + 0x70]
mov edi, dword [sym.imp.MSVCR90.dll_free]
add esp, 0x10
cmp eax, esi
je 0x1006e334
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x5c]
cmp eax, esi
je 0x1006e342
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x1c]
cmp eax, esi
je 0x1006e350
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x30]
cmp eax, esi
je 0x1006e35e
push eax
call edi
add esp, 4
cmp ebp, esi
je 0x1006e372
push esi
push esi
lea eax, [esp + 0x34]
push eax
push ebp
call sym.leptonlib.dll_pixTransferAllData
add esp, 0x10
mov edi, dword [esp + 0x84]
cmp edi, esi
jne 0x1006e384
xor eax, eax
jmp 0x1006e4af
mov ecx, dword [esp + 0x84]
push ecx
call sym.leptonlib.dll_numaGetRefcount
add esp, 4
cmp eax, ebx
je 0x1006e39f
xor eax, eax
jmp 0x1006e4af
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x20]
push eax
push esi
push esi
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x7c]
push edx
push 0x3f
mov dword [esp + 0x60], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
call sym.leptonlib.dll_getCompositeParameters
push esi
push 0x40
push edi
call sym.leptonlib.dll_pixAddBorder
add esp, 0x28
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x44], ebx
jne 0x1006e411
mov ecx, dword [esp + 0x1c]
push ecx
push ebx
push eax
push esi
call sym.leptonlib.dll_pixFMorphopGen_1
mov dword [esp + 0x44], eax
add esp, 0x10
jmp 0x1006e446
mov edx, dword [esp + 0x1c]
push edx
push ebx
push eax
push esi
call sym.leptonlib.dll_pixFMorphopGen_1
mov ecx, dword [esp + 0x40]
push ecx
push ebx
push eax
push esi
mov dword [esp + 0x84], eax
call sym.leptonlib.dll_pixFMorphopGen_2
lea edx, [esp + 0x84]
push edx
mov dword [esp + 0x58], eax
call sym.leptonlib.dll_pixDestroy
add esp, 0x24
lea eax, [esp + 0x2c]
push eax
call sym.leptonlib.dll_pixDestroy
mov ecx, dword [esp + 0x38]
push 0x40
push ecx
call sym.leptonlib.dll_pixRemoveBorder
lea edx, [esp + 0x40]
push edx
mov dword [esp + 0x3c], eax
call sym.leptonlib.dll_pixDestroy
mov eax, dword [esp + 0x70]
mov edi, dword [sym.imp.MSVCR90.dll_free]
add esp, 0x10
cmp eax, esi
je 0x1006e481
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x5c]
cmp eax, esi
je 0x1006e48f
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x1c]
cmp eax, esi
je 0x1006e49d
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x30]
cmp eax, esi
je 0x1006e4ab
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x2c]
mov edi, eax
mov eax, dword [esp + 0x18]
cdq
sub eax, edx
sar eax, 1
sub eax, ebx
cmp eax, esi
mov dword [esp + 0x14], edi
jle 0x1006e75b
mov dword [esp + 0x3c], eax
jmp 0x1006e4d4
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x84]
cmp edi, esi
je 0x1006e614
push edi
call sym.leptonlib.dll_numaGetRefcount
add esp, 4
cmp eax, ebx
jne 0x1006e614
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x20]
push ecx
push esi
push esi
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x7c]
push eax
push 0x3f
mov dword [esp + 0x60], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
call sym.leptonlib.dll_getCompositeParameters
push esi
push 0x40
push edi
call sym.leptonlib.dll_pixAddBorder
add esp, 0x28
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x44], ebx
jne 0x1006e566
mov ecx, dword [esp + 0x1c]
push ecx
push ebx
push eax
push esi
call sym.leptonlib.dll_pixFMorphopGen_1
add esp, 0x10
mov dword [esp + 0x34], eax
jmp 0x1006e59b
mov edx, dword [esp + 0x1c]
push edx
push ebx
push eax
push esi
call sym.leptonlib.dll_pixFMorphopGen_1
mov ecx, dword [esp + 0x40]
push ecx
push ebx
push eax
push esi
mov dword [esp + 0x84], eax
call sym.leptonlib.dll_pixFMorphopGen_2
lea edx, [esp + 0x84]
push edx
mov dword [esp + 0x58], eax
call sym.leptonlib.dll_pixDestroy
add esp, 0x24
lea eax, [esp + 0x2c]
push eax
call sym.leptonlib.dll_pixDestroy
mov ecx, dword [esp + 0x38]
push 0x40
push ecx
call sym.leptonlib.dll_pixRemoveBorder
lea edx, [esp + 0x40]
push edx
mov dword [esp + 0x3c], eax
call sym.leptonlib.dll_pixDestroy
mov eax, dword [esp + 0x70]
mov edi, dword [sym.imp.MSVCR90.dll_free]
add esp, 0x10
cmp eax, esi
je 0x1006e5d6
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x5c]
cmp eax, esi
je 0x1006e5e4
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x1c]
cmp eax, esi
je 0x1006e5f2
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x30]
cmp eax, esi
je 0x1006e600
push eax
call edi
add esp, 4
cmp ebp, esi
je 0x1006e614
push esi
push esi
lea eax, [esp + 0x34]
push eax
push ebp
call sym.leptonlib.dll_pixTransferAllData
add esp, 0x10
mov edi, dword [esp + 0x84]
mov ebp, dword [esp + 0x14]
cmp edi, esi
je 0x1006e751
mov ecx, edi
push ecx
call sym.leptonlib.dll_numaGetRefcount
add esp, 4
cmp eax, ebx
jne 0x1006e751
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x1c]
push eax
push esi
push esi
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x6c]
push edx
push 0x3f
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x40], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], esi
call sym.leptonlib.dll_getCompositeParameters
push esi
push 0x40
push edi
call sym.leptonlib.dll_pixAddBorder
add esp, 0x28
mov dword [esp + 0x20], eax
cmp dword [esp + 0x40], ebx
jne 0x1006e6a9
mov ecx, dword [esp + 0x18]
push ecx
push ebx
push eax
push esi
call sym.leptonlib.dll_pixFMorphopGen_1
add esp, 0x10
mov dword [esp + 0x28], eax
jmp 0x1006e6d8
mov edx, dword [esp + 0x18]
push edx
push ebx
push eax
push esi
call sym.leptonlib.dll_pixFMorphopGen_1
mov ecx, dword [esp + 0x34]
push ecx
push ebx
push eax
push esi
mov dword [esp + 0x74], eax
call sym.leptonlib.dll_pixFMorphopGen_2
lea edx, [esp + 0x74]
push edx
mov dword [esp + 0x4c], eax
call sym.leptonlib.dll_pixDestroy
add esp, 0x24
lea eax, [esp + 0x20]
push eax
call sym.leptonlib.dll_pixDestroy
mov ecx, dword [esp + 0x2c]
push 0x40
push ecx
call sym.leptonlib.dll_pixRemoveBorder
lea edx, [esp + 0x34]
push edx
mov dword [esp + 0x30], eax
call sym.leptonlib.dll_pixDestroy
mov eax, dword [esp + 0x60]
mov edi, dword [sym.imp.MSVCR90.dll_free]
add esp, 0x10
cmp eax, esi
je 0x1006e713
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x4c]
cmp eax, esi
je 0x1006e721
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x1006e72f
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x24]
cmp eax, esi
je 0x1006e73d
push eax
call edi
add esp, 4
cmp ebp, esi
je 0x1006e751
push esi
push esi
lea eax, [esp + 0x28]
push eax
push ebp
call sym.leptonlib.dll_pixTransferAllData
add esp, 0x10
sub dword [esp + 0x3c], ebx
jne 0x1006e4d0
lea ecx, [esp + 0x84]
push ecx
call sym.leptonlib.dll_pixDestroy
lea edx, [esp + 0x14]
push edx
call sym.leptonlib.dll_pixDestroy
mov edi, dword [esp + 0x88]
add esp, 8
cmp edi, esi
jne 0x1006e78c
mov eax, dword [esp + 0x14]
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x6c
ret
push esi
push esi
lea eax, [esp + 0x1c]
push eax
push edi
call sym.leptonlib.dll_pixTransferAllData
add esp, 0x10
pop ebp
pop ebx
mov eax, edi
pop edi
pop esi
add esp, 0x6c
ret
mov eax, dword [esp + 0x80]
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x6c
ret