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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x88
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 0xc0]
xor eax, eax
push edi
mov edi, dword [esi + 0xf1c]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], eax
test edi, 0x4000
je 0x1273ef7a
lea eax, [esi + 0x1084]
mov dword [ebp - 0x10], eax
lea eax, [esi + 0x1038]
fld dword [eax + 0x30]
lea ecx, [ebp - 0x3c]
fchs
lea edx, [ebp - 0x7c]
fstp dword [ebp - 0x3c]
fld dword [eax + 0x34]
fchs
fstp dword [ebp - 0x38]
fld dword [eax + 0x38]
fchs
fstp dword [ebp - 0x34]
call fcn.1273dd57
mov eax, dword [ebp - 0x10]
mov ecx, edx
lea edx, [ebp - 0x58]
call fcn.1273ddc0
test edi, 0x48000
je 0x1273f070
xor ecx, ecx
lea edx, [esi + 0xc4]
mov dword [ebp - 4], edx
cmp dword [esi + 0x12f4], ecx
je 0x1273efb3
mov eax, dword [esi + 0x15d0]
cmp dword [eax + 0x74], ecx
je 0x1273efb3
mov dword [ebp - 0x4c], 1
or edi, 0x4000000
jmp 0x1273efbc
mov dword [ebp - 0x4c], ecx
and edi, 0xfbffffff
mov dword [esi + 0xf1c], edi
fld dword [edx + 0x10]
fmul qword [0x127217a8]
fstp dword [ebp - 0x14]
fld dword [ebp - 0x14]
fistp qword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
cmp eax, ecx
mov dword [esi + 0x148], eax
jge 0x1273efe9
mov dword [esi + 0x148], ecx
jmp 0x1273f005
cmp eax, 0xff
jle 0x1273effc
mov dword [esi + 0x148], 0xff000000
jmp 0x1273f005
shl eax, 0x18
mov dword [esi + 0x148], eax
mov eax, dword [esi + 0x12f4]
add eax, 0xc
mov dword [esi + 0x8c], eax
test byte [esi + 0xe24], 8
jne 0x1273f49d
fld dword [edx + 0x14]
fmul dword [esi + 0x118]
fld dword [edx + 0x34]
fld qword [0x127217a8]
fmul st(1), st(0)
fxch st(2)
faddp st(1)
fstp dword [esi + 0x80]
fld dword [edx + 0x18]
fmul dword [esi + 0x11c]
fld dword [edx + 0x38]
fmul st(2)
faddp st(1)
fstp dword [esi + 0x84]
fld dword [edx + 0x1c]
fmul dword [esi + 0x120]
fld dword [edx + 0x3c]
fmulp st(2)
faddp st(1)
fstp dword [esi + 0x88]
jmp 0x1273f49d
mov edx, dword [ebp - 4]
jmp 0x1273f49d
test dword [esi + 0xf1c], 0x4000
je 0x1273f354
cmp dword [ebx + 0xc], 3
mov edi, dword [ebp - 0x10]
je 0x1273f0c4
fld dword [ebx + 0x9c]
mov eax, edi
fsub dword [edi + 0x30]
lea ecx, [ebp - 0x20]
mov edx, ebx
fstp dword [ebp - 0x20]
fld dword [ebx + 0xa0]
fsub dword [edi + 0x34]
fstp dword [ebp - 0x1c]
fld dword [ebx + 0xa4]
fsub dword [edi + 0x38]
fstp dword [ebp - 0x18]
call fcn.1273dd57
mov edx, dword [ebp - 4]
cmp dword [ebx + 0x1c], 1
jne 0x1273f118
cmp dword [ebp - 0x44], 0
jne 0x1273f0e7
lea ecx, [ebp - 0x88]
mov eax, edi
call fcn.1273dfe9
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x44], 1
cmp dword [ebp - 0x14], 0
je 0x1273f142
cmp dword [ebx + 0xc], 3
je 0x1273f182
fld dword [ebx]
fmul dword [ebp - 0x88]
fstp dword [ebx]
fld dword [ebp - 0x84]
fmul dword [ebx + 4]
fstp dword [ebx + 4]
fld dword [ebx + 8]
fmul dword [ebp - 0x80]
fstp dword [ebx + 8]
jmp 0x1273f182
cmp dword [ebp - 0x48], 0
jne 0x1273f13c
mov esi, dword [ebp - 0x10]
lea edi, [ebp - 0x64]
call fcn.1273e0d7
mov esi, dword [ebp + 8]
mov edx, dword [ebp - 4]
mov edi, dword [ebp - 0x10]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x48], 1
cmp dword [ebp - 0x24], 0
jne 0x1273f14b
or dword [ebx + 0x2c], 0x100000
jmp 0x1273f182
fld dword [ebp - 0x64]
and dword [ebx + 0x2c], 0xffefffff
fstp dword [ebx + 0x30]
fld dword [ebp - 0x60]
fstp dword [ebx + 0x34]
fld dword [ebp - 0x5c]
fstp dword [ebx + 0x38]
fld dword [ebp - 0x64]
fld1
fld st(0)
fdivrp st(2)
fxch st(1)
fstp dword [ebp - 0x30]
fld dword [ebp - 0x60]
fld st(1)
fdivrp st(1)
fstp dword [ebp - 0x2c]
fdiv dword [ebp - 0x5c]
fstp dword [ebp - 0x28]
mov eax, dword [ebx + 0xc]
cmp eax, 1
je 0x1273f21d
lea edx, [ebx + 0x10]
cmp eax, 4
jne 0x1273f1a2
mov esi, ebx
mov edi, edx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 8]
jmp 0x1273f1dc
lea ecx, [ebx + 0xa8]
mov eax, edi
call fcn.1273dd57
fld dword [edx]
fstp dword [ebp - 0x70]
mov eax, 0x80000000
mov ecx, dword [ebp - 0x70]
fld dword [ebx + 0x14]
xor ecx, eax
fstp dword [ebp - 0x68]
fld dword [ebx + 0x18]
mov dword [edx], ecx
mov ecx, dword [ebp - 0x68]
fstp dword [ebp - 0x6c]
xor ecx, eax
mov dword [ebx + 0x14], ecx
mov ecx, dword [ebp - 0x6c]
xor ecx, eax
mov dword [ebx + 0x18], ecx
cmp dword [ebx + 0x1c], 1
je 0x1273f201
cmp dword [ebp - 0x24], 0
je 0x1273f201
fld dword [ebp - 0x30]
fmul dword [edx]
fstp dword [edx]
fld dword [ebx + 0x14]
fmul dword [ebp - 0x2c]
fstp dword [ebx + 0x14]
fld dword [ebx + 0x18]
fmul dword [ebp - 0x28]
fstp dword [ebx + 0x18]
cmp dword [ebp - 0x14], 0
jne 0x1273f213
cmp dword [ebp - 0x24], 0
jne 0x1273f213
cmp dword [ebx + 0xc], 4
jne 0x1273f21a
mov ecx, edx
call fcn.1273c380
mov edx, dword [ebp - 4]
cmp dword [ebx + 0x1c], 1
jne 0x1273f27f
cmp dword [ebp - 0x40], 0
jne 0x1273f23b
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x3c]
call fcn.1273c380
mov dword [ebp - 0x40], 1
cmp dword [ebx + 0xc], 3
lea edi, [ebp - 0x20]
lea esi, [ebx + 0x10]
je 0x1273f249
mov esi, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edx, [ebp - 0x20]
mov ecx, edx
movsd dword es:[edi], dword [esi]
call fcn.1273c380
lea ecx, [ebx + 0x60]
fld dword [ebp - 0x3c]
mov edx, ecx
fadd dword [ebp - 0x20]
fstp dword [ecx]
fld dword [ebp - 0x38]
fadd dword [ebp - 0x1c]
fstp dword [ebx + 0x64]
fld dword [ebp - 0x34]
fadd dword [ebp - 0x18]
fstp dword [ebx + 0x68]
call fcn.1273c380
jmp 0x1273f30b
fld dword [ebx + 0x9c]
fsub dword [ebp - 0x7c]
fstp dword [ebp - 8]
fld dword [ebp - 8]
fabs
fstp dword [ebp - 8]
fld dword [ebp - 8]
fld qword [0x12722b90]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x1273f2f0
fld dword [ebx + 0xa0]
fsub dword [ebp - 0x78]
fstp dword [ebp - 8]
fld dword [ebp - 8]
fabs
fstp dword [ebp - 8]
fld dword [ebp - 8]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x1273f2f0
fld dword [ebx + 0xa4]
fsub dword [ebp - 0x74]
fstp dword [ebp - 8]
fld dword [ebp - 8]
fabs
fstp dword [ebp - 8]
fld dword [ebp - 8]
fcompp
fnstsw ax
test ah, 5
jp 0x1273f2f2
or dword [ebx + 0x2c], 0x200000
jmp 0x1273f2f9
fstp st(0)
and dword [ebx + 0x2c], 0xffdfffff
test dword [ebx + 0x2c], 0x100000
je 0x1273f313
lea edi, [ebx + 0x20]
lea esi, [ebp - 0x58]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 8]
mov edx, dword [ebp - 4]
jmp 0x1273f354
fld dword [ebp - 0x58]
mov eax, dword [ebx + 0xc]
fmul dword [ebp - 0x30]
fstp dword [ebx + 0x20]
fld dword [ebp - 0x54]
fmul dword [ebp - 0x2c]
fstp dword [ebx + 0x24]
fld dword [ebp - 0x50]
fmul dword [ebp - 0x28]
fstp dword [ebx + 0x28]
cmp eax, 1
je 0x1273f33b
cmp eax, 2
jne 0x1273f354
fld dword [ebx]
fmul dword [ebp - 0x30]
fstp dword [ebx]
fld dword [ebp - 0x2c]
fmul dword [ebx + 4]
fstp dword [ebx + 4]
fld dword [ebx + 8]
fmul dword [ebp - 0x28]
fstp dword [ebx + 8]
test dword [esi + 0xf1c], 0x48000
je 0x1273f3df
test byte [esi + 0xe24], 8
jne 0x1273f3b5
fld dword [edx + 4]
fld qword [0x127217a8]
fmul st(1), st(0)
fld dword [ebx + 0x70]
fmulp st(2)
fxch st(1)
fstp dword [ebx + 0x40]
fld dword [edx + 8]
fmul st(1)
fmul dword [ebx + 0x74]
fstp dword [ebx + 0x44]
fld dword [edx + 0xc]
fmul st(1)
fmul dword [ebx + 0x78]
fstp dword [ebx + 0x48]
fld dword [edx + 0x24]
fmul st(1)
fmul dword [ebx + 0x70]
fstp dword [ebx + 0x50]
fld dword [edx + 0x28]
fmul st(1)
fmul dword [ebx + 0x74]
fstp dword [ebx + 0x54]
fmul dword [edx + 0x2c]
fmul dword [ebx + 0x78]
fstp dword [ebx + 0x58]
jmp 0x1273f3c1
fld dword [ebx + 0x7c]
fstp dword [ebx + 0x40]
fld dword [ebx + 0x7c]
fstp dword [ebx + 0x50]
cmp dword [ebp - 0x4c], 0
je 0x1273f3d8
mov eax, dword [ebx + 0x2c]
test al, 2
jne 0x1273f3d8
or eax, 0x400000
mov dword [ebx + 0x2c], eax
jmp 0x1273f3df
and dword [ebx + 0x2c], 0xffbfffff
test dword [esi + 0xf1c], 0x40000
je 0x1273f49a
and dword [ebx + 0x80], 0
mov eax, dword [ebx + 0xc]
xor ecx, ecx
inc ecx
cmp dword [ebx + 0x1c], ecx
jne 0x1273f447
cmp eax, ecx
je 0x1273f433
cmp eax, 2
je 0x1273f41f
add eax, 0xfffffffd
cmp eax, ecx
ja 0x1273f49a
mov eax, dword [esi + 0x12fc]
mov eax, dword [eax]
jmp 0x1273f494
test byte [esi + 0xe24], 8
jne 0x1273f47f
mov eax, dword [esi + 0x12fc]
mov eax, dword [eax + 8]
jmp 0x1273f494
test byte [esi + 0xe24], 8
jne 0x1273f47f
mov eax, dword [esi + 0x12fc]
mov eax, dword [eax + 0x10]
jmp 0x1273f494
cmp eax, ecx
je 0x1273f476
cmp eax, 2
je 0x1273f462
add eax, 0xfffffffd
cmp eax, ecx
ja 0x1273f49a
mov eax, dword [esi + 0x12fc]
mov eax, dword [eax + 4]
jmp 0x1273f494
test byte [esi + 0xe24], 8
jne 0x1273f47f
mov eax, dword [esi + 0x12fc]
mov eax, dword [eax + 0xc]
jmp 0x1273f494
test byte [esi + 0xe24], 8
je 0x1273f48b
mov dword [ebx + 0x80], 0x1273e9e5
jmp 0x1273f49a
mov eax, dword [esi + 0x12fc]
mov eax, dword [eax + 0x14]
mov dword [ebx + 0x80], eax
mov ebx, dword [ebx + 0x6c]
test ebx, ebx
jne 0x1273f078
and dword [esi + 0xf1c], 0xfffb3fff
pop edi
pop esi
pop ebx
leave
ret