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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x16c
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0x50], esi
mov dword [esp + 0x40], 0
mov eax, dword [esi + 0x1d4]
mov dword [esp + 0x44], 0x4197d784
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0xc197d784
mov ecx, dword [eax + 0x298]
mov dword [esp + 0x30], 0
test ecx, ecx
mov dword [esp + 0x34], 0x4197d784
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0xc197d784
je 0x4d3762
mov edx, dword [0x6fd538]
push edx
call fcn.004be450
mov ebx, eax
test ebx, ebx
je 0x4d3762
mov ecx, ebx
call fcn.004a76d0
test eax, eax
jne 0x4d3762
lea ecx, [esp + 0xe8]
call fcn.0064dc20
lea ecx, [esp + 0xd0]
call fcn.0064dc20
lea ecx, [esp + 0x88]
call fcn.0064dc20
lea ecx, [esp + 0x58]
call fcn.0064dc20
lea ecx, [esp + 0x70]
call fcn.0064dc20
lea eax, [esp + 0xe8]
mov ecx, esi
push eax
mov eax, dword [esi + 0x1a8]
cdq
sub eax, edx
sar eax, 1
push eax
mov eax, dword [esi + 0x1a4]
cdq
sub eax, edx
sar eax, 1
push eax
call fcn.004d0eb0
lea ecx, [esp + 0xd0]
push ecx
push 0
push 0
mov ecx, esi
call fcn.004d0eb0
fld qword [esp + 0xd0]
mov edx, dword [esp + 0xd8]
mov eax, dword [esp + 0xdc]
fst qword [esp + 0x18]
fld qword [esp + 0xe8]
fsub st(1)
mov ecx, ebx
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], eax
fadd st(0), st(0)
fadd st(1)
fstp qword [esp + 0x20]
fstp st(0)
fld qword [esp + 0xd8]
fld qword [esp + 0xf0]
fsubr st(1)
fadd st(0), st(0)
fsubr st(1)
fstp qword [esp + 0x10]
fstp st(0)
call fcn.0049e3a0
xor edi, edi
mov dword [esp + 0x54], eax
test eax, eax
jle 0x4d3660
push edi
mov ecx, ebx
call fcn.0049e3b0
mov esi, eax
mov ecx, esi
call fcn.004da3a0
mov edx, dword [eax]
push 0x3fe00000
lea ecx, [esp + 0x104]
push 0
push ecx
mov ecx, eax
call dword [edx + 0x90]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], ecx
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], ecx
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov ecx, esi
mov dword [esp + 0x98], edx
mov dword [esp + 0x9c], eax
call fcn.004da3a0
mov edx, dword [eax]
lea ecx, [esp + 0x118]
push ecx
mov ecx, eax
call dword [edx + 0x7c]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], ecx
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], ecx
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov ecx, esi
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], eax
call fcn.004da3a0
mov edx, dword [eax]
lea ecx, [esp + 0x130]
push ecx
mov ecx, eax
call dword [edx + 0x84]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
fld qword [esp + 0x88]
fcomp qword [esp + 0x18]
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], ecx
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], ecx
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x84], eax
mov dword [esp + 0x80], edx
fnstsw ax
test ah, 0x41
jne 0x4d34f9
fld qword [esp + 0x90]
fcomp qword [esp + 0x10]
fnstsw ax
test ah, 0x41
jne 0x4d34f9
fld qword [esp + 0x88]
fcomp qword [esp + 0x20]
fnstsw ax
test ah, 1
je 0x4d34f9
fld qword [esp + 0x90]
fcomp qword [esp + 0x48]
fnstsw ax
test ah, 1
jne 0x4d3581
fld qword [esp + 0x58]
fcomp qword [esp + 0x18]
fnstsw ax
test ah, 0x41
jne 0x4d3535
fld qword [esp + 0x60]
fcomp qword [esp + 0x10]
fnstsw ax
test ah, 0x41
jne 0x4d3535
fld qword [esp + 0x58]
fcomp qword [esp + 0x20]
fnstsw ax
test ah, 1
je 0x4d3535
fld qword [esp + 0x60]
fcomp qword [esp + 0x48]
fnstsw ax
test ah, 1
jne 0x4d3581
fld qword [esp + 0x70]
fcomp qword [esp + 0x18]
fnstsw ax
test ah, 0x41
jne 0x4d364f
fld qword [esp + 0x78]
fcomp qword [esp + 0x10]
fnstsw ax
test ah, 0x41
jne 0x4d364f
fld qword [esp + 0x70]
fcomp qword [esp + 0x20]
fnstsw ax
test ah, 1
je 0x4d364f
fld qword [esp + 0x78]
fcomp qword [esp + 0x48]
fnstsw ax
test ah, 1
je 0x4d364f
mov edx, dword [esi]
lea eax, [esp + 0xa0]
lea ecx, [esp + 0x148]
push eax
push ecx
mov ecx, esi
call dword [edx + 0x60]
lea ecx, [esp + 0x148]
call fcn.00456760
fld qword [esp + 0xa0]
fcomp qword [esp + 0x40]
fnstsw ax
test ah, 1
je 0x4d35cc
mov edx, dword [esp + 0xa0]
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
fld qword [esp + 0xb8]
fcomp qword [esp + 0x38]
fnstsw ax
test ah, 0x41
jne 0x4d35f4
mov ecx, dword [esp + 0xb8]
mov edx, dword [esp + 0xbc]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
fld qword [esp + 0xa8]
fcomp qword [esp + 0x30]
fnstsw ax
test ah, 1
je 0x4d361c
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0xac]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
fld qword [esp + 0xc0]
fcomp qword [esp + 0x28]
fnstsw ax
test ah, 0x41
jne 0x4d3644
mov edx, dword [esp + 0xc0]
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 8]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x24]
mov eax, dword [esp + 0x54]
inc edi
cmp edi, eax
jl 0x4d33c1
mov esi, dword [esp + 0x50]
fild dword [esi + 0x1a4]
fidiv dword [esi + 0x1a8]
fstp qword [esp + 0x10]
fld qword [esp + 0x38]
fsub qword [esp + 0x40]
fld qword [esp + 0x28]
fsub qword [esp + 0x30]
fst qword [esp + 0x20]
fmul qword [esp + 0x10]
fst qword [esp + 0x18]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x4d369d
fstp st(0)
fld qword [esp + 0x18]
jmp 0x4d36a7
fld st(0)
fdiv qword [esp + 0x10]
fstp qword [esp + 0x20]
fld qword [esp + 0x38]
fadd qword [esp + 0x40]
mov ecx, dword [ebp + 8]
lea edx, [esp + 0xa0]
push ecx
push edx
fmul qword [0x691ac8]
mov ecx, esi
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
fstp qword [esp + 0x18]
fld qword [esp + 0x30]
fadd qword [esp + 0x38]
fmul qword [0x691ac8]
fstp qword [esp + 0x20]
fmul qword [0x691ac8]
fld qword [esp + 0x18]
fsub st(1)
fsub qword [0x695748]
fstp qword [esp + 0xa8]
fadd qword [esp + 0x18]
fadd qword [0x695748]
fstp qword [esp + 0xc0]
fld qword [esp + 0x28]
fmul qword [0x691ac8]
fld qword [esp + 0x20]
fsub st(1)
fsub qword [0x695748]
fstp qword [esp + 0xb0]
fadd qword [esp + 0x20]
fadd qword [0x695748]
fstp qword [esp + 0xc8]
call fcn.004d1620
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4