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

Disassembly:
push ebx
push esi
push edi
push ebp
sub esp, 0x20
mov edi, dword [esp + 0x34]
mov eax, dword [edi]
test eax, eax
mov dword [esp + 8], eax
je 0x4b5a24
fld dword [esp + 0x38]
fadd dword [esp + 0x40]
fmul dword [0x5f7998]
fstp dword [esp + 0xc]
fld dword [esp + 0x3c]
fadd dword [esp + 0x44]
fmul dword [0x5f7998]
fstp dword [esp + 0x10]
lea eax, [eax]
mov eax, dword [esp + 8]
mov ecx, eax
mov ebx, dword [eax]
mov eax, dword [ecx + 8]
mov dword [esp + 8], eax
mov cx, word [ebx + 0x58]
mov ax, word [0x95cc64]
cmp cx, ax
je 0x4b5a19
mov ax, word [0x95cc64]
mov word [ebx + 0x58], ax
call fcn.004a10c0
cmp ebx, eax
fldz
je 0x4b5a30
mov dword [esp + 4], ebx
add dword [esp + 4], 4
add dword [esp + 4], 0x30
mov eax, dword [esp + 4]
fld dword [eax]
fst st(1)
fcomp dword [esp + 0x48]
fnstsw ax
test ah, 0x45
jne 0x4b5a34
fcom dword [esp + 0x50]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x4b5a38
mov eax, dword [esp + 4]
fld dword [eax + 4]
fst st(1)
fcomp dword [esp + 0x4c]
fnstsw ax
test ah, 0x45
jne 0x4b5a40
fcom dword [esp + 0x54]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x4b5a44
mov al, byte [ebx + 0x1f5]
and al, 1
je 0x4b5a48
mov cl, byte [ebx + 0x15a]
cmp cl, 2
je 0x4b58b6
mov al, cl
add al, 0xfd
cmp al, 1
jbe 0x4b58b6
cmp cl, 5
jne 0x4b5a50
mov byte [ebx + 0x15b], 1
mov eax, dword [0x885b48]
add eax, 0x7d0
xor ebp, ebp
mov dword [ebx + 0x15c], eax
mov byte [esp], 0
movsx edx, word [ebx + 0x5c]
xor edi, edi
mov eax, dword [edx*4 + 0x83d408]
mov esi, dword [eax + 0x1c]
jmp 0x4b595b
mov eax, dword [esi + 0x40]
lea ecx, [ebx + 4]
add eax, edi
push eax
lea eax, [esp + 0x18]
push ecx
push eax
fstp st(0)
call fcn.004ba4d0
mov eax, dword [esi + 0x40]
add esp, 0xc
fld dword [esp + 0x14]
fld dword [esp + 0x18]
fld dword [eax + edi + 0xc]
fld dword [esp + 0x14]
fadd st(1)
fcomp dword [esp + 0x38]
fnstsw ax
test ah, 0x45
jne 0x4b5955
fld st(2)
fsub st(1)
fcomp dword [esp + 0x40]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x4b5955
fld st(1)
fadd st(1)
fcomp dword [esp + 0x3c]
fnstsw ax
test ah, 0x45
jne 0x4b5955
fld st(1)
fsub st(1)
fcomp dword [esp + 0x44]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x4b5955
mov byte [esp], 1
add edi, 0x14
inc ebp
fcompp
movsx eax, word [esi + 0x30]
cmp ebp, eax
jl 0x4b58e5
cmp byte [esp], 0
je 0x4b5a54
mov eax, dword [esp + 4]
fld dword [eax]
fcomp dword [esp + 0xc]
fnstsw ax
test ah, 0x45
jne 0x4b59a0
fld dword [ebx + 0x78]
fstp st(1)
fld dword [0x5f79ac]
fcomp st(1)
fnstsw ax
test ah, 0x45
jne 0x4b59bf
fld dword [0x5f79ac]
fstp st(1)
jmp 0x4b59bf
fld dword [ebx + 0x78]
fstp st(1)
fld dword [0x5f79ac]
fcomp st(1)
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x4b59bf
fld dword [0x5f79ac]
fstp st(1)
fst dword [ebx + 0x78]
mov eax, dword [esp + 4]
fld dword [eax + 4]
fcomp dword [esp + 0x10]
fnstsw ax
test ah, 0x45
jne 0x4b59f5
fld dword [ebx + 0x7c]
fstp st(1)
fld dword [0x5f79ac]
fcomp st(1)
fnstsw ax
test ah, 0x45
jne 0x4b59f0
fld dword [0x5f79ac]
fstp st(1)
fst dword [ebx + 0x7c]
jmp 0x4b5a58
fld dword [ebx + 0x7c]
fstp st(1)
fld dword [0x5f79ac]
fcomp st(1)
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x4b5a14
fld dword [0x5f79ac]
fstp st(1)
fst dword [ebx + 0x7c]
fstp st(0)
cmp dword [esp + 8], 0
jne 0x4b57f0
add esp, 0x20
pop ebp
pop edi
pop esi
pop ebx
ret
fstp st(0)
jmp 0x4b5a19
fstp st(0)
jmp 0x4b5a19
fstp st(0)
jmp 0x4b5a19
fstp st(0)
jmp 0x4b5a19
fstp st(0)
jmp 0x4b5a19
fstp st(0)
jmp 0x4b5a19
fstp st(0)
jmp 0x4b5a19
fstp st(0)
jmp 0x4b5a19
fstp st(0)
jmp 0x4b5a19