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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0xb4
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x14]
lea ecx, [eax - 1]
cmp ecx, 0x20
push edi
jge 0x100eb375
mov eax, 1
shl eax, cl
jmp 0x100eb378
or eax, 0xffffffff
mov dword [esp + 0x78], eax
fild dword [esp + 0x78]
test eax, eax
jge 0x100eb38a
fadd qword [0x10139940]
cmp ecx, 0x20
fchs
fstp qword [esp + 0xb8]
jge 0x100eb3a2
mov eax, 1
shl eax, cl
dec eax
jmp 0x100eb3a5
or eax, 0xffffffff
mov dword [esp + 0x78], eax
fild dword [esp + 0x78]
test eax, eax
jge 0x100eb3b7
fadd qword [0x10139940]
movzx eax, word [esi + 8]
fstp qword [esp + 0xb0]
movzx edx, word [esi + 0xc]
fnstcw word [esp + 0x30]
mov dword [esp + 0x38], eax
mov dword [esp + 0x6c], edx
movzx ecx, word [esi + 0xa]
fild dword [esp + 0x38]
movzx eax, word [esi + 0xe]
fidiv dword [esp + 0x6c]
mov dword [esp + 0x38], ecx
movzx edi, word [esi + 0x20]
fst qword [esp + 0xa0]
fild dword [esp + 0x38]
mov dword [esp + 0x38], eax
fild dword [esp + 0x38]
movzx eax, word [esp + 0x30]
or eax, 0xc00
mov dword [esp + 0x38], eax
fdivp st(1)
fst qword [esp + 0x98]
fld1
fld st(0)
fdivrp st(3)
fldcw word [esp + 0x38]
fxch st(2)
fistp dword [esp + 0x38]
movzx eax, word [esp + 0x38]
mov dword [esp + 0x74], eax
fldcw word [esp + 0x30]
fdivp st(1)
fnstcw word [esp + 0x30]
movzx eax, word [esp + 0x30]
or eax, 0xc00
mov dword [esp + 0x38], eax
fldcw word [esp + 0x38]
fistp dword [esp + 0x38]
movzx eax, word [esp + 0x38]
mov dword [esp + 0x68], eax
movzx eax, word [esi + 0x22]
fldcw word [esp + 0x30]
imul eax, edi
mov dword [esp + 0x78], eax
lea eax, [ecx - 1]
imul ecx, edx
imul eax, edx
push ecx
mov dword [esp + 0xac], eax
call fcn.100aeb73
add esp, 4
mov dword [esp + 0x60], eax
test eax, eax
jne 0x100eb520
mov edi, dword [0x10199a70]
mov ecx, 0x101b5bc0
call fcn.10035670
mov ebx, dword [0x101b5bbc]
mov ecx, 0x101b5bc0
call fcn.100356c0
test edi, ebx
je 0x100eb510
call fcn.10037680
mov edi, eax
lea ecx, [edi + 0x14]
call fcn.10035670
cmp dword [edi + 0xc], 0
je 0x100eb4d0
lea ecx, [edi + 0x10]
call fcn.10035670
mov edi, dword [edi + 4]
jmp 0x100eb4d3
mov edi, dword [edi + 8]
push str.ERROR:_cant_allocate_temporary_buffer_for_interpolation_scaling__
push edi
call fcn.10002d50
add esp, 8
mov edi, eax
push 0xa
mov ecx, edi
call fcn.10002f60
mov ecx, edi
call fcn.10002ba0
call fcn.10037680
mov edi, eax
cmp dword [edi + 0xc], 0
je 0x100eb508
lea ecx, [edi + 0x10]
call fcn.100356c0
lea ecx, [edi + 0x14]
call fcn.100356c0
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, esi
call fcn.100db9b0
jmp 0x100ebcea
cmp dword [esi + 4], 0
mov dword [esp + 0x38], 0
jle 0x100ebcea
mov eax, dword [ebp + 0xc]
fld1
mov ecx, dword [ebp + 8]
fld qword [esp + 0x98]
fld qword [esp + 0xa0]
sub ecx, eax
mov dword [esp + 0x70], eax
mov dword [esp + 0xac], ecx
movzx eax, word [esi + 0x20]
imul eax, dword [esi + 0x1c]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0xac]
add eax, dword [edx + ecx]
add eax, dword [esi + 0x18]
mov dword [esp + 0x64], eax
mov eax, dword [ecx]
mov dword [esp + 0x4c], eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x6c], eax
test eax, eax
je 0x100ebccd
movzx eax, word [esp + 0x74]
lea ecx, [eax + 1]
lea edx, [eax + eax]
mov eax, dword [esp + 0x60]
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0x64]
add eax, ecx
inc edx
mov dword [esp + 0x94], eax
mov dword [esp + 0x7c], edx
movzx eax, word [esi + 0xa]
mov edi, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x30], edi
test ax, ax
je 0x100eb5ec
mov dl, byte [ecx]
mov byte [edi], dl
movzx edx, word [esi + 0x20]
add ecx, edx
movzx edx, word [esi + 0xc]
add eax, 0xffff
add edi, edx
test ax, ax
jne 0x100eb5d2
mov eax, 1
cmp dword [esp + 0x80], eax
mov dword [esp + 0x34], eax
jle 0x100eb693
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x64]
inc eax
fmul st(1)
mov dword [esp + 0x30], eax
mov dword [esp + 0x5c], eax
fcom st(3)
fnstsw ax
test ah, 0x41
jne 0x100eb62a
fstp st(0)
fld st(2)
movzx ebx, word [esi + 0xa]
test bx, bx
je 0x100eb674
movsx eax, byte [edi]
movsx ecx, byte [edi + 1]
sub ecx, eax
mov dword [esp + 0x58], ecx
mov dword [esp + 0x50], eax
fild dword [esp + 0x58]
fmul st(1)
fiadd dword [esp + 0x50]
call fcn.100b2760
mov ecx, dword [esp + 0x5c]
mov byte [ecx], al
movzx edx, word [esi + 0x20]
movzx eax, word [esi + 0xc]
add ecx, eax
add ebx, 0xffff
add edi, edx
mov dword [esp + 0x5c], ecx
test bx, bx
jne 0x100eb633
mov eax, dword [esp + 0x34]
fstp st(0)
inc eax
mov dword [esp + 0x34], eax
movzx eax, ax
cmp eax, dword [esp + 0x80]
mov dword [esp + 0x2c], eax
jl 0x100eb606
mov eax, dword [esp + 0x74]
movzx ecx, word [esi + 0xc]
sub ecx, dword [esp + 0x84]
mov edi, dword [esp + 0x7c]
inc eax
movzx eax, ax
mov dword [esp + 0x34], eax
movzx eax, ax
cmp eax, ecx
mov dword [esp + 0x3c], 1
mov dword [esp + 0x58], edi
mov dword [esp + 0x2c], eax
jge 0x100eb848
fild dword [esp + 0x2c]
movzx edx, word [esp + 0x3c]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x2c], edx
fmul st(1)
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x5c], eax
fst qword [esp + 0x40]
fild dword [esp + 0x2c]
fsubr st(1)
fst qword [esp + 0x88]
fcom st(4)
fnstsw ax
test ah, 0x41
jne 0x100eb70a
fstp st(0)
fld st(3)
fst qword [esp + 0x88]
movzx ebx, word [esi + 0xa]
test bx, bx
je 0x100eb81b
fstp st(1)
fstp st(3)
fstp st(0)
fstp st(0)
jmp 0x100eb728
fld qword [esp + 0x88]
fld qword [esp + 0xb0]
movsx eax, byte [edi + 2]
movsx ecx, byte [edi + 1]
movsx edx, byte [edi]
sub esp, 0x38
mov dword [esp + 0x88], eax
movsx eax, byte [edi - 1]
fstp qword [esp + 0x30]
fld qword [esp + 0xf0]
fstp qword [esp + 0x28]
fstp qword [esp + 0x20]
fild dword [esp + 0x88]
mov dword [esp + 0x88], ecx
fstp qword [esp + 0x18]
fild dword [esp + 0x88]
mov dword [esp + 0x88], edx
fstp qword [esp + 0x10]
fild dword [esp + 0x88]
mov dword [esp + 0x88], eax
fstp qword [esp + 8]
fild dword [esp + 0x88]
fstp qword [esp]
call fcn.100d7460
add esp, 0x38
call fcn.100b2760
mov ecx, dword [esp + 0x5c]
mov byte [ecx], al
movzx edx, word [esi + 0x20]
movzx eax, word [esi + 0xc]
add ecx, eax
add ebx, 0xffff
add edi, edx
mov dword [esp + 0x5c], ecx
test bx, bx
jne 0x100eb721
fld qword [esp + 0x40]
fld1
fld qword [esp + 0x98]
fld qword [esp + 0xa0]
fxch st(2)
fxch st(3)
fxch st(1)
fxch st(2)
fxch st(1)
movzx ecx, word [esi + 8]
mov eax, dword [esp + 0x2c]
sub ecx, 3
cmp eax, ecx
jge 0x100eb81f
inc eax
mov dword [esp + 0x50], eax
fild dword [esp + 0x50]
fcompp
fnstsw ax
test ah, 0x41
jp 0x100eb821
mov eax, 1
add dword [esp + 0x58], eax
add dword [esp + 0x3c], eax
jmp 0x100eb821
fstp st(0)
jmp 0x100eb7eb
fstp st(0)
mov eax, dword [esp + 0x34]
movzx edx, word [esi + 0xc]
sub edx, dword [esp + 0x84]
mov edi, dword [esp + 0x58]
inc eax
mov dword [esp + 0x34], eax
movzx eax, ax
cmp eax, edx
mov dword [esp + 0x2c], eax
jl 0x100eb6c9
movzx eax, word [esi + 0xc]
mov ecx, dword [esp + 0x74]
add ecx, ecx
mov edx, eax
sub edx, ecx
movzx ecx, dx
movzx eax, ax
mov dword [esp + 0x34], ecx
movzx ecx, cx
dec eax
cmp ecx, eax
mov dword [esp + 0x2c], ecx
jge 0x100eb93e
fild dword [esp + 0x2c]
movzx ecx, word [esp + 0x3c]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x2c], ecx
fmul st(1)
inc eax
mov dword [esp + 0x30], eax
fild dword [esp + 0x2c]
mov dword [esp + 0x5c], eax
fsubr st(1)
fcom st(4)
fnstsw ax
test ah, 0x41
jne 0x100eb89f
fstp st(0)
fld st(3)
movzx ebx, word [esi + 0xa]
test bx, bx
je 0x100eb8e9
movsx eax, byte [edi]
movsx edx, byte [edi + 1]
sub edx, eax
mov dword [esp + 0x40], edx
mov dword [esp + 0x50], eax
fild dword [esp + 0x40]
fmul st(1)
fiadd dword [esp + 0x50]
call fcn.100b2760
mov ecx, dword [esp + 0x5c]
mov byte [ecx], al
movzx eax, word [esi + 0x20]
movzx edx, word [esi + 0xc]
add ecx, edx
add ebx, 0xffff
add edi, eax
mov dword [esp + 0x5c], ecx
test bx, bx
jne 0x100eb8a8
movzx ecx, word [esi + 8]
fstp st(0)
mov eax, dword [esp + 0x2c]
sub ecx, 2
cmp eax, ecx
jge 0x100eb91b
inc eax
mov dword [esp + 0x40], eax
fild dword [esp + 0x40]
fcompp
fnstsw ax
test ah, 0x41
jp 0x100eb91d
mov eax, 1
add dword [esp + 0x58], eax
add dword [esp + 0x3c], eax
jmp 0x100eb91d
fstp st(0)
mov eax, dword [esp + 0x34]
movzx edx, word [esi + 0xc]
mov edi, dword [esp + 0x58]
inc eax
mov dword [esp + 0x34], eax
movzx eax, ax
dec edx
cmp eax, edx
mov dword [esp + 0x2c], eax
jl 0x100eb870
movzx eax, word [esi + 0xc]
mov edx, dword [esp + 0x60]
movzx ecx, word [esi + 8]
lea edi, [eax + edx - 1]
mov eax, dword [esp + 0x64]
lea ecx, [ecx + eax - 1]
movzx eax, word [esi + 0xa]
test ax, ax
je 0x100eb979
mov bl, byte [ecx]
mov byte [edi], bl
movzx ebx, word [esi + 0x20]
add ecx, ebx
movzx ebx, word [esi + 0xc]
add eax, 0xffff
add edi, ebx
test ax, ax
jne 0x100eb95f
movzx eax, word [esi + 0xc]
mov ecx, edx
test ax, ax
je 0x100eb99c
mov edi, dword [esp + 0x4c]
mov dl, byte [ecx]
mov byte [edi], dl
add eax, 0xffff
inc edi
inc ecx
test ax, ax
jne 0x100eb988
mov dword [esp + 0x4c], edi
movzx eax, word [esp + 0x68]
lea ecx, [eax + 1]
cmp ecx, 1
mov dword [esp + 0x34], 1
jle 0x100eba36
mov dword [esp + 0x2c], 1
fild dword [esp + 0x2c]
mov edi, dword [esp + 0x60]
fmul st(2)
fcom st(3)
fnstsw ax
test ah, 0x41
jne 0x100eb9d4
fstp st(0)
fld st(2)
movzx ebx, word [esi + 0xc]
test bx, bx
je 0x100eba18
movzx ecx, word [esi + 0xc]
movsx eax, byte [edi]
movsx edx, byte [ecx + edi]
sub edx, eax
mov dword [esp + 0x40], edx
mov dword [esp + 0x50], eax
fild dword [esp + 0x40]
fmul st(1)
fiadd dword [esp + 0x50]
call fcn.100b2760
mov ecx, dword [esp + 0x4c]
mov byte [ecx], al
inc ecx
add ebx, 0xffff
inc edi
mov dword [esp + 0x4c], ecx
test bx, bx
jne 0x100eb9dd
mov eax, dword [esp + 0x34]
fstp st(0)
inc eax
movzx edx, ax
mov dword [esp + 0x34], eax
movzx eax, word [esp + 0x68]
lea ecx, [eax + 1]
cmp edx, ecx
mov dword [esp + 0x2c], edx
jl 0x100eb9bd
mov ecx, dword [esp + 0x68]
movzx edx, word [esi + 0xe]
movzx edi, word [esi + 0xc]
add edi, dword [esp + 0x60]
inc ecx
movzx ecx, cx
mov dword [esp + 0x34], ecx
movzx ecx, cx
sub edx, eax
dec edx
cmp ecx, edx
mov dword [esp + 0x3c], 1
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], ecx
jge 0x100ebbcc
fild dword [esp + 0x2c]
movzx eax, word [esp + 0x3c]
mov dword [esp + 0x2c], eax
fmul st(2)
fst qword [esp + 0x50]
fild dword [esp + 0x2c]
fsubr st(1)
fst qword [esp + 0x88]
fcom st(4)
fnstsw ax
test ah, 0x41
jne 0x100ebaa0
fstp st(0)
fld st(3)
fst qword [esp + 0x88]
movzx ebx, word [esi + 0xc]
test bx, bx
je 0x100ebb9e
fstp st(1)
fstp st(3)
fstp st(0)
fstp st(0)
jmp 0x100ebac7
fld qword [esp + 0x88]
movzx eax, word [esi + 0xc]
fld qword [esp + 0xb0]
movsx ecx, byte [edi + eax*2]
movsx edx, byte [eax + edi]
sub esp, 0x38
mov dword [esp + 0x78], ecx
movsx ecx, byte [edi]
fstp qword [esp + 0x30]
fld qword [esp + 0xf0]
fstp qword [esp + 0x28]
fstp qword [esp + 0x20]
fild dword [esp + 0x78]
mov dword [esp + 0x78], edx
mov edx, edi
sub edx, eax
movsx eax, byte [edx]
fstp qword [esp + 0x18]
fild dword [esp + 0x78]
mov dword [esp + 0x78], ecx
fstp qword [esp + 0x10]
fild dword [esp + 0x78]
mov dword [esp + 0x78], eax
fstp qword [esp + 8]
fild dword [esp + 0x78]
fstp qword [esp]
call fcn.100d7460
add esp, 0x38
call fcn.100b2760
mov ecx, dword [esp + 0x4c]
mov byte [ecx], al
inc ecx
add ebx, 0xffff
inc edi
mov dword [esp + 0x4c], ecx
test bx, bx
jne 0x100ebac0
fld qword [esp + 0x50]
fld1
fld qword [esp + 0x98]
fld qword [esp + 0xa0]
fxch st(2)
fxch st(3)
fxch st(1)
fxch st(2)
fxch st(1)
movzx ecx, word [esi + 0xa]
mov eax, dword [esp + 0x2c]
sub ecx, 3
cmp eax, ecx
jge 0x100ebba2
inc eax
mov dword [esp + 0x40], eax
fild dword [esp + 0x40]
fcompp
fnstsw ax
test ah, 0x41
jp 0x100ebba4
movzx edx, word [esi + 0xc]
add dword [esp + 0x30], edx
inc dword [esp + 0x3c]
jmp 0x100ebba4
fstp st(0)
jmp 0x100ebb6f
fstp st(0)
mov eax, dword [esp + 0x34]
movzx edx, word [esi + 0xe]
movzx ecx, word [esp + 0x68]
mov edi, dword [esp + 0x30]
inc eax
mov dword [esp + 0x34], eax
movzx eax, ax
sub edx, ecx
dec edx
cmp eax, edx
mov dword [esp + 0x2c], eax
jl 0x100eba6c
movzx edi, word [esi + 0xa]
movzx eax, word [esi + 0xc]
sub edi, 2
imul edi, eax
movzx eax, word [esi + 0xe]
add edi, dword [esp + 0x60]
mov ecx, eax
sub ecx, dword [esp + 0x68]
movzx edx, ax
dec ecx
movzx ecx, cx
mov dword [esp + 0x34], ecx
movzx ecx, cx
dec edx
cmp ecx, edx
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], ecx
jge 0x100ebc8e
movzx eax, word [esp + 0x3c]
mov dword [esp + 0x40], eax
fild dword [esp + 0x40]
fild dword [esp + 0x2c]
fmul st(3)
fsub st(1)
fcom st(4)
fnstsw ax
test ah, 0x41
jne 0x100ebc29
fstp st(0)
fld st(3)
movzx ebx, word [esi + 0xc]
test bx, bx
je 0x100ebc6d
movzx ecx, word [esi + 0xc]
movsx eax, byte [edi]
movsx edx, byte [ecx + edi]
sub edx, eax
mov dword [esp + 0x40], edx
mov dword [esp + 0x50], eax
fild dword [esp + 0x40]
fmul st(1)
fiadd dword [esp + 0x50]
call fcn.100b2760
mov ecx, dword [esp + 0x4c]
mov byte [ecx], al
inc ecx
add ebx, 0xffff
inc edi
mov dword [esp + 0x4c], ecx
test bx, bx
jne 0x100ebc32
mov eax, dword [esp + 0x34]
fstp st(0)
movzx ecx, word [esi + 0xe]
mov edi, dword [esp + 0x30]
inc eax
mov dword [esp + 0x34], eax
movzx eax, ax
dec ecx
cmp eax, ecx
mov dword [esp + 0x2c], eax
jl 0x100ebc14
fstp st(0)
movzx eax, word [esi + 0xc]
mov ecx, dword [esp + 0x94]
test ax, ax
je 0x100ebcb6
mov edi, dword [esp + 0x4c]
mov dl, byte [ecx]
mov byte [edi], dl
add eax, 0xffff
inc edi
inc ecx
test ax, ax
jne 0x100ebca2
mov dword [esp + 0x4c], edi
mov eax, dword [esp + 0x78]
add dword [esp + 0x64], eax
add dword [esp + 0x7c], eax
sub dword [esp + 0x6c], 1
jne 0x100eb5bd
mov eax, dword [esp + 0x38]
add dword [esp + 0x70], 4
inc eax
cmp eax, dword [esi + 4]
mov dword [esp + 0x38], eax
jl 0x100eb555
fstp st(2)
fstp st(1)
fstp st(0)
mov eax, dword [esp + 0x60]
push eax
call fcn.100afea7
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8