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

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x4c
push ebx
push ebp
mov ebp, dword [esp + 0x58]
push esi
push edi
cmp dword [ebp + 0xd44], eax
ja 0x4ce266
mov esi, dword [esp + 0x68]
fld dword [esi]
push ecx
fsub dword [ebp + 0x7c]
fstp dword [esp + 0x24]
fld dword [esi + 8]
fsub dword [ebp + 0x84]
fstp dword [esp + 0x64]
fld dword [esp + 0x64]
fld dword [esp + 0x24]
fmul st(0), st(0)
fld st(1)
fmulp st(2)
faddp st(1)
fstp dword [esp + 0x64]
fld dword [esp + 0x64]
fstp dword [esp]
call fcn.0041b8a0
fstp dword [esp + 0x64]
add esp, 4
fild dword [esp + 0x6c]
fstp dword [esp + 0x18]
fld dword [esp + 0x60]
fld dword [esp + 0x18]
fadd qword [0x574090]
fcompp
fnstsw ax
test ah, 0x41
jne 0x4cdb38
lea esi, [ebp + 0xa8]
push esi
call fcn.0049f540
mov byte [esi + 0x24], 0
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 0x10
mov eax, ebp
call fcn.004a1260
cmp eax, 0xff
je 0x4ce266
xor ebx, ebx
cmp dword [ebp + 0x344], ebx
jne 0x4cdbd1
lea edi, [ebp + 0xd14]
mov eax, esi
mov ecx, edi
call fcn.0041b8c0
fld dword [0x57401c]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jp 0x4cdbc6
fstp st(0)
lea esi, [ebp + 0xa8]
push esi
mov dword [ebp + 0x1ac], ebx
call fcn.0049f540
mov byte [esi + 0x24], bl
fld dword [edi]
xor ecx, ecx
cmp dword [ebp + 0x324], ebx
fstp dword [ebp + 0x328]
fldz
fstp dword [ebp + 0x32c]
fld dword [ebp + 0xd1c]
fstp dword [ebp + 0x330]
jne 0x4ce25b
mov dword [ebp + 0x324], 3
push 5
jmp 0x4ce25d
fcomp dword [esp + 0x60]
fnstsw ax
test ah, 5
jnp 0x4cdb76
cmp byte [ebp + 0xcc], bl
jne 0x4cdd83
fld dword [esi + 8]
call fcn.005250c0
fld dword [esi]
mov ebx, eax
call fcn.005250c0
fld dword [ebp + 0x84]
mov edi, eax
call fcn.005250c0
fld dword [ebp + 0x7c]
mov dword [esp + 0x20], eax
call fcn.005250c0
mov ecx, dword [ebp + 0x8c]
mov esi, dword [ecx + 0x28]
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x70]
push ecx
push edi
push edx
mov dword [esp + 0x70], eax
push eax
mov eax, ebx
mov ecx, esi
call fcn.00431380
test al, al
je 0x4cdc50
push ebx
lea esi, [ebp + 0xa8]
push edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x74], esi
call fcn.004bb630
jmp 0x4cdd9e
mov edx, ebx
mov eax, edi
mov ecx, esi
call fcn.00422490
test al, al
je 0x4cdd61
fild dword [esp + 0x6c]
fstp dword [esp + 0x60]
fld dword [ebp + 0x7c]
fsub dword [esp + 0x60]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fabs
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fld1
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 1
jne 0x4cdce8
fld dword [ebp + 0x84]
fisub dword [esp + 0x14]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fabs
fstp dword [esp + 0x20]
fcomp dword [esp + 0x20]
fnstsw ax
test ah, 1
jne 0x4cdcea
mov byte [ebp + 0x274], 0
mov dword [ebp + 0x1ac], 0
lea esi, [ebp + 0xa8]
push esi
call fcn.0049f540
mov byte [esi + 0x24], 0
fld dword [ebp + 0xd14]
xor ecx, ecx
cmp dword [ebp + 0x324], ecx
jmp 0x4cdb95
fstp st(0)
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x6c]
push ebx
lea esi, [ebp + 0xa8]
push edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x74], esi
call fcn.004bb630
fld dword [esp + 0x60]
mov eax, dword [esp + 0x68]
fstp dword [esp + 0x4c]
fldz
lea ecx, [esp + 0x4c]
fstp dword [esp + 0x50]
fild dword [esp + 0x14]
fstp dword [esp + 0x54]
call fcn.0041b8c0
mov eax, dword [ebp + 0xd4]
movzx ecx, byte [eax + 0x88]
mov dword [esp + 0x68], ecx
fild dword [esp + 0x68]
fadd qword [0x574038]
fcompp
fnstsw ax
test ah, 5
jp 0x4cdd9e
mov dword [ebp + 0x1ac], 0
jmp 0x4cdccb
mov edx, dword [esp + 0x20]
push esi
push edx
mov edx, dword [esp + 0x68]
lea eax, [ebp + 0xa8]
push eax
mov eax, ebx
mov ecx, edi
call fcn.0049f650
test al, al
je 0x4ce24f
lea eax, [ebp + 0xa8]
mov dword [esp + 0x6c], eax
mov eax, dword [eax + 0x10]
mov edi, dword [eax + 4]
mov ebx, dword [eax + 8]
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x6c]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x4cddb3
cmp dword [eax + 0x1c], 0
jne 0x4ce096
fld dword [ebp + 0x7c]
call fcn.005250c0
sub edi, eax
mov dword [esp + 0x68], edi
fild dword [esp + 0x68]
mov dword [esp + 0x60], eax
fstp dword [esp + 0x34]
fld dword [ebp + 0x84]
call fcn.005250c0
mov edi, eax
sub ebx, edi
mov dword [esp + 0x68], ebx
fild dword [esp + 0x68]
lea eax, [esp + 0x34]
fstp dword [esp + 0x3c]
fldz
fstp dword [esp + 0x38]
call fcn.004bb570
fstp dword [esp + 0x68]
fld dword [esp + 0x34]
lea esi, [esp + 0x28]
fstp dword [esp + 0x28]
fldz
fstp dword [esp + 0x2c]
fld dword [esp + 0x3c]
fstp dword [esp + 0x30]
call fcn.0041b920
mov eax, ebp
call fcn.004a12a0
fld dword [esp + 0x68]
mov ecx, dword [ebp + 0xd4]
fsub qword [0x5741f0]
movzx edx, byte [ecx + 0x68]
add edx, dword [eax*4 + 0x5819ac]
fsub dword [esp + 0x18]
mov eax, dword [ebp + 0x8c]
mov ebx, dword [esp + 0x60]
lea ecx, [ebp + 0xd0]
mov dword [esp + 0x1c], edx
fstp dword [esp + 0x20]
mov edx, dword [eax + 0x28]
push ecx
call fcn.0049ff20
fild dword [esp + 0x1c]
fstp dword [esp + 0x60]
fld dword [esp + 0x20]
fld dword [esp + 0x60]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x4cdff7
fstp st(0)
fld dword [esp + 0x68]
fld dword [esp + 0x18]
fld st(0)
fsubr qword [0x5741e8]
fcomp st(2)
fnstsw ax
fstp st(1)
test ah, 5
jp 0x4cdfd6
fadd qword [0x5741f0]
mov edx, dword [ebp + 0x8c]
push 1
sub esp, 0xc
fstp dword [esp + 0x78]
mov eax, ebp
fld dword [esp + 0x38]
fld dword [esp + 0x78]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x5c]
fld dword [esp + 0x3c]
fmul st(1)
fstp dword [esp + 0x60]
fmul dword [esp + 0x40]
fstp dword [esp + 0x64]
fld dword [ebp + 0x7c]
fadd dword [esp + 0x44]
fstp dword [esp + 0x50]
fld dword [ebp + 0x80]
fadd qword [0x573f30]
fstp dword [esp + 0x54]
fld dword [ebp + 0x84]
fadd dword [esp + 0x4c]
fstp dword [esp + 0x58]
fld dword [esp + 0x50]
fsub dword [esp + 0x5c]
fstp dword [esp + 0x38]
fld dword [esp + 0x54]
fsub dword [esp + 0x60]
fstp dword [esp + 0x3c]
fld dword [esp + 0x58]
fsub dword [esp + 0x64]
fstp dword [esp + 0x40]
fld dword [esp + 0x40]
fstp dword [esp + 8]
fld dword [esp + 0x3c]
fstp dword [esp + 4]
fld dword [esp + 0x38]
fstp dword [esp]
push edx
call fcn.0041d150
test al, al
je 0x4cdf65
fld dword [esp + 0x28]
fstp dword [ebp + 0x7c]
fld dword [esp + 0x2c]
fstp dword [ebp + 0x80]
fld dword [esp + 0x30]
fstp dword [ebp + 0x84]
mov eax, dword [ebp + 0xd4]
fld dword [esp + 0x20]
mov ecx, dword [eax + 0x64]
fdiv dword [esp + 0x60]
fild dword [eax + 0x64]
test ecx, ecx
jge 0x4cdf83
fadd dword [0x573f50]
mov edx, dword [esp + 0x64]
fmulp st(1)
fild dword [esp + 0x64]
test edx, edx
jge 0x4cdf97
fadd dword [0x573f50]
mov ecx, dword [esp + 0x6c]
fnstcw word [esp + 0x64]
movzx eax, word [esp + 0x64]
faddp st(1)
or eax, 0xc00
mov dword [esp + 0x68], eax
fldcw word [esp + 0x68]
fistp qword [esp + 0x20]
mov eax, dword [esp + 0x20]
mov dword [ebp + 0xd44], eax
fldcw word [esp + 0x64]
call fcn.004bb5f0
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 0x10
mov ecx, dword [esp + 0x64]
fstp st(0)
mov dword [ebp + 0xd44], ecx
mov ecx, dword [esp + 0x6c]
call fcn.004bb5f0
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 0x10
fstp dword [esp + 0x68]
mov edx, dword [ebp + 0x8c]
fld dword [esp + 0x28]
push 1
fld dword [esp + 0x6c]
sub esp, 0xc
fld st(0)
mov eax, ebp
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x5c]
fld dword [esp + 0x3c]
fmul st(1)
fstp dword [esp + 0x60]
fmul dword [esp + 0x40]
fstp dword [esp + 0x64]
fld dword [ebp + 0x7c]
fadd dword [esp + 0x5c]
fstp dword [esp + 0x50]
fld dword [ebp + 0x80]
fadd dword [esp + 0x60]
fstp dword [esp + 0x54]
fld dword [ebp + 0x84]
fadd dword [esp + 0x64]
fstp dword [esp + 0x58]
fld dword [esp + 0x58]
fstp dword [esp + 8]
fld dword [esp + 0x54]
fstp dword [esp + 4]
fld dword [esp + 0x50]
fstp dword [esp]
push edx
call fcn.0041d150
mov eax, dword [ebp + 0xd4]
mov ecx, dword [eax + 0x64]
mov edx, dword [esp + 0x64]
lea eax, [ecx + edx - 0x190]
mov dword [ebp + 0xd44], eax
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 0x10
fld dword [ebp + 0x7c]
call fcn.005250c0
sub edi, eax
mov dword [esp + 0x68], edi
fild dword [esp + 0x68]
mov dword [esp + 0x60], eax
fstp dword [esp + 0x4c]
fld dword [ebp + 0x84]
call fcn.005250c0
mov edi, eax
sub ebx, edi
mov dword [esp + 0x68], ebx
fild dword [esp + 0x68]
mov eax, ebp
fstp dword [esp + 0x54]
fldz
fstp dword [esp + 0x50]
call fcn.004a12a0
mov ecx, dword [ebp + 0xd4]
movzx esi, byte [ecx + 0x68]
add esi, dword [eax*4 + 0x5819ac]
lea eax, [esp + 0x4c]
mov dword [esp + 0x18], esi
call fcn.004bb570
call fcn.005250c0
mov edx, dword [ebp + 0x8c]
mov edx, dword [edx + 0x28]
mov ebx, dword [esp + 0x60]
mov dword [esp + 0x68], eax
lea eax, [ebp + 0xd0]
push eax
call fcn.0049ff20
mov edi, dword [esp + 0x68]
cmp edi, esi
jge 0x4ce1a7
fild dword [esp + 0x1c]
mov ecx, dword [ebp + 0x8c]
push 1
sub esp, 0xc
fstp dword [esp + 0x70]
mov eax, ebp
fild dword [esp + 0x30]
fstp dword [esp + 0x78]
fld dword [esp + 0x70]
fstp dword [esp + 8]
fldz
fstp dword [esp + 4]
fld dword [esp + 0x78]
fstp dword [esp]
push ecx
call fcn.0041d150
test al, al
je 0x4ce179
fld dword [esp + 0x68]
fstp dword [ebp + 0x7c]
fldz
fstp dword [ebp + 0x80]
fld dword [esp + 0x60]
fstp dword [ebp + 0x84]
mov eax, edi
cdq
idiv esi
mov edx, dword [ebp + 0xd4]
mov ecx, dword [esp + 0x6c]
imul eax, dword [edx + 0x64]
add eax, dword [esp + 0x64]
mov dword [ebp + 0xd44], eax
call fcn.004bb5f0
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 0x10
fild dword [esp + 0x18]
lea edi, [esp + 0x40]
lea esi, [esp + 0x4c]
fstp dword [esp + 0x68]
call fcn.004bb4e0
fld dword [esp + 0x68]
push 1
fld st(0)
sub esp, 0xc
fmul dword [eax]
fstp dword [esp + 0x5c]
fld dword [eax + 4]
fmul st(1)
fstp dword [esp + 0x60]
fmul dword [eax + 8]
mov eax, dword [ebp + 0x8c]
fstp dword [esp + 0x64]
fld dword [esp + 0x5c]
fadd dword [ebp + 0x7c]
fstp dword [esp + 0x50]
fld dword [ebp + 0x80]
fadd dword [esp + 0x60]
fstp dword [esp + 0x54]
fld dword [ebp + 0x84]
fadd dword [esp + 0x64]
fstp dword [esp + 0x58]
fld dword [esp + 0x58]
fstp dword [esp + 8]
fld dword [esp + 0x54]
fstp dword [esp + 4]
fld dword [esp + 0x50]
fstp dword [esp]
push eax
mov eax, ebp
call fcn.0041d150
mov ecx, dword [ebp + 0xd4]
mov edx, dword [ecx + 0x64]
mov eax, dword [esp + 0x64]
lea ecx, [edx + eax - 0x190]
mov dword [ebp + 0xd44], ecx
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 0x10
mov eax, ebp
call fcn.004a1340
jmp 0x4cdcc5
push 7
add ebp, 4
push ebp
call fcn.004a3410
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x4c
ret 0x10