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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x74
push ebx
push esi
mov esi, eax
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 4]
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
fld qword [eax + 0x28]
fsub qword [ecx + 0x28]
push edi
fld qword [eax + 0x30]
fsub qword [ecx + 0x30]
fld qword [eax + 0x38]
fsub qword [ecx + 0x38]
fld st(1)
fmulp st(2)
fld st(2)
fmulp st(3)
fxch st(1)
faddp st(2)
fmul st(0), st(0)
faddp st(1)
call fcn.00417560
fstp qword [esp + 0x20]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
fld qword [eax + 0x28]
fsub qword [ecx + 0x28]
fld qword [eax + 0x30]
fsub qword [ecx + 0x30]
fld qword [eax + 0x38]
fsub qword [ecx + 0x38]
fld st(1)
fmulp st(2)
fld st(2)
fmulp st(3)
fxch st(1)
faddp st(2)
fmul st(0), st(0)
faddp st(1)
call fcn.00417560
fld qword [esp + 0x20]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x4bd245
fstp qword [esp + 0x20]
jmp 0x4bd247
fstp st(0)
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x10]
fld qword [ecx + 0x20]
lea edx, [esp + 0x50]
fsub qword [eax + 0x20]
push edx
fmul qword [0x50c4f8]
fadd qword [eax + 0x20]
fstp qword [esp + 0x34]
fld qword [eax + 0x18]
lea eax, [esp + 0x2c]
push eax
fstp qword [esp + 0x30]
push ebx
call fcn.004326d0
mov ecx, dword [esi + 8]
fld qword [ecx + 0x18]
lea edx, [esp + 0x44]
fld qword [esp + 0x34]
push edx
fsub st(1), st(0)
lea eax, [esp + 0x38]
fxch st(1)
push eax
push ebx
fmul qword [0x50c4f8]
faddp st(1)
fstp qword [esp + 0x40]
call fcn.004326d0
mov ecx, dword [esi + 8]
fld qword [ecx + 0x18]
lea edx, [esp + 0x80]
push edx
fstp qword [esp + 0x44]
lea eax, [esp + 0x44]
push eax
push ebx
call fcn.004326d0
fld qword [esp + 0x74]
fsub qword [esp + 0x5c]
add esp, 0x24
fld qword [esp + 0x58]
fsub qword [esp + 0x40]
fld qword [esp + 0x60]
fsub qword [esp + 0x48]
fld st(1)
fmulp st(2)
fld st(2)
fmulp st(3)
fxch st(1)
faddp st(2)
fmul st(0), st(0)
faddp st(1)
call fcn.00417560
fld qword [esp + 0x20]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x4bd301
fstp qword [esp + 0x20]
jmp 0x4bd303
fstp st(0)
fld qword [esp + 0x38]
fsub qword [esp + 0x68]
fld qword [esp + 0x40]
fsub qword [esp + 0x70]
fld qword [esp + 0x48]
fsub qword [esp + 0x78]
fld st(1)
fmulp st(2)
fld st(2)
fmulp st(3)
fxch st(1)
faddp st(2)
fmul st(0), st(0)
faddp st(1)
call fcn.00417560
fld qword [esp + 0x20]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x4bd343
fstp qword [esp + 0x20]
jmp 0x4bd345
fstp st(0)
fld qword [esp + 0x50]
fsub qword [esp + 0x68]
fld qword [esp + 0x58]
fsub qword [esp + 0x70]
fld qword [esp + 0x60]
fsub qword [esp + 0x78]
fld st(1)
fmulp st(2)
fld st(2)
fmulp st(3)
fxch st(1)
faddp st(2)
fmul st(0), st(0)
faddp st(1)
call fcn.00417560
fld qword [esp + 0x20]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x4bd383
fstp st(0)
jmp 0x4bd385
fstp st(1)
fdiv qword [0x549b20]
sub esp, 8
fstp qword [esp]
call fcn.00500fc0
add esp, 8
call fcn.00418120
mov ecx, dword [esi + 0x10]
mov edi, eax
mov eax, dword [esi + 4]
fld qword [eax + 0x28]
fsub qword [ecx + 0x28]
fld qword [eax + 0x30]
fsub qword [ecx + 0x30]
fld qword [eax + 0x38]
fsub qword [ecx + 0x38]
fld st(1)
fmulp st(2)
fld st(2)
fmulp st(3)
fxch st(1)
faddp st(2)
fmul st(0), st(0)
faddp st(1)
call fcn.00417560
fstp qword [esp + 0x20]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
fld qword [eax + 0x28]
fsub qword [ecx + 0x28]
fld qword [eax + 0x30]
fsub qword [ecx + 0x30]
fld qword [eax + 0x38]
fsub qword [ecx + 0x38]
fld st(1)
fmulp st(2)
fld st(2)
fmulp st(3)
fxch st(1)
faddp st(2)
fmul st(0), st(0)
faddp st(1)
call fcn.00417560
fld qword [esp + 0x20]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x4bd411
fstp qword [esp + 0x20]
jmp 0x4bd413
fstp st(0)
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
fld qword [ecx + 0x18]
lea edx, [esp + 0x50]
fsub qword [eax + 0x18]
push edx
fmul qword [0x50c4f8]
fadd qword [eax + 0x18]
fstp qword [esp + 0x2c]
fld qword [eax + 0x20]
lea eax, [esp + 0x2c]
push eax
fstp qword [esp + 0x38]
push ebx
call fcn.004326d0
mov ecx, dword [esi + 0x10]
fld qword [ecx + 0x20]
lea edx, [esp + 0x44]
fld qword [esp + 0x3c]
push edx
fsub st(1), st(0)
lea eax, [esp + 0x38]
fxch st(1)
push eax
push ebx
fmul qword [0x50c4f8]
faddp st(1)
fstp qword [esp + 0x48]
call fcn.004326d0
mov ecx, dword [esi + 0x10]
fld qword [ecx + 0x20]
lea edx, [esp + 0x80]
push edx
fstp qword [esp + 0x4c]
lea eax, [esp + 0x44]
push eax
push ebx
call fcn.004326d0
fld qword [esp + 0x74]
fsub qword [esp + 0x5c]
add esp, 0x24
fld qword [esp + 0x58]
fsub qword [esp + 0x40]
fld qword [esp + 0x60]
fsub qword [esp + 0x48]
fld st(1)
fmulp st(2)
fld st(2)
fmulp st(3)
fxch st(1)
faddp st(2)
fmul st(0), st(0)
faddp st(1)
call fcn.00417560
fld qword [esp + 0x20]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x4bd4cd
fstp qword [esp + 0x20]
jmp 0x4bd4cf
fstp st(0)
fld qword [esp + 0x38]
fsub qword [esp + 0x68]
fld qword [esp + 0x40]
fsub qword [esp + 0x70]
fld qword [esp + 0x48]
fsub qword [esp + 0x78]
fld st(1)
fmulp st(2)
fld st(2)
fmulp st(3)
fxch st(1)
faddp st(2)
fmul st(0), st(0)
faddp st(1)
call fcn.00417560
fld qword [esp + 0x20]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x4bd50f
fstp qword [esp + 0x20]
jmp 0x4bd511
fstp st(0)
fld qword [esp + 0x50]
fsub qword [esp + 0x68]
fld qword [esp + 0x58]
fsub qword [esp + 0x70]
fld qword [esp + 0x60]
fsub qword [esp + 0x78]
fld st(1)
fmulp st(2)
fld st(2)
fmulp st(3)
fxch st(1)
faddp st(2)
fmul st(0), st(0)
faddp st(1)
call fcn.00417560
fld qword [esp + 0x20]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x4bd54f
fstp st(0)
jmp 0x4bd551
fstp st(1)
fdiv qword [0x549b20]
sub esp, 8
fstp qword [esp]
call fcn.00500fc0
add esp, 8
call fcn.00418120
mov ecx, dword [esi]
sub edi, 1
test edi, edi
mov ebx, eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], edi
jle 0x4bd5ab
fild dword [esp + 0x18]
mov edx, dword [ebp + 8]
fld qword [0x50c4d0]
sub esp, 8
fadd st(1)
fdivp st(1)
fstp qword [esp]
push 0
push esi
push edx
call fcn.0045c400
sub edi, 1
add esp, 0x14
test edi, edi
mov dword [esp + 0x18], edi
jg 0x4bd57d
cmp ebx, 1
jle 0x4bd603
cmp esi, dword [esp + 0x1c]
je 0x4bd603
add ebx, 0xffffffff
mov dword [esp + 0x20], ebx
mov edi, dword [esp + 0x20]
test edi, edi
mov ebx, dword [esi]
mov dword [esp + 0x18], edi
jle 0x4bd5fb
fild dword [esp + 0x18]
mov eax, dword [ebp + 8]
fild dword [esp + 0x18]
sub esp, 8
fadd qword [0x50c4d0]
fdivp st(1)
fstp qword [esp]
push 1
push esi
push eax
call fcn.0045c400
sub edi, 1
add esp, 0x14
test edi, edi
mov dword [esp + 0x18], edi
jg 0x4bd5cb
cmp ebx, dword [esp + 0x1c]
mov esi, ebx
jne 0x4bd5bd
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret