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

Disassembly:
sub esp, 0x278
mov eax, dword [0x10185cf0]
xor eax, esp
mov dword [esp + 0x274], eax
mov ecx, dword [esp + 0x284]
mov edx, dword [str.________break_]
mov eax, dword [esp + 0x27c]
mov dword [esp + 0x48], ecx
mov ecx, dword [0x1014461c]
mov dword [esp + 0x58], edx
mov edx, dword [0x10144620]
mov dword [esp + 0x5c], ecx
mov cx, word [0x10144624]
mov dword [esp + 0x60], edx
mov dl, byte [0x10144626]
mov word [esp + 0x64], cx
mov ecx, dword [str.static_void]
push edi
mov byte [esp + 0x6a], dl
mov edx, dword [0x10144610]
mov dword [esp + 0x6c], ecx
mov ecx, dword [0x10144614]
xor edi, edi
mov dword [esp + 0x40], eax
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], ecx
cmp eax, edi
jne 0x10045efc
lea eax, [edi + 1]
pop edi
mov ecx, dword [esp + 0x274]
xor ecx, esp
call fcn.101407ce
add esp, 0x278
ret
cmp dword [esp + 0x284], edi
jge 0x10045f0c
mov dword [esp + 0x284], edi
push ebx
push eax
call sym.leptonlib.dll_boxaGetCount
mov ebx, eax
add esp, 4
cmp ebx, edi
jne 0x10045f38
pop ebx
mov eax, 1
pop edi
mov ecx, dword [esp + 0x274]
xor ecx, esp
call fcn.101407ce
add esp, 0x278
ret
push esi
lea edx, [esp + 0x28]
push edx
push str.morphtemplate2.txt
call sym.leptonlib.dll_arrayRead
mov esi, eax
add esp, 8
cmp esi, edi
je 0x10045f64
push 1
push esi
call sym.leptonlib.dll_sarrayCreateLinesFromString
add esp, 8
mov dword [esp + 0x10], eax
cmp eax, edi
jne 0x10045f81
pop esi
pop ebx
mov eax, 1
pop edi
mov ecx, dword [esp + 0x274]
xor ecx, esp
call fcn.101407ce
add esp, 0x278
ret
push ebp
push esi
call dword [sym.imp.MSVCR90.dll_free]
lea ebp, [ebx + ebx]
push ebp
call sym.leptonlib.dll_sarrayCreate
add esp, 8
mov dword [esp + 0x24], eax
cmp eax, edi
je 0x100465ab
cmp ebx, edi
mov esi, dword [sym.imp.MSVCR90.dll_sprintf]
jle 0x10046010
jmp 0x10045fb0
mov eax, dword [esp + 0x290]
push edi
push eax
lea ecx, [esp + 0x8c]
push str.fdilate__d__d
push ecx
call esi
mov eax, dword [esp + 0x34]
push 1
lea edx, [esp + 0x98]
push edx
push eax
call sym.leptonlib.dll_sarrayAddString
mov ecx, dword [esp + 0x2ac]
push edi
push ecx
lea edx, [esp + 0xa8]
push str.ferode__d__d
push edx
call esi
mov ecx, dword [esp + 0x50]
push 1
lea eax, [esp + 0xb4]
push eax
push ecx
call sym.leptonlib.dll_sarrayAddString
inc edi
add esp, 0x38
cmp edi, ebx
jl 0x10045fb0
push ebp
call sym.leptonlib.dll_sarrayCreate
add esp, 4
mov dword [esp + 0x28], eax
test eax, eax
je 0x100465ab
xor edi, edi
test ebp, ebp
jle 0x1004606e
jmp 0x10046030
mov edx, dword [esp + 0x24]
push 0
push edi
push edx
call sym.leptonlib.dll_sarrayGetString
push str._l_uint32___l_int32__l_int32__l_int32__l_uint32___l_int32__
push eax
lea eax, [esp + 0x98]
push str.static_void___s_s
push eax
call esi
mov edx, dword [esp + 0x44]
push 1
lea ecx, [esp + 0xa4]
push ecx
push edx
call sym.leptonlib.dll_sarrayAddString
inc edi
add esp, 0x28
cmp edi, ebp
jl 0x10046030
mov ebx, dword [esp + 0x290]
push ebx
lea eax, [esp + 0x88]
push str.______________l_int32____fmorphopgen_low__d__
push eax
call esi
lea ecx, [esp + 0x90]
push ecx
call sym.leptonlib.dll_stringNew
push ebx
lea edx, [esp + 0x98]
push str.______________void_______fdilate__d___
push edx
mov edi, eax
call esi
lea eax, [esp + 0xa0]
push eax
call sym.leptonlib.dll_stringNew
push ebx
lea ecx, [esp + 0xa8]
push str.______________void_______ferode__d___
push ecx
mov dword [esp + 0x70], eax
call esi
lea edx, [esp + 0xb0]
push edx
call sym.leptonlib.dll_stringNew
push ebx
mov dword [esp + 0x88], eax
lea eax, [esp + 0xb8]
push str.___fmorphopgen_low__d__
push eax
call esi
lea ecx, [esp + 0xc0]
push ecx
call sym.leptonlib.dll_stringNew
add esp, 0x40
push ebx
lea edx, [esp + 0x88]
push str.fmorphopgen_low__d_l_uint32__datad_
push edx
mov dword [esp + 0x48], eax
call esi
lea eax, [esp + 0x90]
push eax
call sym.leptonlib.dll_stringNew
push 0
mov dword [esp + 0x78], eax
call sym.leptonlib.dll_sarrayCreate
add esp, 0x14
mov dword [esp + 0x10], eax
test eax, eax
je 0x100465ab
push 0
push 0x10143f6c
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x30]
push eax
push 0
push ecx
call sym.leptonlib.dll_sarrayParseRange
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x30]
push eax
push ecx
push edx
call sym.leptonlib.dll_sarrayAppendRange
mov eax, dword [esp + 0x3c]
push 0
push edi
push eax
call sym.leptonlib.dll_sarrayAddString
push 0
push 0x10143f6c
lea ecx, [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x5c]
lea edx, [esp + 0x60]
push edx
mov edx, dword [esp + 0x5c]
lea eax, [esp + 0x68]
push eax
push ecx
push edx
call sym.leptonlib.dll_sarrayParseRange
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x68]
add esp, 0x54
push eax
mov eax, dword [esp + 0x14]
push ecx
push edx
push eax
call sym.leptonlib.dll_sarrayAppendRange
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x20]
push 0
push ecx
push edx
call sym.leptonlib.dll_sarrayAddString
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x2c]
push 0
push eax
push ecx
call sym.leptonlib.dll_sarrayAddString
push 0
push 0x10143f6c
lea edx, [esp + 0x48]
push edx
mov edx, dword [esp + 0x4c]
lea eax, [esp + 0x50]
push eax
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0x58]
push ecx
push edx
push eax
call sym.leptonlib.dll_sarrayParseRange
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x58]
add esp, 0x44
push ecx
push edx
push eax
mov ecx, dword [esp + 0x1c]
push ecx
call sym.leptonlib.dll_sarrayAppendRange
add esp, 0x10
xor edi, edi
test ebp, ebp
jle 0x1004625d
lea esp, [esp]
mov edx, dword [esp + 0x28]
push 1
push edi
push edx
call sym.leptonlib.dll_sarrayGetString
add esp, 0xc
test eax, eax
je 0x100465ab
push 0
push eax
mov eax, dword [esp + 0x18]
push eax
call sym.leptonlib.dll_sarrayAddString
inc edi
add esp, 0xc
cmp edi, ebp
jl 0x10046230
push 0
push 0x10143f6c
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x28]
push edx
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x30]
push eax
push ecx
push edx
call sym.leptonlib.dll_sarrayParseRange
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x30]
push ecx
push edx
push eax
call sym.leptonlib.dll_sarrayAppendRange
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x3c]
push 0
push ecx
push edx
call sym.leptonlib.dll_sarrayAddString
push 0
push 0x10143f6c
lea eax, [esp + 0x58]
push eax
mov eax, dword [esp + 0x5c]
lea ecx, [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x5c]
lea edx, [esp + 0x68]
push edx
push eax
push ecx
call sym.leptonlib.dll_sarrayParseRange
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x68]
add esp, 0x54
push edx
mov edx, dword [esp + 0x14]
push eax
push ecx
push edx
call sym.leptonlib.dll_sarrayAppendRange
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x20]
push 0
push eax
push ecx
call sym.leptonlib.dll_sarrayAddString
push 0
push 0x10143f6c
lea edx, [esp + 0x3c]
push edx
mov edx, dword [esp + 0x40]
lea eax, [esp + 0x44]
push eax
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x4c]
push ecx
push edx
push eax
call sym.leptonlib.dll_sarrayParseRange
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x4c]
push edx
push eax
push ecx
call sym.leptonlib.dll_sarrayAppendRange
add esp, 0x48
xor edi, edi
test ebp, ebp
jle 0x100463c1
jmp 0x10046350
push edi
lea edx, [esp + 0x88]
push str.____case__d:
push edx
call esi
mov ecx, dword [esp + 0x1c]
push 1
lea eax, [esp + 0x94]
push eax
push ecx
call sym.leptonlib.dll_sarrayAddString
mov edx, dword [esp + 0x3c]
push 0
push edi
push edx
call sym.leptonlib.dll_sarrayGetString
push eax
lea eax, [esp + 0xac]
push str._________s_datad__w__h__wpld__datas__wpls__
push eax
call esi
mov edx, dword [esp + 0x40]
push 1
lea ecx, [esp + 0xb8]
push ecx
push edx
call sym.leptonlib.dll_sarrayAddString
mov ecx, dword [esp + 0x4c]
push 1
lea eax, [esp + 0xa8]
push eax
push ecx
call sym.leptonlib.dll_sarrayAddString
inc edi
add esp, 0x48
cmp edi, ebp
jl 0x10046350
push 0
push 0x10143f6c
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x28]
push eax
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x30]
push ecx
push edx
push eax
call sym.leptonlib.dll_sarrayParseRange
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x30]
push edx
push eax
push ecx
call sym.leptonlib.dll_sarrayAppendRange
push 0
push 0x10143f6c
lea edx, [esp + 0x4c]
push edx
mov edx, dword [esp + 0x50]
lea eax, [esp + 0x68]
push eax
mov eax, dword [esp + 0x50]
lea ecx, [esp + 0x98]
push ecx
push edx
push eax
call sym.leptonlib.dll_sarrayParseRange
add esp, 0x48
push 0
push 0x10143f6c
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x40]
push edx
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x48]
push eax
push ecx
push edx
call sym.leptonlib.dll_sarrayParseRange
push 0
push 0x10143f6c
lea eax, [esp + 0x3c]
push eax
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x70]
push ecx
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0x7c]
push edx
push eax
push ecx
call sym.leptonlib.dll_sarrayParseRange
add esp, 0x38
xor edi, edi
test ebp, ebp
jle 0x10046596
mov eax, dword [esp + 0x10]
push 1
lea edx, [esp + 0x7c]
push edx
push eax
call sym.leptonlib.dll_sarrayAddString
mov ecx, dword [esp + 0x30]
push 0
push edi
push ecx
call sym.leptonlib.dll_sarrayGetString
push eax
lea edx, [esp + 0xa0]
push str._s_l_uint32__datad_
push edx
call esi
mov ecx, dword [esp + 0x34]
push 1
lea eax, [esp + 0xac]
push eax
push ecx
call sym.leptonlib.dll_sarrayAddString
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x44]
push eax
push ecx
push edx
call sym.leptonlib.dll_sarrayAppendRange
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add esp, 0x40
push eax
mov eax, dword [esp + 0x50]
push eax
call sym.leptonlib.dll_pixacompGetPixcomp
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x100465ab
mov ecx, ebx
call fcn.10045790
mov dword [esp + 0x60], eax
test eax, eax
je 0x100465ab
mov ecx, dword [esp + 0x10]
push eax
push ecx
call sym.leptonlib.dll_sarrayConcatenate
lea edx, [esp + 0x68]
push edx
call sym.leptonlib.dll_sarrayDestroy
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x20]
push ecx
push edx
push eax
call sym.leptonlib.dll_sarrayAppendRange
push ebx
mov edx, edi
call fcn.10045c40
add esp, 0x20
mov dword [esp + 0x40], eax
test eax, eax
je 0x100465ab
mov ecx, dword [esp + 0x10]
push eax
push ecx
call sym.leptonlib.dll_sarrayConcatenate
lea edx, [esp + 0x48]
push edx
call sym.leptonlib.dll_sarrayDestroy
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x20]
push ecx
push edx
push eax
call sym.leptonlib.dll_sarrayAppendRange
inc edi
add esp, 0x1c
cmp edi, ebp
jl 0x10046481
mov ebx, dword [esp + 0x290]
mov ecx, dword [esp + 0x10]
push 1
push ecx
call sym.leptonlib.dll_sarrayToString
mov edi, eax
add esp, 8
test edi, edi
jne 0x100465b5
mov eax, 1
jmp 0x10046649
mov eax, edi
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100465c0
sub eax, edx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x58]
push ebx
test eax, eax
je 0x100465e6
push eax
push str._slow._d.c
lea edx, [esp + 0x90]
push edx
jmp 0x100465f8
push str.fmorphgen
push str._slow._d.c
lea eax, [esp + 0x90]
push eax
call esi
mov ecx, dword [esp + 0x3c]
add esp, 0x10
push ecx
push edi
lea edx, [esp + 0x8c]
push 0x101432bc
push edx
call sym.leptonlib.dll_arrayWrite
lea eax, [esp + 0x24]
push eax
call sym.leptonlib.dll_sarrayDestroy
lea ecx, [esp + 0x38]
push ecx
call sym.leptonlib.dll_sarrayDestroy
lea edx, [esp + 0x40]
push edx
call sym.leptonlib.dll_sarrayDestroy
lea eax, [esp + 0x2c]
push eax
call sym.leptonlib.dll_sarrayDestroy
push edi
call dword [sym.imp.MSVCR90.dll_free]
add esp, 0x24
xor eax, eax
mov ecx, dword [esp + 0x284]
pop ebp
pop esi
pop ebx
pop edi
xor ecx, esp
call fcn.101407ce
add esp, 0x278
ret