Function at 0x100cb110
Capabilities:
Encrypt data using rc4 ksa
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xc4
push esi
mov esi, dword [esp + 0xcc]
test esi, esi
jne 0x100cb12c
xor eax, eax
pop esi
add esp, 0xc4
ret
push ebx
push ebp
push edi
push esi
call sym.leptonlib.dll_pixConvertTo32
mov dword [esp + 0x84], eax
push 0
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x70]
push ecx
push esi
call sym.leptonlib.dll_pixGetDimensions
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x78]
push edx
cdq
sub eax, edx
sar eax, 1
push eax
push 0
push 0
call sym.leptonlib.dll_boxCreate
mov ecx, dword [esp + 0x88]
mov dword [esp + 0xac], eax
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x84]
sar eax, 1
push edx
sub ecx, eax
push ecx
push 0
push eax
call sym.leptonlib.dll_boxCreate
mov ebx, dword [esp + 0x11c]
mov edi, dword [esp + 0x120]
add esp, 0x34
mov dword [esp + 0x90], eax
test ebx, ebx
jne 0x100cb1c7
test edi, edi
jne 0x100cb1c7
mov eax, dword [esp + 0x80]
push eax
call sym.leptonlib.dll_boxClone
add esp, 4
mov dword [esp + 0x6c], eax
jmp 0x100cbe7e
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x80]
push 0
push ecx
push edx
call sym.leptonlib.dll_pixClipRectangle
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x9c]
push 0
push eax
push ecx
call sym.leptonlib.dll_pixClipRectangle
mov esi, dword [esp + 0xb4]
add esp, 0x18
mov dword [esp + 0xa8], eax
test esi, esi
jne 0x100cb218
xor eax, eax
jmp 0x100cb5b7
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x5c]
push ecx
push esi
call sym.leptonlib.dll_pixGetDimensions
mov eax, dword [esp + 0x44]
add esp, 0x10
cmp eax, 1
je 0x100cb24a
cmp eax, 8
je 0x100cb24a
cmp eax, 0x20
je 0x100cb24a
xor eax, eax
jmp 0x100cb5b7
test ebx, ebx
jne 0x100cb261
test edi, edi
jne 0x100cb261
push esi
push edi
call sym.leptonlib.dll_pixCopy
add esp, 8
jmp 0x100cb5b7
cmp eax, 1
jne 0x100cb5a8
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x70]
push ecx
push esi
call sym.leptonlib.dll_pixGetDimensions
mov eax, dword [esp + 0x5c]
add esp, 0x10
cmp eax, 1
je 0x100cb29c
cmp eax, 8
je 0x100cb29c
cmp eax, 0x20
je 0x100cb29c
xor eax, eax
jmp 0x100cb5b7
test ebx, ebx
jne 0x100cb2b3
test edi, edi
jne 0x100cb2b3
push esi
push edi
call sym.leptonlib.dll_pixCopy
add esp, 8
jmp 0x100cb5b7
push esi
call sym.leptonlib.dll_pixCreateTemplate
push 1
push eax
mov dword [esp + 0x28], eax
call sym.leptonlib.dll_pixSetBlackOrWhite
push esi
call sym.leptonlib.dll_pixGetData
mov edx, dword [esp + 0x2c]
push edx
mov dword [esp + 0x54], eax
call sym.leptonlib.dll_pixGetData
mov edi, eax
push esi
mov dword [esp + 0x88], edi
call sym.leptonlib.dll_dpixGetRefcount
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x34]
push eax
call sym.leptonlib.dll_dpixGetRefcount
fild dword [esp + 0x64]
fld1
mov ecx, dword [esp + 0x84]
mov ebp, dword [esp + 0x64]
fld st(0)
fdivrp st(2)
lea edx, [ebp - 1]
mov dword [esp + 0x40], eax
lea eax, [ecx - 1]
mov dword [esp + 0x2c], edx
mov edx, eax
add esp, 0x1c
xor ebx, ebx
imul edx, eax
fxch st(1)
fstp dword [esp + 0x20]
mov dword [esp + 0x38], edx
fidiv dword [esp + 0x38]
fstp dword [esp + 0x78]
test ecx, ecx
jle 0x100cb594
fld dword [esp + 0x20]
mov dword [esp + 0x2c], edi
fld dword [esp + 0x78]
mov dword [esp + 0x14], eax
jmp 0x100cb351
fxch st(1)
imul eax, eax
mov ecx, eax
imul eax, dword [esp + 0xec]
imul ecx, dword [esp + 0xe8]
mov dword [esp + 0x38], ecx
fild dword [esp + 0x38]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x4c]
sub eax, 1
fmul st(1)
fstp dword [esp + 0x44]
fimul dword [esp + 0x38]
fstp dword [esp + 0x30]
je 0x100cb4d3
sub eax, 7
je 0x100cb446
sub eax, 0x18
jne 0x100cb573
xor edi, edi
mov dword [esp + 0x28], edi
test ebp, ebp
jle 0x100cb41f
mov edx, dword [esp + 0x10]
fld dword [esp + 0x44]
fld dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
fld qword [0x10142230]
mov dword [esp + 0x18], edx
fild dword [esp + 0x28]
fmul st(2)
fild dword [esp + 0x18]
fmul st(4)
faddp st(1)
fmul st(4)
fstp dword [esp + 0x38]
fld dword [esp + 0x38]
fadd st(1)
call fcn.10140710
mov ecx, edi
sub ecx, eax
js 0x100cb402
cmp ecx, dword [esp + 0x10]
jg 0x100cb402
imul ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
add ecx, ebx
mov ecx, dword [eax + ecx*4]
mov dword [esi], ecx
mov ebp, dword [esp + 0x48]
mov eax, dword [esp + 0x24]
dec dword [esp + 0x18]
add eax, eax
add eax, eax
inc edi
add esi, eax
cmp edi, ebp
mov dword [esp + 0x28], edi
jl 0x100cb3c3
fstp st(2)
fstp st(0)
fstp st(0)
fstp st(0)
dec dword [esp + 0x14]
add dword [esp + 0x2c], 4
inc ebx
cmp ebx, dword [esp + 0x68]
jge 0x100cb594
fld dword [esp + 0x78]
mov eax, dword [esp + 0x14]
fld dword [esp + 0x20]
jmp 0x100cb34f
xor edi, edi
fstp st(0)
mov dword [esp + 0x28], edi
test ebp, ebp
jle 0x100cb421
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x70]
mov dword [esp + 0x18], edx
mov edi, edi
fild dword [esp + 0x28]
fmul dword [esp + 0x30]
fild dword [esp + 0x18]
fmul dword [esp + 0x44]
faddp st(1)
fmul dword [esp + 0x20]
fstp dword [esp + 0x38]
fld dword [esp + 0x38]
fadd qword [0x10142230]
call fcn.10140710
mov ecx, edi
sub ecx, eax
js 0x100cb4b7
cmp ecx, dword [esp + 0x10]
jg 0x100cb4b7
imul ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
lea ecx, [eax + ecx*4]
push ebx
push ecx
call sym.leptonlib.dll_l_getDataByte
push eax
push ebx
push esi
call sym.leptonlib.dll_l_setDataByte
mov ebp, dword [esp + 0x5c]
add esp, 0x14
mov eax, dword [esp + 0x24]
dec dword [esp + 0x18]
add eax, eax
add eax, eax
inc edi
add esi, eax
cmp edi, ebp
mov dword [esp + 0x28], edi
jl 0x100cb460
jmp 0x100cb421
xor esi, esi
fstp st(0)
mov dword [esp + 0x28], esi
test ebp, ebp
jle 0x100cb421
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x70]
lea ecx, [eax*4]
mov dword [esp + 0x18], edx
mov dword [esp + 0x5c], ecx
mov edi, edi
fild dword [esp + 0x28]
fmul dword [esp + 0x30]
fild dword [esp + 0x18]
fmul dword [esp + 0x44]
faddp st(1)
fmul dword [esp + 0x20]
fstp dword [esp + 0x38]
fld dword [esp + 0x38]
fadd qword [0x10142230]
call fcn.10140710
mov ecx, esi
sub ecx, eax
js 0x100cb55d
cmp ecx, dword [esp + 0x10]
jg 0x100cb55d
imul ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
lea eax, [edx + ecx*4]
push ebx
push eax
call sym.leptonlib.dll_l_getDataBit
add esp, 8
test eax, eax
je 0x100cb559
push ebx
push edi
call sym.leptonlib.dll_l_setDataBit
add esp, 8
mov ebp, dword [esp + 0x48]
dec dword [esp + 0x18]
add edi, dword [esp + 0x5c]
inc esi
cmp esi, ebp
mov dword [esp + 0x28], esi
jl 0x100cb500
jmp 0x100cb421
lea ecx, [esp + 0x1c]
fstp st(0)
push ecx
call sym.leptonlib.dll_pixDestroy
mov edi, dword [esp + 0xf0]
mov ebx, dword [esp + 0xec]
add esp, 4
xor eax, eax
jmp 0x100cb5b7
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0xec]
mov ebx, dword [esp + 0xe8]
jmp 0x100cb5b7
push 1
push edi
push ebx
push 1
push esi
call sym.leptonlib.dll_pixQuadraticVShearLI
add esp, 0x14
mov esi, dword [esp + 0xa8]
mov dword [esp + 0x94], eax
test esi, esi
jne 0x100cb5d0
xor eax, eax
jmp 0x100cbdc2
lea edx, [esp + 0xc4]
push edx
lea eax, [esp + 0xd0]
push eax
lea ecx, [esp + 0xd8]
push ecx
push esi
call sym.leptonlib.dll_pixGetDimensions
mov eax, dword [esp + 0xd4]
add esp, 0x10
cmp eax, 1
je 0x100cb60e
cmp eax, 8
je 0x100cb60e
cmp eax, 0x20
je 0x100cb60e
xor eax, eax
jmp 0x100cbdc2
test ebx, ebx
jne 0x100cb625
test edi, edi
jne 0x100cb625
push esi
push edi
call sym.leptonlib.dll_pixCopy
add esp, 8
jmp 0x100cbdc2
cmp eax, 1
jne 0x100cb942
lea edx, [esp + 0x78]
push edx
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x78]
push ecx
push esi
call sym.leptonlib.dll_pixGetDimensions
mov eax, dword [esp + 0x88]
add esp, 0x10
cmp eax, 1
je 0x100cb663
cmp eax, 8
je 0x100cb663
cmp eax, 0x20
je 0x100cb663
xor eax, eax
jmp 0x100cbdc2
test ebx, ebx
jne 0x100cb67a
test edi, edi
jne 0x100cb67a
push esi
push edi
call sym.leptonlib.dll_pixCopy
add esp, 8
jmp 0x100cbdc2
push esi
call sym.leptonlib.dll_pixCreateTemplate
push 1
push eax
mov dword [esp + 0x50], eax
call sym.leptonlib.dll_pixSetBlackOrWhite
push esi
call sym.leptonlib.dll_pixGetData
mov edx, dword [esp + 0x54]
push edx
mov dword [esp + 0x44], eax
call sym.leptonlib.dll_pixGetData
mov edi, eax
push esi
mov dword [esp + 0x80], edi
call sym.leptonlib.dll_dpixGetRefcount
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x5c]
push eax
call sym.leptonlib.dll_dpixGetRefcount
fild dword [esp + 0x58]
fld1
mov ecx, dword [esp + 0x8c]
mov ebp, dword [esp + 0x58]
fld st(0)
fdivrp st(2)
lea edx, [ebp - 1]
mov dword [esp + 0x48], eax
lea eax, [ecx - 1]
mov dword [esp + 0x2c], edx
mov edx, eax
add esp, 0x1c
xor esi, esi
imul edx, eax
fxch st(1)
fstp dword [esp + 0x20]
mov dword [esp + 0x34], edx
fidiv dword [esp + 0x34]
fstp dword [esp + 0x4c]
test ecx, ecx
jle 0x100cb939
mov dword [esp + 0x1c], edi
fld dword [esp + 0x20]
mov eax, esi
fld dword [esp + 0x4c]
imul eax, esi
mov ecx, eax
imul eax, dword [esp + 0xec]
imul ecx, ebx
mov dword [esp + 0x34], ecx
fild dword [esp + 0x34]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x78]
sub eax, 1
fmul st(1)
fstp dword [esp + 0x40]
fimul dword [esp + 0x34]
fstp dword [esp + 0x18]
je 0x100cb884
sub eax, 7
je 0x100cb7f9
sub eax, 0x18
jne 0x100cb923
xor ebx, ebx
mov dword [esp + 0x28], ebx
test ebp, ebp
jle 0x100cb7db
mov edx, dword [esp + 0x10]
fld dword [esp + 0x40]
fld dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
fld qword [0x10142230]
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
fmul st(3)
fild dword [esp + 0x28]
fmul st(3)
faddp st(1)
fmul st(4)
fstp dword [esp + 0x34]
fld dword [esp + 0x34]
fadd st(1)
call fcn.10140710
mov ecx, ebx
sub ecx, eax
js 0x100cb7be
cmp ecx, dword [esp + 0x10]
jg 0x100cb7be
imul ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x30]
add ecx, esi
mov ecx, dword [eax + ecx*4]
mov dword [edi], ecx
mov ebp, dword [esp + 0x3c]
mov eax, dword [esp + 0x2c]
dec dword [esp + 0x14]
add eax, eax
add eax, eax
inc ebx
add edi, eax
cmp ebx, ebp
mov dword [esp + 0x28], ebx
jl 0x100cb77f
fstp st(2)
fstp st(0)
fstp st(0)
fstp st(0)
add dword [esp + 0x1c], 4
inc esi
cmp esi, dword [esp + 0x70]
jge 0x100cb939
mov ebx, dword [esp + 0xe8]
jmp 0x100cb708
xor ebx, ebx
fstp st(0)
mov dword [esp + 0x28], ebx
test ebp, ebp
jle 0x100cb7dd
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x68]
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
fmul dword [esp + 0x40]
fild dword [esp + 0x28]
fmul dword [esp + 0x18]
faddp st(1)
fmul dword [esp + 0x20]
fstp dword [esp + 0x34]
fld dword [esp + 0x34]
fadd qword [0x10142230]
call fcn.10140710
mov ecx, ebx
sub ecx, eax
js 0x100cb868
cmp ecx, dword [esp + 0x10]
jg 0x100cb868
imul ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x30]
lea ecx, [eax + ecx*4]
push esi
push ecx
call sym.leptonlib.dll_l_getDataByte
push eax
push esi
push edi
call sym.leptonlib.dll_l_setDataByte
mov ebp, dword [esp + 0x50]
add esp, 0x14
mov eax, dword [esp + 0x2c]
dec dword [esp + 0x14]
add eax, eax
add eax, eax
inc ebx
add edi, eax
cmp ebx, ebp
mov dword [esp + 0x28], ebx
jl 0x100cb811
jmp 0x100cb7dd
xor edi, edi
fstp st(0)
mov dword [esp + 0x28], edi
test ebp, ebp
jle 0x100cb7dd
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x68]
lea ecx, [eax*4]
mov dword [esp + 0x14], edx
mov dword [esp + 0x38], ecx
nop
fild dword [esp + 0x14]
fmul dword [esp + 0x40]
fild dword [esp + 0x28]
fmul dword [esp + 0x18]
faddp st(1)
fmul dword [esp + 0x20]
fstp dword [esp + 0x34]
fld dword [esp + 0x34]
fadd qword [0x10142230]
call fcn.10140710
mov ecx, edi
sub ecx, eax
js 0x100cb90d
cmp ecx, dword [esp + 0x10]
jg 0x100cb90d
imul ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x30]
lea eax, [edx + ecx*4]
push esi
push eax
call sym.leptonlib.dll_l_getDataBit
add esp, 8
test eax, eax
je 0x100cb909
push esi
push ebx
call sym.leptonlib.dll_l_setDataBit
add esp, 8
mov ebp, dword [esp + 0x3c]
dec dword [esp + 0x14]
add ebx, dword [esp + 0x38]
inc edi
cmp edi, ebp
mov dword [esp + 0x28], edi
jl 0x100cb8b0
jmp 0x100cb7dd
lea ecx, [esp + 0x44]
fstp st(0)
push ecx
call sym.leptonlib.dll_pixDestroy
add esp, 4
xor eax, eax
jmp 0x100cbdc2
mov eax, dword [esp + 0x44]
jmp 0x100cbdc2
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x3c]
push ecx
push esi
call sym.leptonlib.dll_pixGetDimensions
add esp, 0x10
cmp dword [esp + 0x30], 1
jne 0x100cb968
xor eax, eax
jmp 0x100cbdc2
push esi
call sym.leptonlib.dll_pixGetColormap
mov ecx, dword [esp + 0x34]
add esp, 4
cmp ecx, 8
je 0x100cb987
cmp ecx, 0x20
je 0x100cb987
test eax, eax
je 0x100cbdc2
test ebx, ebx
jne 0x100cb99e
test edi, edi
jne 0x100cb99e
push esi
push edi
call sym.leptonlib.dll_pixCopy
add esp, 8
jmp 0x100cbdc2
test eax, eax
je 0x100cb9af
push 3
push esi
call sym.leptonlib.dll_pixRemoveColormap
add esp, 8
jmp 0x100cb9b8
push esi
call sym.leptonlib.dll_boxClone
add esp, 4
push eax
mov dword [esp + 0x14], eax
call sym.leptonlib.dll_numaGetRefcount
add esp, 4
mov dword [esp + 0x30], eax
cmp eax, 8
je 0x100cb9e7
cmp eax, 0x20
je 0x100cb9e7
lea edx, [esp + 0x10]
push edx
call sym.leptonlib.dll_pixDestroy
add esp, 4
xor eax, eax
jmp 0x100cbdc2
mov eax, dword [esp + 0x10]
push eax
call sym.leptonlib.dll_pixCreateTemplate
push 1
push eax
mov dword [esp + 0x24], eax
call sym.leptonlib.dll_pixSetBlackOrWhite
mov ecx, dword [esp + 0x1c]
push ecx
call sym.leptonlib.dll_pixGetData
mov edx, dword [esp + 0x28]
push edx
mov dword [esp + 0x4c], eax
call sym.leptonlib.dll_pixGetData
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x24]
push eax
call sym.leptonlib.dll_dpixGetRefcount
mov ecx, dword [esp + 0x30]
mov esi, eax
push ecx
mov dword [esp + 0x5c], esi
call sym.leptonlib.dll_dpixGetRefcount
fild dword [esp + 0x3c]
fld1
mov ecx, dword [esp + 0x50]
mov edi, dword [esp + 0x3c]
fld st(0)
fdivrp st(2)
lea edx, [edi - 1]
mov dword [esp + 0xc8], eax
lea eax, [ecx - 1]
mov dword [esp + 0x38], edx
mov edx, eax
add esp, 0x1c
mov dword [esp + 0x48], 0
imul edx, eax
fxch st(1)
fstp dword [esp + 0x5c]
mov dword [esp + 0x50], edx
fidiv dword [esp + 0x50]
fstp dword [esp + 0x68]
test ecx, ecx
jle 0x100cbdb1
lea eax, [esi*4]
mov dword [esp + 0x4c], eax
mov edi, edi
mov eax, dword [esp + 0x48]
fld dword [esp + 0x68]
imul eax, eax
mov ecx, eax
imul eax, dword [esp + 0xec]
imul ecx, dword [esp + 0xe8]
mov dword [esp + 0x50], ecx
fild dword [esp + 0x50]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x30]
fmul st(1)
fstp dword [esp + 0xc0]
fimul dword [esp + 0x50]
fstp dword [esp + 0x50]
cmp eax, 8
je 0x100cbc65
cmp eax, 0x20
jne 0x100cbf28
mov dword [esp + 0x28], 0
test edi, edi
jle 0x100cbd99
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0xa4]
mov edi, dword [esp + 0x48]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x14], edx
mov dword [esp + 0x24], eax
mov esi, edx
fild dword [esp + 0x14]
fmul dword [esp + 0xc0]
fild dword [esp + 0x28]
fmul dword [esp + 0x50]
faddp st(1)
fmul dword [esp + 0x5c]
fstp dword [esp + 0x54]
fld dword [esp + 0x54]
fmul qword [0x10149d50]
call fcn.10140710
mov ebp, dword [esp + 0x2c]
sub ebp, eax
mov eax, ebp
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
and ebp, 0x3f
test eax, eax
jl 0x100cbc31
cmp eax, esi
jg 0x100cbc31
mov edx, dword [esp + 0x38]
mov ecx, eax
imul ecx, dword [esp + 0x40]
cmp eax, esi
lea edx, [edx + ecx*4]
jge 0x100cbc27
mov eax, dword [esp + 0x48]
mov ecx, dword [edx + eax*4]
mov esi, dword [esp + 0x4c]
mov esi, dword [esi + edx]
mov edx, dword [esp + 0x24]
lea eax, [edx + eax*4]
push eax
mov edx, ecx
shr edx, 8
and edx, 0xff
mov eax, esi
shr eax, 8
and eax, 0xff
imul eax, ebp
mov ebx, 0x3f
sub ebx, ebp
imul edx, ebx
lea edi, [edx + eax + 0x1f]
mov eax, 0x4104105
mul edi
sub edi, edx
shr edi, 1
add edi, edx
mov edx, ecx
shr edx, 0x10
mov eax, esi
shr eax, 0x10
and eax, 0xff
and edx, 0xff
imul eax, ebp
imul edx, ebx
shr edi, 5
push edi
lea edi, [edx + eax + 0x1f]
shr ecx, 0x18
mov eax, 0x4104105
imul ecx, ebx
mul edi
shr esi, 0x18
imul esi, ebp
sub edi, edx
lea ecx, [ecx + esi + 0x1f]
shr edi, 1
add edi, edx
mov eax, 0x4104105
mul ecx
sub ecx, edx
shr ecx, 1
add ecx, edx
shr edi, 5
shr ecx, 5
push edi
push ecx
call sym.leptonlib.dll_composeRGBPixel
mov edi, dword [esp + 0x58]
mov esi, dword [esp + 0x2c]
add esp, 0x10
jmp 0x100cbc31
mov ecx, dword [edx + edi*4]
mov edx, dword [esp + 0x24]
mov dword [edx + edi*4], ecx
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0x28]
dec dword [esp + 0x14]
add dword [esp + 0x2c], 0x40
add eax, eax
add eax, eax
add dword [esp + 0x24], eax
inc ecx
cmp ecx, dword [esp + 0x20]
mov dword [esp + 0x28], ecx
jl 0x100cbb11
mov edi, dword [esp + 0x20]
jmp 0x100cbd99
mov dword [esp + 0x28], 0
test edi, edi
jle 0x100cbd99
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0xac]
mov ebp, dword [esp + 0x48]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xa4]
lea edx, [ecx*4]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x58], edx
mov dword [esp + 0x24], eax
lea ebx, [ebx]
fild dword [esp + 0x14]
fmul dword [esp + 0xc0]
fild dword [esp + 0x28]
fmul dword [esp + 0x50]
faddp st(1)
fmul dword [esp + 0x5c]
fstp dword [esp + 0x54]
fld dword [esp + 0x54]
fmul qword [0x10149d50]
call fcn.10140710
mov ecx, dword [esp + 0x2c]
sub ecx, eax
mov eax, ecx
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
and ecx, 0x3f
mov ebx, ecx
test eax, eax
jl 0x100cbd77
cmp eax, esi
jg 0x100cbd77
mov edx, dword [esp + 0x38]
mov ecx, eax
imul ecx, dword [esp + 0x40]
cmp eax, esi
lea edi, [edx + ecx*4]
push ebp
jge 0x100cbd5b
mov eax, dword [esp + 0x44]
add eax, eax
add eax, eax
add eax, edi
push eax
call sym.leptonlib.dll_l_getDataByte
mov esi, eax
push ebp
imul esi, ebx
push edi
call sym.leptonlib.dll_l_getDataByte
mov ecx, 0x3f
sub ecx, ebx
imul eax, ecx
lea ecx, [eax + esi + 0x1f]
mov esi, dword [esp + 0x2c]
mov eax, 0x82082083
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add esp, 0x10
add eax, edx
jmp 0x100cbd64
push edi
call sym.leptonlib.dll_l_getDataByte
add esp, 8
mov edx, dword [esp + 0x24]
push eax
push ebp
push edx
call sym.leptonlib.dll_l_setDataByte
mov edi, dword [esp + 0x2c]
add esp, 0xc
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x58]
dec dword [esp + 0x14]
add dword [esp + 0x2c], 0x40
add dword [esp + 0x24], ecx
inc eax
cmp eax, edi
mov dword [esp + 0x28], eax
jl 0x100cbcb0
mov eax, dword [esp + 0x48]
add dword [esp + 0x4c], 4
inc eax
cmp eax, dword [esp + 0x34]
mov dword [esp + 0x48], eax
jl 0x100cba90
lea ecx, [esp + 0x10]
push ecx
call sym.leptonlib.dll_pixDestroy
mov eax, dword [esp + 0x1c]
add esp, 4
mov edx, dword [esp + 0x60]
push 0x20
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x68]
push edx
push eax
call sym.leptonlib.dll_pixCreate
mov edx, dword [esp + 0xa0]
push 0
push 0
push edx
mov ecx, eax
mov eax, dword [esp + 0x78]
push 0x18
push eax
mov eax, dword [esp + 0x84]
cdq
sub eax, edx
sar eax, 1
push eax
push 0
push 0
push ecx
mov dword [esp + 0x9c], ecx
call sym.leptonlib.dll_pixRasterop
mov ecx, dword [esp + 0x94]
push 0
mov eax, ecx
cdq
push 0
sub eax, edx
mov edx, dword [esp + 0xe8]
push edx
mov edx, dword [esp + 0x9c]
push 0x18
sar eax, 1
push edx
sub ecx, eax
push ecx
push 0
push eax
mov eax, dword [esp + 0xbc]
push eax
call sym.leptonlib.dll_pixRasterop
lea ecx, [esp + 0xf0]
add esp, 0x54
push ecx
call sym.leptonlib.dll_pixDestroy
lea edx, [esp + 0xac]
push edx
call sym.leptonlib.dll_pixDestroy
lea eax, [esp + 0x9c]
push eax
call sym.leptonlib.dll_pixDestroy
lea ecx, [esp + 0xbc]
push ecx
call sym.leptonlib.dll_pixDestroy
add esp, 0x10
mov edx, dword [esp + 0x6c]
push 0
push edx
call sym.leptonlib.dll_pixGetRGBComponent
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x74]
push 1
push eax
call sym.leptonlib.dll_pixGetRGBComponent
mov ecx, dword [esp + 0x7c]
push 2
push ecx
mov dword [esp + 0xb0], eax
call sym.leptonlib.dll_pixGetRGBComponent
lea edx, [esp + 0x98]
push edx
mov dword [esp + 0xbc], eax
call sym.leptonlib.dll_pixDestroy
lea eax, [esp + 0x88]
push eax
call sym.leptonlib.dll_pixDestroy
mov eax, dword [esp + 0xfc]
mov ebx, dword [esp + 0x100]
mov ebp, dword [esp + 0x104]
add esp, 0x20
cmp dword [esp + 0xf0], 0
je 0x100cbf0e
neg eax
neg ebx
neg ebp
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe0], ebx
mov dword [esp + 0xe4], ebp
test eax, eax
jne 0x100cbf46
mov ecx, dword [esp + 0x7c]
push ecx
call sym.leptonlib.dll_boxClone
add esp, 4
mov dword [esp + 0x74], eax
jmp 0x100cc7a5
lea edx, [esp + 0x10]
push edx
call sym.leptonlib.dll_pixDestroy
lea eax, [esp + 0x1c]
push eax
call sym.leptonlib.dll_pixDestroy
add esp, 8
xor eax, eax
jmp 0x100cbdc2
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x7c]
push 0
push edx
push eax
call sym.leptonlib.dll_pixClipRectangle
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0x88]
push 0
push ecx
push edx
mov dword [esp + 0xd0], eax
call sym.leptonlib.dll_pixClipRectangle
mov edi, dword [esp + 0xd0]
add esp, 0x18
mov dword [esp + 0x8c], eax
test edi, edi
jne 0x100cbf94
xor ecx, ecx
jmp 0x100cc32d
push edi
call sym.leptonlib.dll_numaGetRefcount
add esp, 4
cmp eax, 1
je 0x100cbfb3
cmp eax, 8
je 0x100cbfb3
cmp eax, 0x20
je 0x100cbfb3
xor ecx, ecx
jmp 0x100cc326
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x58]
push edx
push edi
call sym.leptonlib.dll_pixGetDimensions
mov eax, dword [esp + 0x44]
add esp, 0x10
cmp eax, 8
je 0x100cbfe0
cmp eax, 0x20
je 0x100cbfe0
xor ecx, ecx
jmp 0x100cc326
push edi
call sym.leptonlib.dll_pixCreateTemplate
push 1
push eax
mov dword [esp + 0x1c], eax
call sym.leptonlib.dll_pixSetBlackOrWhite
push edi
call sym.leptonlib.dll_pixGetData
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x20]
push eax
call sym.leptonlib.dll_pixGetData
mov esi, eax
push edi
mov dword [esp + 0x74], esi
call sym.leptonlib.dll_dpixGetRefcount
mov ecx, dword [esp + 0x28]
push ecx
mov dword [esp + 0x40], eax
call sym.leptonlib.dll_dpixGetRefcount
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x4c], eax
add esp, 0x1c
lea eax, [ecx - 1]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x44], 0
test ecx, ecx
jle 0x100cc322
mov ecx, eax
imul ecx, eax
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x48], 0
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], eax
nop
mov eax, dword [esp + 0x40]
imul eax, eax
imul eax, dword [esp + 0xdc]
shl eax, 6
cdq
idiv dword [esp + 0x58]
mov ebx, dword [esp + 0x48]
sub ebx, eax
mov eax, ebx
cdq
and edx, 0x3f
add eax, edx
mov ebp, eax
sar ebp, 6
and ebx, 0x3f
test ebp, ebp
jl 0x100cc2f3
cmp ebp, dword [esp + 0x2c]
jg 0x100cc2f3
mov eax, dword [esp + 0x34]
cmp eax, 8
je 0x100cc209
cmp eax, 0x20
jne 0x100cc33f
cmp ebp, dword [esp + 0x2c]
jge 0x100cc1cd
mov dword [esp + 0x20], 0
test ecx, ecx
jle 0x100cc2f3
mov edx, dword [esp + 0x3c]
lea eax, [ebp*4]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x18]
lea ecx, [eax + 4]
mov ebp, 0x3f
add edx, ecx
sub ebp, ebx
sub eax, ecx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x54], eax
jmp 0x100cc100
mov eax, dword [esp + 0x4c]
mov esi, dword [eax]
mov ecx, dword [esp + 0x54]
mov ecx, dword [ecx + eax]
mov edx, dword [esp + 0x14]
push edx
mov edx, ecx
shr edx, 8
and edx, 0xff
mov eax, esi
imul edx, ebp
shr eax, 8
and eax, 0xff
imul eax, ebx
lea edi, [eax + edx + 0x1f]
mov eax, 0x4104105
mul edi
sub edi, edx
shr edi, 1
add edi, edx
mov edx, ecx
mov eax, esi
shr eax, 0x10
shr edx, 0x10
and eax, 0xff
imul eax, ebx
and edx, 0xff
imul edx, ebp
shr edi, 5
push edi
lea edi, [eax + edx + 0x1f]
shr ecx, 0x18
mov eax, 0x4104105
imul ecx, ebp
mul edi
shr esi, 0x18
imul esi, ebx
sub edi, edx
lea ecx, [esi + ecx + 0x1f]
shr edi, 1
add edi, edx
mov eax, 0x4104105
mul ecx
sub ecx, edx
shr ecx, 1
add ecx, edx
shr edi, 5
shr ecx, 5
push edi
push ecx
call sym.leptonlib.dll_composeRGBPixel
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
add ecx, ecx
add ecx, ecx
add dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x40]
add ecx, ecx
add ecx, ecx
add dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x2c]
inc eax
add esp, 0x10
cmp eax, ecx
mov dword [esp + 0x20], eax
jl 0x100cc100
jmp 0x100cc2f3
xor edx, edx
test ecx, ecx
jle 0x100cc2f3
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x3c]
add esi, esi
add edi, edi
add esi, esi
add edi, edi
lea ebp, [ecx + ebp*4]
mov ecx, dword [ebp]
mov dword [eax], ecx
mov ecx, dword [esp + 0x1c]
inc edx
add ebp, edi
add eax, esi
cmp edx, ecx
jl 0x100cc1f2
jmp 0x100cc2f3
cmp ebp, dword [esp + 0x2c]
jge 0x100cc2b0
mov dword [esp + 0x20], 0
test ecx, ecx
jle 0x100cc2f3
mov edx, dword [esp + 0x5c]
mov edi, dword [esp + 0x18]
mov eax, 0x3f
sub eax, ebx
mov dword [esp + 0x54], eax
mov dword [esp + 0x38], edx
lea ebx, [ebx]
lea eax, [ebp + 1]
push eax
push edi
call sym.leptonlib.dll_l_getDataByte
mov esi, eax
push ebp
imul esi, ebx
push edi
call sym.leptonlib.dll_l_getDataByte
imul eax, dword [esp + 0x64]
lea esi, [eax + esi + 0x1f]
mov eax, 0x82082083
imul esi
add edx, esi
mov esi, dword [esp + 0x48]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
mov eax, dword [esp + 0x58]
push eax
push esi
call sym.leptonlib.dll_l_setDataByte
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
add ecx, ecx
add ecx, ecx
add edi, ecx
mov ecx, dword [esp + 0x4c]
add ecx, ecx
add ecx, ecx
add esi, ecx
mov ecx, dword [esp + 0x38]
inc eax
add esp, 0x1c
cmp eax, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x38], esi
jl 0x100cc240
jmp 0x100cc2f3
xor edi, edi
test ecx, ecx
jle 0x100cc2f3
mov ebx, dword [esp + 0x5c]
mov esi, dword [esp + 0x18]
mov edi, edi
push ebp
push esi
call sym.leptonlib.dll_l_getDataByte
mov ecx, dword [esp + 0x4c]
push eax
push ecx
push ebx
call sym.leptonlib.dll_l_setDataByte
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
add eax, eax
add eax, eax
add esi, eax
mov eax, dword [esp + 0x44]
add eax, eax
add eax, eax
inc edi
add esp, 0x14
add ebx, eax
cmp edi, ecx
jl 0x100cc2c0
mov eax, dword [esp + 0x44]
dec dword [esp + 0x40]
add dword [esp + 0x48], 0x40
add dword [esp + 0x3c], 4
inc eax
cmp eax, dword [esp + 0x50]
mov dword [esp + 0x44], eax
jl 0x100cc060
mov ebp, dword [esp + 0xe4]
mov ebx, dword [esp + 0xe0]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x8c]
mov dword [esp + 0xbc], ecx
mov esi, eax
test eax, eax
jne 0x100cc35e
jmp 0x100cc6e2
lea edx, [esp + 0x10]
push edx
call sym.leptonlib.dll_pixDestroy
mov ebp, dword [esp + 0xe8]
mov ebx, dword [esp + 0xe4]
add esp, 4
xor ecx, ecx
jmp 0x100cc326
push eax
call sym.leptonlib.dll_numaGetRefcount
add esp, 4
cmp eax, 1
je 0x100cc380
cmp eax, 8
je 0x100cc380
cmp eax, 0x20
je 0x100cc380
xor eax, eax
jmp 0x100cc6e2
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x58]
push edx
push esi
call sym.leptonlib.dll_pixGetDimensions
mov eax, dword [esp + 0x44]
add esp, 0x10
cmp eax, 8
je 0x100cc3ad
cmp eax, 0x20
je 0x100cc3ad
xor eax, eax
jmp 0x100cc6e2
push esi
call sym.leptonlib.dll_pixCreateTemplate
push 1
push eax
mov dword [esp + 0x1c], eax
call sym.leptonlib.dll_pixSetBlackOrWhite
push esi
call sym.leptonlib.dll_pixGetData
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x20]
push eax
call sym.leptonlib.dll_pixGetData
mov edi, eax
push esi
mov dword [esp + 0x74], edi
call sym.leptonlib.dll_dpixGetRefcount
mov ecx, dword [esp + 0x28]
push ecx
mov dword [esp + 0x40], eax
call sym.leptonlib.dll_dpixGetRefcount
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x4c], eax
xor eax, eax
add esp, 0x1c
lea esi, [ecx - 1]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x3c], eax
test ecx, ecx
jle 0x100cc6de
mov ecx, dword [esp + 0x1c]
imul esi, esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edi
jmp 0x100cc42a
mov esi, dword [esp + 0x58]
mov eax, dword [esp + 0x3c]
imul eax, eax
imul eax, dword [esp + 0xdc]
shl eax, 6
cdq
idiv esi
mov ebx, dword [esp + 0x40]
sub ebx, eax
mov eax, ebx
cdq
and edx, 0x3f
add eax, edx
mov edi, eax
sar edi, 6
and ebx, 0x3f
test edi, edi
jl 0x100cc6b3
cmp edi, dword [esp + 0x2c]
jg 0x100cc6b3
mov eax, dword [esp + 0x34]
cmp eax, 8
je 0x100cc5c8
cmp eax, 0x20
jne 0x100cc7c2
cmp edi, dword [esp + 0x2c]
jge 0x100cc58d
mov dword [esp + 0x20], 0
test ecx, ecx
jle 0x100cc6b3
mov edx, dword [esp + 0x44]
lea eax, [edi*4]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x18]
lea ecx, [eax + 4]
mov ebp, 0x3f
add edx, ecx
sub ebp, ebx
sub eax, ecx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x54], eax
lea esp, [esp]
mov eax, dword [esp + 0x4c]
mov esi, dword [eax]
mov ecx, dword [esp + 0x54]
mov ecx, dword [ecx + eax]
mov edx, dword [esp + 0x14]
push edx
mov eax, ecx
shr eax, 8
and eax, 0xff
imul eax, ebp
mov edx, esi
shr edx, 8
and edx, 0xff
imul edx, ebx
lea edi, [eax + edx + 0x1f]
mov eax, 0x4104105
mul edi
sub edi, edx
shr edi, 1
add edi, edx
mov eax, ecx
shr eax, 0x10
mov edx, esi
shr edx, 0x10
and eax, 0xff
imul eax, ebp
and edx, 0xff
imul edx, ebx
shr edi, 5
push edi
lea edi, [eax + edx + 0x1f]
shr ecx, 0x18
mov eax, 0x4104105
imul ecx, ebp
mul edi
shr esi, 0x18
imul esi, ebx
sub edi, edx
lea ecx, [ecx + esi + 0x1f]
shr edi, 1
add edi, edx
mov eax, 0x4104105
mul ecx
sub ecx, edx
shr ecx, 1
add ecx, edx
shr edi, 5
shr ecx, 5
push edi
push ecx
call sym.leptonlib.dll_composeRGBPixel
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
add ecx, ecx
add ecx, ecx
add dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x40]
add ecx, ecx
add ecx, ecx
add dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x2c]
inc eax
add esp, 0x10
cmp eax, ecx
mov dword [esp + 0x20], eax
jl 0x100cc4c0
jmp 0x100cc6b3
xor edx, edx
test ecx, ecx
jle 0x100cc6b3
mov esi, dword [esp + 0x30]
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x44]
add esi, esi
add ebx, ebx
add esi, esi
add ebx, ebx
lea edi, [ecx + edi*4]
mov ecx, dword [edi]
mov dword [eax], ecx
mov ecx, dword [esp + 0x1c]
inc edx
add edi, ebx
add eax, esi
cmp edx, ecx
jl 0x100cc5b2
jmp 0x100cc6b3
cmp edi, dword [esp + 0x2c]
jge 0x100cc670
mov dword [esp + 0x20], 0
test ecx, ecx
jle 0x100cc6b3
mov edx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x18]
mov eax, 0x3f
sub eax, ebx
mov dword [esp + 0x54], eax
mov dword [esp + 0x38], edx
lea esp, [esp]
lea eax, [edi + 1]
push eax
push ebp
call sym.leptonlib.dll_l_getDataByte
mov esi, eax
push edi
imul esi, ebx
push ebp
call sym.leptonlib.dll_l_getDataByte
imul eax, dword [esp + 0x64]
lea esi, [eax + esi + 0x1f]
mov eax, 0x82082083
imul esi
add edx, esi
mov esi, dword [esp + 0x48]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
mov eax, dword [esp + 0x50]
push eax
push esi
call sym.leptonlib.dll_l_setDataByte
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
add ecx, ecx
add ecx, ecx
add ebp, ecx
mov ecx, dword [esp + 0x4c]
add ecx, ecx
add ecx, ecx
add esi, ecx
mov ecx, dword [esp + 0x38]
inc eax
add esp, 0x1c
cmp eax, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x38], esi
jl 0x100cc600
jmp 0x100cc6b3
xor ebp, ebp
test ecx, ecx
jle 0x100cc6b3
mov ebx, dword [esp + 0x5c]
mov esi, dword [esp + 0x18]
mov edi, edi
push edi
push esi
call sym.leptonlib.dll_l_getDataByte
mov ecx, dword [esp + 0x44]
push eax
push ecx
push ebx
call sym.leptonlib.dll_l_setDataByte
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
add eax, eax
add eax, eax
add esi, eax
mov eax, dword [esp + 0x44]
add eax, eax
add eax, eax
inc ebp
add esp, 0x14
add ebx, eax
cmp ebp, ecx
jl 0x100cc680
mov eax, dword [esp + 0x3c]
add dword [esp + 0x40], 0x40
add dword [esp + 0x44], 4
inc eax
cmp eax, dword [esp + 0x50]
mov dword [esp + 0x3c], eax
jl 0x100cc422
mov ebp, dword [esp + 0xe4]
mov ebx, dword [esp + 0xe0]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x64]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x60]
push 8
push eax
push ecx
call sym.leptonlib.dll_pixCreate
mov edx, dword [esp + 0xc8]
push 0
push 0
push edx
mov ecx, eax
mov eax, dword [esp + 0x78]
push 0x18
push eax
mov eax, dword [esp + 0x84]
cdq
sub eax, edx
sar eax, 1
push eax
push 0
push 0
push ecx
mov dword [esp + 0xa4], ecx
call sym.leptonlib.dll_pixRasterop
mov ecx, dword [esp + 0x94]
push 0
mov eax, ecx
cdq
push 0
sub eax, edx
mov edx, dword [esp + 0xec]
push edx
mov edx, dword [esp + 0x9c]
push 0x18
sar eax, 1
push edx
sub ecx, eax
push ecx
push 0
push eax
mov eax, dword [esp + 0xc4]
push eax
call sym.leptonlib.dll_pixRasterop
lea ecx, [esp + 0x10c]
add esp, 0x54
push ecx
call sym.leptonlib.dll_pixDestroy
lea edx, [esp + 0x90]
push edx
call sym.leptonlib.dll_pixDestroy
lea eax, [esp + 0xc4]
push eax
call sym.leptonlib.dll_pixDestroy
lea ecx, [esp + 0xc0]
push ecx
call sym.leptonlib.dll_pixDestroy
mov eax, dword [esp + 0x84]
add esp, 0x10
test ebx, ebx
jne 0x100cc7e4
test ebp, ebp
jne 0x100cc801
push eax
call sym.leptonlib.dll_boxClone
add esp, 4
mov dword [esp + 0x84], eax
jmp 0x100cc880
lea edx, [esp + 0x10]
push edx
call sym.leptonlib.dll_pixDestroy
mov ebp, dword [esp + 0xe8]
mov ebx, dword [esp + 0xe4]
add esp, 4
xor eax, eax
jmp 0x100cc6e2
cmp ebx, ebp
jne 0x100cc801
push 1
push 0
push ebx
push eax
push 0
call sym.leptonlib.dll_pixTranslate
mov dword [esp + 0x98], eax
jmp 0x100cc87d
mov edx, ebp
sub edx, ebx
mov dword [esp + 0x58], edx
fild dword [esp + 0x58]
push eax
fstp dword [esp + 0x58]
call sym.leptonlib.dll_pixGetHeight
mov dword [esp + 0x5c], eax
fild dword [esp + 0x5c]
lea eax, [ebx + ebp]
cdq
fdivr dword [esp + 0x58]
push 1
sub eax, edx
push 0
sar eax, 1
push eax
mov eax, dword [esp + 0x84]
push eax
push 0
fstp dword [esp + 0x70]
call sym.leptonlib.dll_pixTranslate
fld dword [esp + 0x70]
mov ecx, eax
mov eax, dword [esp + 0x78]
add esp, 0x18
cdq
push 1
push ecx
sub eax, edx
sar eax, 1
fstp dword [esp]
push eax
push ecx
mov dword [esp + 0xd8], ecx
call sym.leptonlib.dll_pixHShearLI
lea ecx, [esp + 0xd8]
push ecx
mov dword [esp + 0x98], eax
call sym.leptonlib.dll_pixDestroy
add esp, 0x14
mov edx, dword [esp + 0xa0]
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x84]
push edx
push eax
push ecx
call sym.leptonlib.dll_pixCreateRGBImage
lea edx, [esp + 0x94]
push edx
mov esi, eax
call sym.leptonlib.dll_boxDestroy
lea eax, [esp + 0xa0]
push eax
call sym.leptonlib.dll_boxDestroy
lea ecx, [esp + 0x88]
push ecx
call sym.leptonlib.dll_pixDestroy
lea edx, [esp + 0x9c]
push edx
call sym.leptonlib.dll_pixDestroy
lea eax, [esp + 0x98]
push eax
call sym.leptonlib.dll_pixDestroy
lea ecx, [esp + 0xb8]
push ecx
call sym.leptonlib.dll_pixDestroy
lea edx, [esp + 0xc4]
push edx
call sym.leptonlib.dll_pixDestroy
add esp, 0x28
pop edi
pop ebp
pop ebx
mov eax, esi
pop esi
add esp, 0xc4
ret