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

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffb8
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [esp], eax
mov dword [esp + 4], eax
test esi, esi
jne 0x4cd59b
mov ecx, 0x225
mov edx, 0x4cd79c
mov eax, 0x4cd7ec
call fcn.00405fac
cmp dword [esi + 4], 0
jg 0x4cd5b5
mov ecx, 0x226
mov edx, 0x4cd79c
mov eax, 0x4cd86c
call fcn.00405fac
cmp byte [esi + 0x58], 0
je 0x4cd5c9
xor eax, eax
mov dword [esp], eax
mov dword [esp + 4], eax
jmp 0x4cd785
lea edx, [esi + 0x78]
fld qword [edx]
fcomp dword [0x4cd8e0]
wait
fnstsw ax
sahf
jne 0x4cd5f8
fld qword [edx + 8]
fcomp dword [0x4cd8e0]
wait
fnstsw ax
sahf
jne 0x4cd5f8
fld qword [edx + 0x10]
fcomp dword [0x4cd8e0]
wait
fnstsw ax
sahf
je 0x4cd5fc
xor eax, eax
jmp 0x4cd5fe
mov al, 1
test al, al
je 0x4cd610
xor eax, eax
mov dword [esp], eax
mov dword [esp + 4], eax
jmp 0x4cd785
mov eax, dword [ebx + 0x10]
mov edx, dword [eax]
call dword [edx]
mov eax, dword [ebx + 0x18]
mov edi, dword [eax + 8]
dec edi
test edi, edi
jl 0x4cd6ad
inc edi
mov dword [esp + 0x20], 0
mov edx, dword [esp + 0x20]
mov eax, dword [ebx + 0x18]
call fcn.0042f8ac
test eax, eax
je 0x4cd6a6
mov edx, dword [eax + 4]
cmp edx, 1
jl 0x4cd6a6
cmp esi, eax
je 0x4cd6a6
cmp edx, dword [esi + 4]
je 0x4cd6a6
mov ecx, eax
mov edx, esi
mov eax, ebx
call fcn.004ccd18
fstp qword [esp + 8]
wait
fld qword [esp + 8]
fcomp qword [ebx + 0x60]
wait
fnstsw ax
sahf
jb 0x4cd6a6
fld qword [esp]
fabs
fcomp qword [ebx + 0x60]
wait
fnstsw ax
sahf
jae 0x4cd68a
mov eax, dword [esp + 8]
mov dword [esp], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 4], eax
fld qword [esp]
fcomp qword [esp + 8]
wait
fnstsw ax
sahf
jbe 0x4cd6a6
mov eax, dword [esp + 8]
mov dword [esp], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 4], eax
inc dword [esp + 0x20]
dec edi
jne 0x4cd62f
mov edx, esi
mov eax, ebx
call fcn.004cd24c
fstp qword [esp + 0x10]
wait
fld qword [esp + 0x10]
fcomp dword [0x4cd8e0]
wait
fnstsw ax
sahf
jbe 0x4cd702
fld qword [esp]
fcomp qword [ebx + 0x60]
wait
fnstsw ax
sahf
jae 0x4cd6e6
mov eax, dword [esp + 0x10]
mov dword [esp], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 4], eax
fld qword [esp]
fcomp qword [esp + 0x10]
wait
fnstsw ax
sahf
jbe 0x4cd702
mov eax, dword [esp + 0x10]
mov dword [esp], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 4], eax
lea eax, [esi + 0x78]
mov esi, eax
fld qword [esi]
fmul st(0)
fstp xword [esp + 0x30]
wait
fld qword [esi + 8]
fmul st(0)
fld xword [esp + 0x30]
faddp st(1)
fstp xword [esp + 0x3c]
wait
fld qword [esi + 0x10]
fmul st(0)
fld xword [esp + 0x3c]
faddp st(1)
fstp qword [esp + 0x28]
wait
mov eax, dword [esp + 0x28]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x1c], eax
fld qword [ebx + 0x50]
fmul st(0)
fld qword [esp + 0x18]
fmul qword [esp]
fcompp
wait
fnstsw ax
sahf
jbe 0x4cd761
fld qword [ebx + 0x50]
fmul st(0)
fdiv qword [esp + 0x18]
fstp qword [esp]
wait
fld qword [esp]
fcomp dword [0x4cd8e0]
wait
fnstsw ax
sahf
jne 0x4cd77d
fld qword [ebx + 0x50]
fmul st(0)
fdiv qword [esp + 0x18]
fstp qword [esp]
wait
mov eax, dword [ebx + 0x10]
mov edx, dword [eax]
call dword [edx + 4]
fld qword [esp]
add esp, 0x48
pop edi
pop esi
pop ebx
ret