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

Disassembly:
sub esp, 0x74
mov eax, dword [0x10185cf0]
xor eax, esp
mov dword [esp + 0x70], eax
mov ecx, dword [0x10144964]
mov edx, dword [0x10144968]
mov eax, dword [esp + 0x78]
mov dword [esp + 0x40], ecx
movzx ecx, byte [0x1014496c]
mov dword [esp + 0x44], edx
mov edx, dword [0x10144958]
mov dword [esp + 0x58], edx
movzx edx, byte [0x10144960]
mov byte [esp + 0x48], cl
mov ecx, dword [0x1014495c]
mov dword [esp + 0x5c], ecx
mov ecx, dword [0x1014494c]
mov byte [esp + 0x60], dl
mov edx, dword [0x10144950]
mov dword [esp + 0x4c], ecx
movzx ecx, byte [0x10144954]
mov dword [esp + 0x50], edx
mov edx, dword [0x10144940]
push ebx
mov dword [esp + 0x68], edx
movzx edx, byte [0x10144948]
push esi
mov esi, dword [esp + 0x84]
mov byte [esp + 0x5c], cl
mov ecx, dword [0x10144944]
xor ebx, ebx
mov dword [esp + 0x24], esi
mov dword [esp + 0x70], ecx
mov byte [esp + 0x74], dl
cmp esi, ebx
jne 0x10043387
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.101407ce
add esp, 0x74
ret
fldz
fstp dword [esi]
cmp eax, ebx
je 0x10043371
cmp dword [esp + 0x88], ebx
jne 0x100433a3
mov dword [esp + 0x88], 0x46
push edi
mov edi, dword [esp + 0x90]
cmp edi, ebx
jge 0x100433b1
xor edi, edi
push ebx
push str.c1.8__c30.1
push eax
call sym.leptonlib.dll_pixMorphSequenceDwa
push ebx
push 0x20
push 0x20
push 0x20
push 0x20
push eax
mov dword [esp + 0x64], eax
call sym.leptonlib.dll_pixAddBorderGeneral
mov dword [esp + 0x38], eax
lea eax, [esp + 0x64]
push eax
call sym.leptonlib.dll_pixDestroy
add esp, 0x28
cmp edi, ebx
mov dword [esp + 0x18], ebx
jle 0x100434ca
mov ecx, dword [esp + 0x14]
push ebp
push ebx
push str.o10.1
push ecx
call sym.leptonlib.dll_pixMorphSequenceDwa
push 8
push ebx
push eax
mov dword [esp + 0x28], eax
call sym.leptonlib.dll_pixConnComp
mov edx, dword [esp + 0x28]
push edx
mov dword [esp + 0x30], eax
call sym.leptonlib.dll_pixCreateTemplate
mov dword [esp + 0x38], eax
lea eax, [esp + 0x2c]
push eax
call sym.leptonlib.dll_pixDestroy
mov ecx, dword [esp + 0x34]
push ecx
call sym.leptonlib.dll_boxaGetCount
mov ebp, eax
add esp, 0x24
cmp ebp, ebx
jle 0x100434bc
lea esi, [edi + edi]
mov edx, dword [esp + 0x14]
push 2
push ebx
push edx
call sym.leptonlib.dll_boxaGetBox
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0x50]
push edx
push eax
mov dword [esp + 0x5c], eax
call sym.leptonlib.dll_boxGetGeometry
mov eax, dword [esp + 0x40]
add esp, 0x20
cmp eax, esi
jle 0x100434a6
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
push 0
push 0
push 0
push 0x1e
add ecx, 0xd
push ecx
mov ecx, dword [esp + 0x30]
sub eax, esi
push eax
mov eax, dword [esp + 0x50]
add edx, 0xfffffffa
push edx
add eax, edi
push eax
push ecx
call sym.leptonlib.dll_pixRasterop
add esp, 0x24
lea edx, [esp + 0x3c]
push edx
call sym.leptonlib.dll_boxDestroy
inc ebx
add esp, 4
cmp ebx, ebp
jl 0x10043441
mov esi, dword [esp + 0x2c]
lea eax, [esp + 0x14]
push eax
call sym.leptonlib.dll_boxaDestroy
add esp, 4
pop ebp
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x4c]
push ecx
push edx
push 0
call sym.leptonlib.dll_pixFlipFHMTGen
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x70]
push eax
push ecx
push 0
call sym.leptonlib.dll_pixFlipFHMTGen
push eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x28]
push eax
push eax
call sym.leptonlib.dll_pixOr
mov eax, dword [esp + 0x3c]
add esp, 0x24
test eax, eax
je 0x1004351a
push eax
mov eax, dword [esp + 0x10]
push eax
push eax
call sym.leptonlib.dll_pixAnd
add esp, 0xc
mov edx, dword [esp + 0xc]
push 0
push 0
push 1
push 1
push edx
call sym.leptonlib.dll_pixReduceRankBinaryCascade
push 0
lea ecx, [esp + 0x44]
push ecx
push eax
mov dword [esp + 0x44], eax
call sym.leptonlib.dll_pixCountPixels
lea edx, [esp + 0x2c]
push edx
call sym.leptonlib.dll_pixDestroy
lea eax, [esp + 0x44]
push eax
call sym.leptonlib.dll_pixDestroy
lea ecx, [esp + 0x4c]
push ecx
call sym.leptonlib.dll_pixDestroy
mov eax, dword [esp + 0x40]
lea edx, [esp + 0x84]
push edx
push eax
push 0
call sym.leptonlib.dll_pixFlipFHMTGen
mov edx, dword [esp + 0x4c]
lea ecx, [esp + 0xa8]
push ecx
push edx
push 0
mov dword [esp + 0x50], eax
call sym.leptonlib.dll_pixFlipFHMTGen
add esp, 0x44
push eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x10]
push eax
push eax
call sym.leptonlib.dll_pixOr
mov eax, dword [esp + 0x24]
add esp, 0xc
test eax, eax
je 0x100435b4
push eax
mov eax, dword [esp + 0x10]
push eax
push eax
call sym.leptonlib.dll_pixAnd
add esp, 0xc
mov eax, dword [esp + 0xc]
push 0
push 0
push 1
push 1
push eax
call sym.leptonlib.dll_pixReduceRankBinaryCascade
push 0
lea ecx, [esp + 0x48]
push ecx
push eax
mov dword [esp + 0x44], eax
call sym.leptonlib.dll_pixCountPixels
lea edx, [esp + 0x2c]
push edx
call sym.leptonlib.dll_pixDestroy
lea eax, [esp + 0x44]
push eax
call sym.leptonlib.dll_pixDestroy
lea ecx, [esp + 0x4c]
push ecx
call sym.leptonlib.dll_pixDestroy
fild dword [esp + 0x58]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
fstp dword [esp + 0x48]
add esp, 0x2c
cmp eax, ecx
fild dword [esp + 0x30]
fstp dword [esp + 0x10]
jg 0x10043616
mov eax, ecx
cmp eax, dword [esp + 0x8c]
fld dword [esp + 0x1c]
fld dword [esp + 0x10]
jle 0x10043640
fld st(1)
fsub st(1)
fstp qword [esp + 0x38]
faddp st(1)
call sub.MSVCR90.dll__CIsqrt
fdivr qword [esp + 0x38]
fadd st(0), st(0)
fstp dword [esi]
jmp 0x10043644
fstp st(1)
fstp st(0)
cmp dword [esp + 0x94], 0
je 0x100436e0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1004366a
push 3
push eax
push str.junkpixm2
call sym.leptonlib.dll_pixWrite
add esp, 0xc
fld dword [esi]
mov esi, dword [sym.imp.MSVCR90.dll___iob_func]
sub esp, 0x18
fstp qword [esp + 0x10]
fld dword [esp + 0x28]
fstp qword [esp + 8]
fld dword [esp + 0x34]
fstp qword [esp]
push 0x101448f0
call esi
mov edi, dword [sym.imp.MSVCR90.dll_fprintf]
add eax, 0x40
push eax
call edi
mov ebx, dword [esp + 0x48]
fld dword [ebx]
add esp, 0x20
fcomp qword [0x101448e8]
fnstsw ax
test ah, 0x41
jne 0x100436c1
push str.Text_is_rightside_up_n
call esi
add eax, 0x40
push eax
call edi
add esp, 8
fld dword [ebx]
fcomp qword [0x101448e0]
fnstsw ax
test ah, 5
jp 0x100436e0
push str.Text_is_upside_down_n
call esi
add eax, 0x40
push eax
call edi
add esp, 8
lea edx, [esp + 0x14]
push edx
call sym.leptonlib.dll_pixDestroy
lea eax, [esp + 0x1c]
push eax
call sym.leptonlib.dll_pixDestroy
mov ecx, dword [esp + 0x84]
add esp, 8
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.101407ce
add esp, 0x74
ret