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

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0xac
push ebx
push ebp
push esi
push edi
mov edi, eax
call fcn.004bb430
cmp al, 1
jne 0x4bbc46
cmp byte [ecx], al
jne 0x4bbc46
cmp byte [edi], al
jne 0x4bbc46
mov esi, dword [edi + 0xc]
push 1
mov eax, edi
mov dword [esp + 0x54], esi
call fcn.004b25a0
xor ebp, ebp
test esi, esi
jbe 0x4bbc46
jmp 0x4bb860
fldz
lea esi, [esp + 0x40]
fst dword [esp + 0x40]
mov ebx, ebp
fst dword [esp + 0x44]
fst dword [esp + 0x48]
fstp dword [esp + 0x4c]
call fcn.004b3190
test eax, eax
jne 0x4bbc3b
fldz
xor esi, esi
cmp dword [esp + 0xc4], 1
fadd qword [0x4f4298]
mov eax, edi
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fld qword [0x4e66a0]
fld st(0)
fdivrp st(2)
fxch st(1)
fstp dword [esp + 0x24]
fld dword [esp + 0xd4]
fadd st(1)
fdivr st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fst dword [esp + 0x38]
fst dword [esp + 0x28]
fstp dword [esp + 0x34]
fst qword [esp + 0x98]
fst qword [esp + 0xa0]
fst qword [esp + 0xa8]
fld dword [esp + 0xd8]
fst qword [esp + 0xb0]
fstp qword [esp + 0x90]
fst qword [esp + 0x78]
fst qword [esp + 0x80]
fstp qword [esp + 0x88]
jne 0x4bb98a
call fcn.004b2710
fld dword [0x4f4388]
fst dword [esp + 0x60]
lea eax, [esp + 0x54]
fld dword [esp + 0x24]
push eax
fdivr qword [0x4f4390]
lea ecx, [esp + 0x64]
push ecx
lea ebx, [esp + 0x74]
mov eax, edi
fmul dword [esp + 0x30]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fst dword [esp + 0x6c]
fld1
fst dword [esp + 0x70]
fst dword [esp + 0x5c]
fstp dword [esp + 0x64]
fst dword [esp + 0x60]
fstp dword [esp + 0x78]
fst dword [esp + 0x74]
fstp dword [esp + 0x7c]
call fcn.004b2bb0
mov eax, edi
call fcn.004b2880
fldz
fstp qword [esp + 0xb0]
fld dword [esp + 0xdc]
fstp qword [esp + 0x90]
jmp 0x4bb9a6
call fcn.004b2810
mov eax, edi
call fcn.004b2710
fld1
fcomp dword [esp + 0xd8]
fnstsw ax
test ah, 0x41
jne 0x4bb9ab
mov esi, 1
push esi
mov eax, edi
call fcn.004b2520
mov esi, dword [esp + 0xc0]
mov edx, dword [esi + 0x1c]
mov eax, dword [edx + 0xc]
add esi, 0x1c
push 0
mov ecx, esi
call eax
mov ecx, dword [eax]
mov edx, ebp
call fcn.004bc5c0
mov edx, dword [esi]
mov ebx, eax
mov eax, dword [edx + 0xc]
push 1
mov ecx, esi
call eax
mov ecx, dword [eax]
mov edx, ebp
call fcn.004bc5c0
mov edx, dword [esi]
mov dword [esp + 0x2c], eax
mov eax, dword [edx + 0xc]
push 2
mov ecx, esi
call eax
mov ecx, dword [eax]
mov edx, ebp
call fcn.004bc5c0
mov edx, dword [esi]
mov dword [esp + 0x14], eax
mov eax, dword [edx + 0xc]
push 3
mov ecx, esi
call eax
mov ecx, dword [eax]
mov edx, ebp
call fcn.004bc5c0
mov edx, dword [esi]
mov dword [esp + 0x30], eax
mov eax, dword [edx + 0xc]
push 4
mov ecx, esi
call eax
mov ecx, dword [eax]
mov edx, ebp
call fcn.004bc5c0
mov edx, dword [esi]
mov dword [esp + 0x3c], eax
mov eax, dword [edx + 0xc]
push 5
mov ecx, esi
call eax
mov ecx, dword [eax]
mov edx, ebp
call fcn.004bc5c0
fld dword [esp + 0x48]
fld dword [esp + 0x40]
mov esi, eax
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fst dword [esp + 0x10]
fldz
fld dword [esp + 0x10]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x4bba7d
fchs
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fmul qword [0x4f4248]
fadd qword [0x4f4240]
fstp dword [esp + 0x20]
fxch st(1)
fst dword [esp + 0x10]
fld dword [esp + 0x10]
fcom st(2)
fnstsw ax
test ah, 5
jp 0x4bbaaa
fchs
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fld dword [esp + 0x4c]
fld dword [esp + 0x44]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fcom st(4)
fnstsw ax
test ah, 5
jp 0x4bbad3
fchs
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fxch st(3)
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fcom st(4)
fnstsw ax
fstp st(4)
test ah, 5
jp 0x4bbaf6
fxch st(3)
fchs
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fxch st(3)
fld dword [esp + 0x24]
lea ecx, [esp + 0x78]
push ecx
lea edx, [esp + 0x9c]
push edx
sub esp, 0x34
fstp dword [esp + 0x30]
mov eax, dword [esp + 0x78]
fld dword [esp + 0x10c]
mov ecx, dword [esp + 0x68]
fstp dword [esp + 0x2c]
mov edx, dword [esp + 0x6c]
fld dword [esp + 0x108]
fstp dword [esp + 0x28]
fld dword [esp + 0x104]
fstp dword [esp + 0x24]
fld dword [esp + 0x70]
fstp dword [esp + 0x20]
fld dword [esp + 0x64]
fstp dword [esp + 0x1c]
fld dword [esp + 0x74]
fstp dword [esp + 0x18]
fxch st(3)
fstp dword [esp + 0x14]
fxch st(1)
fstp dword [esp + 0x10]
fstp dword [esp + 0xc]
fld dword [esp + 0x5c]
fstp dword [esp + 8]
fstp dword [esp + 4]
fstp dword [esp]
push esi
push eax
mov eax, dword [esp + 0x58]
push ecx
push edx
push ebx
push ebp
mov ecx, edi
call fcn.004b3420
cmp dword [esp + 0xc4], 1
mov eax, edi
jne 0x4bbb96
call fcn.004b2710
jmp 0x4bbb9b
call fcn.004b2790
fld dword [esp + 0x24]
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x9c]
push ecx
sub esp, 0x34
fstp dword [esp + 0x30]
mov edx, dword [esp + 0x78]
fld dword [esp + 0x10c]
mov eax, dword [esp + 0x68]
fstp dword [esp + 0x2c]
mov ecx, dword [esp + 0x6c]
fld dword [esp + 0x108]
fstp dword [esp + 0x28]
fld dword [esp + 0x104]
fstp dword [esp + 0x24]
fld dword [esp + 0x70]
fstp dword [esp + 0x20]
fld dword [esp + 0x64]
fstp dword [esp + 0x1c]
fld dword [esp + 0x74]
fstp dword [esp + 0x18]
fld dword [esp + 0x54]
fstp dword [esp + 0x14]
fld dword [esp + 0x58]
fstp dword [esp + 0x10]
fld dword [esp + 0x4c]
fstp dword [esp + 0xc]
fld dword [esp + 0x5c]
fstp dword [esp + 8]
fld dword [esp + 0x80]
fstp dword [esp + 4]
fld dword [esp + 0x7c]
fstp dword [esp]
push esi
push edx
push eax
mov eax, dword [esp + 0x5c]
push ecx
push ebx
push ebp
mov ecx, edi
call fcn.004b3420
inc ebp
cmp ebp, dword [esp + 0x50]
jb 0x4bb860
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xac
ret 0x20