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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5d7eb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc8
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x68]
lea ecx, [esi + 0xa0]
push edi
lea eax, [esi + 0x28]
mov ebx, dword [ecx]
sub esp, 0x10
mov edx, esp
push eax
mov dword [edx], ebx
mov ebx, dword [ecx + 4]
mov dword [edx + 4], ebx
mov ebx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [edx + 8], ebx
mov dword [edx + 0xc], ecx
mov ecx, esi
call fcn.00525ec0
mov ecx, edi
call fcn.004b7340
fld qword [esi + 0x50]
fcomp qword [esi + 0x48]
push edi
fnstsw ax
test ah, 1
je 0x5253e0
push 5
jmp 0x5253e2
push 6
mov ecx, esi
call fcn.00526560
mov ecx, edi
call fcn.004b7340
fld qword [esi + 0x98]
fmul qword [0x5e2910]
fcomp qword [esi + 0x60]
fnstsw ax
test ah, 0x41
jne 0x525412
mov ecx, esi
call fcn.00524c00
jmp 0x525677
lea ecx, [esp + 0xa0]
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0x3ff00000
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0x3ff00000
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0x40000000
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0x40000000
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0x40000000
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0x40000000
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0x3ff00000
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0x3ff00000
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0x3ff00000
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0x40000000
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0x3ff00000
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0x40000000
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0x40000000
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0x3ff00000
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0x40000000
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0x3ff00000
call fcn.004b7220
xor edi, edi
mov dword [esp + 0xe0], edi
fld qword [esp + edi + 0x80]
fmul qword [esi + 0x28]
fld qword [esp + edi + 0x20]
fmul qword [esi + 0x38]
mov ecx, esi
faddp st(1)
fmul qword [0x5e79d8]
fstp qword [esp + 0x10]
fld qword [esp + edi + 0x40]
fmul qword [esi + 0x30]
fld qword [esp + edi + 0x60]
fmul qword [esi + 0x40]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
faddp st(1)
fmul qword [0x5e79d8]
fstp qword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
push ebx
push ebp
push edx
push eax
call fcn.0056c9d0
cmp eax, 0xffffffff
jne 0x52564d
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0xa0]
push ecx
mov ecx, dword [esp + 0x18]
sub esp, 0x10
mov edx, esp
mov dword [edx], eax
lea eax, [esi + 0x28]
push eax
mov dword [edx + 4], ecx
mov ecx, esi
mov dword [edx + 8], ebp
mov dword [edx + 0xc], ebx
call fcn.00525ec0
lea ecx, [esp + 0xa0]
call fcn.004b7340
fld qword [esp + 0xc0]
fcomp qword [esp + 0xc8]
fnstsw ax
test ah, 0x41
jne 0x5255f2
lea edx, [esp + 0xa0]
push edx
push 6
jmp 0x5255fc
lea eax, [esp + 0xa0]
push eax
push 5
mov ecx, esi
call fcn.00526560
lea ecx, [esp + 0xa0]
call fcn.004b7340
fld qword [esi + 0x98]
fld qword [esp + 0xd0]
fcomp st(1)
fnstsw ax
test ah, 0x41
fstp st(0)
jne 0x52564d
lea ecx, [esp + 0xa0]
push ecx
lea ecx, [esi + 0x68]
call fcn.004b73c0
fld qword [esi + 0x98]
fmul qword [0x5e7ac0]
fcomp qword [esi + 0x60]
fnstsw ax
test ah, 0x41
je 0x525659
add edi, 8
cmp edi, 0x20
jl 0x52553f
mov ecx, esi
call fcn.00524c00
lea ecx, [esp + 0xa0]
mov dword [esp + 0xe0], 0xffffffff
call fcn.004b7310
mov ecx, dword [esp + 0xd8]
pop edi
mov al, 1
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret