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

Disassembly:
sub esp, 0x78
push ebx
push ebp
mov ebp, dword [esp + 0x84]
push esi
xor esi, esi
mov ebx, ecx
mov ecx, dword [ebp + 0x30]
mov dword [esp + 0x10], esi
cmp dword [ecx + 0x164], esi
jne 0x4d734c
add ecx, 0x108
mov eax, dword [ecx]
mov dword [esp + 0x34], eax
mov edx, dword [ecx + 4]
mov dword [esp + 0x38], edx
mov eax, dword [ecx + 8]
mov dword [esp + 0x3c], eax
jmp 0x4d7356
lea edx, [esp + 0x34]
push edx
call fcn.004d2520
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x10], eax
cmp dword [ebx + 4], esi
mov dword [esp + 0x18], esi
jbe 0x4d762b
mov dword [esp + 0xc], esi
push edi
nop
mov esi, dword [ebx]
mov ecx, dword [esp + 0x10]
mov al, byte [esi + ecx + 0x30]
add esi, ecx
test al, 1
je 0x4d760b
mov edx, dword [esi + 0x30]
mov ecx, edx
shr ecx, 1
test cl, 1
je 0x4d760b
cmp dword [esi + 0x28], ebp
je 0x4d760b
mov eax, edx
shr eax, 9
test al, 1
je 0x4d760b
mov ecx, dword [esi + 0x2c]
xor eax, eax
nop
movzx edi, byte [eax + ebp + 0x10]
cmp edi, ecx
je 0x4d760b
inc eax
cmp eax, 4
jl 0x4d73b0
fld dword [esp + 0x38]
fsub dword [esi]
fstp dword [esp + 0x2c]
fld dword [esp + 0x3c]
fsub dword [esi + 4]
fstp dword [esp + 0x30]
fld dword [esp + 0x40]
fsub dword [esi + 8]
fst dword [esp + 0x34]
fmul dword [esp + 0x34]
fld dword [esp + 0x30]
fmul dword [esp + 0x30]
faddp st(1)
fld dword [esp + 0x2c]
fmul dword [esp + 0x2c]
faddp st(1)
fsqrt
fst dword [esp + 0x20]
fcomp dword [esi + 0x14]
fnstsw ax
test ah, 5
jp 0x4d760b
shr edx, 0xf
test dl, 1
je 0x4d7435
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0xc]
push ecx
lea edx, [esp + 0x3c]
push edx
push eax
push esi
call fcn.004d6330
add esp, 0x10
test eax, eax
je 0x4d760b
mov ecx, dword [ebp + 0x30]
mov edi, dword [ecx + 0xc8]
add edi, 0xf0
lea edx, [edi + 0x90]
mov eax, dword [edx]
mov dword [esp + 0x44], eax
mov eax, dword [edx + 4]
mov dword [esp + 0x48], eax
mov edx, dword [edx + 8]
lea eax, [esp + 0x44]
mov dword [esp + 0x4c], edx
push eax
lea edx, [esp + 0x48]
push edx
push 0
call fcn.004d26c0
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x68], eax
mov eax, dword [edi + 0x9c]
mov dword [esp + 0x70], edx
mov ecx, esi
mov edx, dword [ecx]
mov dword [esp + 0x74], eax
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x78], edx
mov edx, dword [esi + 0x14]
lea eax, [esp + 0x78]
mov dword [esp + 0x80], ecx
push eax
lea ecx, [esp + 0x6c]
mov dword [esp + 0x88], edx
call fcn.00442ea0
test eax, eax
je 0x4d760b
mov eax, dword [esp + 0x90]
test eax, eax
mov dword [esp + 0x18], 0x3f800000
je 0x4d7508
mov edx, dword [esi + 0x34]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [0x68008c]
push 0
push 0
push 0x500001e
push eax
push esi
push edx
call fcn.004e7e50
test eax, eax
jne 0x4d7508
mov dword [esp + 0x18], 0x3e4ccccd
fld dword [esp + 0x68]
fsub dword [esp + 0x78]
fld dword [esp + 0x6c]
fsub dword [esp + 0x7c]
fld dword [esp + 0x70]
fsub dword [esp + 0x80]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fsqrt
fstp st(3)
fstp st(0)
fstp st(0)
fld dword [esp + 0x74]
fadd dword [esi + 0x14]
fdivp st(1)
fsubr dword [0x5f53f4]
fmul dword [esp + 0x18]
fst dword [esp + 0x24]
fmul dword [esi + 0x1c]
fstp dword [esp + 0x28]
fld dword [esp + 0x2c]
fcomp dword [0x60477c]
fnstsw ax
test ah, 0x44
jp 0x4d759a
fld dword [esp + 0x30]
fcomp dword [0x60477c]
fnstsw ax
test ah, 0x44
jp 0x4d759a
fld dword [esp + 0x34]
fcomp dword [0x60477c]
fnstsw ax
test ah, 0x44
jp 0x4d759a
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
jmp 0x4d75d0
fld dword [0x5f53f4]
fdiv dword [esp + 0x20]
fld dword [esp + 0x2c]
fmul st(1)
fstp dword [esp + 0x50]
mov ecx, dword [esp + 0x50]
fld dword [esp + 0x30]
fmul st(1)
fstp dword [esp + 0x54]
fld dword [esp + 0x34]
mov eax, dword [esp + 0x54]
fmul st(1)
fstp dword [esp + 0x58]
mov edx, dword [esp + 0x58]
fstp st(0)
mov dword [esp + 0x5c], ecx
xor ecx, ecx
mov dword [esp + 0x60], eax
mov eax, dword [ebp]
mov dword [esp + 0x64], edx
mov cl, byte [esi + 0x32]
mov edx, dword [esi + 0x24]
and ecx, 1
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x30]
push ecx
push edx
lea ecx, [esp + 0x6c]
push ecx
mov ecx, ebp
call dword [eax + 0x14]
mov edx, dword [esi + 0x2c]
push edx
mov ecx, ebp
call fcn.004d6860
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
mov ecx, dword [ebx + 4]
inc eax
add edx, 0x38
cmp eax, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], edx
jb 0x4d7370
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret 8