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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x754
mov eax, dword [0xba2058]
push ebx
push esi
push edi
test eax, eax
je 0x4cd35c
lea eax, [eax + eax*2]
shl eax, 4
fld qword [eax + 0xba2048]
mov ecx, dword [eax + 0xba2040]
lea eax, [eax + 0xba2030]
fstp dword [esp + 0x88]
fld qword [eax + 0x20]
mov edx, dword [eax + 0x28]
mov dword [esp + 0x80], ecx
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x3c], edx
fstp dword [esp + 0x8c]
add ecx, 3
mov dword [esp + 0x84], ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x34], 0x3f800000
movsx edx, word [ecx + 2]
movsx eax, word [ecx + 6]
lea ebx, [ecx + 8]
movsx ecx, word [ecx + 4]
add eax, ecx
mov ecx, dword [ebp + 0x28]
add edx, ebx
and ecx, 4
mov dword [esp + 0x30], edx
mov dword [esp + 0x68], ecx
je 0x4cd392
mov dword [esp + 0x34], 0xbf800000
mov ecx, dword [ebp + 0x1c]
mov esi, 0x40000000
sar esi, cl
mov ecx, 6
lea edi, [esp + 0x130]
test eax, eax
mov dword [esp + 0x1c], esi
mov esi, dword [ebp + 0x10]
fild dword [esp + 0x1c]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0x14]
mov ecx, 6
fmul qword [0x534ae8]
lea edi, [esp + 0xb8]
rep movsd dword es:[edi], dword [esi]
fstp qword [esp + 0x40]
jle 0x4cd5e6
mov ecx, dword [ebp + 0x28]
lea esi, [esp + 0x160]
and ecx, 1
mov dword [esp + 0x38], esi
mov dword [esp + 0x70], ecx
mov dword [esp + 0x1c], eax
jmp 0x4cd3f7
mov ecx, dword [esp + 0x70]
mov eax, dword [edx]
mov esi, eax
sar esi, 0x1a
and esi, 0x3f
sub esi, 0x18
mov dword [esp + 0x10], esi
mov esi, eax
fild dword [esp + 0x10]
sar esi, 0x14
and esi, 0x3f
sub esi, 0x18
mov dword [esp + 0x10], esi
fild dword [esp + 0x10]
sar eax, 0xe
and eax, 0x3f
fstp qword [esp + 0x58]
sub eax, 0x18
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x68]
fild dword [esp + 0x10]
test eax, eax
fstp qword [esp + 0x60]
fmul qword [esp + 0x40]
fld qword [esp + 0x58]
fmul qword [esp + 0x40]
fstp qword [esp + 0x58]
fld qword [esp + 0x60]
fmul qword [esp + 0x40]
fstp qword [esp + 0x60]
je 0x4cd45e
fchs
test ecx, ecx
je 0x4cd491
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x20], eax
mov al, byte [ebp + 0x28]
test al, 2
mov dword [esp + 0x24], ecx
je 0x4cd485
fchs
fstp qword [esp + 0x58]
fld qword [esp + 0x20]
jmp 0x4cd4a3
fstp qword [esp + 0x58]
fld qword [esp + 0x20]
fchs
jmp 0x4cd4a3
test byte [ebp + 0x28], 2
je 0x4cd4a3
fchs
fld qword [esp + 0x58]
fchs
fstp qword [esp + 0x58]
mov eax, dword [ebp + 0xc]
fadd qword [eax]
fstp qword [esp + 0x50]
fld qword [esp + 0x58]
fadd qword [eax + 8]
fstp qword [esp + 0x58]
fld qword [esp + 0x60]
fadd qword [eax + 0x10]
mov eax, dword [0xba2058]
test eax, eax
fstp qword [esp + 0x60]
je 0x4cd5b6
fld dword [esp + 0x88]
fsubr qword [esp + 0x50]
mov ecx, dword [esp + 0x84]
fmul dword [esp + 0x80]
fld dword [esp + 0x8c]
fsubr qword [esp + 0x58]
fmul dword [esp + 0x80]
fstp dword [esp + 0x10]
fld st(0)
fistp qword [esp + 0x14]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x78], edx
fld dword [esp + 0x10]
fistp qword [esp + 0x14]
mov eax, dword [esp + 0x14]
mov esi, eax
mov dword [esp + 0x14], eax
shl esi, cl
fisub dword [esp + 0x78]
lea ecx, [esi + eax]
mov esi, dword [esp + 0x3c]
fild dword [esp + 0x14]
lea edi, [ecx + edx]
inc edx
add ecx, edx
inc eax
movsx edi, byte [edi + esi]
fsubr dword [esp + 0x10]
movsx ecx, byte [ecx + esi]
mov dword [esp + 0x14], edi
mov edi, eax
fild dword [esp + 0x14]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x84]
shl edi, cl
fild dword [esp + 0x14]
add edi, eax
add edi, edx
movsx edx, byte [edi + esi - 1]
lea eax, [edi + esi]
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
movsx eax, byte [eax]
fstp dword [esp + 0x10]
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x30]
fsub st(1)
fmul st(3)
faddp st(1)
fild dword [esp + 0x14]
fsub dword [esp + 0x10]
fmulp st(3)
fxch st(2)
fadd dword [esp + 0x10]
fsub st(2)
fmul st(1)
fadd st(2)
fsub qword [0x534ae0]
fxch st(2)
fstp st(0)
fstp st(0)
fmul dword [0x5342e8]
fadd qword [esp + 0x60]
fstp qword [esp + 0x60]
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x1c]
mov ecx, 6
lea esi, [esp + 0x50]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x38]
add edx, 4
add esi, 0x18
dec eax
mov dword [esp + 0x38], esi
mov dword [esp + 0x30], edx
mov dword [esp + 0x1c], eax
jne 0x4cd3f3
fld qword [esp + 0xb8]
fsub qword [esp + 0x130]
fstp dword [esp + 0xd0]
fld qword [esp + 0xc0]
mov ecx, dword [ebp + 8]
mov esi, dword [ebp + 0x14]
fsub qword [esp + 0x138]
fstp dword [esp + 0xd4]
movsx eax, word [ecx]
fld qword [esp + 0xc8]
fsub qword [esp + 0x140]
fstp dword [esp + 0xd8]
mov ecx, 6
lea edi, [esp + 0x148]
test eax, eax
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x30], 0
jle 0x4cdb0c
mov dword [esp + 0x1c], eax
jmp 0x4cd656
mov ebx, dword [esp + 0x3c]
mov eax, dword [ebx]
xor edx, edx
mov ecx, eax
mov dl, ah
mov dword [esp + 0x14], eax
and ecx, 0xff
mov eax, edx
add ebx, 4
lea ecx, [ecx + ecx*2]
mov dword [esp + 0x3c], ebx
lea eax, [eax + eax*2]
xor edx, edx
shl ecx, 3
shl eax, 3
lea esi, [esp + ecx + 0x160]
lea edi, [esp + ecx + 0x168]
fld qword [esp + eax + 0x160]
fsub qword [esi]
mov dl, byte [esp + 0x16]
lea ebx, [esp + ecx + 0x170]
lea ecx, [esp + 0x100]
fstp qword [esp + 0x100]
fld qword [esp + eax + 0x168]
fsub qword [edi]
fstp qword [esp + 0x108]
fld qword [esp + eax + 0x170]
fsub qword [ebx]
lea eax, [edx + edx*2]
lea edx, [esp + 0xb8]
shl eax, 3
fstp qword [esp + 0x110]
fld qword [esp + eax + 0x160]
fsub qword [esi]
fstp qword [esp + 0x118]
fld qword [esp + eax + 0x168]
fsub qword [edi]
fstp qword [esp + 0x120]
fld qword [esp + eax + 0x170]
fsub qword [ebx]
lea eax, [esp + 0x118]
push eax
push ecx
push edx
fstp qword [esp + 0x134]
call fcn.004b3190
lea eax, [esp + 0xc4]
push eax
call fcn.004b3100
fld qword [esp + 0x110]
lea ecx, [esp + 0x50]
lea edx, [esp + 0xe0]
fstp dword [esp + 0xf8]
fld qword [esp + 0x118]
push ecx
fstp dword [esp + 0x100]
fld qword [esp + 0x124]
fstp dword [esp + 0x104]
fld qword [esp + 0x12c]
fstp dword [esp + 0x108]
fld qword [esp + 0x134]
fstp dword [esp + 0x10c]
fld qword [esp + 0x13c]
fstp dword [esp + 0x110]
fld qword [esp + 0xcc]
fstp dword [esp + 0x54]
fld qword [esp + 0xd4]
fstp dword [esp + 0x58]
fld qword [esp + 0xdc]
fstp dword [esp + 0x5c]
fld qword [esp + 0x144]
fsub qword [esi]
fstp dword [esp + 0xf0]
fld qword [esp + 0x14c]
fsub qword [edi]
fstp dword [esp + 0xf4]
fld qword [esp + 0x154]
fsub qword [ebx]
fstp dword [esp + 0xf8]
lea eax, [esp + 0xf0]
push edx
lea ecx, [esp + 0xc4]
push eax
push ecx
call fcn.004b2c70
add esp, 0x20
test eax, eax
je 0x4cda48
lea edx, [esp + 0x40]
lea eax, [esp + 0xf4]
push edx
lea ecx, [esp + 0xec]
push eax
lea edx, [esp + 0xb4]
push ecx
push edx
push 0
push 0
call fcn.004b2d90
add esp, 0x18
test al, al
je 0x4cda48
fld dword [esp + 0xac]
fadd qword [esi]
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
fstp qword [esp + 0x94]
fld dword [esp + 0xb0]
fadd qword [edi]
fstp qword [esp + 0x9c]
fld dword [esp + 0xb4]
fadd qword [ebx]
fstp qword [esp + 0xa4]
fld qword [esi]
fsub qword [ecx]
fstp dword [esp + 0x50]
fld qword [esi + 8]
fsub qword [ecx + 8]
fld qword [esi + 0x10]
fsub qword [ecx + 0x10]
fld dword [esp + 0x50]
fcom dword [0x5333ec]
fnstsw ax
test ah, 1
je 0x4cd888
fchs
fld st(2)
fcomp dword [0x5333ec]
fnstsw ax
test ah, 1
je 0x4cd89d
fxch st(2)
fchs
fxch st(2)
fld st(1)
fcomp dword [0x5333ec]
fnstsw ax
test ah, 1
je 0x4cd8b2
fxch st(1)
fchs
fxch st(1)
fcom st(2)
fnstsw ax
test ah, 0x41
jne 0x4cd924
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x4cd926
fstp st(0)
fstp st(0)
fld qword [esi]
fcomp qword [ecx]
fnstsw ax
test ah, 0x41
jne 0x4cd8e4
fld qword [ecx]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
jmp 0x4cd8f3
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
fld qword [esi]
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], eax
fld qword [esp + 0x94]
fcomp st(1)
fnstsw ax
test ah, 1
fstp st(0)
jne 0x4cda48
fld qword [esp + 0x94]
fcomp qword [esp + 0x78]
fnstsw ax
test ah, 0x41
je 0x4cda48
jmp 0x4cd9df
fstp st(0)
fxch st(1)
fcomp st(1)
fnstsw ax
test ah, 0x41
fstp st(0)
jne 0x4cd992
fld qword [esi + 8]
fcomp qword [ecx + 8]
fnstsw ax
test ah, 0x41
jne 0x4cd953
fld qword [ecx + 8]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], edx
jmp 0x4cd964
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
fld qword [esi + 8]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
fld qword [esp + 0x9c]
fcomp st(1)
fnstsw ax
test ah, 1
fstp st(0)
jne 0x4cda48
fld qword [esp + 0x9c]
fcomp qword [esp + 0x68]
fnstsw ax
test ah, 0x41
je 0x4cda48
jmp 0x4cd9df
fld qword [esi + 0x10]
fcomp qword [ecx + 0x10]
fnstsw ax
test ah, 0x41
jne 0x4cd9aa
fld qword [ecx + 0x10]
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 0x14]
jmp 0x4cd9b3
fld qword [esi + 0x10]
mov edx, dword [ecx + 0x10]
mov eax, dword [ecx + 0x14]
fld qword [esp + 0xa4]
fcomp st(1)
mov dword [esp + 0x74], eax
mov dword [esp + 0x70], edx
fnstsw ax
test ah, 1
fstp st(0)
jne 0x4cda48
fld qword [esp + 0xa4]
fcomp qword [esp + 0x70]
fnstsw ax
test ah, 0x41
je 0x4cda48
lea ecx, [esp + 0x94]
push ecx
push esi
call fcn.004b32f0
fstp qword [esp + 0x90]
lea edx, [esp + 0x150]
push edx
push esi
call fcn.004b32f0
fcomp qword [esp + 0x98]
add esp, 0x10
fnstsw ax
test ah, 0x41
jne 0x4cda48
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x48]
mov ecx, 6
lea esi, [esp + 0x94]
lea edi, [esp + 0x148]
mov dword [esp + 0x30], 1
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
mov eax, dword [esp + 0x1c]
dec eax
mov dword [esp + 0x1c], eax
jne 0x4cd652
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4cdb0c
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
fld qword [ecx]
fsub qword [eax]
fld qword [ecx + 8]
fsub qword [eax + 8]
fld qword [ecx + 0x10]
fsub qword [eax + 0x10]
fld dword [esp + 0x20]
fmul dword [esp + 0x34]
fstp dword [esp + 0x20]
fld dword [esp + 0x24]
fmul dword [esp + 0x34]
fstp dword [esp + 0x24]
fld dword [esp + 0x28]
fmul dword [esp + 0x34]
fst dword [esp + 0x28]
fmul st(1)
fld dword [esp + 0x24]
fmul st(3)
faddp st(1)
fld dword [esp + 0x20]
fmul st(4)
faddp st(1)
fcomp dword [0x5333ec]
fstp st(0)
fnstsw ax
fstp st(0)
test ah, 1
fstp st(0)
je 0x4cdac9
mov eax, 1
jmp 0x4cdacb
xor eax, eax
mov ecx, dword [ebp + 0x20]
mov edx, dword [ebp + 0x24]
mov edi, dword [ebp + 0x18]
lea esi, [esp + 0x148]
mov dword [ecx], eax
mov ecx, dword [esp + 0x20]
xor eax, 1
mov dword [edx], eax
mov eax, dword [ebp + 0x2c]
mov edx, dword [esp + 0x24]
mov dword [eax], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov ecx, 6
rep movsd dword es:[edi], dword [esi]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret