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

Disassembly:
sub esp, 0x4c
mov eax, dword [esp + 0x54]
fld dword [esp + 0x68]
cdq
push ebx
sub eax, edx
push esi
mov esi, dword [esp + 0x60]
push edi
mov edi, eax
mov eax, esi
cdq
sub eax, edx
mov ebx, eax
lea eax, [esi - 2]
sar edi, 1
sar ebx, 1
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x30], eax
call sub.MSVCR90.dll__CIsin
fmul qword [0x10142278]
fstp dword [esp + 0x1c]
fld dword [esp + 0x74]
call sub.MSVCR90.dll__CIcos
fmul qword [0x10142278]
fstp dword [esp + 0x18]
test esi, esi
jle 0x100ab6ba
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x5c]
lea edx, [ecx*4]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x44], edx
mov dword [esp + 0x64], eax
mov dword [esp + 0x2c], esi
push ebp
jmp 0x100ab500
cmp dword [esp + 0x64], 0
mov dword [esp + 0x78], 0
jle 0x100ab69e
fild dword [esp + 0x18]
mov eax, edi
neg eax
mov dword [esp + 0x14], edi
fstp dword [esp + 0x2c]
mov dword [esp + 0x10], eax
fld dword [esp + 0x2c]
fld st(0)
fmul dword [esp + 0x20]
fstp qword [esp + 0x4c]
fmul dword [esp + 0x1c]
fstp qword [esp + 0x54]
lea ecx, [ecx]
fild dword [esp + 0x10]
fmul dword [esp + 0x1c]
fsub qword [esp + 0x4c]
call fcn.10140710
fild dword [esp + 0x14]
mov esi, eax
fmul dword [esp + 0x20]
fsub qword [esp + 0x54]
call fcn.10140710
mov ebp, esi
mov ecx, eax
sar ebp, 4
sar ecx, 4
add ebp, edi
and esi, 0xf
and eax, 0xf
add ecx, ebx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], eax
test ebp, ebp
jl 0x100ab665
test ecx, ecx
jl 0x100ab665
mov edx, dword [esp + 0x64]
add edx, 0xfffffffe
cmp ebp, edx
jg 0x100ab665
cmp ecx, dword [esp + 0x34]
jg 0x100ab665
imul ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
mov edi, 0x10
sub edi, eax
lea ebx, [edx + ecx*4]
mov eax, 0x10
sub eax, esi
push ebp
push ebx
mov dword [esp + 0x40], edi
mov dword [esp + 0x2c], eax
call sym.leptonlib.dll_l_getDataByte
mov esi, eax
imul esi, dword [esp + 0x2c]
lea eax, [ebp + 1]
imul esi, edi
push eax
push ebx
mov dword [esp + 0x4c], eax
call sym.leptonlib.dll_l_getDataByte
mov edi, eax
imul edi, dword [esp + 0x48]
mov eax, dword [esp + 0x84]
imul edi, dword [esp + 0x3c]
lea ebx, [ebx + eax*4]
push ebp
push ebx
call sym.leptonlib.dll_l_getDataByte
mov ecx, dword [esp + 0x54]
mov ebp, eax
imul ebp, dword [esp + 0x3c]
imul ebp, dword [esp + 0x40]
push ecx
push ebx
call sym.leptonlib.dll_l_getDataByte
imul eax, dword [esp + 0x48]
imul eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x88]
add eax, ebp
add eax, edi
lea eax, [eax + esi + 0x80]
cdq
and edx, 0xff
add eax, edx
sar eax, 8
movzx edx, al
mov eax, dword [esp + 0x98]
push edx
push eax
push ecx
call sym.leptonlib.dll_l_setDataByte
mov ebx, dword [esp + 0x6c]
mov edi, dword [esp + 0x70]
add esp, 0x2c
jmp 0x100ab67d
movzx edx, byte [esp + 0x7c]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x68]
push edx
push eax
push ecx
call sym.leptonlib.dll_l_setDataByte
add esp, 0xc
mov eax, dword [esp + 0x78]
mov ecx, 1
add dword [esp + 0x10], ecx
sub dword [esp + 0x14], ecx
add eax, ecx
cmp eax, dword [esp + 0x64]
mov dword [esp + 0x78], eax
jl 0x100ab540
mov edx, dword [esp + 0x48]
add dword [esp + 0x68], edx
mov eax, 1
sub dword [esp + 0x18], eax
sub dword [esp + 0x30], eax
jne 0x100ab500
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x4c
ret