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

Disassembly:
sub esp, 0x94
push esi
mov esi, ecx
mov eax, dword [esi + 0x1b0]
test eax, eax
je 0x52646e
mov ecx, dword [esi + 0x1b4]
test ecx, ecx
je 0x52646e
cmp dword [esi + 0x288], 0
push ebx
push edi
je 0x52636c
fldz
add ecx, 0xb4
fst dword [esp + 0x14]
lea edx, [esp + 0x14]
fst dword [esp + 0x18]
push edx
fst dword [esp + 0x20]
fstp dword [esp + 0x24]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
test eax, eax
je 0x52646c
fld dword [esp + 0x14]
sub esp, 8
fstp dword [esp + 4]
lea edx, [esp + 0x1c]
fld dword [esp + 0x20]
lea ecx, [esp + 0x20]
fstp dword [esp]
call fcn.0042a0a0
fld dword [esp + 0x1c]
sub esp, 8
fstp dword [esp + 4]
lea edx, [esp + 0x24]
fld dword [esp + 0x28]
lea ecx, [esp + 0x28]
fstp dword [esp]
call fcn.0042a0a0
fld dword [esp + 0x18]
mov ecx, dword [esi + 0x1b0]
fst dword [esp + 0x3c]
fld dword [esp + 0x14]
fst dword [esp + 0x40]
fxch st(1)
fstp dword [esp + 0x44]
fld dword [esp + 0x1c]
fst dword [esp + 0x48]
fld dword [esp + 0x20]
fst dword [esp + 0x4c]
fstp dword [esp + 0x54]
fstp dword [esp + 0x50]
fstp dword [esp + 0x58]
fldz
fst dword [esp + 0x5c]
fst dword [esp + 0x60]
fst dword [esp + 0x64]
fst dword [esp + 0x30]
fst dword [esp + 0x34]
fstp dword [esp + 0x38]
mov ecx, dword [ecx + 0x120]
call fcn.0054a100
xor edi, edi
lea ebx, [esi + 0x258]
fld dword [esp + edi*8 + 0x40]
sub esp, 8
fstp dword [esp + 4]
lea edx, [esp + 0x38]
fld dword [esp + edi*8 + 0x44]
lea ecx, [esp + 0x64]
fstp dword [esp]
call fcn.006edc10
fld dword [esp + 0x38]
fld dword [esp + 0x64]
fld st(0)
fsubp st(2)
fld st(0)
fldz
fsubrp st(1)
fdiv st(2)
fstp dword [esp + 0xc]
fldz
fld dword [esp + 0xc]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x526247
fld dword [esp + 0x30]
fld dword [esp + 0x5c]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x74]
fld dword [esp + 0x34]
fld dword [esp + 0x60]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x78]
fxch st(4)
fstp dword [esp + 0x7c]
fld dword [esp + 0x74]
fmul st(2)
fstp dword [esp + 0x68]
fld dword [esp + 0x78]
fmul st(2)
fstp dword [esp + 0x6c]
fld dword [esp + 0x7c]
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x70]
fadd dword [esp + 0x68]
fstp dword [esp + 0x24]
mov edx, dword [esp + 0x24]
fld dword [esp + 0x6c]
mov dword [ebx], edx
faddp st(2)
fxch st(1)
fstp dword [esp + 0x28]
mov eax, dword [esp + 0x28]
mov dword [ebx + 4], eax
fadd dword [esp + 0x70]
fstp dword [esp + 0x2c]
mov ecx, dword [esp + 0x2c]
mov dword [ebx + 8], ecx
jmp 0x52624d
fstp st(0)
fstp st(0)
fstp st(0)
add edi, 1
add ebx, 0xc
cmp edi, 4
jl 0x526183
push ebp
push 0x4ca6b0
push 4
push 8
lea edx, [esp + 0x90]
push edx
call fcn.004010b0
lea ebx, [esp + 0x84]
lea edi, [esi + 0x25c]
mov ebp, 4
fld dword [edi - 4]
push 1
fstp dword [esp + 0x14]
push ebx
fld dword [edi]
lea eax, [esp + 0x18]
push eax
fstp dword [esp + 0x20]
mov ecx, esi
call fcn.00525c10
add edi, 0xc
add ebx, 8
sub ebp, 1
jne 0x526285
fldz
mov ebx, 8
mov dword [esi + 0x294], ebx
xor ecx, ecx
pop ebp
cmp ecx, 3
fld dword [esp + ecx*8 + 0x80]
lea eax, [ecx + ecx]
lea edx, [eax + eax*2]
lea edx, [esi + edx*4]
fstp dword [edx + 0x298]
fld dword [esp + ecx*8 + 0x84]
fstp dword [edx + 0x29c]
lea edx, [eax + eax*2 + 0xa8]
fst dword [esi + edx*4]
jne 0x5262f2
xor edi, edi
jmp 0x5262f5
lea edi, [ecx + 1]
fld dword [esp + edi*8 + 0x80]
lea edx, [eax + eax*2 + 3]
lea edx, [esi + edx*4]
fstp dword [edx + 0x298]
add ecx, 1
cmp ecx, 4
fld dword [esp + edi*8 + 0x84]
fstp dword [edx + 0x29c]
lea eax, [eax + eax*2 + 0xab]
fst dword [esi + eax*4]
jl 0x5262bc
fstp st(0)
mov dword [esi + 0x2f8], ebx
xor eax, eax
lea ecx, [esi + 0x2fc]
jmp 0x526340
mov word [ecx], ax
add eax, 1
add ecx, 2
cmp eax, ebx
jl 0x526340
push 3
mov edx, ebx
lea ecx, [esp + 0x10]
call fcn.004bf470
mov ecx, dword [eax]
pop edi
pop ebx
mov dword [esi + 0x30c], ecx
pop esi
add esp, 0x94
ret
mov eax, dword [eax + 0x120]
mov edx, dword [eax + 0x28]
mov ecx, dword [eax + 0x2c]
mov dword [esp + 0x24], edx
fld dword [esp + 0x24]
mov edx, dword [eax + 0x30]
fstp dword [esp + 0x30]
mov dword [esp + 0x28], ecx
fld dword [esp + 0x28]
push 1
fstp dword [esp + 0x38]
fldz
lea eax, [esp + 0x10]
push eax
fst dword [esp + 0x14]
lea ecx, [esp + 0x38]
fstp dword [esp + 0x18]
push ecx
mov ecx, esi
mov dword [esp + 0x38], edx
call fcn.00525c10
fld dword [0x7baaf8]
fst dword [esp + 0x3c]
mov ebx, 4
fldz
mov dword [esi + 0x294], ebx
fst dword [esp + 0x40]
xor ecx, ecx
fld dword [0x7baaf4]
lea edi, [esi + 0x29c]
fst dword [esp + 0x44]
fstp dword [esp + 0x50]
fst dword [esp + 0x48]
fst dword [esp + 0x4c]
fst dword [esp + 0x54]
fxch st(1)
fstp dword [esp + 0x58]
fld dword [esp + 0x10]
fld dword [esp + 0xc]
jmp 0x526403
fxch st(2)
fld dword [esp + ecx*8 + 0x3c]
add ecx, 1
fadd st(1)
add edi, 0xc
cmp ecx, ebx
fstp dword [edi - 0x10]
fld dword [esp + ecx*8 + 0x38]
fadd st(2)
fstp dword [edi - 0xc]
fxch st(2)
fst dword [edi - 8]
jl 0x526401
fstp st(0)
mov dword [esi + 0x2f8], ebx
fstp st(0)
xor ecx, ecx
fstp st(0)
lea edi, [esi + 0x2fc]
jmp 0x526440
mov word [edi], cx
add ecx, 1
add edi, 2
cmp ecx, ebx
jl 0x526440
mov edx, eax
neg edx
sbb edx, edx
and edx, 6
push 3
add edx, 2
lea ecx, [esp + 0x10]
call fcn.004bf470
mov edx, dword [eax]
mov dword [esi + 0x30c], edx
pop edi
pop ebx
pop esi
add esp, 0x94
ret