Function at 0x1006e7c0
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 0x1006e7d9
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 0x1006e7f7
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 0x1006ff0c
mov eax, dword [esp + 0x8c]
cmp eax, ebx
jl 0x1006ff0c
cmp ebp, 0x40
jge 0x1006e83b
cmp eax, 0x40
jge 0x1006e83b
mov ecx, dword [esp + 0x80]
push eax
push ebp
push edi
push ecx
call sym.leptonlib.dll_pixErodeCompBrickDwa
add esp, 0x10
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x6c
ret
cmp ebp, 0x3f
jle 0x1006e85b
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 0x1006e87b
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 0x1006e8a3
push edi
call sym.leptonlib.dll_boxClone
mov ecx, eax
add esp, 4
mov dword [esp + 0x10], ecx
jmp 0x1006f8c4
cmp ebp, 0x40
jge 0x1006ea03
push edi
call sym.leptonlib.dll_numaGetRefcount
add esp, 4
cmp eax, ebx
je 0x1006e8c6
xor eax, eax
mov ecx, eax
mov dword [esp + 0x10], ecx
jmp 0x1006f8c4
cmp ebp, 0x3f
jg 0x1006e9ec
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 + 0x1c], esi
mov dword [esp + 0x18], esi
jle 0x1006e912
push esi
push esi
lea ecx, [esp + 0x24]
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 ebx
push 2
call sym.leptonlib.dll_getMorphBorderPixelColor
push eax
push 0x40
push edi
call sym.leptonlib.dll_pixAddBorder
add esp, 0x14
mov dword [esp + 0x24], eax
cmp dword [esp + 0x34], ebx
jne 0x1006e947
mov edx, dword [esp + 0x18]
push edx
push 2
push eax
push esi
call sym.leptonlib.dll_pixFMorphopGen_1
add esp, 0x10
mov dword [esp + 0x20], eax
jmp 0x1006e978
mov ecx, dword [esp + 0x18]
push ecx
push 2
push eax
push esi
call sym.leptonlib.dll_pixFMorphopGen_1
mov edx, dword [esp + 0x2c]
push edx
push 2
push eax
push esi
mov dword [esp + 0x5c], eax
call sym.leptonlib.dll_pixFMorphopGen_2
mov dword [esp + 0x40], 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 + 0x24]
push 0x40
push edx
call sym.leptonlib.dll_pixRemoveBorder
mov dword [esp + 0x30], eax
lea eax, [esp + 0x2c]
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 0x1006e9b3
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x1c]
cmp eax, esi
je 0x1006e9c1
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x38]
cmp eax, esi
je 0x1006e9cf
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x30]
cmp eax, esi
je 0x1006e9dd
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x24]
mov ecx, eax
mov dword [esp + 0x10], ecx
jmp 0x1006f8c4
push ebx
push ebp
push edi
push esi
call sym.leptonlib.dll_pixErodeCompBrickExtendDwa
mov ecx, eax
add esp, 0x10
mov dword [esp + 0x10], ecx
jmp 0x1006f8c4
jne 0x1006eb39
push edi
call sym.leptonlib.dll_numaGetRefcount
add esp, 4
cmp eax, ebx
je 0x1006ea21
xor ecx, ecx
mov dword [esp + 0x10], ecx
jmp 0x1006f8c4
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 ebx
push 2
call sym.leptonlib.dll_getMorphBorderPixelColor
push eax
push 0x40
push edi
call sym.leptonlib.dll_pixAddBorder
add esp, 0x30
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x34], ebx
jne 0x1006ea96
mov edx, dword [esp + 0x18]
push edx
push 2
push eax
push esi
call sym.leptonlib.dll_pixFMorphopGen_1
add esp, 0x10
mov dword [esp + 0x24], eax
jmp 0x1006eac7
mov ecx, dword [esp + 0x18]
push ecx
push 2
push eax
push esi
call sym.leptonlib.dll_pixFMorphopGen_1
mov edx, dword [esp + 0x30]
push edx
push 2
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 0x1006eb02
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x20]
cmp eax, esi
je 0x1006eb10
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x38]
cmp eax, esi
je 0x1006eb1e
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x30]
cmp eax, esi
je 0x1006eb2c
push eax
call edi
add esp, 4
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x10], ecx
jmp 0x1006f8c4
mov ebp, dword [esp + 0x40]
cmp ebp, 3
jge 0x1006eb4c
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x18], ecx
jmp 0x1006eb55
mov edx, dword [esp + 0x34]
inc edx
mov dword [esp + 0x18], edx
push edi
test byte [esp + 0x1c], bl
je 0x1006f0b2
call sym.leptonlib.dll_numaGetRefcount
add esp, 4
cmp ebp, 2
jle 0x1006ecd4
cmp eax, ebx
jne 0x1006eccb
cmp ebp, ebx
jl 0x1006eccb
cmp ebp, 0x3f
jg 0x1006ecb8
cmp ebp, ebx
jne 0x1006eb9f
push edi
push esi
call sym.leptonlib.dll_pixCopy
add esp, 8
mov ecx, eax
jmp 0x1006edee
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 0x1006ebe2
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 ebx
push 2
call sym.leptonlib.dll_getMorphBorderPixelColor
push eax
push 0x40
push edi
call sym.leptonlib.dll_pixAddBorder
add esp, 0x14
mov dword [esp + 0x28], eax
cmp dword [esp + 0x34], ebx
jne 0x1006ec17
mov ecx, dword [esp + 0x1c]
push ecx
push 2
push eax
push esi
call sym.leptonlib.dll_pixFMorphopGen_1
add esp, 0x10
mov dword [esp + 0x24], eax
jmp 0x1006ec48
mov edx, dword [esp + 0x1c]
push edx
push 2
push eax
push esi
call sym.leptonlib.dll_pixFMorphopGen_1
mov ecx, dword [esp + 0x30]
push ecx
push 2
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 0x1006ec83
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x20]
cmp eax, esi
je 0x1006ec91
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x38]
cmp eax, esi
je 0x1006ec9f
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x30]
cmp eax, esi
je 0x1006ecad
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x28]
mov ecx, eax
jmp 0x1006edee
push ebx
push ebp
push edi
push esi
call sym.leptonlib.dll_pixErodeCompBrickExtendDwa
add esp, 0x10
mov ecx, eax
jmp 0x1006edee
xor eax, eax
mov ecx, eax
jmp 0x1006edee
cmp eax, ebx
je 0x1006ecdf
xor ecx, ecx
jmp 0x1006edee
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 ebx
push 2
call sym.leptonlib.dll_getMorphBorderPixelColor
push eax
push 0x40
push edi
call sym.leptonlib.dll_pixAddBorder
add esp, 0x30
mov dword [esp + 0x20], eax
cmp dword [esp + 0x34], ebx
jne 0x1006ed54
mov ecx, dword [esp + 0x1c]
push ecx
push 2
push eax
push esi
call sym.leptonlib.dll_pixFMorphopGen_1
add esp, 0x10
mov dword [esp + 0x28], eax
jmp 0x1006ed85
mov edx, dword [esp + 0x1c]
push edx
push 2
push eax
push esi
call sym.leptonlib.dll_pixFMorphopGen_1
mov ecx, dword [esp + 0x34]
push ecx
push 2
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 0x1006edc0
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x24]
cmp eax, esi
je 0x1006edce
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x38]
cmp eax, esi
je 0x1006eddc
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x30]
cmp eax, esi
je 0x1006edea
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 0x1006f8c4
mov dword [esp + 0x40], eax
jmp 0x1006ee10
mov ebp, dword [esp + 0x84]
mov edi, ecx
cmp ecx, esi
je 0x1006ef58
push ecx
call sym.leptonlib.dll_numaGetRefcount
add esp, 4
cmp eax, ebx
jne 0x1006ef54
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 ebx
push 2
call sym.leptonlib.dll_getMorphBorderPixelColor
push eax
push 0x40
push edi
call sym.leptonlib.dll_pixAddBorder
add esp, 0x30
mov dword [esp + 0x20], eax
cmp dword [esp + 0x38], ebx
jne 0x1006eeaa
mov ecx, dword [esp + 0x1c]
push ecx
push 2
push eax
push esi
call sym.leptonlib.dll_pixFMorphopGen_1
add esp, 0x10
mov dword [esp + 0x28], eax
jmp 0x1006eedb
mov edx, dword [esp + 0x1c]
push edx
push 2
push eax
push esi
call sym.leptonlib.dll_pixFMorphopGen_1
mov ecx, dword [esp + 0x34]
push ecx
push 2
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 0x1006ef16
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x24]
cmp eax, esi
je 0x1006ef24
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x50]
cmp eax, esi
je 0x1006ef32
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x54]
cmp eax, esi
je 0x1006ef40
push eax
call edi
add esp, 4
cmp ebp, esi
je 0x1006ef54
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 0x1006f0a3
push edi
call sym.leptonlib.dll_numaGetRefcount
add esp, 4
cmp eax, ebx
jne 0x1006f09f
push esi
push esi
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x6c]
push ecx
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 ebx
push 2
call sym.leptonlib.dll_getMorphBorderPixelColor
push eax
push 0x40
push edi
call sym.leptonlib.dll_pixAddBorder
add esp, 0x30
mov dword [esp + 0x34], eax
cmp dword [esp + 0x3c], ebx
jne 0x1006eff5
mov edx, dword [esp + 0x18]
push edx
push 2
push eax
push esi
call sym.leptonlib.dll_pixFMorphopGen_1
add esp, 0x10
mov dword [esp + 0x2c], eax
jmp 0x1006f026
mov ecx, dword [esp + 0x18]
push ecx
push 2
push eax
push esi
call sym.leptonlib.dll_pixFMorphopGen_1
mov edx, dword [esp + 0x40]
push edx
push 2
push eax
push esi
mov dword [esp + 0x7c], eax
call sym.leptonlib.dll_pixFMorphopGen_2
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x7c]
push eax
call sym.leptonlib.dll_pixDestroy
add esp, 0x24
lea ecx, [esp + 0x34]
push ecx
call sym.leptonlib.dll_pixDestroy
mov edx, dword [esp + 0x30]
push 0x40
push edx
call sym.leptonlib.dll_pixRemoveBorder
mov dword [esp + 0x40], eax
lea eax, [esp + 0x38]
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 0x1006f061
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x30]
cmp eax, esi
je 0x1006f06f
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x60]
cmp eax, esi
je 0x1006f07d
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x64]
cmp eax, esi
je 0x1006f08b
push eax
call edi
add esp, 4
cmp ebp, esi
je 0x1006f09f
push esi
push esi
lea ecx, [esp + 0x3c]
push ecx
push ebp
call sym.leptonlib.dll_pixTransferAllData
add esp, 0x10
mov ecx, dword [esp + 0x10]
sub dword [esp + 0x40], ebx
jne 0x1006ee10
jmp 0x1006f8c4
cmp ebp, 2
jle 0x1006f377
mov dword [esp + 0x24], eax
call sym.leptonlib.dll_numaGetRefcount
add esp, 4
cmp eax, ebx
jne 0x1006f234
cmp ebp, ebx
jl 0x1006f234
cmp ebp, 0x3f
jg 0x1006f224
cmp ebp, ebx
jne 0x1006f0f7
mov edx, dword [esp + 0x20]
push edi
push edx
call sym.leptonlib.dll_pixCopy
add esp, 8
jmp 0x1006f234
cmp ebp, ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x1c], esi
jle 0x1006f13a
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 ebp
call sym.leptonlib.dll_getCompositeParameters
add esp, 0x1c
push ebx
push 2
call sym.leptonlib.dll_getMorphBorderPixelColor
push eax
push 0x40
push edi
call sym.leptonlib.dll_pixAddBorder
add esp, 0x14
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x40], ebx
jne 0x1006f16f
mov ecx, dword [esp + 0x1c]
push ecx
push 2
push eax
push esi
call sym.leptonlib.dll_pixFMorphopGen_1
add esp, 0x10
mov dword [esp + 0x34], eax
jmp 0x1006f1a6
mov edx, dword [esp + 0x1c]
push edx
push 2
push eax
push esi
call sym.leptonlib.dll_pixFMorphopGen_1
mov ecx, dword [esp + 0x40]
push ecx
push 2
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 0x1006f1e1
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x30]
cmp eax, esi
je 0x1006f1ef
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x5c]
cmp eax, esi
je 0x1006f1fd
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x58]
cmp eax, esi
je 0x1006f20b
push eax
call edi
add esp, 4
cmp dword [esp + 0x20], esi
je 0x1006f234
mov ecx, dword [esp + 0x20]
push esi
push esi
lea eax, [esp + 0x34]
push eax
push ecx
call sym.leptonlib.dll_pixTransferAllData
jmp 0x1006f231
mov edx, dword [esp + 0x20]
push ebx
push ebp
push edi
push edx
call sym.leptonlib.dll_pixErodeCompBrickExtendDwa
add esp, 0x10
mov edi, dword [esp + 0x84]
cmp edi, esi
jne 0x1006f246
xor ecx, ecx
jmp 0x1006f606
push edi
call sym.leptonlib.dll_numaGetRefcount
add esp, 4
cmp eax, ebx
je 0x1006f25a
xor ecx, ecx
jmp 0x1006f606
push esi
push esi
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x2c]
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 + 0x3c], esi
call sym.leptonlib.dll_getCompositeParameters
push ebx
push 2
call sym.leptonlib.dll_getMorphBorderPixelColor
push eax
push 0x40
push edi
call sym.leptonlib.dll_pixAddBorder
add esp, 0x30
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x40], ebx
jne 0x1006f2d5
mov ecx, dword [esp + 0x20]
push ecx
push 2
push eax
push esi
call sym.leptonlib.dll_pixFMorphopGen_1
add esp, 0x10
mov dword [esp + 0x34], eax
jmp 0x1006f30c
mov edx, dword [esp + 0x20]
push edx
push 2
push eax
push esi
call sym.leptonlib.dll_pixFMorphopGen_1
mov ecx, dword [esp + 0x40]
push ecx
push 2
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 + 0x30]
mov edi, dword [sym.imp.MSVCR90.dll_free]
add esp, 0x10
cmp eax, esi
je 0x1006f347
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x30]
cmp eax, esi
je 0x1006f355
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x5c]
cmp eax, esi
je 0x1006f363
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x58]
cmp eax, esi
je 0x1006f602
push eax
call edi
jmp 0x1006f5ff
mov dword [esp + 0x40], eax
call sym.leptonlib.dll_numaGetRefcount
add esp, 4
cmp eax, ebx
jne 0x1006f4be
push esi
push esi
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x2c]
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 + 0x3c], esi
call sym.leptonlib.dll_getCompositeParameters
push ebx
push 2
call sym.leptonlib.dll_getMorphBorderPixelColor
push eax
push 0x40
push edi
call sym.leptonlib.dll_pixAddBorder
add esp, 0x30
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x40], ebx
jne 0x1006f406
mov ecx, dword [esp + 0x20]
push ecx
push 2
push eax
push esi
call sym.leptonlib.dll_pixFMorphopGen_1
add esp, 0x10
mov dword [esp + 0x34], eax
jmp 0x1006f43d
mov edx, dword [esp + 0x20]
push edx
push 2
push eax
push esi
call sym.leptonlib.dll_pixFMorphopGen_1
mov ecx, dword [esp + 0x40]
push ecx
push 2
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 + 0x30]
mov ebp, dword [sym.imp.MSVCR90.dll_free]
add esp, 0x10
cmp eax, esi
je 0x1006f478
push eax
call ebp
add esp, 4
mov eax, dword [esp + 0x30]
cmp eax, esi
je 0x1006f486
push eax
call ebp
add esp, 4
mov eax, dword [esp + 0x5c]
cmp eax, esi
je 0x1006f494
push eax
call ebp
add esp, 4
mov eax, dword [esp + 0x58]
cmp eax, esi
je 0x1006f4a2
push eax
call ebp
add esp, 4
cmp dword [esp + 0x3c], esi
je 0x1006f4c4
mov ecx, dword [esp + 0x3c]
push esi
push esi
lea eax, [esp + 0x34]
push eax
push ecx
call sym.leptonlib.dll_pixTransferAllData
add esp, 0x10
jmp 0x1006f4c4
mov ebp, dword [sym.imp.MSVCR90.dll_free]
mov edi, dword [esp + 0x84]
cmp edi, esi
jne 0x1006f4d6
xor ecx, ecx
jmp 0x1006f606
mov edx, dword [esp + 0x84]
push edx
call sym.leptonlib.dll_numaGetRefcount
add esp, 4
cmp eax, ebx
je 0x1006f4f1
xor ecx, ecx
jmp 0x1006f606
push esi
push esi
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x2c]
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 + 0x3c], esi
call sym.leptonlib.dll_getCompositeParameters
push ebx
push 2
call sym.leptonlib.dll_getMorphBorderPixelColor
push eax
push 0x40
push edi
call sym.leptonlib.dll_pixAddBorder
add esp, 0x30
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x40], ebx
jne 0x1006f56c
mov ecx, dword [esp + 0x20]
push ecx
push 2
push eax
push esi
call sym.leptonlib.dll_pixFMorphopGen_1
add esp, 0x10
mov dword [esp + 0x34], eax
jmp 0x1006f5a3
mov edx, dword [esp + 0x20]
push edx
push 2
push eax
push esi
call sym.leptonlib.dll_pixFMorphopGen_1
mov ecx, dword [esp + 0x40]
push ecx
push 2
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 + 0x30]
add esp, 0x10
cmp eax, esi
je 0x1006f5d8
push eax
call ebp
add esp, 4
mov eax, dword [esp + 0x30]
cmp eax, esi
je 0x1006f5e6
push eax
call ebp
add esp, 4
mov eax, dword [esp + 0x5c]
cmp eax, esi
je 0x1006f5f4
push eax
call ebp
add esp, 4
mov eax, dword [esp + 0x58]
cmp eax, esi
je 0x1006f602
push eax
call ebp
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 0x1006f8c4
mov dword [esp + 0x38], eax
mov ebp, dword [esp + 0x84]
mov edi, ecx
cmp ecx, esi
je 0x1006f772
push ecx
call sym.leptonlib.dll_numaGetRefcount
add esp, 4
cmp eax, ebx
jne 0x1006f76e
push esi
push esi
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x2c]
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 + 0x3c], esi
call sym.leptonlib.dll_getCompositeParameters
push ebx
push 2
call sym.leptonlib.dll_getMorphBorderPixelColor
push eax
push 0x40
push edi
call sym.leptonlib.dll_pixAddBorder
add esp, 0x30
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x40], ebx
jne 0x1006f6be
mov ecx, dword [esp + 0x20]
push ecx
push 2
push eax
push esi
call sym.leptonlib.dll_pixFMorphopGen_1
add esp, 0x10
mov dword [esp + 0x34], eax
jmp 0x1006f6f5
mov edx, dword [esp + 0x20]
push edx
push 2
push eax
push esi
call sym.leptonlib.dll_pixFMorphopGen_1
mov ecx, dword [esp + 0x40]
push ecx
push 2
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 + 0x30]
mov edi, dword [sym.imp.MSVCR90.dll_free]
add esp, 0x10
cmp eax, esi
je 0x1006f730
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x30]
cmp eax, esi
je 0x1006f73e
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x5c]
cmp eax, esi
je 0x1006f74c
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x58]
cmp eax, esi
je 0x1006f75a
push eax
call edi
add esp, 4
cmp ebp, esi
je 0x1006f76e
push esi
push esi
lea eax, [esp + 0x34]
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 0x1006f8ba
push edi
call sym.leptonlib.dll_numaGetRefcount
add esp, 4
cmp eax, ebx
jne 0x1006f8b6
push esi
push esi
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x68]
push ecx
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 + 0x38], esi
call sym.leptonlib.dll_getCompositeParameters
push ebx
push 2
call sym.leptonlib.dll_getMorphBorderPixelColor
push eax
push 0x40
push edi
call sym.leptonlib.dll_pixAddBorder
add esp, 0x30
mov dword [esp + 0x18], eax
cmp dword [esp + 0x3c], ebx
jne 0x1006f80c
mov edx, dword [esp + 0x1c]
push edx
push 2
push eax
push esi
call sym.leptonlib.dll_pixFMorphopGen_1
add esp, 0x10
mov dword [esp + 0x28], eax
jmp 0x1006f83d
mov ecx, dword [esp + 0x1c]
push ecx
push 2
push eax
push esi
call sym.leptonlib.dll_pixFMorphopGen_1
mov edx, dword [esp + 0x34]
push edx
push 2
push eax
push esi
mov dword [esp + 0x70], eax
call sym.leptonlib.dll_pixFMorphopGen_2
mov dword [esp + 0x48], eax
lea eax, [esp + 0x70]
push eax
call sym.leptonlib.dll_pixDestroy
add esp, 0x24
lea ecx, [esp + 0x18]
push ecx
call sym.leptonlib.dll_pixDestroy
mov edx, dword [esp + 0x2c]
push 0x40
push edx
call sym.leptonlib.dll_pixRemoveBorder
mov dword [esp + 0x24], eax
lea eax, [esp + 0x34]
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 0x1006f878
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x24]
cmp eax, esi
je 0x1006f886
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x4c]
cmp eax, esi
je 0x1006f894
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x48]
cmp eax, esi
je 0x1006f8a2
push eax
call edi
add esp, 4
cmp ebp, esi
je 0x1006f8b6
push esi
push esi
lea ecx, [esp + 0x20]
push ecx
push ebp
call sym.leptonlib.dll_pixTransferAllData
add esp, 0x10
mov ecx, dword [esp + 0x10]
sub dword [esp + 0x38], ebx
jne 0x1006f621
mov eax, dword [esp + 0x8c]
cmp eax, ebx
jne 0x1006f8e1
push ecx
call sym.leptonlib.dll_boxClone
add esp, 4
mov dword [esp + 0x14], eax
jmp 0x1006fec1
cmp eax, 0x40
jge 0x1006f8fb
push eax
push ebx
push ecx
push esi
call sym.leptonlib.dll_pixErodeCompBrickDwa
add esp, 0x10
mov dword [esp + 0x14], eax
jmp 0x1006fec1
jne 0x1006fa4e
mov edi, ecx
cmp ecx, esi
jne 0x1006f912
xor eax, eax
mov dword [esp + 0x14], eax
jmp 0x1006fec1
push ecx
call sym.leptonlib.dll_numaGetRefcount
add esp, 4
cmp eax, ebx
je 0x1006f92a
xor eax, eax
mov dword [esp + 0x14], eax
jmp 0x1006fec1
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x24]
push eax
push esi
push esi
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x78]
push edx
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 + 0x3c], esi
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], esi
call sym.leptonlib.dll_getCompositeParameters
push ebx
push 2
call sym.leptonlib.dll_getMorphBorderPixelColor
push eax
push 0x40
push edi
call sym.leptonlib.dll_pixAddBorder
add esp, 0x30
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x40], ebx
jne 0x1006f9a5
mov ecx, dword [esp + 0x20]
push ecx
push 2
push eax
push esi
call sym.leptonlib.dll_pixFMorphopGen_1
add esp, 0x10
mov dword [esp + 0x34], eax
jmp 0x1006f9dc
mov edx, dword [esp + 0x20]
push edx
push 2
push eax
push esi
call sym.leptonlib.dll_pixFMorphopGen_1
mov ecx, dword [esp + 0x40]
push ecx
push 2
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 + 0x6c]
mov edi, dword [sym.imp.MSVCR90.dll_free]
add esp, 0x10
cmp eax, esi
je 0x1006fa17
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x58]
cmp eax, esi
je 0x1006fa25
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x20]
cmp eax, esi
je 0x1006fa33
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x30]
cmp eax, esi
je 0x1006fa41
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
jmp 0x1006fec1
mov eax, dword [esp + 0x68]
cmp eax, 3
mov edx, dword [esp + 0x44]
jl 0x1006fa5c
inc edx
mov dword [esp + 0x18], edx
test bl, dl
je 0x1006fc07
cmp eax, 2
jle 0x1006fa7e
push eax
push ebx
push ecx
push esi
call sym.leptonlib.dll_pixErodeCompBrickDwa
add esp, 0x10
jmp 0x1006fbba
mov edi, ecx
cmp ecx, esi
jne 0x1006fa8b
xor eax, eax
jmp 0x1006fbba
push ecx
call sym.leptonlib.dll_numaGetRefcount
add esp, 4
cmp eax, ebx
je 0x1006fa9f
xor eax, eax
jmp 0x1006fbba
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x24]
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 + 0x3c], esi
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
call sym.leptonlib.dll_getCompositeParameters
push ebx
push 2
call sym.leptonlib.dll_getMorphBorderPixelColor
push eax
push 0x40
push edi
call sym.leptonlib.dll_pixAddBorder
add esp, 0x30
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x44], ebx
jne 0x1006fb1a
mov ecx, dword [esp + 0x20]
push ecx
push 2
push eax
push esi
call sym.leptonlib.dll_pixFMorphopGen_1
add esp, 0x10
mov dword [esp + 0x34], eax
jmp 0x1006fb51
mov edx, dword [esp + 0x20]
push edx
push 2
push eax
push esi
call sym.leptonlib.dll_pixFMorphopGen_1
mov ecx, dword [esp + 0x40]
push ecx
push 2
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 0x1006fb8c
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x5c]
cmp eax, esi
je 0x1006fb9a
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x20]
cmp eax, esi
je 0x1006fba8
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x30]
cmp eax, esi
je 0x1006fbb6
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
cdq
sub eax, edx
sar eax, 1
cmp eax, esi
jle 0x1006fec1
mov edi, eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x84]
push 0x3f
push ebx
push eax
push ecx
call sym.leptonlib.dll_pixErodeCompBrickDwa
mov edx, dword [esp + 0x94]
mov eax, dword [esp + 0x24]
push 0x3f
push ebx
push edx
push eax
call sym.leptonlib.dll_pixErodeCompBrickDwa
add esp, 0x20
sub edi, ebx
jne 0x1006fbd1
jmp 0x1006fec1
cmp eax, 2
jle 0x1006fd1f
push eax
push ebx
push ecx
mov ecx, dword [esp + 0x90]
push ecx
call sym.leptonlib.dll_pixErodeCompBrickDwa
mov edi, dword [esp + 0x94]
add esp, 0x10
cmp edi, esi
jne 0x1006fc35
xor eax, eax
jmp 0x1006fe74
push edi
call sym.leptonlib.dll_numaGetRefcount
add esp, 4
cmp eax, ebx
je 0x1006fc49
xor eax, eax
jmp 0x1006fe74
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x24]
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 + 0x3c], esi
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
call sym.leptonlib.dll_getCompositeParameters
push ebx
push 2
call sym.leptonlib.dll_getMorphBorderPixelColor
push eax
push 0x40
push edi
call sym.leptonlib.dll_pixAddBorder
add esp, 0x30
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x44], ebx
jne 0x1006fcc4
mov ecx, dword [esp + 0x20]
push ecx
push 2
push eax
push esi
call sym.leptonlib.dll_pixFMorphopGen_1
add esp, 0x10
mov dword [esp + 0x34], eax
jmp 0x1006fcfb
mov edx, dword [esp + 0x20]
push edx
push 2
push eax
push esi
call sym.leptonlib.dll_pixFMorphopGen_1
mov ecx, dword [esp + 0x40]
push ecx
push 2
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]
mov dword [esp + 0x38], eax
push edx
jmp 0x1006fe2a
mov eax, dword [esp + 0x84]
push 0x3f
push ebx
push ecx
push eax
call sym.leptonlib.dll_pixErodeCompBrickDwa
mov edi, dword [esp + 0x94]
add esp, 0x10
cmp edi, esi
jne 0x1006fd45
xor eax, eax
jmp 0x1006fe74
push edi
call sym.leptonlib.dll_numaGetRefcount
add esp, 4
cmp eax, ebx
je 0x1006fd59
xor eax, eax
jmp 0x1006fe74
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x24]
push edx
push esi
push esi
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x7c]
push ecx
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 + 0x3c], esi
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
call sym.leptonlib.dll_getCompositeParameters
push ebx
push 2
call sym.leptonlib.dll_getMorphBorderPixelColor
push eax
push 0x40
push edi
call sym.leptonlib.dll_pixAddBorder
add esp, 0x30
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x44], ebx
jne 0x1006fdd4
mov edx, dword [esp + 0x20]
push edx
push 2
push eax
push esi
call sym.leptonlib.dll_pixFMorphopGen_1
add esp, 0x10
mov dword [esp + 0x34], eax
jmp 0x1006fe0b
mov ecx, dword [esp + 0x20]
push ecx
push 2
push eax
push esi
call sym.leptonlib.dll_pixFMorphopGen_1
mov edx, dword [esp + 0x40]
push edx
push 2
push eax
push esi
mov dword [esp + 0x84], eax
call sym.leptonlib.dll_pixFMorphopGen_2
mov dword [esp + 0x54], eax
lea eax, [esp + 0x84]
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 + 0x70]
mov edi, dword [sym.imp.MSVCR90.dll_free]
add esp, 0x10
cmp eax, esi
je 0x1006fe46
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x5c]
cmp eax, esi
je 0x1006fe54
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x20]
cmp eax, esi
je 0x1006fe62
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x30]
cmp eax, esi
je 0x1006fe70
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
cdq
sub eax, edx
sar eax, 1
sub eax, ebx
cmp eax, esi
jle 0x1006fec1
mov edi, eax
lea esp, [esp]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x84]
push 0x3f
push ebx
push ecx
push edx
call sym.leptonlib.dll_pixErodeCompBrickDwa
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x24]
push 0x3f
push ebx
push eax
push ecx
call sym.leptonlib.dll_pixErodeCompBrickDwa
add esp, 0x20
sub edi, ebx
jne 0x1006fe90
lea edx, [esp + 0x84]
push edx
call sym.leptonlib.dll_pixDestroy
lea eax, [esp + 0x14]
push eax
call sym.leptonlib.dll_pixDestroy
mov edi, dword [esp + 0x88]
add esp, 8
cmp edi, esi
jne 0x1006fef2
mov eax, dword [esp + 0x14]
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x6c
ret
push esi
push esi
lea ecx, [esp + 0x1c]
push ecx
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