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

Disassembly:
sub esp, 0xd8
push ebx
push ebp
mov ebp, dword [esp + 0xe4]
push esi
push edi
lea eax, [ebp + 0x20]
lea ecx, [esp + 0x24]
mov edx, 3
lea ecx, [ecx]
mov esi, dword [eax - 0x20]
mov dword [ecx - 4], esi
mov esi, dword [eax - 0x10]
mov dword [ecx], esi
mov esi, dword [eax]
mov dword [ecx + 4], esi
add eax, 4
add ecx, 0x10
dec edx
jne 0x4bb520
lea eax, [esp + 0x20]
push eax
call fcn.004bb140
fstp dword [esp + 0x14]
lea ecx, [esp + 0x24]
push ecx
call fcn.004bb0a0
fstp dword [esp + 0x1c]
add esp, 8
jmp 0x4bb560
lea edx, [esp + 0x68]
lea eax, [esp + 0x20]
push edx
push eax
call fcn.004b9f60
fld dword [esp + 0x78]
fmul dword [esp + 0x30]
add esp, 8
fld dword [esp + 0x6c]
fmul dword [esp + 0x24]
faddp st(1)
fld dword [esp + 0x68]
fmul dword [esp + 0x20]
faddp st(1)
fst dword [esp + 0x18]
fstp qword [esp + 0x60]
fld qword [0x5fd968]
fld qword [esp + 0x60]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x4bb6f1
mov ecx, edx
push ecx
call fcn.004bb0a0
fstp dword [esp + 0x20]
push edx
call fcn.004bb140
fmul dword [esp + 0x24]
fld dword [esp + 0x1c]
add esp, 8
fmul dword [esp + 0x10]
xor edi, edi
xor eax, eax
fdivp st(1)
fsqrt
fld qword [esp + 0x60]
fabs
fxch st(1)
fxch st(1)
fdivp st(1)
fsqrt
fld qword [0x5fd960]
fmul st(1)
fstp dword [esp + 0x10]
fmul dword [esp + 0x18]
fdivr qword [0x5fd960]
lea ebx, [ebx]
lea ecx, [esp + eax + 0x20]
mov esi, dword [ecx]
lea edx, [esp + eax + 0xa8]
mov dword [edx], esi
mov esi, dword [ecx + 4]
mov ecx, dword [ecx + 8]
add eax, 0x10
cmp eax, 0x30
mov dword [edx + 4], esi
mov dword [edx + 8], ecx
jl 0x4bb600
xor eax, eax
fld st(0)
add eax, 0x10
cmp eax, 0x30
fmul dword [esp + eax + 0x58]
fld dword [esp + 0x10]
fmul dword [esp + eax + 0x10]
faddp st(1)
fstp dword [esp + eax + 0x10]
fld st(0)
fmul dword [esp + eax + 0x5c]
fld dword [esp + 0x10]
fmul dword [esp + eax + 0x14]
faddp st(1)
fstp dword [esp + eax + 0x14]
fld st(0)
fmul dword [esp + eax + 0x60]
fld dword [esp + 0x10]
fmul dword [esp + eax + 0x18]
faddp st(1)
fstp dword [esp + eax + 0x18]
jl 0x4bb625
fstp st(0)
xor eax, eax
lea ecx, [ecx]
fld dword [esp + eax + 0xa8]
add eax, 0x10
cmp eax, 0x30
fsub dword [esp + eax + 0x10]
fstp dword [esp + eax + 0x98]
fld dword [esp + eax + 0x9c]
fsub dword [esp + eax + 0x14]
fstp dword [esp + eax + 0x9c]
fld dword [esp + eax + 0xa0]
fsub dword [esp + eax + 0x18]
fstp dword [esp + eax + 0xa0]
jl 0x4bb670
lea edx, [esp + 0x20]
push edx
call fcn.004bb140
fstp dword [esp + 0x14]
mov eax, edx
push eax
call fcn.004bb0a0
fstp dword [esp + 0x1c]
lea ecx, [esp + 0xb0]
push ecx
call fcn.004bb140
fld dword [esp + 0x1c]
fmul qword [0x5e1d90]
add esp, 0xc
fcompp
fnstsw ax
test ah, 5
jnp 0x4bb560
jmp 0x4bb708
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x6c]
push eax
mov ecx, edx
push ecx
call fcn.004bb360
add esp, 0xc
xor edi, edi
mov eax, dword [esp + 0xf0]
xor ecx, ecx
lea edx, [eax + 8]
mov esi, dword [esp + ecx*4 + 0x20]
mov dword [edx - 8], esi
mov esi, dword [esp + ecx*4 + 0x30]
mov dword [edx - 4], esi
mov esi, dword [esp + ecx*4 + 0x40]
mov dword [edx], esi
inc ecx
add edx, 0x10
cmp ecx, 3
jl 0x4bb714
mov esi, dword [esp + 0xf4]
push esi
lea edx, [esp + 0x24]
push ebp
mov ebx, 0x3f800000
push edx
mov dword [eax + 0x2c], edi
mov dword [eax + 0x38], edi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x34], edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x30], edi
mov dword [eax + 0x3c], ebx
call fcn.004b9ee0
mov eax, 3
add esp, 0xc
mov dword [esi + 0x2c], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x3c], ebx
mov ebp, esi
mov dword [esp + 0x14], eax
cmp eax, 4
mov ebx, edi
jl 0x4bb7f0
or edx, 0xffffffff
sub edx, edi
shr edx, 2
inc edx
mov ecx, ebp
lea eax, [ebp + 0x20]
lea ebx, [edi + edx*4]
lea esp, [esp]
fld dword [ecx]
add eax, 0x40
fadd dword [eax - 0x60]
add ecx, 0x10
dec edx
fmul qword [0x5fd960]
fst dword [eax - 0x60]
fstp dword [ecx - 0x10]
fld dword [eax - 0x50]
fadd dword [ecx - 0xc]
fmul qword [0x5fd960]
fst dword [eax - 0x50]
fstp dword [ecx - 0xc]
fld dword [eax - 0x40]
fadd dword [ecx - 8]
fmul qword [0x5fd960]
fst dword [eax - 0x40]
fstp dword [ecx - 8]
fld dword [eax - 0x30]
fadd dword [ecx - 4]
fmul qword [0x5fd960]
fst dword [eax - 0x30]
fstp dword [ecx - 4]
jne 0x4bb7a0
cmp ebx, 3
jge 0x4bb821
lea eax, [ebx + edi*4]
lea edx, [edi + ebx*4]
lea ecx, [esi + eax*4]
lea eax, [esi + edx*4]
mov edx, 3
sub edx, ebx
fld dword [eax]
add eax, 0x10
fadd dword [ecx]
add ecx, 4
dec edx
fmul qword [0x5fd960]
fst dword [eax - 0x10]
fstp dword [ecx - 4]
jne 0x4bb808
mov eax, dword [esp + 0x14]
inc edi
dec eax
add ebp, 0x14
test eax, eax
mov dword [esp + 0x14], eax
jg 0x4bb781
fld dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xd8
ret