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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov ebx, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebx]
add dword [ebp + 0x14], eax
test ecx, ecx
mov ebx, dword [edi + 0x502c]
jne 0xa12a0f
sub ebx, 1
and ebx, 0xf
lea ecx, [edi + 0x3f2c]
test bl, 1
je 0xa129d8
mov eax, ecx
lea esi, [ebx*4]
add eax, esi
mov dword [esp + 4], eax
lea eax, [ebx + 1]
and eax, 0xf
mov dword [ebp - 0x20], ecx
lea ecx, [ecx + eax*4 + 0x440]
mov dword [esp + 8], edx
mov dword [esp], ecx
call fcn.00a12d80
mov dword [ebp - 0x1c], ebx
mov dword [edi + 0x502c], ebx
mov ebx, dword [ebp + 0x14]
xor edi, edi
mov dword [ebp - 0x18], 0xf8be60
mov ecx, dword [ebp - 0x20]
sub dword [ebp - 0x18], esi
mov esi, 0x10
mov edx, dword [ebp - 0x18]
add ebx, 4
jmp 0xa12752
fcom dword [0xc04f14]
fnstsw ax
sahf
jae 0xa127f0
fstp st(0)
add edi, 1
mov word [ebx - 4], 0x8000
lea esi, [esi]
add ecx, 0x40
sub edx, 0xffffff80
add ebx, 4
sub esi, 1
je 0xa12824
fld dword [ecx]
fmul dword [edx]
fld dword [ecx + 8]
fmul dword [edx + 8]
faddp st(1)
fld dword [ecx + 0x10]
fmul dword [edx + 0x10]
faddp st(1)
fld dword [ecx + 0x18]
fmul dword [edx + 0x18]
faddp st(1)
fld dword [ecx + 0x20]
fmul dword [edx + 0x20]
faddp st(1)
fld dword [ecx + 0x28]
fmul dword [edx + 0x28]
faddp st(1)
fld dword [ecx + 0x30]
fmul dword [edx + 0x30]
faddp st(1)
fld dword [ecx + 0x38]
fmul dword [edx + 0x38]
faddp st(1)
fld dword [ecx + 0x2c]
fmul dword [edx + 0x2c]
fsubp st(1)
fld dword [ecx + 0xc]
fmul dword [edx + 0xc]
fsubp st(1)
fld dword [ecx + 0x24]
fmul dword [edx + 0x24]
fsubp st(1)
fld dword [ecx + 0x34]
fmul dword [edx + 0x34]
fsubp st(1)
fld dword [ecx + 0x3c]
fmul dword [edx + 0x3c]
fsubp st(1)
fld dword [ecx + 4]
fmul dword [edx + 4]
fsubp st(1)
fld dword [ecx + 0x1c]
fmul dword [edx + 0x1c]
fsubp st(1)
fld dword [ecx + 0x14]
fmul dword [edx + 0x14]
fsubp st(1)
fcom dword [0xc04f10]
fnstsw ax
sahf
jbe 0xa12720
fstp st(0)
mov word [ebx - 4], 0x7fff
add edi, 1
jmp 0xa12740
ftst
fnstsw ax
sahf
jbe 0xa129c5
fadd dword [0xc04f18]
fnstcw word [ebp - 0xe]
movzx eax, word [ebp - 0xe]
mov ah, 0xc
mov word [ebp - 0x10], ax
fldcw word [ebp - 0x10]
fistp word [ebp - 0x12]
fldcw word [ebp - 0xe]
movzx eax, word [ebp - 0x12]
mov word [ebx - 4], ax
jmp 0xa12740
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x20]
fld dword [esi + 0x800]
fmul dword [ebx + 0x400]
add edx, 0x800
mov ecx, dword [ebp + 0x14]
add eax, 0x400
add ecx, 0x40
fld dword [edx + 8]
fmul dword [eax + 8]
fld dword [edx + 0x10]
fmul dword [eax + 0x10]
faddp st(1)
faddp st(1)
fld dword [edx + 0x18]
fmul dword [eax + 0x18]
faddp st(1)
fld dword [edx + 0x20]
fmul dword [eax + 0x20]
faddp st(1)
fld dword [edx + 0x28]
fmul dword [eax + 0x28]
faddp st(1)
fld dword [edx + 0x30]
fmul dword [eax + 0x30]
faddp st(1)
fld dword [edx + 0x38]
fmul dword [eax + 0x38]
faddp st(1)
fcom dword [0xc04f10]
fnstsw ax
sahf
jbe 0xa12a1e
fstp st(0)
mov ebx, dword [ebp + 0x14]
add edi, 1
mov word [ebx + 0x40], 0x7fff
mov esi, dword [ebp - 0x1c]
lea ecx, [edx + esi*8 - 0x80]
mov edx, dword [ebp - 0x20]
add edx, 0x380
jmp 0xa128e0
fcom dword [0xc04f14]
fnstsw ax
sahf
jae 0xa12995
fstp st(0)
mov word [ebx + 0x44], 0x8000
add edi, 1
add ebx, 4
cmp edx, dword [ebp - 0x20]
je 0xa12985
add ecx, 0xffffff80
sub edx, 0x40
fld dword [ecx - 4]
fchs
fmul dword [edx + 0x40]
fld dword [edx + 0x44]
fmul dword [ecx - 8]
fsubp st(1)
fld dword [edx + 0x48]
fmul dword [ecx - 0xc]
fsubp st(1)
fld dword [edx + 0x4c]
fmul dword [ecx - 0x10]
fsubp st(1)
fld dword [edx + 0x50]
fmul dword [ecx - 0x14]
fsubp st(1)
fld dword [edx + 0x54]
fmul dword [ecx - 0x18]
fsubp st(1)
fld dword [edx + 0x58]
fmul dword [ecx - 0x1c]
fsubp st(1)
fld dword [edx + 0x5c]
fmul dword [ecx - 0x20]
fsubp st(1)
fld dword [edx + 0x60]
fmul dword [ecx - 0x24]
fsubp st(1)
fld dword [edx + 0x64]
fmul dword [ecx - 0x28]
fsubp st(1)
fld dword [edx + 0x68]
fmul dword [ecx - 0x2c]
fsubp st(1)
fld dword [edx + 0x6c]
fmul dword [ecx - 0x30]
fsubp st(1)
fld dword [edx + 0x70]
fmul dword [ecx - 0x34]
fsubp st(1)
fld dword [edx + 0x74]
fmul dword [ecx - 0x38]
fsubp st(1)
fld dword [edx + 0x78]
fmul dword [ecx - 0x3c]
fsubp st(1)
fld dword [edx + 0x7c]
fmul dword [ecx]
fsubp st(1)
fcom dword [0xc04f10]
fnstsw ax
sahf
jbe 0xa128b4
fstp st(0)
mov word [ebx + 0x44], 0x7fff
add edi, 1
add ebx, 4
cmp edx, dword [ebp - 0x20]
jne 0xa128da
mov ecx, dword [ebp + 0x18]
mov eax, edi
sub dword [ecx], 0xffffff80
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
ftst
fnstsw ax
sahf
jbe 0xa129d0
fadd dword [0xc04f18]
fnstcw word [ebp - 0xe]
movzx eax, word [ebp - 0xe]
mov ah, 0xc
mov word [ebp - 0x10], ax
fldcw word [ebp - 0x10]
fistp word [ebp - 0x12]
fldcw word [ebp - 0xe]
movzx esi, word [ebp - 0x12]
mov word [ebx + 0x44], si
jmp 0xa128ce
fsub dword [0xc04f18]
jmp 0xa12801
fsub dword [0xc04f18]
jmp 0xa129a2
lea eax, [ebx + 1]
lea esi, [ecx + 0x440]
mov dword [ebp - 0x1c], eax
lea eax, [ebx*4]
mov dword [esp + 8], edx
lea edx, [eax + esi + 4]
add eax, ecx
mov dword [ebp - 0x20], esi
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00a12d80
mov esi, dword [ebp - 0x1c]
shl esi, 2
jmp 0xa126fb
add dword [ebp + 0x14], 2
lea ecx, [edi + 0x47ac]
jmp 0xa126c4
fcom dword [0xc04f14]
fnstsw ax
sahf
jae 0xa12a3b
fstp st(0)
mov ebx, dword [ebp + 0x14]
add edi, 1
mov word [ecx], 0x8000
jmp 0xa128a2
ftst
fnstsw ax
sahf
jbe 0xa12a6d
fadd dword [0xc04f18]
fnstcw word [ebp - 0xe]
movzx eax, word [ebp - 0xe]
mov ah, 0xc
mov word [ebp - 0x10], ax
fldcw word [ebp - 0x10]
fistp word [ebp - 0x12]
fldcw word [ebp - 0xe]
movzx ebx, word [ebp - 0x12]
mov word [ecx], bx
mov ebx, dword [ebp + 0x14]
jmp 0xa128a2
fsub dword [0xc04f18]
jmp 0xa12a48