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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x56e30b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x74
push ebx
push esi
fld qword [0x571800]
push edi
mov edi, ecx
fst qword [esp + 0x74]
mov eax, dword [edi + 4]
xor esi, esi
mov dword [esp + 0x28], edi
mov edx, dword [eax + 0x74]
cmp edx, esi
jle 0x4b519c
mov ecx, dword [eax + 0x70]
fadd qword [ecx]
add ecx, 8
dec edx
jne 0x4b5190
fst qword [esp + 0x74]
mov ecx, dword [eax + 0x78]
mov edx, dword [eax + 0x7c]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edx
fld qword [esp + 0x54]
fdiv st(1)
sub esp, 8
fstp qword [esp]
fstp st(0)
call fcn.00502c3a
add esp, 8
call fcn.00502d0c
mov dword [esp + 0x30], eax
mov eax, dword [edi + 4]
fild dword [esp + 0x30]
mov ecx, dword [eax + 0x70]
xor ebx, ebx
mov dword [esp + 0x24], 1
mov dword [esp + 0x30], ebx
fmul qword [esp + 0x74]
fsubr qword [esp + 0x54]
fcom qword [ecx]
fst qword [esp + 0x54]
fnstsw ax
test ah, 1
jne 0x4b5247
mov edx, ecx
mov edi, dword [esp + 0x24]
xor eax, eax
fsub qword [edx]
cmp edi, esi
sete al
fcom qword [ecx + 8]
add ecx, 8
mov dword [esp + 0x24], eax
inc ebx
mov edx, ecx
fnstsw ax
test ah, 1
je 0x4b51f8
fstp qword [esp + 0x54]
mov dword [esp + 0x30], ebx
push 0x20
call fcn.0055d252
add esp, 4
mov dword [esp + 0x2c], eax
cmp eax, esi
mov dword [esp + 0x88], esi
je 0x4b524b
mov ecx, eax
call fcn.004cdff0
mov dword [esp + 0x10], eax
jmp 0x4b524f
fstp st(0)
jmp 0x4b5221
mov dword [esp + 0x10], esi
mov edx, dword [ebp + 8]
xor eax, eax
mov dword [esp + 0x88], 0xffffffff
mov ecx, dword [edx + 8]
cmp ecx, esi
jle 0x4b543a
dec ecx
mov edi, eax
cmp eax, ecx
mov dword [esp + 0x1c], edi
jge 0x4b5287
mov edx, dword [edx + 4]
test byte [edx + edi], 2
jne 0x4b5283
inc edi
cmp edi, ecx
jl 0x4b5278
mov dword [esp + 0x1c], edi
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x14], ecx
cmp eax, edi
mov ecx, dword [edx + 4]
mov dword [esp + 0x18], ebx
mov esi, 1
mov edx, dword [ecx + 0x70]
fld qword [edx + ebx*8]
fsub qword [esp + 0x54]
fstp qword [esp + 0x4c]
jge 0x4b5429
mov ecx, eax
mov edx, edi
shl ecx, 4
sub edx, eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x2c], edx
jmp 0x4b52cc
mov ecx, dword [esp + 0x20]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
fld qword [ecx + eax]
fstp qword [esp + 0x3c]
fld qword [ecx + eax + 8]
fstp qword [esp + 0x34]
fld qword [ecx + eax + 0x10]
fstp qword [esp + 0x5c]
fld qword [ecx + eax + 0x18]
fstp qword [esp + 0x64]
fld qword [esp + 0x5c]
fsub qword [esp + 0x3c]
fld qword [esp + 0x64]
fsub qword [esp + 0x34]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fsqrt
fstp qword [esp + 0x44]
fstp st(0)
fstp st(0)
fld qword [esp + 0x44]
fcomp qword [0x571800]
fnstsw ax
test ah, 0x41
jne 0x4b540f
mov edi, dword [esp + 0x40]
mov ebx, dword [esp + 0x3c]
fld qword [esp + 0x4c]
fcomp qword [esp + 0x44]
fnstsw ax
test ah, 1
jne 0x4b5455
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4b5388
test esi, esi
je 0x4b5367
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push edi
push ebx
call fcn.004ce120
xor esi, esi
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
push eax
mov eax, dword [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push eax
call fcn.004ce190
mov ecx, dword [esp + 0x20]
fld qword [esp + 0x4c]
fsub qword [esp + 0x44]
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
fstp qword [esp + 0x4c]
fld qword [esp + 0x4c]
fcomp qword [0x571800]
fnstsw ax
test ah, 0x41
je 0x4b540b
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
xor edx, edx
mov eax, dword [eax + 4]
test esi, esi
mov esi, dword [eax + 0x74]
sete dl
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x18]
inc edx
cmp edx, esi
mov dword [esp + 0x18], edx
jne 0x4b53e3
mov dword [esp + 0x18], 0
mov edx, dword [eax + 0x70]
mov eax, dword [esp + 0x18]
mov esi, 1
fld qword [edx + eax*8]
fstp qword [esp + 0x4c]
fld qword [esp + 0x44]
fcomp qword [0x571800]
fnstsw ax
test ah, 0x41
je 0x4b5331
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
add ecx, 0x10
dec eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x2c], eax
jne 0x4b52c8
mov ebx, dword [esp + 0x30]
mov edx, dword [ebp + 8]
lea eax, [edi + 1]
mov ecx, dword [edx + 8]
cmp eax, ecx
jl 0x4b526a
mov ecx, dword [esp + 0x80]
mov eax, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
fld qword [esp + 0x4c]
fdiv qword [esp + 0x44]
mov eax, dword [esp + 0x14]
test eax, eax
fld qword [esp + 0x5c]
fsub qword [esp + 0x3c]
fmul st(1)
fadd qword [esp + 0x3c]
fstp qword [esp + 0x6c]
fld qword [esp + 0x64]
fsub qword [esp + 0x34]
fmul st(1)
fadd qword [esp + 0x34]
fstp qword [esp + 0x74]
fstp st(0)
je 0x4b54c5
test esi, esi
je 0x4b54a4
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push edi
push ebx
call fcn.004ce120
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
push eax
mov eax, dword [esp + 0x70]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push eax
call fcn.004ce190
mov ecx, dword [esp + 0x20]
fld qword [esp + 0x44]
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x70]
fsub qword [esp + 0x4c]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x74]
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x78]
mov edi, dword [esp + 0x40]
fstp qword [esp + 0x44]
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
jmp 0x4b53b5