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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
mov eax, 0x1834
call fcn.00552480
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [esp + 0x34], ecx
lea eax, [esp + 0x240]
push eax
lea ecx, [ebx + 0x100]
push ecx
mov ecx, esi
call fcn.004a33d0
cmp dword [ebp + 0x10], 6
je 0x4cfc24
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx + 0x18]
call eax
lea ecx, [esp + 0x3c0]
push ecx
lea edx, [ebx + 0x200]
mov edi, eax
push edx
mov ecx, esi
mov dword [esp + 0x40], edi
call fcn.004a33d0
lea eax, [esp + 0x2c0]
push eax
lea ecx, [ebx + 0x300]
push ecx
mov ecx, esi
call fcn.004a33d0
lea edx, [esp + 0x340]
lea eax, [ebx + 0x400]
push edx
push eax
mov ecx, esi
call fcn.004a33d0
xor ecx, ecx
test edi, edi
jle 0x4cfa4c
jmp 0x4cf9e3
mov esi, dword [ebp + 0xc]
mov edi, dword [esp + ecx*4 + 0x3c0]
mov eax, dword [esp + ecx*4 + 0x240]
sub eax, edi
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x100
jg 0x4cfa4c
mov esi, dword [esp + ecx*4 + 0x340]
mov eax, edi
sub eax, esi
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x100
jg 0x4cfa49
mov edi, dword [esp + ecx*4 + 0x2c0]
mov eax, esi
sub eax, edi
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x100
jg 0x4cfa49
mov eax, edi
sub eax, dword [esp + ecx*4 + 0x240]
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x100
jg 0x4cfa49
inc ecx
cmp ecx, dword [esp + 0x38]
jl 0x4cf9e0
mov esi, dword [ebp + 0xc]
cmp ecx, dword [esp + 0x38]
je 0x4cfc24
fldz
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0x1c]
fld st(0)
fld st(1)
xor edx, edx
fld st(2)
jmp 0x4cfa6d
fxch st(2)
fxch st(3)
fld qword [ebx + edx*8]
fld qword [ebx + edx*8 + 0x80]
fld st(1)
fmul qword [ecx + 0x10]
fld st(1)
fmul qword [ecx + 0x20]
faddp st(1)
fxch st(2)
fmul qword [ecx + 0x18]
fxch st(1)
fmul qword [ecx + 0x28]
faddp st(1)
test edx, edx
jne 0x4cfaa1
fstp st(5)
fstp st(2)
fstp st(2)
fstp st(1)
fld st(0)
fld st(2)
jmp 0x4cfadf
fxch st(1)
fcom st(5)
fnstsw ax
test ah, 5
jp 0x4cfab0
fstp st(5)
jmp 0x4cfabf
fcom st(3)
fnstsw ax
test ah, 0x41
jne 0x4cfabd
fstp st(3)
jmp 0x4cfabf
fstp st(0)
fcom st(1)
fnstsw ax
test ah, 5
jp 0x4cfacc
fstp st(1)
jmp 0x4cfadb
fcom st(3)
fnstsw ax
test ah, 0x41
jne 0x4cfad9
fstp st(3)
jmp 0x4cfadb
fstp st(0)
fxch st(3)
fxch st(2)
fld qword [ebx + edx*8 + 0x20]
fld qword [ebx + edx*8 + 0xa0]
fld st(1)
fmul qword [ecx + 0x10]
fld st(1)
fmul qword [ecx + 0x20]
faddp st(1)
fxch st(2)
fmul qword [ecx + 0x18]
fxch st(1)
fmul qword [ecx + 0x28]
faddp st(1)
fxch st(1)
fcom st(4)
fnstsw ax
test ah, 5
jp 0x4cfb11
fstp st(4)
jmp 0x4cfb20
fcom st(3)
fnstsw ax
test ah, 0x41
jne 0x4cfb1e
fstp st(3)
jmp 0x4cfb20
fstp st(0)
fcom st(4)
fnstsw ax
test ah, 5
jp 0x4cfb2d
fstp st(4)
jmp 0x4cfb3c
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x4cfb3a
fstp st(1)
jmp 0x4cfb3c
fstp st(0)
fld qword [ebx + edx*8 + 0x40]
fld qword [ebx + edx*8 + 0xc0]
fld st(1)
fmul qword [ecx + 0x10]
fld st(1)
fmul qword [ecx + 0x20]
faddp st(1)
fxch st(2)
fmul qword [ecx + 0x18]
fxch st(1)
fmul qword [ecx + 0x28]
faddp st(1)
fxch st(1)
fcom st(4)
fnstsw ax
test ah, 5
jp 0x4cfb6e
fstp st(4)
jmp 0x4cfb7d
fcom st(3)
fnstsw ax
test ah, 0x41
jne 0x4cfb7b
fstp st(3)
jmp 0x4cfb7d
fstp st(0)
fcom st(4)
fnstsw ax
test ah, 5
jp 0x4cfb8a
fstp st(4)
jmp 0x4cfb99
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x4cfb97
fstp st(1)
jmp 0x4cfb99
fstp st(0)
fld qword [ebx + edx*8 + 0x60]
fld qword [ebx + edx*8 + 0xe0]
fld st(1)
fmul qword [ecx + 0x10]
fld st(1)
fmul qword [ecx + 0x20]
faddp st(1)
fxch st(2)
fmul qword [ecx + 0x18]
fxch st(1)
fmul qword [ecx + 0x28]
faddp st(1)
fxch st(1)
fcom st(4)
fnstsw ax
test ah, 5
jp 0x4cfbcb
fstp st(4)
jmp 0x4cfbda
fcom st(3)
fnstsw ax
test ah, 0x41
jne 0x4cfbd8
fstp st(3)
jmp 0x4cfbda
fstp st(0)
fcom st(4)
fnstsw ax
test ah, 5
jp 0x4cfbe7
fstp st(4)
jmp 0x4cfbf6
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x4cfbf4
fstp st(1)
jmp 0x4cfbf6
fstp st(0)
inc edx
cmp edx, 4
jl 0x4cfa69
fxch st(1)
fsubrp st(2)
fld1
fcom st(2)
fnstsw ax
fstp st(2)
test ah, 0x41
jne 0x4cfe32
fsubrp st(2)
fcompp
fnstsw ax
test ah, 0x41
jne 0x4cfe38
mov ecx, dword [esp + 0x34]
mov edi, dword [ecx + 0x1c]
add edi, 0x7c
mov ecx, 0x20
lea esi, [esp + 0x240]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x34]
mov ecx, dword [esi + 8]
mov edx, dword [ecx]
mov eax, dword [esi + 0x1c]
mov edx, dword [edx + 0x74]
push eax
call edx
mov eax, dword [esi + 0x1c]
fld qword [ebx]
mov ecx, dword [eax + 0x254]
fld qword [ebx + 0x80]
sub esp, 0x10
fst qword [eax + 0x260]
fxch st(1)
fst qword [eax + 0x258]
fxch st(1)
fstp qword [esp + 8]
fstp qword [esp]
call fcn.004a40a0
fld qword [ebx + 8]
mov eax, dword [esi + 0x1c]
fld qword [ebx + 0x88]
mov ecx, dword [eax + 0x254]
fld qword [ebx + 0x10]
sub esp, 0x30
fld qword [ebx + 0x90]
fld qword [ebx + 0x18]
fld qword [ebx + 0x98]
fst qword [eax + 0x260]
fxch st(1)
fst qword [eax + 0x258]
fxch st(1)
fstp qword [esp + 0x28]
fstp qword [esp + 0x20]
fstp qword [esp + 0x18]
fstp qword [esp + 0x10]
fstp qword [esp + 8]
fstp qword [esp]
call fcn.004a41b0
fld qword [ebx + 0x38]
mov eax, dword [esi + 0x1c]
fld qword [ebx + 0xb8]
mov ecx, dword [eax + 0x254]
fld qword [ebx + 0x58]
sub esp, 0x30
fld qword [ebx + 0xd8]
fld qword [ebx + 0x78]
fld qword [ebx + 0xf8]
fst qword [eax + 0x260]
fxch st(1)
fst qword [eax + 0x258]
fxch st(1)
fstp qword [esp + 0x28]
fstp qword [esp + 0x20]
fstp qword [esp + 0x18]
fstp qword [esp + 0x10]
fstp qword [esp + 8]
fstp qword [esp]
call fcn.004a41b0
fld qword [ebx + 0x70]
mov eax, dword [esi + 0x1c]
fld qword [ebx + 0xf0]
sub esp, 0x30
fld qword [ebx + 0x68]
fld qword [ebx + 0xe8]
fld qword [ebx + 0x60]
fld qword [ebx + 0xe0]
fst qword [eax + 0x260]
fxch st(1)
fst qword [eax + 0x258]
fxch st(1)
fstp qword [esp + 0x28]
fstp qword [esp + 0x20]
fstp qword [esp + 0x18]
fstp qword [esp + 0x10]
mov ecx, dword [eax + 0x254]
fstp qword [esp + 8]
fstp qword [esp]
call fcn.004a41b0
fld qword [ebx + 0x40]
mov eax, dword [esi + 0x1c]
fld qword [ebx + 0xc0]
mov ecx, dword [eax + 0x254]
fld qword [ebx + 0x20]
sub esp, 0x30
fld qword [ebx + 0xa0]
fld qword [ebx]
fld qword [ebx + 0x80]
fst qword [eax + 0x260]
fxch st(1)
fst qword [eax + 0x258]
fxch st(1)
fstp qword [esp + 0x28]
fstp qword [esp + 0x20]
fstp qword [esp + 0x18]
fstp qword [esp + 0x10]
fstp qword [esp + 8]
fstp qword [esp]
call fcn.004a41b0
mov edi, dword [esi + 0x1c]
mov ecx, dword [edi + 0x254]
call fcn.004a42c0
mov eax, dword [edi + 0x254]
mov edx, dword [eax + 0x18]
mov ecx, dword [eax + 0x1c]
mov ecx, dword [edx + ecx*4 - 4]
mov edx, dword [ecx + 0xc]
mov ecx, dword [ecx]
fld qword [ecx + edx*8 - 8]
fstp qword [edi + 0x258]
mov edx, dword [eax + 0x1c]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + edx*4 - 4]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 4]
fld qword [edx + ecx*8 - 8]
fstp qword [edi + 0x260]
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
mov edx, dword [esi + 0x1c]
mov eax, dword [eax + 0xcc]
push edx
call eax
mov ecx, dword [esi + 0x1c]
call fcn.004a62d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
fstp st(1)
fstp st(0)
fstp st(0)
fld qword [0x579e48]
lea ecx, [ebx + 8]
xor eax, eax
fld qword [ecx - 8]
add eax, 0x40
fstp qword [esp + eax + 0x100]
add ecx, 0x20
cmp eax, 0x100
fld qword [ecx + 0x58]
fstp qword [esp + eax]
fld qword [ecx - 0x28]
fadd qword [ecx - 0x20]
fmul st(1)
fst qword [esp + eax + 0x108]
fld qword [ecx + 0x58]
fadd qword [ecx + 0x60]
fmul st(2)
fst qword [esp + eax + 8]
fld qword [ecx - 0x18]
fadd qword [ecx - 0x20]
fmul st(3)
fld qword [ecx + 0x68]
fadd qword [ecx + 0x60]
fmul st(4)
fld qword [ecx - 0x10]
fadd qword [ecx - 0x18]
fmul st(5)
fst qword [esp + eax + 0x130]
fld qword [ecx + 0x70]
fadd qword [ecx + 0x68]
fmul st(6)
fst qword [esp + eax + 0x30]
fxch st(5)
fadd st(3)
fmul st(6)
fst qword [esp + eax + 0x110]
fxch st(4)
fadd st(2)
fmul st(6)
fst qword [esp + eax + 0x10]
fxch st(1)
faddp st(3)
fxch st(2)
fmul st(5)
fst qword [esp + eax + 0x128]
fxch st(4)
faddp st(1)
fmul st(4)
fst qword [esp + eax + 0x28]
fxch st(3)
faddp st(2)
fxch st(1)
fmul st(3)
fst qword [esp + eax + 0x120]
fstp qword [esp + eax + 0x118]
faddp st(1)
fmul st(1)
fst qword [esp + eax + 0x20]
fstp qword [esp + eax + 0x18]
fld qword [ecx - 0x10]
fstp qword [esp + eax + 0x138]
fld qword [ecx + 0x70]
fstp qword [esp + eax + 0x38]
jl 0x4cfe43
xor eax, eax
fld qword [esp + eax + 0x140]
add eax, 8
cmp eax, 0x20
fstp qword [esp + eax + 0x438]
fld qword [esp + eax + 0x38]
fstp qword [esp + eax + 0x4b8]
fld qword [esp + eax + 0x138]
fadd qword [esp + eax + 0x178]
fmul st(1)
fstp qword [esp + eax + 0x458]
fld qword [esp + eax + 0x78]
fadd qword [esp + eax + 0x38]
fmul st(1)
fst qword [esp + eax + 0x4d8]
fld qword [esp + eax + 0x1b8]
fadd qword [esp + eax + 0x178]
fmul st(2)
fld qword [esp + eax + 0x78]
fadd qword [esp + eax + 0xb8]
fmul st(3)
fld qword [esp + eax + 0x1f8]
fadd qword [esp + eax + 0x1b8]
fmul st(4)
fstp qword [esp + eax + 0xe78]
fld qword [esp + eax + 0xb8]
fadd qword [esp + eax + 0xf8]
fmul st(4)
fst qword [esp + eax + 0xef8]
fld qword [esp + eax + 0x458]
fadd st(3)
fmul st(5)
fstp qword [esp + eax + 0x478]
fxch st(3)
fadd st(1)
fmul st(4)
fst qword [esp + eax + 0x4f8]
fld qword [esp + eax + 0xe78]
faddp st(3)
fxch st(2)
fmul st(4)
fstp qword [esp + eax + 0xe58]
faddp st(2)
fxch st(1)
fmul st(2)
fst qword [esp + eax + 0xed8]
fld qword [esp + eax + 0xe58]
fadd qword [esp + eax + 0x478]
fmul st(3)
fstp qword [esp + eax + 0x498]
faddp st(1)
fmul st(1)
fst qword [esp + eax + 0x518]
fld qword [esp + eax + 0x498]
fstp qword [esp + eax + 0xe38]
fstp qword [esp + eax + 0xeb8]
fld qword [esp + eax + 0x1f8]
fstp qword [esp + eax + 0xe98]
fld qword [esp + eax + 0xf8]
fstp qword [esp + eax + 0xf18]
jl 0x4cff0f
xor eax, eax
fld qword [esp + eax + 0x160]
add eax, 8
cmp eax, 0x20
fstp qword [esp + eax + 0x938]
fld qword [esp + eax + 0x58]
fstp qword [esp + eax + 0x9b8]
fld qword [esp + eax + 0x158]
fadd qword [esp + eax + 0x198]
fmul st(1)
fstp qword [esp + eax + 0x958]
fld qword [esp + eax + 0x58]
fadd qword [esp + eax + 0x98]
fmul st(1)
fst qword [esp + eax + 0x9d8]
fld qword [esp + eax + 0x1d8]
fadd qword [esp + eax + 0x198]
fmul st(2)
fld qword [esp + eax + 0xd8]
fadd qword [esp + eax + 0x98]
fmul st(3)
fld qword [esp + eax + 0x218]
fadd qword [esp + eax + 0x1d8]
fmul st(4)
fstp qword [esp + eax + 0x1378]
fld qword [esp + eax + 0x118]
fadd qword [esp + eax + 0xd8]
fmul st(4)
fst qword [esp + eax + 0x13f8]
fld qword [esp + eax + 0x958]
fadd st(3)
fmul st(5)
fstp qword [esp + eax + 0x978]
fxch st(3)
fadd st(1)
fmul st(4)
fst qword [esp + eax + 0x9f8]
fld qword [esp + eax + 0x1378]
faddp st(3)
fxch st(2)
fmul st(4)
fstp qword [esp + eax + 0x1358]
faddp st(2)
fxch st(1)
fmul st(2)
fst qword [esp + eax + 0x13d8]
fld qword [esp + eax + 0x978]
fadd qword [esp + eax + 0x1358]
fmul st(3)
fstp qword [esp + eax + 0x998]
faddp st(1)
fmul st(1)
fst qword [esp + eax + 0xa18]
fld qword [esp + eax + 0x998]
fstp qword [esp + eax + 0x1338]
fstp qword [esp + eax + 0x13b8]
fld qword [esp + eax + 0x218]
fstp qword [esp + eax + 0x1398]
fld qword [esp + eax + 0x118]
fstp qword [esp + eax + 0x1418]
jl 0x4d003c
mov eax, dword [esi + 0x148]
xor ecx, ecx
mov dword [esp + 0x3c], eax
test eax, eax
jle 0x4d0273
lea edi, [esp + 0xe40]
sub edi, ebx
mov dword [esp + 0x38], edi
lea edx, [esp + 0x940]
lea esi, [esp + 0x1340]
lea edi, [esp + 0x440]
sub edx, ebx
sub esi, ebx
lea eax, [ebx + 0x400]
sub edi, ebx
fld qword [eax - 0x300]
mov ebx, dword [esp + 0x38]
fstp qword [esp + ecx*8 + 0x540]
inc ecx
fld qword [eax - 0x200]
add eax, 8
cmp ecx, dword [esp + 0x3c]
fadd qword [eax - 0x308]
fmul st(1)
fst qword [esp + ecx*8 + 0x638]
fstp qword [esp + ecx*8 + 0xa38]
fld qword [eax - 0x208]
fstp qword [esp + ecx*8 + 0xb38]
fld qword [eax - 8]
fadd qword [eax - 0x208]
fmul st(1)
fst qword [edx + eax - 8]
fst qword [esp + ecx*8 + 0x1538]
fld qword [eax - 8]
fstp qword [esi + eax - 8]
fld qword [eax - 8]
fadd qword [eax - 0x108]
fmul st(2)
fst qword [esp + ecx*8 + 0x1638]
fstp qword [ebx + eax - 8]
fld qword [eax - 0x108]
fstp qword [esp + ecx*8 + 0x1138]
fld qword [eax - 0x108]
fadd qword [eax - 0x308]
fmul st(2)
fst qword [esp + ecx*8 + 0xf38]
fst qword [esp + ecx*8 + 0x738]
faddp st(1)
fmul st(1)
fst qword [edi + eax - 8]
fst qword [esp + ecx*8 + 0xc38]
fst qword [esp + ecx*8 + 0x1438]
fstp qword [esp + ecx*8 + 0x1038]
jl 0x4d01af
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
fstp st(0)
mov ebx, dword [esp + 0x34]
inc edi
push edi
push esi
lea ecx, [esp + 0x448]
push ecx
mov ecx, ebx
call fcn.004cf940
push edi
push esi
lea edx, [esp + 0xe48]
push edx
mov ecx, ebx
call fcn.004cf940
push edi
push esi
lea eax, [esp + 0x948]
push eax
mov ecx, ebx
call fcn.004cf940
push edi
push esi
lea ecx, [esp + 0x1348]
push ecx
mov ecx, ebx
call fcn.004cf940
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc