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

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebp, ecx
sub esp, 0x118
movsx esi, word [ebp + 0x5c]
movzx eax, word [0x68e9c0]
mov ebx, dword [esp + 0x138]
cmp eax, esi
jne 0x4b5e07
call fcn.004bc140
cmp dword [esp + 0x12c], eax
je 0x4b5e07
mov byte [ebp + 0x17b], 0
mov al, byte [ebp + 0x51]
shr al, 4
and al, 1
fldz
fldz
je 0x4b5ef7
mov ebx, dword [esp + 0x130]
fld dword [ebp + 0x74]
add ebx, 0x10
fmul dword [ebx + 4]
fld dword [ebp + 0x70]
fmul dword [ebx]
faddp st(1)
fld dword [ebp + 0x78]
fmul dword [ebx + 8]
faddp st(1)
fstp st(2)
fld st(1)
fcomp dword [0x68f58c]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x4b5ee6
fld st(1)
fchs
fmul dword [ebp + 0xb8]
mov eax, dword [esp + 0x134]
fstp dword [eax]
mov eax, dword [esp + 0x134]
mov edi, dword [esp + 0x130]
fld dword [eax]
fstp st(2)
fld dword [0x68f590]
fdiv dword [ebp + 0xb8]
add edi, 0x10
mov al, 1
fstp st(1)
fld st(1)
fmul dword [edi]
fmul st(1)
fstp dword [esp + 0x7c]
fld st(1)
fmul dword [edi + 4]
lea esi, [esp + 0x7c]
fmul st(1)
fstp dword [esp + 0x80]
fld st(1)
fmul dword [edi + 8]
lea edi, [esp + 0x1c]
fmul st(1)
fstp dword [esp + 0x84]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
fld dword [ebp + 0x70]
fadd dword [esp + 0x1c]
fstp dword [ebp + 0x70]
fld dword [ebp + 0x74]
fadd dword [esp + 0x20]
fstp dword [ebp + 0x74]
fld dword [ebp + 0x78]
fadd dword [esp + 0x24]
fstp dword [ebp + 0x78]
fcompp
add esp, 0x118
pop ebp
pop edi
pop esi
pop ebx
ret 0x14
fcompp
xor al, al
add esp, 0x118
pop ebp
pop edi
pop esi
pop ebx
ret 0x14
mov eax, dword [esp + 0x130]
lea ecx, [ebp + 0x34]
fld dword [eax]
fsub dword [ecx]
mov eax, dword [esp + 0x130]
lea edi, [esp + 0x28]
fstp dword [esp + 0x88]
fld dword [eax + 4]
fsub dword [ecx + 4]
mov eax, dword [esp + 0x130]
lea esi, [esp + 0x88]
fstp dword [esp + 0x8c]
fld dword [eax + 8]
fsub dword [ecx + 8]
fstp dword [esp + 0x90]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0xf4], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0xfc], eax
mov dword [esp + 0xf8], edx
fld dword [ebp + 0x84]
fadd dword [ebp + 0x9c]
lea eax, [esp + 0xf4]
push eax
lea eax, [esp + 0x110]
fstp st(1)
fld dword [ebp + 0x80]
fadd dword [ebp + 0x98]
fstp st(2)
fld dword [ebp + 0x7c]
fadd dword [ebp + 0x94]
fstp dword [esp + 0x104]
fld st(1)
lea edi, [esp + 0x104]
fstp dword [esp + 0x108]
fst dword [esp + 0x10c]
fcompp
push edi
push eax
call fcn.004e00d0
fld dword [esp + 0x118]
fadd dword [ebp + 0x70]
lea edi, [esp + 0x40]
add esp, 0xc
fadd dword [ebp + 0x88]
fstp dword [esp + 0x94]
fld dword [esp + 0x110]
fadd dword [ebp + 0x74]
lea esi, [esp + 0x94]
fadd dword [ebp + 0x8c]
fstp dword [esp + 0x98]
fld dword [esp + 0x114]
fadd dword [ebp + 0x78]
fadd dword [ebp + 0x90]
fstp dword [esp + 0x9c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x130]
lea edi, [esp + 0x40]
lea esi, [eax + 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
fld dword [esp + 0x38]
fmul dword [esp + 0x44]
fld dword [esp + 0x34]
fmul dword [esp + 0x40]
faddp st(1)
fld dword [esp + 0x3c]
fmul dword [esp + 0x48]
faddp st(1)
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fcomp dword [0x68f58c]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x4b6610
lea eax, [esp + 0x40]
lea esi, [esp + 0x28]
push eax
lea eax, [esp + 0xa4]
push esi
push eax
call fcn.004e00d0
lea ecx, [esp + 0xac]
mov al, byte [ebp + 0x50]
fldz
fldz
fldz
fld dword [ecx + 4]
fstp st(3)
and al, 7
add esp, 0xc
fld st(2)
fmul st(0)
fld dword [ecx]
fstp st(4)
xor edi, edi
cmp al, 4
fld st(3)
fmul st(0)
faddp st(1)
fld dword [ecx + 8]
fstp st(4)
fld st(3)
fmul st(0)
faddp st(1)
fstp st(3)
fld st(2)
fdiv dword [ebp + 0xbc]
fld dword [0x68f590]
fdiv dword [ebp + 0xb8]
faddp st(1)
fdivr dword [0x68f590]
fstp st(3)
fld dword [0x68f5f0]
fmul dword [0x97542c]
fstp st(2)
jne 0x4b60e0
inc edi
jmp 0x4b6152
cmp al, 2
jne 0x4b6152
mov al, byte [ebp + 0x11a]
shr al, 4
and al, 1
jne 0x4b6152
mov esi, dword [ebp + 0x29c]
cmp esi, 5
jne 0x4b6120
mov al, byte [ebp + 0x50]
shr al, 3
movzx edx, al
cmp edx, 4
je 0x4b610f
cmp edx, 5
jne 0x4b6120
fld dword [0x68f5f8]
mov edi, 3
jmp 0x4b6150
cmp esi, 1
jne 0x4b6132
fld dword [0x68f598]
mov edi, 4
jmp 0x4b6150
fld dword [ebp + 0x2c]
fcomp dword [0x68f5cc]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x4b6152
fld dword [0x68f5fc]
mov edi, 2
fmulp st(2)
cmp di, 1
jne 0x4b61cd
mov al, byte [ebp + 0x51]
shr al, 3
and al, 1
jne 0x4b61cd
fld dword [ebp + 0x70]
fabs
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fst st(1)
fcomp st(2)
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x4b61cd
fld dword [ebp + 0x74]
fabs
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fst st(1)
fcomp st(2)
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x4b61cd
fld dword [ebp + 0x78]
fabs
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fstp st(1)
fld dword [0x68f5d8]
fmul st(2)
fcomp st(1)
fnstsw ax
test ah, 0x45
jne 0x4b61cd
fld dword [0x68f600]
fmul dword [esp + 0xc]
mov eax, dword [esp + 0x134]
fmul st(3)
fstp dword [eax]
cmp di, 3
jne 0x4b6243
fld dword [ebp + 0x70]
fabs
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fst st(1)
fcomp st(2)
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x4b6243
fld dword [ebp + 0x74]
fabs
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fst st(1)
fcomp st(2)
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x4b6243
fld dword [ebp + 0x78]
fabs
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fstp st(1)
fld dword [0x68f5d8]
fmul st(2)
fcomp st(1)
fnstsw ax
test ah, 0x45
jne 0x4b6243
fld dword [0x68f604]
fmul dword [esp + 0xc]
mov eax, dword [esp + 0x134]
fmul st(3)
fstp dword [eax]
jmp 0x4b637d
cmp di, 2
jne 0x4b62b0
fld dword [ebp + 0x70]
fabs
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fst st(1)
fcomp st(2)
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x4b62b0
fld dword [ebp + 0x74]
fabs
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fst st(1)
fcomp st(2)
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x4b62b0
fld dword [ebp + 0x78]
fabs
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fstp st(1)
fld dword [0x68f5d8]
fmul st(2)
fcomp st(1)
fnstsw ax
test ah, 0x45
jne 0x4b62b0
fld dword [0x68f608]
jmp 0x4b636e
cmp di, 4
jne 0x4b6314
fld dword [ebp + 0x70]
fabs
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fst st(1)
fcomp st(2)
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x4b6314
fld dword [ebp + 0x74]
fabs
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fst st(1)
fcomp st(2)
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x4b6314
fld dword [ebp + 0x78]
fabs
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fstp st(1)
fld dword [0x68f5d8]
fmul st(2)
fcomp st(1)
fnstsw ax
test ah, 0x45
jne 0x4b6314
fld dword [0x68f604]
jmp 0x4b636e
mov al, byte [ebp + 0x50]
and al, 7
cmp al, 2
jne 0x4b6360
cmp dword [ebp + 0x29c], 1
jne 0x4b6360
mov eax, dword [esp + 0x130]
cmp byte [eax + 0x22], 0x16
je 0x4b6347
fld dword [esp + 0x48]
fcomp dword [0x68f59c]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x4b6360
fld dword [0x68f5d8]
fmul dword [ebp + 0xc8]
fadd dword [0x68f590]
fchs
jmp 0x4b636e
fld dword [0x68f590]
fadd dword [ebp + 0xc8]
fchs
fmul dword [esp + 0xc]
mov eax, dword [esp + 0x134]
fmul st(3)
fstp dword [eax]
mov eax, dword [esp + 0x134]
lea edi, [esp + 0x4c]
fld dword [eax]
fstp st(3)
fld st(2)
fmul dword [esp + 0x40]
fstp dword [esp + 0xac]
fld st(2)
fmul dword [esp + 0x44]
lea esi, [esp + 0xac]
fstp dword [esp + 0xb0]
fld st(2)
fmul dword [esp + 0x48]
fstp dword [esp + 0xb4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
fld dword [0x68f590]
fdiv dword [ebp + 0xb8]
lea edi, [esp + 0x58]
fstp st(3)
fld st(2)
fmul dword [esp + 0x4c]
fstp dword [esp + 0xb8]
fld st(2)
fmul dword [esp + 0x50]
lea esi, [esp + 0xb8]
fstp dword [esp + 0xbc]
fld st(2)
fmul dword [esp + 0x54]
fstp dword [esp + 0xc0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov al, byte [ebp + 0x50]
and al, 7
cmp al, 2
jne 0x4b64e0
mov al, byte [ebp + 0x54]
and al, 1
je 0x4b6480
fld dword [ebp + 0x74]
fstp st(3)
fld st(2)
fmul st(0)
fld dword [ebp + 0x70]
fstp st(4)
fld st(3)
fmul st(0)
faddp st(1)
fld dword [ebp + 0x78]
fstp st(4)
fld st(3)
fmul st(0)
faddp st(1)
fcomp dword [0x68f5b4]
fnstsw ax
test ah, 0x45
je 0x4b6464
mov eax, dword [esp + 0x12c]
mov al, byte [eax + 0x50]
and al, 7
cmp al, 1
je 0x4b6480
mov eax, dword [esp + 0x12c]
mov al, byte [eax + 0x11a]
shr al, 2
and al, 1
jne 0x4b6480
fld dword [ebx]
fadd dword [esp + 0x58]
fstp dword [ebx]
fld dword [ebx + 4]
fadd dword [esp + 0x5c]
fstp dword [ebx + 4]
fld dword [ebx + 8]
fadd dword [esp + 0x60]
jmp 0x4b64ab
fld dword [0x68f598]
fmul dword [esp + 0x58]
fadd dword [ebx]
fstp dword [ebx]
fld dword [0x68f598]
fmul dword [esp + 0x5c]
fadd dword [ebx + 4]
fstp dword [ebx + 4]
fld dword [0x68f598]
fmul dword [esp + 0x60]
fadd dword [ebx + 8]
fstp dword [ebx + 8]
fld dword [esp + 0x4c]
fmul dword [0x68f60c]
fstp dword [esp + 0x4c]
fld dword [esp + 0x50]
fmul dword [0x68f60c]
fstp dword [esp + 0x50]
fld dword [esp + 0x54]
fmul dword [0x68f60c]
fstp dword [esp + 0x54]
jmp 0x4b64fc
fld dword [ebx]
fadd dword [esp + 0x58]
fstp dword [ebx]
fld dword [ebx + 4]
fadd dword [esp + 0x5c]
fstp dword [ebx + 4]
fld dword [ebx + 8]
fadd dword [esp + 0x60]
fstp dword [ebx + 8]
lea eax, [ebp + 0xd0]
lea edi, [ebp + 4]
fcompp
push eax
lea eax, [esp + 0xc8]
push edi
push eax
fstp st(0)
call fcn.004e0050
lea esi, [esp + 0xd0]
lea edi, [esp + 0x70]
movsd dword es:[edi], dword [esi]
add esp, 0xc
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
fld dword [ebp + 0xbc]
fstp dword [esp + 8]
fld dword [esp + 0x28]
fsub dword [esp + 0x64]
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0xe0]
fstp dword [esp + 0xec]
fld dword [esp + 0x30]
fsub dword [esp + 0x6c]
lea esi, [esp + 0xec]
push esi
push eax
fstp dword [esp + 0xf8]
fld dword [esp + 0x3c]
fsub dword [esp + 0x78]
fstp dword [esp + 0xfc]
call fcn.004e00d0
fldz
fld dword [0x68f590]
fdiv dword [esp + 0x14]
lea edi, [esp + 0x7c]
add esp, 0xc
fst st(1)
fmul dword [esp + 0xdc]
fstp dword [esp + 0xd0]
fld st(0)
fmul dword [esp + 0xe0]
lea esi, [esp + 0xd0]
fstp dword [esp + 0xd4]
fld st(0)
fmul dword [esp + 0xe4]
fstp dword [esp + 0xd8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x13c]
fld dword [eax]
fadd dword [esp + 0x70]
fstp dword [eax]
mov eax, dword [esp + 0x13c]
fld dword [eax + 4]
fadd dword [esp + 0x74]
fstp dword [eax + 4]
mov eax, dword [esp + 0x13c]
fld dword [eax + 8]
fadd dword [esp + 0x78]
fstp dword [eax + 8]
add esp, 0x118
mov al, 1
fstp st(0)
pop ebp
pop edi
pop esi
pop ebx
ret 0x14
xor al, al
add esp, 0x118
pop ebp
pop edi
pop esi
pop ebx
ret 0x14