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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x51bc51
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1ac
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x30], 2
je 0x4d46b4
xor edx, edx
mov dword [esp + 0xe0], 0x522e6c
mov dword [esp + 0x1a8], 0x47ae147b
mov dword [esp + 0x1ac], 0x3f847ae1
mov dword [esp + 0x1b0], 0xd2f1a9fc
mov dword [esp + 0x1b4], 0x3f50624d
mov dword [esp + 0x178], edx
mov dword [esp + 0x188], 0xd2f1a9fc
mov dword [esp + 0x18c], 0xbf50624d
mov dword [esp + 0x190], 0x9374bc6a
mov dword [esp + 0x194], 0x3ff00418
mov dword [esp + 0x198], 0xd2f1a9fc
mov dword [esp + 0x19c], 0x3f50624d
mov dword [esp + 0x1a0], 0xd916872b
mov dword [esp + 0x1a4], 0x3feff7ce
mov eax, dword [edi + 0x4c]
mov ecx, dword [edi + 0x58]
cmp eax, edx
mov dword [esp + 0x1c0], edx
mov dword [esp + 0x30], ecx
je 0x4d469d
cmp eax, ecx
jae 0x4d469d
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.0047e010
fstp qword [esp + 0x44]
mov ecx, esi
call fcn.0047e030
mov eax, dword [edi + 0x64]
mov ecx, dword [edi + 0x70]
fstp qword [esp + 0x4c]
cmp eax, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x34], ecx
jae 0x4d469d
jmp 0x4d431e
mov eax, dword [esp + 0x10]
mov ebx, dword [eax]
mov esi, dword [eax + 4]
lea eax, [esp + 0xc0]
lea ecx, [esp + 0x78]
fld qword [ebx]
fsub qword [esi]
push eax
mov dword [esp + 0x3c], esi
fstp qword [esp + 0xc4]
fld qword [ebx + 8]
fsub qword [esi + 8]
fstp qword [esp + 0xcc]
fld qword [esi + 0x18]
fchs
fstp qword [esp + 0xd4]
fld qword [esi + 0x20]
fchs
fstp qword [esp + 0xdc]
call fcn.0047ea90
lea ecx, [esp + 0x58]
mov byte [esp + 0x1c0], 1
call fcn.0047dc50
lea ecx, [esp + 0x58]
mov byte [esp + 0x1c0], 2
push ecx
mov ecx, esi
call fcn.0047e610
mov esi, dword [edi + 0x4c]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov ecx, dword [esi]
fld qword [ecx]
fcomp qword [esp + 0x58]
fnstsw ax
test ah, 1
je 0x4d43d4
fld qword [esp + 0x58]
fsub qword [ecx]
fcomp qword [esp + 0x44]
fnstsw ax
test ah, 0x41
je 0x4d4657
fld qword [ecx]
fcomp qword [esp + 0x68]
fnstsw ax
test ah, 0x41
jne 0x4d43f6
fld qword [ecx]
fsub qword [esp + 0x68]
fcomp qword [esp + 0x44]
fnstsw ax
test ah, 0x41
je 0x4d4657
fld qword [ecx + 8]
fcomp qword [esp + 0x60]
fnstsw ax
test ah, 1
je 0x4d441a
fld qword [esp + 0x60]
fsub qword [ecx + 8]
fcomp qword [esp + 0x4c]
fnstsw ax
test ah, 0x41
je 0x4d4657
fld qword [ecx + 8]
fcomp qword [esp + 0x70]
fnstsw ax
test ah, 0x41
jne 0x4d443e
fld qword [ecx + 8]
fsub qword [esp + 0x70]
fcomp qword [esp + 0x4c]
fnstsw ax
test ah, 0x41
je 0x4d4657
mov eax, dword [esp + 0x38]
cmp ecx, eax
je 0x4d444b
cmp dword [ecx + 0x3c], eax
jne 0x4d445f
mov eax, dword [esi + 4]
cmp ebx, eax
je 0x4d4657
cmp dword [ebx + 0x3c], eax
je 0x4d4657
fld qword [ecx + 8]
fsub qword [esp + 0x14]
fstp qword [esp + 0x24]
fld qword [ecx]
fsub qword [esp + 0x1c]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
push edx
push eax
fstp qword [esp + 0x44]
fld qword [esp + 0x80]
fadd qword [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
push ecx
push edx
lea ecx, [esp + 0xb0]
fstp qword [esp + 0x88]
fld qword [esp + 0x90]
fadd qword [esp + 0x34]
fstp qword [esp + 0x90]
call fcn.0047df90
mov eax, dword [esi]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x14], ecx
mov ecx, dword [esi + 4]
mov dword [esp + 0x20], edx
mov edx, dword [eax + 0xc]
fld qword [ecx]
fcomp qword [esp + 0xa0]
mov dword [esp + 0x18], edx
fnstsw ax
test ah, 1
je 0x4d44fb
fld qword [ecx + 0x18]
fadd qword [ecx]
fcomp qword [esp + 0xa0]
fnstsw ax
test ah, 1
jne 0x4d4568
fld qword [ecx]
fcomp qword [esp + 0xb0]
fnstsw ax
test ah, 0x41
jne 0x4d451e
fld qword [ecx + 0x18]
fadd qword [ecx]
fcomp qword [esp + 0xb0]
fnstsw ax
test ah, 0x41
je 0x4d4568
fld qword [ecx + 8]
fcomp qword [esp + 0xa8]
fnstsw ax
test ah, 1
je 0x4d4543
fld qword [ecx + 0x20]
fadd qword [ecx + 8]
fcomp qword [esp + 0xa8]
fnstsw ax
test ah, 1
jne 0x4d4568
fld qword [ecx + 8]
fcomp qword [esp + 0xb8]
fnstsw ax
test ah, 0x41
jne 0x4d4578
fld qword [ecx + 0x20]
fadd qword [ecx + 8]
fcomp qword [esp + 0xb8]
fnstsw ax
test ah, 0x41
jne 0x4d4578
mov dword [esp + 0x178], 0
jmp 0x4d4657
fld qword [esp + 0x98]
fmul qword [ecx + 0x18]
fld qword [esp + 0x90]
fmul qword [ecx + 0x20]
fsubp st(1)
fst qword [esp + 0x180]
fcomp qword [0x520dc0]
fnstsw ax
test ah, 0x40
je 0x4d45b2
mov dword [esp + 0x178], 0
jmp 0x4d4657
lea eax, [esp + 0x78]
push ecx
push eax
lea ecx, [esp + 0xe8]
call fcn.0042b8a0
mov eax, dword [esp + 0x178]
test eax, eax
je 0x4d4657
mov eax, dword [esi + 4]
sub esp, 8
fld qword [esp + 0x138]
fmul qword [eax + 0x18]
sub esp, 8
mov ecx, edi
fadd qword [eax]
fstp qword [edi + 0x38]
fld qword [esp + 0x140]
fmul qword [eax + 0x20]
fadd qword [eax + 8]
fstp qword [edi + 0x40]
fld qword [esp + 0x24]
fsub qword [edi + 0x40]
fstp qword [esp + 8]
fld qword [esp + 0x2c]
fsub qword [edi + 0x38]
fstp qword [esp]
call fcn.004d4bb0
test eax, eax
je 0x4d4657
mov dword [eax], 2
mov ecx, dword [esi]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov dword [eax + 8], edx
mov edx, dword [esi + 4]
mov dword [eax + 0xc], edx
mov ecx, dword [ecx + 4]
mov dword [eax + 0x10], ecx
fld qword [ebx]
fsub qword [edi + 0x38]
fld qword [ebx + 8]
fsub qword [edi + 0x40]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fstp qword [eax + 0x28]
fstp st(0)
fstp st(0)
mov eax, dword [esp + 0x30]
add esi, 0x30
cmp esi, eax
jb 0x4d43b0
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0x58]
add esi, 0x30
mov byte [esp + 0x1c0], 1
mov dword [esp + 0x10], esi
call fcn.00507a00
lea ecx, [esp + 0x78]
mov byte [esp + 0x1c0], 0
call fcn.0047eaf0
cmp esi, dword [esp + 0x34]
jb 0x4d431a
lea ecx, [esp + 0xe0]
mov dword [esp + 0x1c0], 0xffffffff
call fcn.0047ee20
mov ecx, dword [esp + 0x1b8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4