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

Disassembly:
sub esp, 0x38
mov ecx, dword [esp + 0x40]
fldz
mov eax, dword [esp + 0x3c]
fst qword [esp + 0x30]
cmp eax, ecx
mov dword [esp + 0x20], ecx
jg 0x100a90ad
mov dword [esp + 0x20], eax
cmp dword [esp + 0x58], 0
jne 0x100a90b8
mov dword [esp + 0x60], eax
test ecx, ecx
push ebx
push ebp
push esi
push edi
jle 0x100a90f7
mov ebx, dword [esp + 0x70]
fstp st(0)
mov ebp, dword [esp + 0x78]
mov esi, dword [esp + 0x74]
add ebx, ebx
add ebp, ebp
add ebx, ebx
add ebp, ebp
add ebx, ebx
add ebp, ebp
mov edi, ecx
lea esp, [esp]
push ebx
push 0
push esi
call sub.MSVCR80.dll_memset
add esp, 0xc
add esi, ebp
sub edi, 1
jne 0x100a90e0
fld qword [esp + 0x40]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x54]
xor edx, edx
cmp esi, 4
jl 0x100a912d
lea ecx, [esi - 4]
shr ecx, 2
add ecx, 1
lea eax, [edi + 0x10]
lea edx, [ecx*4]
fadd qword [eax - 0x10]
add eax, 0x20
sub ecx, 1
fadd qword [eax - 0x28]
fadd qword [eax - 0x20]
fadd qword [eax - 0x18]
jne 0x100a9119
cmp edx, esi
jge 0x100a913b
fadd qword [edi + edx*8]
add edx, 1
cmp edx, esi
jl 0x100a9131
test esi, esi
fmul qword [0x100cdf80]
mov dword [esp + 0x2c], 0
fstp qword [esp + 0x40]
jle 0x100a94a2
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x64]
lea ecx, [eax*8]
lea eax, [edx*8]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x38], ecx
lea ecx, [eax + 0x18]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x60]
lea edx, [ecx + 0x10]
sub ecx, dword [esp + 0x74]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x68]
sub eax, ecx
mov dword [esp + 0x10], eax
mov eax, ecx
sub eax, dword [esp + 0x7c]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x2c]
fld qword [eax + ecx*8]
fld qword [esp + 0x40]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x100a946b
fld1
mov ebx, dword [esp + 0x70]
cmp ebx, 1
fdivrp st(1)
fst qword [esp + 0x24]
jne 0x100a956c
mov ebx, dword [esp + 0x68]
fldz
test ebx, ebx
je 0x100a936f
cmp dword [esp + 0x6c], 1
jne 0x100a92bb
mov ebp, dword [esp + 0x4c]
mov edi, dword [esp + 0x10]
lea esi, [ebp - 4]
xor edx, edx
test esi, esi
jl 0x100a9240
mov ecx, dword [esp + 0x14]
add esi, 4
shr esi, 2
lea eax, [ebx + 8]
lea edx, [esi*4]
fld qword [eax - 8]
add eax, 0x20
fmul qword [ecx - 0x18]
add ecx, 0x20
sub esi, 1
fld qword [eax + edi - 0x20]
fmul qword [eax - 0x20]
faddp st(1)
fld qword [eax - 0x18]
fmul qword [ecx - 0x28]
faddp st(1)
fld qword [eax - 0x10]
fmul qword [ecx - 0x20]
faddp st(1)
faddp st(1)
jne 0x100a9214
mov eax, ebp
sub eax, edx
cmp eax, 4
jl 0x100a9291
mov ecx, dword [esp + 0x58]
lea esi, [ecx + edx*8 + 0x18]
mov ecx, ebp
sub ecx, edx
sub ecx, 4
shr ecx, 2
add ecx, 1
lea eax, [ebx + edx*8 + 8]
lea edx, [edx + ecx*4]
fld qword [eax - 8]
add eax, 0x20
fmul qword [esi - 0x18]
add esi, 0x20
sub ecx, 1
faddp st(1)
fld qword [eax + edi - 0x20]
fmul qword [eax - 0x20]
faddp st(1)
fld qword [eax - 0x18]
fmul qword [esi - 0x28]
faddp st(1)
fld qword [eax - 0x10]
fmul qword [esi - 0x20]
faddp st(1)
jne 0x100a9265
cmp edx, ebp
jge 0x100a9377
mov eax, ebx
mov ecx, ebp
lea eax, [eax + edx*8]
sub ecx, edx
mov edx, dword [esp + 0x10]
fld qword [edx + eax]
add eax, 8
sub ecx, 1
fmul qword [eax - 8]
faddp st(1)
jne 0x100a92a6
jmp 0x100a9377
xor edi, edi
cmp dword [esp + 0x4c], 4
jl 0x100a933a
mov esi, dword [esp + 0x6c]
mov ecx, dword [esp + 0x14]
lea edx, [esi + esi*2]
lea edx, [ebx + edx*8]
mov eax, esi
mov dword [esp + 0x24], edx
mov edx, esi
lea esi, [ebx + esi*8]
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0x4c]
add esi, 0xfffffffc
shl edx, 4
shr esi, 2
shl eax, 5
add ecx, 0xfffffff8
add edx, ebx
add esi, 1
lea edi, [esi*4]
fld qword [ecx - 0x10]
mov ebp, dword [esp + 0x20]
fmul qword [ebx]
add dword [esp + 0x20], eax
add ebx, eax
add ecx, 0x20
faddp st(1)
fld qword [ecx - 0x28]
fmul qword [ebp]
mov ebp, dword [esp + 0x24]
add dword [esp + 0x24], eax
faddp st(1)
fld qword [edx]
add edx, eax
sub esi, 1
fmul qword [ecx - 0x20]
faddp st(1)
fld qword [ecx - 0x18]
fmul qword [ebp]
faddp st(1)
jne 0x100a9300
mov esi, dword [esp + 0x4c]
cmp edi, esi
jge 0x100a9377
mov eax, dword [esp + 0x6c]
mov edx, edi
imul edx, eax
lea ecx, [eax*8]
mov eax, dword [esp + 0x68]
lea eax, [eax + edx*8]
mov edx, dword [esp + 0x58]
fld qword [edx + edi*8]
add edi, 1
fmul qword [eax]
add eax, ecx
cmp edi, esi
faddp st(1)
jl 0x100a935d
jmp 0x100a9377
mov ecx, dword [esp + 0x58]
fstp st(0)
fld qword [ecx]
cmp dword [esp + 0x78], 1
fmulp st(1)
jne 0x100a94aa
mov ebx, dword [esp + 0x50]
mov edi, dword [esp + 0x18]
lea esi, [ebx - 4]
xor edx, edx
test esi, esi
jl 0x100a93e4
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x1c]
add esi, 4
add eax, 8
shr esi, 2
lea edx, [esi*4]
fld qword [edi + eax]
add eax, 0x20
fmul st(1)
add ecx, 0x20
sub esi, 1
fadd qword [eax - 0x20]
fld qword [ecx - 0x30]
fmul st(2)
fadd qword [eax - 0x28]
fstp qword [eax - 0x28]
fstp qword [eax - 0x20]
fld qword [ecx - 0x18]
fmul st(1)
fadd qword [eax - 0x10]
fld st(1)
fmul qword [ecx - 0x20]
fadd qword [eax - 0x18]
fstp qword [eax - 0x18]
fstp qword [eax - 0x10]
jne 0x100a93ad
mov eax, ebx
sub eax, edx
cmp eax, 4
jl 0x100a9445
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x74]
lea esi, [ecx + edx*8 + 0x18]
mov ecx, ebx
sub ecx, edx
sub ecx, 4
shr ecx, 2
add ecx, 1
lea eax, [eax + edx*8 + 8]
lea edx, [edx + ecx*4]
fld qword [esi - 0x18]
add eax, 0x20
fmul st(1)
add esi, 0x20
sub ecx, 1
fadd qword [eax - 0x28]
fstp qword [eax - 0x28]
fld qword [eax + edi - 0x20]
fmul st(1)
fadd qword [eax - 0x20]
fstp qword [eax - 0x20]
fld qword [esi - 0x28]
fmul st(1)
fadd qword [eax - 0x18]
fstp qword [eax - 0x18]
fld qword [esi - 0x20]
fmul st(1)
fadd qword [eax - 0x10]
fstp qword [eax - 0x10]
jne 0x100a940d
cmp edx, ebx
jge 0x100a946b
mov ecx, dword [esp + 0x74]
lea eax, [ecx + edx*8]
mov ecx, ebx
sub ecx, edx
mov edx, dword [esp + 0x18]
fld qword [eax + edx]
add eax, 8
sub ecx, 1
fmul st(1)
fadd qword [eax - 8]
fstp qword [eax - 8]
jne 0x100a9458
fstp st(0)
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x2c]
add dword [esp + 0x58], eax
add dword [esp + 0x10], eax
add dword [esp + 0x14], eax
mov eax, dword [esp + 0x3c]
add dword [esp + 0x60], eax
add dword [esp + 0x18], eax
add dword [esp + 0x1c], eax
add ecx, 1
cmp ecx, dword [esp + 0x30]
mov dword [esp + 0x2c], ecx
jl 0x100a91a5
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret
xor eax, eax
cmp dword [esp + 0x50], 4
jl 0x100a952e
mov esi, dword [esp + 0x78]
mov edi, dword [esp + 0x74]
mov edx, dword [esp + 0x1c]
lea ecx, [esi + esi*2]
lea ecx, [edi + ecx*8]
mov eax, esi
mov dword [esp + 0x24], ecx
mov ecx, esi
lea ebx, [edi + esi*8]
mov esi, dword [esp + 0x50]
add esi, 0xfffffffc
shl ecx, 4
shr esi, 2
shl eax, 5
add ecx, edi
add esi, 1
lea ebp, [esi*4]
mov dword [esp + 0x20], ebp
mov ebp, dword [esp + 0x24]
fld qword [edx - 0x10]
add edx, 0x20
fmul st(1)
fadd qword [edi]
fstp qword [edi]
add edi, eax
fld qword [edx - 0x28]
fmul st(1)
fadd qword [ebx]
fstp qword [ebx]
add ebx, eax
fld st(0)
fmul qword [edx - 0x20]
fadd qword [ecx]
fstp qword [ecx]
add ecx, eax
fld qword [edx - 0x18]
fmul st(1)
fadd qword [ebp]
fstp qword [ebp]
add ebp, eax
sub esi, 1
jne 0x100a94f4
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x50]
cmp eax, edi
jge 0x100a946b
mov ecx, dword [esp + 0x78]
mov esi, eax
imul esi, ecx
lea edx, [ecx*8]
mov ecx, dword [esp + 0x74]
lea ecx, [ecx + esi*8]
mov esi, dword [esp + 0x60]
fld qword [esi + eax*8]
add eax, 1
fmul st(1)
fadd qword [ecx]
fstp qword [ecx]
add ecx, edx
cmp eax, edi
jl 0x100a9555
jmp 0x100a946b
mov esi, dword [esp + 0x68]
test esi, esi
mov ebp, dword [esp + 0x7c]
je 0x100a960b
lea edx, [ebx*8]
fstp st(0)
push edx
push 0
push ebp
call sub.MSVCR80.dll_memset
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x78]
push 0
push eax
push esi
push ebx
push ecx
mov eax, ebp
call fcn.100a8970
fld qword [esp + 0x44]
add esp, 0x20
xor ecx, ecx
cmp ebx, 4
jl 0x100a95f0
lea edx, [ebx - 4]
shr edx, 2
add edx, 1
lea eax, [ebp + 0x10]
lea ecx, [edx*4]
fld qword [eax - 0x10]
add eax, 0x20
sub edx, 1
fmul st(1)
fstp qword [eax - 0x30]
fld qword [eax - 0x28]
fmul st(1)
fstp qword [eax - 0x28]
fld qword [eax - 0x20]
fmul st(1)
fstp qword [eax - 0x20]
fld st(0)
fmul qword [eax - 0x18]
fstp qword [eax - 0x18]
jne 0x100a95c8
cmp ecx, ebx
jge 0x100a9686
fld st(0)
add ecx, 1
cmp ecx, ebx
fmul qword [ebp + ecx*8 - 8]
fstp qword [ebp + ecx*8 - 8]
jl 0x100a95f8
jmp 0x100a9686
xor esi, esi
cmp ebx, 4
jl 0x100a9660
mov ecx, dword [esp + 0x34]
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
lea edi, [ecx + esi]
lea ecx, [ebx - 4]
shr ecx, 2
add ecx, 1
lea eax, [ebp + 8]
lea esi, [ecx*4]
fld qword [edx - 0x18]
add eax, 0x20
fmul st(1)
add edx, 0x20
sub ecx, 1
fstp qword [eax - 0x28]
fld qword [edi + eax - 0x20]
fmul st(1)
fstp qword [eax - 0x20]
fld qword [edx - 0x28]
fmul st(1)
fstp qword [eax - 0x18]
fld qword [edx - 0x20]
fmul st(1)
fstp qword [eax - 0x10]
jne 0x100a9634
cmp esi, ebx
jge 0x100a9686
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x34]
add edx, ecx
mov ecx, ebx
lea eax, [ebp + esi*8]
sub ecx, esi
fld qword [edx + eax]
add eax, 8
sub ecx, 1
fmul st(1)
fstp qword [eax - 8]
jne 0x100a9676
mov edx, dword [esp + 0x78]
fstp st(0)
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x50]
push edx
push eax
mov eax, dword [esp + 0x7c]
push ebp
push ebx
push ecx
xor edx, edx
call fcn.100a8970
add esp, 0x14
jmp 0x100a946d